[issue1140] re.sub returns str when processing empty unicode string

2007-09-09 Thread Beda Kosata
New submission from Beda Kosata: While re.sub normally returns unicode strings when processing unicode, it returns a normal string when dealing with an empty unicode string. Example: >>> print type( re.sub( "XX", "", u"")) >>> print type( re.sub( "XX", "", u"A")) This inconsistency could lead

[issue1139] PyFile_Encoding should be PyFile_SetEncoding

2007-09-09 Thread Gabriel Genellina
New submission from Gabriel Genellina: Describing the PyFile C API, there is a typo: PyFile_Encoding function does not exist, should say PyFile_SetEncoding instead. (This goes down to version 2.3 when the function was initially added). http://docs.python.org/dev/c-api/ concrete.html#PyFile_En

[issue1134] Parsing a simple script eats all of your memory

2007-09-09 Thread Stefan Sonnenberg-Carstens
Stefan Sonnenberg-Carstens added the comment: Same under Linux with Python 3.0a1. Eats all cpu + memory -- nosy: +pythonmeister __ Tracker <[EMAIL PROTECTED]> __ __

[issue1765140] logging: delay_fh option and configuration kwargs

2007-09-09 Thread Chris Leary
Chris Leary added the comment: Hi Vinay, I was actually trying to address a use case where the delay_fh option in the fileConfig() would be necessary. Let's say I'm running a simulator that I run many instances of at once. The logging configuration is extensive, so I want to use a configuration

[issue1094] TypeError in poplib.py

2007-09-09 Thread Guido van Rossum
Guido van Rossum added the comment: Oops, I accidentally deleted the patch. Here is is again. Thanks for the patch! I've applied it. Committed revision 58072. -- assignee: -> gvanrossum nosy: +gvanrossum resolution: -> fixed status: open -> closed __ Tr

[issue1094] TypeError in poplib.py

2007-09-09 Thread Guido van Rossum
Changes by Guido van Rossum: __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/py

[issue1706815] socket.error exceptions not subclass of StandardError

2007-09-09 Thread Gregory P. Smith
Gregory P. Smith added the comment: socket.error now inherits from IOError as of trunk r58067: Change socket.error to inherit from IOError rather than being a stand alone class. This addresses the primary concern in http://bugs.python.org/issue1706815 python-dev discussion here: http://mai

[issue1138] Fixer needed for __future__ imports

2007-09-09 Thread Collin Winter
New submission from Collin Winter: Per http://mail.python.org/pipermail/python-3000/2007-September/010337.html, 2to3 should strip out __future__ imports. This should probably be added to the existing import fixer. -- assignee: collinwinter components: 2to3 (2.x to 3.0 conversion tool) me

[issue1134] Parsing a simple script eats all of your memory

2007-09-09 Thread Alan McIntyre
Alan McIntyre added the comment: Confirmed that this happens on Mac OS X with a fresh build of py3k from svn. -- nosy: +alanmcintyre __ Tracker <[EMAIL PROTECTED]> __ _

[issue1114] _curses issues on 64-bit big-endian (e.g, AIX)

2007-09-09 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1122] PyTuple_Size and PyTuple_GET_SIZE return type documentation incorrect

2007-09-09 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1136] Bdb documentation

2007-09-09 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1137] pyexpat patch for changing buffer_size

2007-09-09 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1137] pyexpat patch for changing buffer_size

2007-09-09 Thread Achim Gaedke
Changes by Achim Gaedke: __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python

[issue1137] pyexpat patch for changing buffer_size

2007-09-09 Thread Achim Gaedke
Changes by Achim Gaedke: __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python

[issue1137] pyexpat patch for changing buffer_size

2007-09-09 Thread Achim Gaedke
New submission from Achim Gaedke: Hello! Sometimes people have big amounts of text/data in xml files. To make processing more effective, they should be able to change the buffer size for collecting character data in one string. Here comes a patch that applies necessary changes in setattr method

[issue1136] Bdb documentation

2007-09-09 Thread Cristina Yenyxe González García
New submission from Cristina Yenyxe González García: Hello, I thought it could be interesting to write some documentation for the bdb module, since it keeps undocumented on Python 2.6 and 3.0. The document I attach is written in reStructuredText, and for using it with 2.5 it only needs to change

[issue1132] compile error in poplib.py

2007-09-09 Thread Georg Brandl
Georg Brandl added the comment: Bill Janssen schrieb: > Isn't this 1094? It is. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> TypeError in poplib.py __ Tracker <[EMAIL PROTECTED]>

[issue1133] python3.0-config raises SyntaxError

2007-09-09 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- resolution: -> duplicate status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing l

[issue1133] python3.0-config raises SyntaxError

2007-09-09 Thread Martin v. Löwis
Martin v. Löwis added the comment: Duplicate of #1074 -- nosy: +loewis superseder: -> python3.0-config script does not run on py3k __ Tracker <[EMAIL PROTECTED]> __ __