[issue8179] Test failure in test_macpath.py test_realpath (Mac OS X)

2010-03-20 Thread Ned Deily
Ned Deily n...@acm.org added the comment: This failure seems to be caused by major changes to test_macpath. I'm not sure how much of this is really applicable to macpath which implements the obsolete MacOS 9 path functions. Perhaps leave well enough alone? -- nosy: +flox, ned.deily

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-20 Thread Ned Deily
Ned Deily n...@acm.org added the comment: r78585 to test_pep277.py recently enabled this test for all POSIX systems but note the warning in r33595. -- nosy: +flox, ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8180

[issue8179] Test failure in test_macpath.py test_realpath (Mac OS X)

2010-03-20 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: The changes enabled more tests for all *path related modules. Please try attached patch. -- components: +Macintosh keywords: +patch priority: - normal resolution: - accepted type: - behavior versions: +Python 3.2 Added

[issue8181] Guenstiger kaufen Sie Software nicht!

2010-03-20 Thread Nobody/Anonymous
New submission from Nobody/Anonymous: body,#wrap{text-align:center;margin:0px;background-color:#FFFEF8;}/*...@tab Top b...@section top b...@tip Choose a set of colors that look good with the colors of your logo image or text

[issue8181] Guenstiger kaufen Sie Software nicht!

2010-03-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8181 ___ ___ Python-bugs-list mailing list

[issue8181] Guenstiger kaufen Sie Software nicht!

2010-03-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Removed file: http://bugs.python.org/file16594/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8181 ___

[issue8181] spam

2010-03-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - rejected stage: - committed/rejected status: open - closed title: Guenstiger kaufen Sie Software nicht! - spam ___ Python tracker rep...@bugs.python.org

[issue8128] String interpolation with unicode subclass fails to call __str__

2010-03-20 Thread Steven D'Aprano
Steven D'Aprano steve+pyt...@pearwood.info added the comment: I've assumed that the documentation is correct, and that %s%obj should call __str__ for unicode objects as well as everything else. Attached in a test file. -- Added file:

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-20 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: This patch should fix the test on OS X platforms. -- components: +Macintosh, Unicode keywords: +patch priority: - normal resolution: - accepted stage: needs patch - patch review type: - behavior versions: +Python 3.2 Added

[issue8179] Test failure in test_macpath.py test_realpath (Mac OS X)

2010-03-20 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8179 ___

[issue7977] I found Python 3.1 xmlrpc lib use param not properly. and i have fixed it.

2010-03-20 Thread Jelly Chen
Jelly Chen sinoje...@gmail.com added the comment: I know why those two tests run failed, and I found another way to solve the problem, do not make the existing tests broken, and at the same time I have added another test case. I encountered this problem due to a argument is already being a tuple

[issue4037] doctest.py should include method descriptors when looking inside a class __dict__

2010-03-20 Thread Steven D'Aprano
Steven D'Aprano steve+pyt...@pearwood.info added the comment: I have fixed the issue with line length, and taken Brian's advice re valname. Updated patch for doctest and test.test_doctest2 is attached. -- Added file: http://bugs.python.org/file16599/doctest_patch

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I believe that backporting this change to 2.6 is inappropriate. It will more than likely cause perfectly correct code to stop working, and that is not something we like to do in a maintenance release. I believe that the bug on the

[issue7347] Add {Create|Delete}KeyEx to _winreg, doc and test updates

2010-03-20 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: RegDeleteKeyEx will only work on a Windows version of 5.2 or greater (Vista/XP x64), and XP is 5.1, so RegDeleteKeyEx can't be a simple drop-in under the DeleteKey name. CreateKeyEx is different though since it goes as far back as Win2k, and it

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-20 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: A patch with more Unicode normalization tests. Could you test it on Windows or Mac OS X? -- Added file: http://bugs.python.org/file16600/issue8180_pep277_additions.diff ___ Python tracker

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-20 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8180 ___ ___

[issue2356] fixer for sys.exitfunc - atexit

2010-03-20 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Committed the 2to3 fixer in r79137. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2356

[issue8182] test_imp.py test failures on Py3K Mac OS X

2010-03-20 Thread Michael Foord
New submission from Michael Foord mich...@voidspace.org.uk: $ ./python.exe Lib/test/test_imp.py test_find_module_encoding (__main__.ImportTests) ... ok test_issue1267 (__main__.ImportTests) ... ok test_issue3594 (__main__.ImportTests) ... ok test_issue5604 (__main__.ImportTests) ... ERROR

[issue8182] test_imp.py test failures on Py3K Mac OS X

2010-03-20 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - duplicate status: open - closed superseder: - test_imp fails on OS X; filename normalization issue. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8182

[issue8133] test_imp fails on OS X; filename normalization issue.

2010-03-20 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Note: issue #8180 is related to the same NFC/NFD issue. http://developer.apple.com/mac/library/qa/qa2001/qa1173.html -- components: +Macintosh, Unicode nosy: +flox resolution: - accepted

[issue8183] warn crashes if warning's __str__ returns Unicode

2010-03-20 Thread Ben Artin
New submission from Ben Artin ba000...@artins.org: Running the following script crashes my 2.6.1 interpreter on two different platforms: from warnings import warn class TestWarning(Warning): def __str__(self): return u'\u00ae' warn(TestWarning()) Platforms I tried

[issue8184] multiprocessing.managers will not fail if listening ocket already in use

2010-03-20 Thread news1234
New submission from news1234 news1...@free.fr: Following code snippet will behave differently on Linux and windows hosts. Under linux the script can only be run once. The second call will raise an exception, as the previous program is already listening to pot 8089. Under Windows however the

[issue8185] re.findall()

2010-03-20 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth wxjmfa...@gmail.com: sys.version 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] import re re.match([-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?, 1.23e-4).group() 1.23e-4 re.search([-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?,

[issue8133] test_imp fails on OS X; filename normalization issue.

2010-03-20 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Could you tell if the patch fix the issue? -- keywords: +patch stage: - patch review Added file: http://bugs.python.org/file16601/issue8133_test_imp.diff ___ Python tracker

[issue8133] test_imp fails on OS X; filename normalization issue.

2010-03-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: That patch works for me. (You should probably commit the comment fix in the patch separately though, rather than mixing it up with this issue.) -- ___ Python tracker rep...@bugs.python.org

[issue8183] warn crashes if warning's __str__ returns Unicode

2010-03-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I cannot reproduce this with python 2.6.4 or trunk on linux. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8183

[issue2550] SO_REUSEADDR doesn't have the same semantics on Windows as on Unix

2010-03-20 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- stage: - test needed versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2550 ___

[issue8186] Hohe Qualitaet und beste Preise garantiert.

2010-03-20 Thread Nobody/Anonymous
New submission from Nobody/Anonymous: body,#wrap{text-align:center;margin:0px;background-color:#FFFEF8;}/*...@tab Top b...@section top b...@tip Choose a set of colors that look good with the colors of your logo image or text

[issue7832] assertSameElements([0, 1, 1], [0, 0, 1]) does not fail

2010-03-20 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Committed to Py3k in revision 79141, revision 79142 and revision 79143. -- resolution: - accepted stage: needs patch - committed/rejected status: open - closed ___ Python tracker

[issue8186] spam

2010-03-20 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- resolution: - invalid status: open - closed title: Hohe Qualitaet und beste Preise garantiert. - spam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8186

[issue8084] pep-0370 on osx duplicates existing functionality

2010-03-20 Thread Sean Reifschneider
Sean Reifschneider j...@tummy.com added the comment: Since this needs review, and Christian is the author of that PEP, I'm assigning it to him. If not appropriate, any suggestions on where to get visibility to get reviewers? -- assignee: ronaldoussoren - christian.heimes nosy:

[issue7072] isspace(0xa0) is true on Mac OS X

2010-03-20 Thread Sean Reifschneider
Changes by Sean Reifschneider j...@tummy.com: -- priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7072 ___ ___ Python-bugs-list

[issue8187] Online kaufen die beste Software!

2010-03-20 Thread Nobody/Anonymous
New submission from Nobody/Anonymous: body,#wrap{text-align:center;margin:0px;background-color:#FFFEF8;}/*...@tab Top b...@section top b...@tip Choose a set of colors that look good with the colors of your logo image or text

[issue8187] spam

2010-03-20 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- resolution: - invalid status: open - closed title: Online kaufen die beste Software! - spam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8187 ___

[issue4931] distutils does not show any error msg when can't build C module extensions due to a missing C compiler

2010-03-20 Thread Sean Reifschneider
Sean Reifschneider j...@tummy.com added the comment: Tarek: This patch seems reasonable to me, is this something that can be applied? -- nosy: +jafo priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4931

[issue8184] multiprocessing.managers will not fail if listening ocket already in use

2010-03-20 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - jnoller nosy: +jnoller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8184 ___

[issue4931] distutils does not show any error msg when can't build C module extensions due to a missing C compiler

2010-03-20 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: I guess i can be applied on distutils, and backported in distutils2. I'll do it in the coming days. Notice that I am now applying only bug fixes and regression fixes now for distutils. -- components: +Distutils2 resolution: -

[issue8185] re.findall()

2010-03-20 Thread Jon Clements
Jon Clements jon...@googlemail.com added the comment: Seems consistent to me: .match, .search and .finditer return a MatchObject whose .group() return the *entire matched string*. If you use .group(1) you'll get similar results to .findall() which returns a list of (possibly of tuples) of the

[issue8133] test_imp fails on OS X; filename normalization issue.

2010-03-20 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Patch works for me as well. Go ahead and commit it, Florent, with the comment fix as a separate commit as Mark suggested. -- assignee: brett.cannon - flox stage: patch review - commit review ___

[issue8183] warn crashes if warning's __str__ returns Unicode

2010-03-20 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Can't reproduce under OS X with Python 2.6.5. Closing as out of date. -- nosy: +brett.cannon resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org

[issue8006] os.popen in Python 3.1

2010-03-20 Thread Yuriy Taraday
Yuriy Taraday yorik@gmail.com added the comment: os.popen is obsolete and as I understand is removed from 3k. Use subprocess module instead. http://docs.python.org/library/os.html?highlight=popen#os.popen -- nosy: +yorik.sar ___ Python tracker

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: Here's a patch that makes hash(x) == hash(y) for any numeric types (int, float, complex, Decimal, Fraction, bool) when x and y are numerically equal. This is a prerequisite for making all numeric types accurately comparable with each

[issue8133] test_imp fails on OS X; filename normalization issue.

2010-03-20 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Fixed with r79144 on 3.x and r79146 on 3.1. -- resolution: accepted - fixed stage: commit review - committed/rejected status: open - pending ___ Python tracker rep...@bugs.python.org

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Uploaded to Rietveld: http://codereview.appspot.com/660042 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8188 ___

[issue8006] os.popen in Python 3.1

2010-03-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Well, actually os.popen in Python3 is implemented by calling subprocess.Popen. So, Bob, how does it fail? -- nosy: +r.david.murray priority: - normal stage: - test needed ___ Python tracker

[issue8185] re.findall()

2010-03-20 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: What Jon said is correct, .group() is equivalent to .group(0) and returns the whole match. re.findall returns all the groups captured by each set of () as a list of strings (if there is 0 or 1 group) or a list of tuples (if there are more

[issue8189] Gute Programme billig hier!

2010-03-20 Thread Nobody/Anonymous
New submission from Nobody/Anonymous: body,#wrap{text-align:center;margin:0px;background-color:#FFFEF8;}/*...@tab Top b...@section top b...@tip Choose a set of colors that look good with the colors of your logo image or text

[issue8189] Gute Programme billig hier!

2010-03-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8189 ___ ___ Python-bugs-list mailing list

[issue8189] Gute Programme billig hier!

2010-03-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Removed file: http://bugs.python.org/file16605/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8189 ___

[issue8189] spam

2010-03-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - invalid stage: - committed/rejected status: open - closed title: Gute Programme billig hier! - spam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8189

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Updated patch, with a bit of cleanup and some comments describing the hashing strategy; I'll update the Rietveld issue as well. -- Added file: http://bugs.python.org/file16606/numeric_hash2.patch

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: Removed file: http://bugs.python.org/file16606/numeric_hash2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8188 ___

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Whoops; that patch included some accidental Lib/test/test_decimal changes. Here's the correct patch. -- Added file: http://bugs.python.org/file16607/numeric_hash2.patch ___ Python tracker

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Adam Olsen
Adam Olsen rha...@gmail.com added the comment: Why aren't you using 64-bit hashes on 64-bit architectures? -- nosy: +Rhamphoryncus ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8188 ___

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Why aren't you using 64-bit hashes on 64-bit architectures? Mostly because I haven't got around to putting that in yet. :) Ideal would be to use _PyHASH_BITS=61 for 64-bit machines, throughout. --

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Adam Olsen
Adam Olsen rha...@gmail.com added the comment: I assume you mean 63. ;) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8188 ___ ___

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: No, I mean 61. 2**61 - 1 is prime; 2**63-1 is not. (So 2 bits of the hash get wasted, but that's not a big deal, especially since they're the high-end bits and Python mostly cares about the lower-order bits.) --

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Restore tests accidentally omitted from second patch. -- Added file: http://bugs.python.org/file16608/numeric_hash2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8188

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: Removed file: http://bugs.python.org/file16607/numeric_hash2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8188 ___

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8188 ___ ___ Python-bugs-list mailing

[issue8084] pep-0370 on osx duplicates existing functionality

2010-03-20 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8084 ___ ___ Python-bugs-list mailing list

[issue8179] Test failure in test_macpath.py test_realpath (Mac OS X)

2010-03-20 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Test passes for me with the patch applied. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8179 ___

[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)

2010-03-20 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: The test passes with the first patch applied (darwin.diff). With the second patch applied I get two failures: == ERROR: test_normalize (__main__.UnicodeFileTests)

[issue8084] pep-0370 on osx duplicates existing functionality

2010-03-20 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: @Sean: you can look at the maintainers.rst file in the py3k branch I guess I am maintaining sysconfig, so I guess I'll just help on the review. Notice that we might need to backport some of the work in distutils/sysconfig since we have

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-03-20 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: More warnings silenced with r79165. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7092 ___

[issue7849] Improve test_support.check_warnings()

2010-03-20 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Done on trunk with r78758 and r79049. -- resolution: accepted - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7316] Add a timeout functionality to common locking operations

2010-03-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here is a new patch fixing most of your comments. A couple of answers: I believe we can support arbitrary values here, subject to floating point rounding errors, by calling lock-with-timeout in a loop. I'm not sure whether that's a good idea,

[issue7316] Add a timeout functionality to common locking operations

2010-03-20 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: Removed file: http://bugs.python.org/file15795/timedlock4.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7316 ___

[issue8190] Add an xml-rpc client for PyPi

2010-03-20 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: let's add a small xml-rpc client in Distutils2, implementing all functions. See http://wiki.python.org/moin/PyPiXmlRpc -- assignee: tarek components: Distutils2 messages: 101414 nosy: tarek priority: normal severity: normal stage:

[issue8190] Add an xml-rpc client for PyPi

2010-03-20 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: see also http://tools.assembla.com/yolk/browser/trunk/yolk/pypi.py -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8190 ___