[issue6315] locale._build_localename(locale.getdefaultlocale()) returns 'C.mac-roman'

2009-06-20 Thread Stephen J. Turnbull
New submission from Stephen J. Turnbull step...@xemacs.org: Which causes the locale machinery to spit exceptions, and the program to die, usually (eg, hg). This manifests naturally on an Intel Mac, Mac OS X 10.5.7, but the problem behavior is in _build_localename. When called as

[issue6314] logging.basicConfig(level='DEBUG', ...

2009-06-20 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - vsajip nosy: +vsajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6314 ___ ___

[issue6164] [AIX] Patch to correct the AIX C/C++ linker argument used for 'runtime_library_dirs'

2009-06-20 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: done in r73490. Will wait for 3.1 final release to apply it to the py3k branch. -- versions: +Python 2.7, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org

[issue6316] format, str.format don't work well with datetime, date object

2009-06-20 Thread Jeong-Min Lee
New submission from Jeong-Min Lee false...@gmail.com: format(datetime_obj, format_string) return format_string. (when format_string is not empty.) import datetime d = datetime.datetime.now() format(d) '2009-06-20 23:51:54.243428' format(d, '') '2009-06-20 23:51:54.243428' d

[issue6316] format, str.format don't work well with datetime, date object

2009-06-20 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: -- assignee: - eric.smith components: +Interpreter Core -Extension Modules, Library (Lib) nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6316

[issue6316] format, str.format don't work well with datetime, date object

2009-06-20 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: This is by design. Where d is a datetime, format(d, format_string) returns d.strftime(format_string). d.strftime('30') '30' -- resolution: - invalid status: open - closed ___ Python tracker

[issue6316] format, str.format don't work well with datetime, date object

2009-06-20 Thread Jeong-Min Lee
Jeong-Min Lee false...@gmail.com added the comment: I got it. By the way, It would be good to document that this behaviour (at least about datetime.__format__) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6316

[issue6099] HTTP/1.1 with keep-alive support for xmlrpclib.ServerProxy

2009-06-20 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Superseded by issue6267. -- nosy: +loewis resolution: - out of date status: open - closed superseder: - Cumulative patch to http and xmlrpc ___ Python tracker rep...@bugs.python.org

[issue6096] SimpleXMLRPCServer not suitable for HTTP/1.1 keep-alive

2009-06-20 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Superseded by issue6267. -- nosy: +loewis resolution: - out of date status: open - closed superseder: - Cumulative patch to http and xmlrpc ___ Python tracker rep...@bugs.python.org

[issue1360243] Add XML-RPC Fault Interoperability to XMLRPC libraries

2009-06-20 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Rejecting the patch because of lack of responsiveness. -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1360243

[issue6215] Backport the IO lib to trunk

2009-06-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Everything looks ok, thanks! -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6215 ___

[issue6236] os.popen causes illegal seek on AIX in Python 3.1rc

2009-06-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ouch, this is quite annoying. I will try to fix this before the final release. -- assignee: - pitrou nosy: +pitrou priority: - critical ___ Python tracker rep...@bugs.python.org

[issue6236] os.popen causes illegal seek on AIX in Python 3.1rc

2009-06-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here is my current interpretation: subprocess uses os.pipe() to create the file handles used for communication. These handles normally always raise an error ([Errno 29] Illegal seek) when trying to seek() on them, which the IO lib interprets as

[issue6236] os.popen causes illegal seek on AIX in Python 3.1rc

2009-06-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Just before, could you try to type the following commands: r, w = os.pipe() os.lseek(r, 0, 1) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6236

[issue1612262] Class Browser doesn't show internal classes

2009-06-20 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com added the comment: The class browser relies on the pyclbr module to scan the code. This module doesn't support classes within classes. Both pyclbr and IDLE's class browser need to be modified. -- nosy: +serwy ___

[issue6266] cElementTree.iterparse ElementTree.iterparse return differently encoded strings

2009-06-20 Thread nlopes
nlopes shelika.v...@gmail.com added the comment: This is a pretty dumb patch, but it does it's job. Basically it decodes the utf-8 encoded prefix and uri. Then, encodes it into Latin1. Probably there are better ways of doing this and those ideas are welcome. Patch attached. -- keywords:

[issue6266] cElementTree.iterparse ElementTree.iterparse return differently encoded strings

2009-06-20 Thread Fredrik Lundh
Fredrik Lundh fred...@effbot.org added the comment: Converting from UTF-8 to Unicode is the right thing to do, but converting back to Latin-1 is not correct -- note that ET returns a Unicode string, not an 8-bit string. There's a makestring helper that does the right thing in the library;

[issue6266] cElementTree.iterparse ElementTree.iterparse return differently encoded strings

2009-06-20 Thread nlopes
nlopes shelika.v...@gmail.com added the comment: You're right about the conversion to Latin1. I actually played a bit with makestring before going in another direction (although not very good) because makestring alone wasn't giving what is intended. I'll try to check tomorrow a good approach

[issue4395] Document auto __ne__ generation; provide a use case for non-trivial __ne__

2009-06-20 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: The situation appears to be at least slightly different from what Guido stated. In 3.x, all classes subclass object, which has .__ne__, so if that stopped inferred != behavior, it would never happen. class A: def __eq__(s,p): return 1

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2009-06-20 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: winsound.PlaySound doesn't accept non-unicode string. Python 3.1rc2+ (py3k, Jun 14 2009, 14:07:51) [MSC v.1200 32 bit (Intel)] on win3 2 Type help, copyright, credits or license for more information. import winsound

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2009-06-20 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- priority: - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6317 ___

[issue4395] Document auto __ne__ generation; provide a use case for non-trivial __ne__

2009-06-20 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- assignee: georg.brandl - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4395 ___