[issue8190] Add an xml-rpc client for PyPi

2010-03-20 Thread Tarek Ziadé
Tarek Ziadé added the comment: see also http://tools.assembla.com/yolk/browser/trunk/yolk/pypi.py -- ___ Python tracker ___ ___ Python

[issue8190] Add an xml-rpc client for PyPi

2010-03-20 Thread Tarek Ziadé
New submission from Tarek Ziadé : 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: needs patch status: op

[issue7316] Add a timeout functionality to common locking operations

2010-03-20 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file15795/timedlock4.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue7316] Add a timeout functionality to common locking operations

2010-03-20 Thread Antoine Pitrou
Antoine Pitrou 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, but it fits

[issue7849] Improve "test_support.check_warnings()"

2010-03-20 Thread Florent Xicluna
Florent Xicluna added the comment: Done on trunk with r78758 and r79049. -- resolution: accepted -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___

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

2010-03-20 Thread Florent Xicluna
Florent Xicluna added the comment: More warnings silenced with r79165. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue8084] pep-0370 on osx duplicates existing functionality

2010-03-20 Thread Tarek Ziadé
Tarek Ziadé 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 decided to revert distutil

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

2010-03-20 Thread Michael Foord
Michael Foord 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) -

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

2010-03-20 Thread Michael Foord
Michael Foord added the comment: Test passes for me with the patch applied. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue8084] pep-0370 on osx duplicates existing functionality

2010-03-20 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +tarek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Eric Smith
Changes by Eric Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Mark Dickinson
Changes by Mark Dickinson : Removed file: http://bugs.python.org/file16607/numeric_hash2.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue8188] Unified hash for numeric types.

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

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Mark Dickinson
Mark Dickinson 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 Adam Olsen
Adam Olsen added the comment: I assume you mean 63. ;) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Mark Dickinson
Mark Dickinson 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. -- ___ Python tra

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Adam Olsen
Adam Olsen added the comment: Why aren't you using 64-bit hashes on 64-bit architectures? -- nosy: +Rhamphoryncus ___ Python tracker ___ _

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Mark Dickinson
Mark Dickinson 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 Mark Dickinson
Changes by Mark Dickinson : Removed file: http://bugs.python.org/file16606/numeric_hash2.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Mark Dickinson
Mark Dickinson 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 ___ Python tracker

[issue8189] spam

2010-03-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed title: Gute Programme billig hier! -> spam ___ Python tracker ___ __

[issue8189] Gute Programme billig hier!

2010-03-20 Thread Ezio Melotti
Changes by Ezio Melotti : Removed file: http://bugs.python.org/file16605/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue8189] Gute Programme billig hier!

2010-03-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/opti

[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 header.*/#header{background-color:#FFFEF8;margin:0px;/*...@editable*/

[issue8185] re.findall()

2010-03-20 Thread Ezio Melotti
Ezio Melotti 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 than 1). -- n

[issue8006] os.popen in Python 3.1

2010-03-20 Thread R. David Murray
R. David Murray 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

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Mark Dickinson
Mark Dickinson added the comment: Uploaded to Rietveld: http://codereview.appspot.com/660042 -- ___ Python tracker ___ ___ Python-bug

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

2010-03-20 Thread Florent Xicluna
Florent Xicluna 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

[issue8188] Unified hash for numeric types.

2010-03-20 Thread Mark Dickinson
New submission from Mark Dickinson : 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 other. -- file

[issue8006] os.popen in Python 3.1

2010-03-20 Thread Yuriy Taraday
Yuriy Taraday 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

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

2010-03-20 Thread Brett Cannon
Brett Cannon 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 ___

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

2010-03-20 Thread Brett Cannon
Brett Cannon 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 ___ Python tracker

[issue8185] re.findall()

2010-03-20 Thread Jon Clements
Jon Clements 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 captured groupings.

[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é 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: -> accepted ___

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

2010-03-20 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> jnoller nosy: +jnoller ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[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 added the comment: Tarek: This patch seems reasonable to me, is this something that can be applied? -- nosy: +jafo priority: -> normal ___ Python tracker ___

[issue8187] spam

2010-03-20 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> invalid status: open -> closed title: Online kaufen die beste Software! -> spam ___ Python tracker ___ ___

[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 header.*/#header{background-color:#FFFEF8;margin:0px;/*...@editable*/

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

2010-03-20 Thread Sean Reifschneider
Changes by Sean Reifschneider : -- priority: -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue8084] pep-0370 on osx duplicates existing functionality

2010-03-20 Thread Sean Reifschneider
Sean Reifschneider 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: +christian.heimes, j

[issue8186] spam

2010-03-20 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> invalid status: open -> closed title: Hohe Qualitaet und beste Preise garantiert. -> spam ___ Python tracker ___ _

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

2010-03-20 Thread Michael Foord
Michael Foord 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] 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 header.*/#header{background-color:#FFFEF8;margin:0px;/*...@editable*/

[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 : -- stage: -> test needed versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker ___ ___

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

2010-03-20 Thread R. David Murray
R. David Murray added the comment: I cannot reproduce this with python 2.6.4 or trunk on linux. -- nosy: +r.david.murray ___ Python tracker ___ __

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

2010-03-20 Thread Mark Dickinson
Mark Dickinson 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

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

2010-03-20 Thread Florent Xicluna
Florent Xicluna 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

[issue8185] re.findall()

2010-03-20 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth : >>> 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]+)?", "1.23e-4").group(

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

2010-03-20 Thread news1234
New submission from news1234 : 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 program can be sta

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

2010-03-20 Thread Ben Artin
New submission from Ben Artin : 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 this on: Python 2.6.1

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

2010-03-20 Thread Florent Xicluna
Florent Xicluna 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 ___ Python tracker

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

2010-03-20 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> duplicate status: open -> closed superseder: -> test_imp fails on OS X; filename normalization issue. ___ Python tracker ___ ___

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

2010-03-20 Thread Michael Foord
New submission from Michael Foord : $ ./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 test_builtin (__main__.ReloadT

[issue2356] fixer for sys.exitfunc -> atexit

2010-03-20 Thread Benjamin Peterson
Benjamin Peterson added the comment: Committed the 2to3 fixer in r79137. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

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

2010-03-20 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

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

2010-03-20 Thread Florent Xicluna
Florent Xicluna 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

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

2010-03-20 Thread Brian Curtin
Brian Curtin 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 could be put

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

2010-03-20 Thread R. David Murray
R. David Murray 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 debian/ubuntu side is actu

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

2010-03-20 Thread Steven D'Aprano
Steven D'Aprano 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 ___ Python t

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

2010-03-20 Thread Jelly Chen
Jelly Chen 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 but re-packaged int

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

2010-03-20 Thread Florent Xicluna
Changes by Florent Xicluna : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

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

2010-03-20 Thread Florent Xicluna
Florent Xicluna 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 file: http://bugs.pyth

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

2010-03-20 Thread Steven D'Aprano
Steven D'Aprano 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: http://bugs.python.org/file16595/test_interpolation.py

[issue8181] spam

2010-03-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> rejected stage: -> committed/rejected status: open -> closed title: Guenstiger kaufen Sie Software nicht! -> spam ___ Python tracker

[issue8181] Guenstiger kaufen Sie Software nicht!

2010-03-20 Thread Ezio Melotti
Changes by Ezio Melotti : Removed file: http://bugs.python.org/file16594/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue8181] Guenstiger kaufen Sie Software nicht!

2010-03-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/opti

[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 header.*/#header{background-color:#FFFEF8;margin:0px;/*...@editable*/

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

2010-03-20 Thread Florent Xicluna
Florent Xicluna 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 file: http://bugs.python.o