[issue2775] Implement PEP 3108

2009-03-12 Thread Brett Cannon
Brett Cannon br...@python.org 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

[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 m...@mrts.pri.ee: 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,

[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 lamber...@corning.com 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 rep...@bugs.python.org

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

2009-03-12 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx zo...@zooko.com: 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

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

2009-03-12 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com 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

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

2009-03-12 Thread bms
bms b...@incunabulum.net 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

[issue3770] test_multiprocessing fails on systems with HAVE_SEM_OPEN=0

2009-03-12 Thread bms
bms b...@incunabulum.net 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

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

2009-03-12 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com 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

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

2009-03-12 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com 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

[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 rdmur...@bitdance.com 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

[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 mar...@v.loewis.de added the comment: What is the purpose of this submission? What do you want to happen about Python? -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5479

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

2009-03-12 Thread Raymond Hettinger
New submission from Raymond Hettinger rhettin...@users.sourceforge.net: 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

[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 lamber...@corning.com 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

[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 mar...@v.loewis.de 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). --

[issue5434] datetime.MonthDelta

2009-03-12 Thread Jess Austin
Changes by Jess Austin jess.aus...@gmail.com: Added file: http://bugs.python.org/file13309/monthdelta.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5434 ___

[issue5434] datetime.MonthDelta

2009-03-12 Thread Jess Austin
Changes by Jess Austin jess.aus...@gmail.com: Removed file: http://bugs.python.org/file13258/datetimemodule.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5434 ___

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

2009-03-12 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks---this is already on my list of things to get done for 3.1: see issue 2110. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5481

[issue2110] Implement __format__ for Decimal

2009-03-12 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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

[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 rdmur...@bitdance.com 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

[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 rdmur...@bitdance.com: Removed file: http://bugs.python.org/file13308/test_tcl.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5450 ___

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

2009-03-12 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg tleeuwenb...@gmail.com 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

[issue4535] Build / Test Py3K failed on Ubuntu 8.10

2009-03-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- components: +Tests status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4535 ___ ___

[issue2170] rewrite of minidom.Node.normalize

2009-03-12 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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:

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

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