[issue10836] urllib.request.urlretrieve calls URLError with 3 args

2012-10-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here is the patch which captures both HTTPError and URLError at the open_file and thus preventing multiple exceptions to be raised ( URLError and next IOError). This can go in 3.4 and since this is bug, where correct exception is not being caught and wrong ar

[issue16284] concurrent.futures ThreadPoolExecutor keeps unnecessary references to worker functions.

2012-10-21 Thread Brian Quinlan
Brian Quinlan added the comment: The concurrent.futures stuff looks good to me. Could you add a comment explaining why the delete is necessary? And, as Antoine said, the test should be CPython only. -- ___ Python tracker

[issue15966] concurrent.futures: Executor.submit keyword arguments may not be called 'fn' (or 'self')

2012-10-21 Thread Brian Quinlan
Brian Quinlan added the comment: This has come up before. Did you actually bang into this? Because the fix seems pretty ugly to me and the work-around (using functools.partial) is pretty easy. But, if people are actually hitting this, then your is probably the best that we can do. --

[issue13785] Make concurrent.futures.Future state public

2012-10-21 Thread Brian Quinlan
Changes by Brian Quinlan : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue8792] Support Apache extensions to XML-RPC in xmlrpclib

2012-10-21 Thread Brian Quinlan
Brian Quinlan added the comment: I'm closing this since the filer hasn't specified exactly what they want. -- status: open -> closed ___ Python tracker ___ ___

[issue11271] concurrent.futures.ProcessPoolExecutor.map() doesn't batch function arguments by chunks

2012-10-21 Thread Brian Quinlan
Changes by Brian Quinlan : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue15772] Unresolved symbols in Windows 64-bit python

2012-10-21 Thread Silverback Networks
Silverback Networks added the comment: Boy, do I feel like an idiot now. An update to VC 2010 Express SP1 had clobbered by x64 build capabilities completely, and even reinstalling the SDK did nothing. It turns out that there's a specific hotfix you have to install to get x64 builds working aga

[issue15522] improve 27 percent performance on stringpbject.c (by prefetch and loop optimization)

2012-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm closing this issue, since the OP since to have lost interest in his/her proposal. Abael, if you want to propose an actual patch, please open a new issue. -- resolution: -> rejected status: open -> closed ___ Py

[issue16293] curses.ungetch raises OverflowError when given -1

2012-10-21 Thread STINNER Victor
STINNER Victor added the comment: Do you consider this behaviour as a bug? What is the behaviour in C? Le 21 oct. 2012 03:25, "Julian Berman" a écrit : > > New submission from Julian Berman: > > The following code now raises an OverflowError on 3.3: > > import curses > > def test_screen(screen)

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-10-21 Thread Kevin Chen
Kevin Chen added the comment: Okay just tried it. This is under Windows 7 x64. I created a .py file with read-only permission. When I import the .py module, the created .pyc doesn't have read-only permission. So it works as intended under Windows OS. As long as under posix system the created

[issue16220] wsgiref does not call close() on iterable response

2012-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset d5af1b235dab by Antoine Pitrou in branch '2.7': Issue #16220: wsgiref now always calls close() on an iterable response. http://hg.python.org/cpython/rev/d5af1b235dab -- nosy: +python-dev ___ Python tracke

[issue16294] 8 space indent in tutorial

2012-10-21 Thread Yongzhi Pan
New submission from Yongzhi Pan: http://docs.python.org/py3k/tutorial/stdlib2.html#weak-references In the code example, the two class funtions' bodies have indents of 8 spaces. All other indents in the docs are 4 spaces. I suggest here we use 4 spaces also. -- assignee: docs@python com

[issue16291] Fix some general cross compile issues and some darwin specific ones. Tested with build=linux, host=darwin

2012-10-21 Thread Ray Donnelly
Changes by Ray Donnelly : Removed file: http://bugs.python.org/file27641/0010-DARWIN-CROSS.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue16291] Enable darwin-host cross compilation. Tested with build=linux, host=darwin

2012-10-21 Thread Ray Donnelly
Ray Donnelly added the comment: Here's the darwin cross enabling portion. I've also removed the warnings fixes from it as they're not relevant. -- title: Fix some general cross compile issues and some darwin specific ones. Tested with build=linux, host=darwin -> Enable darwin-host cros

[issue16220] wsgiref does not call close() on iterable response

2012-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset eef470032457 by Antoine Pitrou in branch '3.2': Issue #16220: wsgiref now always calls close() on an iterable response. http://hg.python.org/cpython/rev/eef470032457 New changeset 2530acc092d8 by Antoine Pitrou in branch '3.3': Issue #16220: wsgiref

[issue16220] wsgiref does not call close() on iterable response

2012-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Your patch is now committed, Brent, thank you! -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker _

[issue1598083] Top-level exception handler writes to stdout unsafely

2012-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is certainly a low-priority issue, as it will almost never happen in practice. -- nosy: +pitrou priority: high -> low stage: test needed -> needs patch versions: +Python 3.4 ___ Python tracker

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-10-21 Thread desolat
Changes by desolat : -- nosy: -desolat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue16292] Cross compilation fixes (general)

2012-10-21 Thread Roumen Petrov
Roumen Petrov added the comment: duplicate with 15483 and 15484 -- nosy: +rpetrov ___ Python tracker ___ ___ Python-bugs-list mailing

[issue16293] curses.ungetch raises OverflowError when given -1

2012-10-21 Thread Julian Berman
Julian Berman added the comment: Hi, sorry for being terse :). After checking a bit, man 3 getch says that it returns ERR (-1) in non-blocking mode if no input is available. I think you're right though -- calling ungetch without checking for the error value seems like it should be a bug in the

[issue5128] compileall: consider ctime

2012-10-21 Thread Brett Cannon
Brett Cannon added the comment: There is no patch, Djoume, but honestly that's fine since if you want to submit a change to something it should go in a new issue. But honestly compileall needs to be rewritten in Python 3.4 to use importlib and have it control when source code should be rebuilt

[issue12034] check_GetFinalPathNameByHandle() suboptimal

2012-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8afa3ce5ff3e by Antoine Pitrou in branch 'default': Issue #12034: Fix bogus caching of result in check_GetFinalPathNameByHandle. http://hg.python.org/cpython/rev/8afa3ce5ff3e -- nosy: +python-dev ___ Pyth

[issue12034] check_GetFinalPathNameByHandle() suboptimal

2012-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch committed, thank you! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue16034] bz2 module appears slower in Python 3.x versus Python 2.x

2012-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset cc02eca14526 by Nadeem Vawda in branch 'default': Issue #16034 follow-up: Apply optimizations to the lzma module. http://hg.python.org/cpython/rev/cc02eca14526 -- ___ Python tracker

[issue16264] test_logging failure on Windows 7 buildbot

2012-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0fb2267897ba by Antoine Pitrou in branch 'default': Try to fix issue #16264 (test_logging failure on some buildbots). http://hg.python.org/cpython/rev/0fb2267897ba -- ___ Python tracker

[issue14621] Hash function is not randomized properly

2012-10-21 Thread Armin Rigo
Armin Rigo added the comment: Just to make it extra clear: Vlado showed that the "-R" switch of Python can easily be made fully pointless, with only a bit of extra work. Here is how: * Assume you have an algo that gives you as many strings with colliding hashes as you want, provided you know

[issue16264] test_logging failure on Windows 7 buildbot

2012-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looks ok now. It's a timing glitch because both SocketHandler's built-in timeout and its default retry delay are one second, so when connect times out once the next retry time is a bit behind time.time(). (note: SocketHandler's implementation looks grotesque.

[issue14621] Hash function is not randomized properly

2012-10-21 Thread Armin Rigo
Armin Rigo added the comment: For reference, the above means that we can implement -R support for PyPy as a dummy ignored flag, and get "security" that is very close to CPython's. :-) -- keywords: +easy ___ Python tracker

[issue14621] Hash function is not randomized properly

2012-10-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: That doesn't make it any easy CPython issue. :) -- keywords: -easy ___ Python tracker ___ ___ Py

[issue12692] test_urllib2net is triggering a ResourceWarning

2012-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 92656b5df2f2 by Nadeem Vawda in branch 'default': Issue #12692: Fix resource leak in urllib.request. http://hg.python.org/cpython/rev/92656b5df2f2 -- nosy: +python-dev ___ Python tracker

[issue12692] test_urllib2net is triggering a ResourceWarning

2012-10-21 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue5148] gzip.open breaks with 'U' flag

2012-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset e647229c422b by Nadeem Vawda in branch '2.7': Issue #5148: Ignore 'U' in mode given to gzip.open() and gzip.GzipFile(). http://hg.python.org/cpython/rev/e647229c422b -- nosy: +python-dev ___ Python tracke

[issue14621] Hash function is not randomized properly

2012-10-21 Thread Christian Heimes
Christian Heimes added the comment: As far as my understanding goes the issue can't be solved with our current hash algorithm. We'd have to use a crypto hash function or at least a hash algorithm that has an increased avalanche effect on the outcome. The current hash algorithm is designed and

[issue5148] gzip.open breaks with 'U' flag

2012-10-21 Thread Nadeem Vawda
Nadeem Vawda added the comment: The data corruption issue is now fixed in the 2.7 branch. In 3.x, using a mode containing 'U' results in an exception rather than silent data corruption. Additionally, gzip.open() has supported text modes ("rt"/"wt"/"at") and newline translation since 3.3 [issue

[issue16230] select.select crashes on resized lists

2012-10-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +needs review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue16228] JSON crashes during encoding resized lists

2012-10-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +needs review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue16295] With VS2010 the select extension links against wsock32 instead of ws2_32

2012-10-21 Thread Richard Oudkerk
New submission from Richard Oudkerk: Using VS2010 _socket links against ws2_32.lib but select links against wsock32.lib. Using VS2008 both extensions link against ws2_32.lib. It appears that the conversion to VS2010 caused the regression. (Compare #10295 and #11750.) -- messages: 17

[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

2012-10-21 Thread Michael Foord
Changes by Michael Foord : -- assignee: -> michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue16296] Patch to fix building on Win32/64 under VS 2010

2012-10-21 Thread Silverback Networks
New submission from Silverback Networks: Once I got my broken environment fixed, this was the only thing that didn't work. The bug is that VS 2010 no longer creates a manifest by default, despite the documentation, and there are confirmation posts around the internet. /Manifest has to be force

[issue16296] Patch to fix building on Win32/64 under VS 2010

2012-10-21 Thread Silverback Networks
Silverback Networks added the comment: oops, add _debug on the second part of the patch. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue16296] Patch to fix building on Win32/64 under VS 2010

2012-10-21 Thread Christian Heimes
Christian Heimes added the comment: Can you please upload a proper patch files? It makes code review and applying the patch easier for us. -- components: +Windows keywords: +3.3regression nosy: +christian.heimes stage: -> patch review versions: -Python 3.1 ___

[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

2012-10-21 Thread Robert Collins
Robert Collins added the comment: testscenarios copies the tests, it doesn't call the constructor for the class; this makes things a lot simpler than trying to reconstruct whatever state the object may have from scratch again. As for str(test) and test.id() being different - well sure they are

[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

2012-10-21 Thread Mike Hoy
Changes by Mike Hoy : -- nosy: -mikehoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

2012-10-21 Thread Michael Foord
Michael Foord added the comment: So three including str sounds sufficient to me: short description, long description and repr (with str == repr) for debugging. -- ___ Python tracker ___

[issue16296] Patch to fix building on Win32/64 under VS 2010

2012-10-21 Thread Silverback Networks
Silverback Networks added the comment: Sure. I got this patch from Mercurial, just in case, but it looks the same. -- keywords: +patch Added file: http://bugs.python.org/file27648/msvc9manifest.diff ___ Python tracker

[issue16296] Patch to fix building on Win32/64 under VS 2010

2012-10-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brian.curtin, loewis, tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue16154] Some minor doc fixes in Doc/library

2012-10-21 Thread Ravi Sinha
Changes by Ravi Sinha : Added file: http://bugs.python.org/file27649/27.doc_lib_Oct21_2012.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue16154] Some minor doc fixes in Doc/library

2012-10-21 Thread Ravi Sinha
Changes by Ravi Sinha : Added file: http://bugs.python.org/file27650/32.doc_lib_Oct21_2012.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue16154] Some minor doc fixes in Doc/library

2012-10-21 Thread Ravi Sinha
Changes by Ravi Sinha : Added file: http://bugs.python.org/file27651/33.doc_lib_Oct21_2012.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue16154] Some minor doc fixes in Doc/library

2012-10-21 Thread Ravi Sinha
Ravi Sinha added the comment: Based on what I saw on some other issues, I think there is just a separate patch for each version (coming from separate working repositories), but all attached to the same issue. So I am doing the same. All the changes have been made to files under Doc/library/ -

[issue14398] bz2.BZ2DEcompressor.decompress fail on large files

2012-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset ebb8c7d79f52 by Nadeem Vawda in branch '3.2': Issue #14398: Fix size truncation and overflow bugs in bz2 module. http://hg.python.org/cpython/rev/ebb8c7d79f52 New changeset 25fdf297c077 by Nadeem Vawda in branch '3.3': Merge #14398: Fix size truncat

[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

2012-10-21 Thread R. David Murray
R. David Murray added the comment: Robert: I don't know if there's something funky going on with your browser, but every time you post the 'enhancement' setting for type seems to get lost. -- type: -> enhancement ___ Python tracker

[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

2012-10-21 Thread Robert Collins
Robert Collins added the comment: @Michael I'll put a patch together next week then. @R.david.murray no idea - but I've refreshed the page, we'll if it behaves better. My guess would be a buggy in-flight-collision detection in the issue tracker code. -- ___

[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

2012-10-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: > testscenarios copies the tests, it doesn't call the constructor for the class; My suggestion on how to override __str__ (by assignment to __class__) doesn't require that the constructor be called. -- ___ Python tr

[issue16155] Some minor doc fixes in Doc/faq

2012-10-21 Thread Ravi Sinha
Ravi Sinha added the comment: Did the same changes for versions 2.7, 3.2, 3.3, and 3.4 For line wrap in cases like http://hg.python.org/cpython/file/40a1652349e9/Doc/faq/general.rst, line 448, broke the list across separate lines, and had to use +NORMALIZE_WHITESPACE to make the tests pass.

[issue16155] Some minor doc fixes in Doc/faq

2012-10-21 Thread Ravi Sinha
Changes by Ravi Sinha : Added file: http://bugs.python.org/file27653/32.doc_faq_Oct21_2012.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue16155] Some minor doc fixes in Doc/faq

2012-10-21 Thread Ravi Sinha
Changes by Ravi Sinha : Added file: http://bugs.python.org/file27654/33.doc_faq_Oct21_2012.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue16155] Some minor doc fixes in Doc/faq

2012-10-21 Thread Ravi Sinha
Changes by Ravi Sinha : Added file: http://bugs.python.org/file27655/34.doc_faq_Oct21_2012.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue16294] 8 space indent in tutorial

2012-10-21 Thread Mike Hoy
Mike Hoy added the comment: Probably no need for a patch (since it's such a simple fix) but I felt like doing something. -- keywords: +patch nosy: +mikehoy Added file: http://bugs.python.org/file27656/issue16294.diff ___ Python tracker

[issue16255] subrocess.Popen needs /bin/sh but Android only has /system/bin/sh

2012-10-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: It occurs to me that logic for detecting the shell might make sense for being part of the os module, e.g. os.getdefaultshell(). -- ___ Python tracker _

[issue10905] zipfile: fix arcname with leading '///' or '..'

2012-10-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Some comments to patch. +arcname = os.path.sep.join([x for x in arcname.split(os.path.sep) +if x != '..']) File names in zip archive should use '/' as separator, not os.path.sep. '../spam' will be not cleaned by th

[issue14398] bz2.BZ2DEcompressor.decompress fail on large files

2012-10-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What about 2.7? -- nosy: +serhiy.storchaka versions: +Python 3.3, Python 3.4 ___ Python tracker ___ __

[issue10836] urllib.request.urlretrieve calls URLError with 3 args

2012-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset daef5526d2ac by Senthil Kumaran in branch 'default': Issue #10836: Fix exception raised when file not found in urlretrieve http://hg.python.org/cpython/rev/daef5526d2ac -- nosy: +python-dev ___ Python tra

[issue14398] bz2.BZ2DEcompressor.decompress fail on large files

2012-10-21 Thread Nadeem Vawda
Nadeem Vawda added the comment: I'm working on it now. Will push in the next 15 minutes or so. -- ___ Python tracker ___ ___ Python-bu

[issue10836] urllib.request.urlretrieve calls URLError with 3 args

2012-10-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: This one is fixed in 3.4. I can see the previous versions raised IOError exception and it is not a good idea to change by backporting. But the wrong arguments on URLError should be fixed tough. -- ___ Python tracke

[issue12944] Accept arbitrary files for packaging's upload command

2012-10-21 Thread Mike Hoy
Changes by Mike Hoy : -- nosy: -mikehoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue13198] Remove duplicate definition of write_record_file

2012-10-21 Thread Mike Hoy
Changes by Mike Hoy : -- nosy: -mikehoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue15569] Doc doc: incorrect description of some roles as format-only

2012-10-21 Thread Mike Hoy
Changes by Mike Hoy : -- nosy: -mikehoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue16295] With VS2010 the select extension links against wsock32 instead of ws2_32

2012-10-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brian.curtin, loewis, tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue13198] Remove duplicate definition of write_record_file

2012-10-21 Thread Paul Moore
Changes by Paul Moore : -- nosy: -pmoore ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue14398] bz2.BZ2DEcompressor.decompress fail on large files

2012-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset f03a335621ce by Nadeem Vawda in branch '2.7': Issue #14398: Fix size truncation and overflow bugs in bz2 module. http://hg.python.org/cpython/rev/f03a335621ce -- ___ Python tracker

[issue14398] bz2.BZ2DEcompressor.decompress fail on large files

2012-10-21 Thread Nadeem Vawda
Nadeem Vawda added the comment: All fixed, along with some other similar but harder-to-trigger bugs. Thanks for the bug report, Laurent! -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker

[issue16262] srcdir != builddir builds fail, if hg is not installed

2012-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 03236a19eb87 by Matthias Klose in branch '3.2': - Issue #16262: fix out-of-src-tree builds, if mercurial is not installed. http://hg.python.org/cpython/rev/03236a19eb87 New changeset ea6de576d1c8 by Matthias Klose in branch '3.3': - Issue #16262: fi

[issue16262] srcdir != builddir builds fail, if hg is not installed

2012-10-21 Thread Matthias Klose
Matthias Klose added the comment: now checked in even without review, because it was broken on the branches too. -- resolution: -> fixed status: open -> closed ___ Python tracker __

[issue14394] Add speed improvement note to the decimal docs.

2012-10-21 Thread Stefan Krah
Stefan Krah added the comment: Closing as out-of-date. -- resolution: -> out of date stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue14621] Hash function is not randomized properly

2012-10-21 Thread STINNER Victor
STINNER Victor added the comment: > It's interesting to note how this whole -R discussion made very long threads on python-dev, and python-dev has subsequently ignored (for the past 6 months!) the fact that their "fix" can be worked around in a matter of minutes. No, this issue has no been ignor

[issue16262] srcdir != builddir builds fail, if hg is not installed

2012-10-21 Thread R. David Murray
R. David Murray added the comment: This change appears to have broken the dmg builders: http://buildbot.python.org/all/builders/bolen-dmg-3.x/builds/19 http://buildbot.python.org/all/builders/bolen-dmg-3.3/builds/17 -- nosy: +r.david.murray status: closed -> open __

[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

2012-10-21 Thread R. David Murray
R. David Murray added the comment: Much more likely that you just needed to refresh the page, going by my own experience with this kind of problem (especially seeing as that seems to have fixed it :) -- ___ Python tracker

[issue14621] Hash function is not randomized properly

2012-10-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > $ ./python -m timeit -s "t = 'abcdefgh' * int(1E8)" "hash(t)" I got another numbers (32-bit Linux, AMD Athlon 64 X2 4600+). Python's current hash algorithm: 10 loops, best of 3: 343 msec per loop V8's algorithm: 10 loops, best of 3: 244 msec per loop

[issue16142] ArgumentParser inconsistent with parse_known_args

2012-10-21 Thread Sam Breese
Sam Breese added the comment: Writing a patch now. Should be ready in a few hours. -- nosy: +Sam.Breese ___ Python tracker ___ ___ Pyt

[issue16250] URLError invoked with reason as filename

2012-10-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: This patch fixed these URLError wrong invocation issue and adds some tests for testing those it. I noticed that some of these were in the dead-end of the code, like checking if url is not a str (it is always, unwrap makes it a str if otherwise). Those will

[issue16247] Report failing url in URLError?

2012-10-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: The URLError changes gone in as part of fix for issue10836 should give e.filename and e.reason. -- nosy: +orsenthil ___ Python tracker ___ ___

[issue16250] URLError invoked with reason as filename

2012-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8fb438e7f738 by Senthil Kumaran in branch 'default': Issue #16250: Fix the invocations of URLError which had misplaced filename attribute for exception http://hg.python.org/cpython/rev/8fb438e7f738 -- nosy: +python-dev

[issue16250] URLError invoked with reason as filename

2012-10-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed in 3.4. I shall backport to other branches. -- ___ Python tracker ___ ___ Python-bugs

[issue9860] Building python outside of source directory fails

2012-10-21 Thread Éric Araujo
Éric Araujo added the comment: FYI hg -R path_to_repo works, we don't have to cd. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue14621] Hash function is not randomized properly

2012-10-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 21.10.2012 23:42, STINNER Victor wrote: > > STINNER Victor added the comment: > >> It's interesting to note how this whole -R discussion made very long > threads on python-dev, and python-dev has subsequently ignored (for the > past 6 months!) the fact t