[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2009-07-19 Thread Winfried Plappert
Winfried Plappert winfried.plapp...@gmx.de added the comment: I have the problem described in issue6512 and here is some information Python version - hand compiled on Ubuntu 9.04: Python 3.1 (r31:73572, Jul 18 2009, 11:13:40) [GCC 4.3.3] on linux2 Type help, copyright, credits or license for

[issue6504] infinite recursion from calling builtins.open()

2009-07-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Yes, we conditionally import the locale module in order to guess the encoding when it is not specified by the caller. We can't import it at module initialization time because it would cause bootstrapping issues. The Python equivalent of the logic

[issue6492] xml.etree does not escape CR, LF and TAB characters within attribute values

2009-07-19 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - effbot nosy: +effbot ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6492 ___ ___

[issue6499] Can't import xmlrpclib, DocXMLRPCServer and SimpleXMLRPCServer when zlib is not available

2009-07-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Kristján, zlib is only built when the required development headers (.h files for the zlib library) are available. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org

[issue4200] atexit module not safe in Python 3.0 with multiple interpreters

2009-07-19 Thread Graham Dumpleton
Graham Dumpleton graham.dumple...@gmail.com added the comment: I know this issue is closed, but for this patch, the code: +modstate = get_atexitmodule_state(module); + +if (modstate-ncallbacks == 0) +return; was added. Is there any condition under which modstate could be NULL.

[issue6521] Contradictory documentation for email.mime.text.MIMEText

2009-07-19 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: It is not obvious whether encoding of an unicode argument will happen or not: « [...] No guessing or encoding is performed on the text data. Changed in version 2.4: The previously deprecated _encoding argument has been removed. Encoding

[issue6521] Contradictory documentation for email.mime.text.MIMEText

2009-07-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Apparently it doesn't: message = MIMEText(uhéhé, _charset=utf-8) Traceback (most recent call last): File stdin, line 1, in module File /usr/lib64/python2.6/email/mime/text.py, line 30, in __init__ self.set_payload(_text, _charset) File

[issue6521] Contradictory documentation for email.mime.text.MIMEText

2009-07-19 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: georg.brandl - barry nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6521 ___

[issue6509] re.py - compiled byte-object regular expr encounter unexpected str-object

2009-07-19 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +pitrou versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6509 ___ ___

[issue4200] atexit module not safe in Python 3.0 with multiple interpreters

2009-07-19 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 2009/7/19 Graham Dumpleton rep...@bugs.python.org: Graham Dumpleton graham.dumple...@gmail.com added the comment: I know this issue is closed, but for this patch, the code: +    modstate = get_atexitmodule_state(module); + +    if

[issue3244] multipart/form-data encoding

2009-07-19 Thread Alex Z.
Changes by Alex Z. mrzmanw...@gmail.com: -- nosy: +alexz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244 ___ ___ Python-bugs-list mailing list

[issue6499] Can't import xmlrpclib, DocXMLRPCServer and SimpleXMLRPCServer when zlib is not available

2009-07-19 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: submitted revision 74098 and revision 74099 which should fix your issue. Oh, and revision 74100 and revision 74101 as well (insufficient testing on my part, tsk. tsk.) -- ___ Python

[issue6499] Can't import xmlrpclib, DocXMLRPCServer and SimpleXMLRPCServer when zlib is not available

2009-07-19 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Thanks, now all the tests pass. However I had intermittent failures (with a really useful error message) on test_docxmlrpc: $ ./python Lib/test/regrtest.py -v test_docxmlrpc test_docxmlrpc test_autolink_dotted_methods

[issue6026] test_(zipfile|zipimport|gzip|distutils|sqlite) fail if zlib is not available

2009-07-19 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Here's a new patch. I added a could of @skipUnless in test_sqlite because two tests were failing. I couldn't notice this before because I didn't have _sqlite3 and these tests were skipped. Thanks to R. David Murray for reporting the

[issue6026] test_(zipfile|zipimport|gzip|distutils|sqlite) fail if zlib is not available

2009-07-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6026 ___ ___ Python-bugs-list

[issue5262] PythonLauncher considered harmfull

2009-07-19 Thread Kevin Walzer
Kevin Walzer wordt...@users.sourceforge.net added the comment: I disagree that this is a bad idea--it's helpful to be able to double- click a GUI script and launch it automatically. I realize one can just fire up Terminal and go python myscript.py, but I missed this functionality when it was

[issue6522] docs for unittest.expectedFailure do not syntactically show it's a decorator

2009-07-19 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: If you look at the docs for the unittest.expectedFailure decorator you will notice it shows a set of empty parentheses since it is set with a function directive. But since it's a decorator those empty parentheses are not accurate. If you

[issue6520] urllib.urlopen does not have timeout parameter where as urllib2.urlopen has

2009-07-19 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: I suspect that was a conscious decision. Back when it was first written urllib2 was supposed to eventually replace urllib I think. Dunno if that's still true, but if so I could see why this feature wasn't added to urllib.urlopen. --

[issue1436346] yday in datetime module

2009-07-19 Thread Jubaraj Borgohain
Jubaraj Borgohain jubarajborgoh...@gmail.com added the comment: I have completed the following two new features for the datetime module (the changes are attached as a patch): a. Added a method yday() b. Added date.fromyday(year,yday), which returns a date object. The other features requested are

[issue6516] reset owner/group to root for distutils tarballs

2009-07-19 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: what would be the use case for that ? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6516 ___

[issue6163] [HP-UX] ld: Unrecognized argument: +s -Ldir

2009-07-19 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Michael, I am not sure how you patch applies, is elif meant to be if ? e.g. a gcc compiler under hp-us case ? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6163