[issue5639] Support TLS SNI extension in ssl module

2010-05-23 Thread Daniel Black
Daniel Black added the comment: > msg106323 - Author: Antoine Pitrou (pitrou) Date: 2010-05-22 20:17 I quite like your proposed alternative here. Not sure when/if I'll get to implement this. > msg106324 - Author: Jean-Paul Calderone (exarkun) Date: 2010-05-22 22:17 Sorry I don't like this as

[issue8793] IDLE crashes on opening invalid file

2010-05-23 Thread royf
New submission from royf : 1. Create a file containing this line: '\xdk' 2. Open the file for editing in IDLE 2.6.4. Banner: Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] on win32 3. Run Module (F5) -> Bug#1: no error is shown 4. Run Module 7 more times (exactly

[issue8794] Python, reynaldo bendijo wants to chat

2010-05-23 Thread reynaldo
New submission from reynaldo : I've been using Google Talk and thought you might like to try it out. We can use it to call each other for free over the internet. Here's an invitation to download Google Talk. Give it a try! ---

[issue8794] spam

2010-05-23 Thread Mark Dickinson
Changes by Mark Dickinson : -- resolution: -> invalid status: open -> closed title: Python, reynaldo bendijo wants to chat -> spam ___ Python tracker ___

[issue8794] spam

2010-05-23 Thread Mark Dickinson
Changes by Mark Dickinson : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/op

[issue8791] spam

2010-05-23 Thread Mark Dickinson
Changes by Mark Dickinson : -- title: See "Hamster" on your Google homepage -> spam ___ Python tracker ___ ___ Python-bugs-list mailing

[issue8790] spam

2010-05-23 Thread Mark Dickinson
Changes by Mark Dickinson : -- title: See "Hamster" on your Google homepage -> spam ___ Python tracker ___ ___ Python-bugs-list mailing

[issue8789] spam

2010-05-23 Thread Mark Dickinson
Changes by Mark Dickinson : -- title: See "Hamster" on your Google homepage -> spam ___ Python tracker ___ ___ Python-bugs-list mailing

[issue1368368] prompt_user_passwd() in FancyURLopener masks 401 Unauthorized error page

2010-05-23 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil stage: unit test needed -> needs patch ___ Python tracker ___ ___ Python-bug

[issue8795] Error sending utf8 strings over syslog udp protocol

2010-05-23 Thread Arie Skliarouk
New submission from Arie Skliarouk : I am trying to send utf8 strings over syslog/udp and get strange error: Traceback (most recent call last): File "/usr/lib/python2.6/logging/handlers.py", line 788, in emit self.socket.sendto(msg, self.address) TypeError: sendto() takes exactly 3 argument

[issue8795] Error sending utf8 strings over syslog udp protocol

2010-05-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> vinay.sajip nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue5639] Support TLS SNI extension in ssl module

2010-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1) > ctx.set_tlsext_host_name("foo.bar") Well, the hostname should be specific to a connection, so I'm not sure it makes sense to set it on the context. (besides, the OpenSSL APIs only allow it to be set on the SSL struc

[issue8792] xmlrpclib compatibility issues with Apache XML-RPC library

2010-05-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list

[issue6900] Sub-optimal "Locate" button behaviour in Windows CHM file

2010-05-23 Thread Georg Brandl
Georg Brandl added the comment: OK, I've now deactivated the "Binary TOC" setting in Sphinx' repo; it will be used for Python when I release a new version. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue8188] Unified hash for numeric types.

2010-05-23 Thread Mark Dickinson
Mark Dickinson added the comment: Committed the hash changes in r81486. This commit just changes the method for computing hash values; it doesn't include the changes to the decimal module that make Decimal instances comparable with Fraction instances. -- resolution: -> accepted sta

[issue1628205] socket.readline() interface doesn't handle EINTR properly

2010-05-23 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Backported to release26-maint in r81488. -- nosy: +exarkun ___ Python tracker ___ ___ Python

[issue8354] siginterrupt with flag=False is reset when signal received

2010-05-23 Thread vila
Changes by vila : -- nosy: +vila ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/

[issue1628205] socket.readline() interface doesn't handle EINTR properly

2010-05-23 Thread vila
Changes by vila : -- nosy: +vila ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailm

[issue5639] Support TLS SNI extension in ssl module

2010-05-23 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > Sorry I don't like this as much. I believe following the RFC for TLS SNI > should be implicit and not something the programmer need to put effort into > achieving. I acknowledge this approach does go against some explicit > behaviour programming qualit

[issue5639] Support TLS SNI extension in ssl module

2010-05-23 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > Nope, I checked before making the suggestion. There's an SSL_CTX_ version of > this API (in addition to the SSL_ version). Sorry, I just checked again, and it seems you're right. Perhaps I saw SSL_CTX_set_tlsext_servername_callback and got the two co

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: I'm skeptical about surrogates particularly for that problem. >From my perspective the solution is only to use native unicode support for >windows file operation functions. Conversions utf-8 -> mbcs -> utf8 will loose encoding information thanks to tricky Micr

[issue1436346] yday in datetime module

2010-05-23 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Attaching a documentation patch. -- Added file: http://bugs.python.org/file17446/issue1436346-doc.diff ___ Python tracker ___ _

[issue1436346] yday in datetime module

2010-05-23 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: belopolsky -> components: +Documentation keywords: +needs review versions: +Python 2.7 ___ Python tracker ___ __

[issue7983] The encoding map from Unicode to CP932 is different from that of Windows'

2010-05-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo, lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8796] Deprecate codecs.open()

2010-05-23 Thread STINNER Victor
New submission from STINNER Victor : codecs module (and codecs.open() function) was added to Python 2.0. codecs.open() creates a StreamReaderWriter object which use two other objects: StreamReader and StreamWriter. Python 2.6 and 3.0 have a new API: the io module. io.open() creates a TextIOWr

[issue8796] Deprecate codecs.open()

2010-05-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +lemburg, loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue8446] buildbot: DeprecationWarning not raised for icglue (test_py3kwarn.TestStdlibRemovals)

2010-05-23 Thread Bill Janssen
Bill Janssen added the comment: Not sure I understand this patch. Either the icglue module is removed in python 3, in which case it should raise the deprecation warning, or it is not, in which case it should be removed from the list of modules checked in test_py3kwarn. Shouldn't the patch a

[issue1436346] yday in datetime module

2010-05-23 Thread Georg Brandl
Georg Brandl added the comment: Committed in r81489. Thanks! -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue8750] Many of MutableSet's methods assume that the other parameter is not self

2010-05-23 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> accepted ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue1368368] prompt_user_passwd() in FancyURLopener masks 401 Unauthorized error page

2010-05-23 Thread Ray.Allen
Ray.Allen added the comment: Since urllib.urlopen() is removed in py3k, and is intended to be replaced by urllib2.urlopen(), I think we'd better just leave as it is. -- nosy: +ysj.ray ___ Python tracker ___

[issue8446] buildbot: DeprecationWarning not raised for icglue (test_py3kwarn.TestStdlibRemovals)

2010-05-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: The patch somewhat works, in that it makes test_py3kwarn pass but I'd add more filterwarning calls: filterwarnings("ignore", ".*the icglue module is removed", DeprecationWarning) filterwarnings("ignore", ".*the MacOS module is remo