[issue1516613] Decimal should allow leading or trailing spaces.

2007-11-24 Thread Mark Dickinson
Mark Dickinson added the comment: This is a feature request rather than a bug. There's a least one good reason not to do this, namely that the specification on which the decimal module is based specifically disallows this: At http://www2.hursley.ibm.com/decimal/daconvs.html it says: "No bl

[issue1496] add str.maketrans()

2007-11-24 Thread Georg Brandl
New submission from Georg Brandl: This patch restores old behavior of str.translate() and adds the str.maketrans() static method. Docs and tests will follow if this is the right way to go. -- assignee: gvanrossum files: str-maketrans.diff messages: 57823 nosy: georg.brandl, gvanrossum pr

[issue1479] csv module is leaking references

2007-11-24 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r59181. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue1480] sqlite module is leaking lots of references

2007-11-24 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r59180. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue1342] Crash on Windows if Python runs from a directory with umlauts

2007-11-24 Thread Georg Brandl
Changes by Georg Brandl: -- keywords: -rfe __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue1391] Adds the .compact() method to bsddb db.DB objects

2007-11-24 Thread Georg Brandl
Changes by Georg Brandl: -- keywords: -rfe type: -> rfe __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue1493] Patch to remove unbound methods

2007-11-24 Thread Georg Brandl
Georg Brandl added the comment: I think it is correct -- normally the __get__ call gets a second argument of C. __ Tracker <[EMAIL PROTECTED]> __ ___ Pyt

[issue1222] locale.format bug if thousand separator is space (french separator as example)

2007-11-24 Thread Dave Hughes
Changes by Dave Hughes: -- nosy: +waveform __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue1493] Patch to remove unbound methods

2007-11-24 Thread Christian Heimes
Christian Heimes added the comment: Georg Brandl wrote: > Okay, got test_descr too -- the problem was introduced by the patch > itself :) Yes, I introduced the problem because I thought that sometimes is wrong here. The question mark in > doesn't look right. Christian _

[issue1495] Unicode in a comment.

2007-11-24 Thread Facundo Batista
Facundo Batista added the comment: This is the way it's supposed to work, read the PEP. -- nosy: +facundobatista resolution: -> invalid status: open -> closed __ Tracker <[EMAIL PROTECTED]> _

[issue1495] Unicode in a comment.

2007-11-24 Thread Magnus Valle
New submission from Magnus Valle: My script reports this problem: """ $ python bug.py File "bug.py", line 4 SyntaxError: Non-ASCII character '\xc2' in file bug.py on line 4, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details """ This error looks fine and all,

[issue1493] Patch to remove unbound methods

2007-11-24 Thread Georg Brandl
Changes by Georg Brandl: Removed file: http://bugs.python.org/file8801/py3k_remove_unbound_3.patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-lis

[issue1493] Patch to remove unbound methods

2007-11-24 Thread Georg Brandl
Changes by Georg Brandl: Removed file: http://bugs.python.org/file8800/py3k_remove_unbound_2.patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-lis

[issue1493] Patch to remove unbound methods

2007-11-24 Thread Georg Brandl
Georg Brandl added the comment: Okay, got test_descr too -- the problem was introduced by the patch itself :) Added file: http://bugs.python.org/file8802/py3k_remove_unbound_4.patch __ Tracker <[EMAIL PROTECTED]> ___

[issue1493] Patch to remove unbound methods

2007-11-24 Thread Georg Brandl
Georg Brandl added the comment: Got test_typechecks too - the test is simply not applicable anymore. Added file: http://bugs.python.org/file8801/py3k_remove_unbound_3.patch __ Tracker <[EMAIL PROTECTED]>

[issue1493] Patch to remove unbound methods

2007-11-24 Thread Georg Brandl
Georg Brandl added the comment: Okay, this new patch takes care of test_pyclbr, test_inspect and test_weakref. test_unittest is a bit hard: previously, calling loadTestsFromName with the name of a method would create a test that runs that test case with that method being the test method. With t

[issue1493] Patch to remove unbound methods

2007-11-24 Thread Christian Heimes
Christian Heimes added the comment: Do you still believe in the tooth fairy, too? :p __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list

[issue1494] DOM-Documentation should mention that appendChild() removes the child it appends

2007-11-24 Thread Martin v. Löwis
Martin v. Löwis added the comment: Thanks. I committed something like that as 59176. Notice that the precise semantics of all operations is specified in the DOM itself, http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html which says Adds the node newChild to the end of the list o

[issue1494] DOM-Documentation should mention that appendChild() removes the child it appends

2007-11-24 Thread Christopher Denter
Christopher Denter added the comment: "Add a new child node to this node at the end of the list of children, returning newChild. The original child node is removed after appending the child to the new node." maybe? It took me quite some time to figure that out because I thought "it's not popAndA

[issue1493] Patch to remove unbound methods

2007-11-24 Thread Guido van Rossum
Guido van Rossum added the comment: I'm waiting for those failing tests to magically start passing. :-) __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs

[issue1494] DOM-Documentation should mention that appendChild() removes the child it appends

2007-11-24 Thread Martin v. Löwis
New submission from Martin v. Löwis: Can you propose a specific wording? -- nosy: +loewis __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list

[issue1285] setp.py error "The process cannot access the file ..."

2007-11-24 Thread Martin v. Löwis
Martin v. Löwis added the comment: Can you provide a setup.py that allows to reproduce this error? __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list

[issue1494] DOM-Documentation should mention that appendChild() removes the child it appends

2007-11-24 Thread Christopher Denter
Changes by Christopher Denter: -- components: Documentation nosy: dennda severity: normal status: open title: DOM-Documentation should mention that appendChild() removes the child it appends __ Tracker <[EMAIL PROTECTED]>

[issue1442] pythonstartup addition of minor error checking

2007-11-24 Thread Christian Heimes
Christian Heimes added the comment: I think we should backport it to 2.6 and maybe 2.5. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing li

[issue1282] re module needs to support bytes / memoryview well

2007-11-24 Thread Georg Brandl
Changes by Georg Brandl: -- type: rfe -> behavior __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue1285] setp.py error "The process cannot access the file ..."

2007-11-24 Thread Georg Brandl
Changes by Georg Brandl: -- assignee: -> loewis nosy: +loewis __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1735632] Add O_NOATIME to os module

2007-11-24 Thread Georg Brandl
Georg Brandl added the comment: Added the constant in r59172. The behavior is way too special though to warrant a change to builtin open(). -- nosy: +georg.brandl resolution: -> accepted status: open -> closed _ Tracker <[EMAIL PROTECTED]>

[issue1445] SystemError accessing uninitialised cell contents

2007-11-24 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Fixed in r59170 (trunk) and r59171 (release25-maint). -- nosy: +amaury.forgeotdarc resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> _

[issue1315] Bug in pstats.print_callers

2007-11-24 Thread Georg Brandl
Changes by Georg Brandl: -- resolution: -> duplicate status: open -> closed superseder: -> Exception in pstats print_callers() __ Tracker <[EMAIL PROTECTED]> __ _

[issue1442] pythonstartup addition of minor error checking

2007-11-24 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Shall we close this issue? -- nosy: +amaury.forgeotdarc __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bug

[issue1355] xml.dom refers to PyXML, which is no longer maintained

2007-11-24 Thread Georg Brandl
Georg Brandl added the comment: I've now removed mention of PyXML from the docs (r59166). -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue1467] error in TestResult.addError and TestResult.addFailure

2007-11-24 Thread Georg Brandl
Georg Brandl added the comment: Thanks, this is now fixed in the development docs (r59165). -- nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> _

[issue1344] subprocess.communication doc could use clarification

2007-11-24 Thread Georg Brandl
Georg Brandl added the comment: Thanks, this is now documented (r59164). -- nosy: +georg.brandl status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1273] email module example email-unpack.py error

2007-11-24 Thread Georg Brandl
Georg Brandl added the comment: Thanks, this is fixed in the development docs now (r58445). -- nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> _

[issue1220] popen3 website documentation inconsistency

2007-11-24 Thread Georg Brandl
Georg Brandl added the comment: Sorry, but you're confusing the os.popen* functions with the popen3.popen* functions. (That they both exist, and return the handles in different orders is a mess, but it is documented correctly.) -- nosy: +georg.brandl resolution: -> invalid status: open