[issue5474] distutils produces invalid RPM packages of prerelease python packages

2009-03-12 Thread Rudd-O
Rudd-O added the comment: A better patch -- Added file: http://bugs.python.org/file13313/python-2.4-distutils-bdist_rpm-rpmversion-lexicalorder.patch ___ Python tracker ___

[issue2170] rewrite of minidom.Node.normalize

2009-03-12 Thread R. David Murray
R. David Murray added the comment: I have applied the supplied patch to the current trunk, and it passes the tests. I've also attached a more extensive test case that exercises the recursion. -- keywords: +patch nosy: +bitdancer Added file: http://bugs.python.org/file13312/test_minidom

[issue4535] Build / Test Py3K failed on Ubuntu 8.10

2009-03-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- components: +Tests status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue5236] time.strptime should reject bytes arguments on Py3

2009-03-12 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Python implementation to raise this exception if a bytes argument is passed in as argument 1. Test case added to test_time -- Added file: http://bugs.python.org/file13311/strptime_patch.txt ___ Python tracker

[issue5450] test_tcl testLoadTk fails if DISPLAY defined but connect fails, instead of being skipped

2009-03-12 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file13308/test_tcl.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue5450] test_tcl testLoadTk fails if DISPLAY defined but connect fails, instead of being skipped

2009-03-12 Thread R. David Murray
R. David Murray added the comment: Oops, I forgot to remove the changes I'd previously made to testLoadTk. I've updated the patch file and pushed to Launchpad, after re-running my tests. -- Added file: http://bugs.python.org/file13310/test_tcl.patch

[issue2110] Implement __format__ for Decimal

2009-03-12 Thread Mark Dickinson
Mark Dickinson added the comment: Adding support for the 'n' format specifier should be done before 3.1 goes out. -- priority: high -> critical versions: +Python 2.7, Python 3.1 -Python 2.6, Python 3.0 ___ Python tracker

[issue5481] Expand Decimal.__format__() support to include "n"

2009-03-12 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks---this is already on my list of things to get done for 3.1: see issue 2110. -- ___ Python tracker ___ _

[issue5434] datetime.MonthDelta

2009-03-12 Thread Jess Austin
Changes by Jess Austin : Removed file: http://bugs.python.org/file13258/datetimemodule.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue5434] datetime.MonthDelta

2009-03-12 Thread Jess Austin
Changes by Jess Austin : Added file: http://bugs.python.org/file13309/monthdelta.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone

2009-03-12 Thread Martin v. Löwis
Martin v. Löwis added the comment: Then why was this classified as a documentation issue? And why did Mart Sömmermaa submit it, and not Raymond? AFAICT, Raymond said he would propose something when it's ready (which I assume it currently isn't). -- _

[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone

2009-03-12 Thread David W. Lambert
David W. Lambert added the comment: (As I recall) in python-dev mailing list Ray claimed he could clean up a cited active state recipe to address this issue. He succeeded to the extent I'm aware---he's the author of http://code.activestate.com/recipes/576685/. I haven't used the redundant >, >

[issue5481] Expand Decimal.__format__() support to include "n"

2009-03-12 Thread Raymond Hettinger
New submission from Raymond Hettinger : >>> from decimal import Decimal as D >>> format(D('1234.5'), "n") . . . ValueError: Invalid format specifier: n -- assignee: marketdickinson components: Library (Lib) messages: 83500 nosy: marketdickinson, rhettinger severity: normal status: open

[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone

2009-03-12 Thread Martin v. Löwis
Martin v. Löwis added the comment: What is the purpose of this submission? What do you want to happen about Python? -- nosy: +loewis ___ Python tracker ___ __

[issue5450] test_tcl testLoadTk fails if DISPLAY defined but connect fails, instead of being skipped

2009-03-12 Thread R. David Murray
R. David Murray added the comment: I tried using TestSkipped first, but since I was throwing it from an individual testcase and not from the top level, it still showed up as an error in test_tcl (I may have done it wrong, of course). Moving the tests makes more sense anyway, so I've revised my

[issue5480] ".egg-info" => ".pkg-info"

2009-03-12 Thread Zooko O'Whielacronx
Zooko O'Whielacronx added the comment: By the way, here is the ticket on allmydata.org "Tahoe" where this issue was bugging me which is why I opened this ticket: http://allmydata.org/trac/tahoe/ticket/149 # unable to use pre-installed non-setuptools^H^H^H^H^H^H^H^H^H^Hdistutils-aware nevow -

[issue5480] ".egg-info" => ".pkg-info"

2009-03-12 Thread Zooko O'Whielacronx
Zooko O'Whielacronx added the comment: Thank you. I've now read PEP 376. It is good. However, this same issue remains in PEP 376 like it does in today's distutils. If the new work in PEP 376 is going to continue to use the word "egg" in its filenames, then we need to send out an announcement

[issue3770] test_multiprocessing fails on systems with HAVE_SEM_OPEN=0

2009-03-12 Thread bms
bms added the comment: POSIX semaphores should be fixed in 8-CURRENT, pending MFC. There are rtld + malloc issues in FreeBSD. Python multiprocessing's use of POSIX threads is not strictly POSIX compliant, as it tries to do a lot more than just call exec() or async-signal-safe POSIX APIs after f

[issue3863] 2.6rc1: test_threading hangs on FreeBSD 6.3 i386

2009-03-12 Thread bms
bms added the comment: Hi, I've committed a fix to FreeBSD-CURRENT for POSIX semaphores this morning. Root cause analysis on the fork-mt issue points towards the rtld and malloc in RELENG_7 not being able to deal with a mixture of fork and mt. As a workaround, you may wish to try my patches a

[issue5480] ".egg-info" => ".pkg-info"

2009-03-12 Thread Tarek Ziadé
Tarek Ziadé added the comment: Please have a look at PEP 376 we are buildin instead http://svn.python.org/projects/peps/trunk/pep-0376.txt and commentin distutils-ML -- resolution: -> rejected status: open -> closed ___ Python tracker

[issue5480] ".egg-info" => ".pkg-info"

2009-03-12 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx : The .egg-info files which are produced by distutils in Python >= 2.5 are the only standard, cross-platform way for a Python package ("distribution") to declare its name and version number in a machine-parseable way. Unfortunately, these files are named "

[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone

2009-03-12 Thread David W. Lambert
David W. Lambert added the comment: That's the best version I recall seeing at activestate. Still, I'd deprecate and remove > and >= from mathematics. -- nosy: +LambertDW ___ Python tracker ___

[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone

2009-03-12 Thread Mart Sõmermaa
New submission from Mart Sõmermaa : See http://mail.python.org/pipermail/python-dev/2009-March/087000.html and http://code.activestate.com/recipes/576685/ . -- assignee: georg.brandl components: Documentation, Library (Lib) messages: 83490 nosy: georg.brandl, mrts, rhettinger severity: n

[issue2775] Implement PEP 3108

2009-03-12 Thread Brett Cannon
Brett Cannon added the comment: For those of you following along, the only thing keeping PEP 3108 and this issue from being finished are the two dependent issues: os.stat and profile/cProfile. -- ___ Python tracker