[issue2775] Implement PEP 3108
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 rep...@bugs.python.org http://bugs.python.org/issue2775 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone
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, rhettinger severity: normal status: open title: Add an easy way to provide total ordering now that __cmp__ is deprecated/gone type: feature request versions: Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5479 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone
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 http://bugs.python.org/issue5479 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5480] .egg-info = .pkg-info
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 files are named .egg-info even when the Python package in question was produced by distutils without setuptools, was never packaged as an egg, and is not installed as an egg. It has nothing to do with egg. The fact that the file has egg in its name causes most people to think that it has something to do with eggs, which leads to all sorts of problems including people removing the file and thus deleting the machine-parseable metadata about the Python package's name and version number. This ticket is a request that distutils start calling this file .pkg-info instead. Obviously we can't just stop including them under the name .egg-info since that would break existing usage, but we could start producing files under the name .pkg-info, and make .egg-info be a symlink or a copy of .pkg-info for backwards compatibility. Also of course we can update the documentation (if there is any) of what the .pkg-info file is. Since the current problems are mostly problems of communication and documentation, this simple change to the name of the file might go a long way to improving things. -- assignee: tarek components: Distutils messages: 83492 nosy: tarek, zooko severity: normal status: open title: .egg-info = .pkg-info type: feature request versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5480 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5480] .egg-info = .pkg-info
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 tracker rep...@bugs.python.org http://bugs.python.org/issue5480 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3863] 2.6rc1: test_threading hangs on FreeBSD 6.3 i386
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 wish to try my patches against the FreeBSD port to build with GNU Pth (until we can settle on resolution):- http://people.freebsd.org/~bms/dump/python26-fbsd-pth.patch thanks! BMS -- nosy: +bms ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3863 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3770] test_multiprocessing fails on systems with HAVE_SEM_OPEN=0
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 async-signal-safe POSIX APIs after fork()-ing. There is a degree of reluctance in the camp to fix for these reasons... In the meantime, you may wish to try building Python 2.6 on FreeBSD using GNU Pth, here is a patch: http://people.freebsd.org/~bms/dump/python26-fbsd-pth.patch thanks! BMS -- nosy: +bms ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3770 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5480] .egg-info = .pkg-info
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 an announcement of some sort to say HEY! Pay attention! This is actually a supported part of the core of Python even though it has the word 'egg' in it.. I suppose including a sentence to that effect in the distutils release announcements and in the What's new in Python document will suffice. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5480 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5480] .egg-info = .pkg-info
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 non-setuptools^H^H^H^H^H^H^H^H^H^Hdistutils-aware nevow -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5480 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5450] test_tcl testLoadTk fails if DISPLAY defined but connect fails, instead of being skipped
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 anyway, so I've revised my patch to do that. I didn't move all of the tests because as far as I could understand the test.test_tk code, if I moved them all they'd only get run if the GUI resource was enabled, and that seems wrong. So I just moved the tests that specifically involved tk. I ran the test suite under a variety of DISPLAY settings and non-settings, and it seemed to do the right thing with the patch applied. I have pushed the change up to Launchpad as well. -- Added file: http://bugs.python.org/file13308/test_tcl.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5450 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5481] Expand Decimal.__format__() support to include n
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 severity: normal status: open title: Expand Decimal.__format__() support to include n versions: Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5481 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone
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 used the redundant , = comparisons operators in code since 1981. The chances of simplifying python by removing them from the language are None, but the mistake predates python by 10**n years, where (3 = n = 7) or (7 = n = 3). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5479 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone
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). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5479 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5434] datetime.MonthDelta
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5434] datetime.MonthDelta
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5481] Expand Decimal.__format__() support to include n
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2110] Implement __format__ for Decimal
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 rep...@bugs.python.org http://bugs.python.org/issue2110 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5450] test_tcl testLoadTk fails if DISPLAY defined but connect fails, instead of being skipped
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5450 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5450] test_tcl testLoadTk fails if DISPLAY defined but connect fails, instead of being skipped
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5236] time.strptime should reject bytes arguments on Py3
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5236 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4535] Build / Test Py3K failed on Ubuntu 8.10
Changes by Daniel Diniz aja...@gmail.com: -- components: +Tests status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4535 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2170] rewrite of minidom.Node.normalize
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: http://bugs.python.org/file13312/test_minidom.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2170 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5474] distutils produces invalid RPM packages of prerelease python packages
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com