[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

[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 rss1...@gmail.com: Added file: http://bugs.python.org/file27653/32.doc_faq_Oct21_2012.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16155 ___

[issue16155] Some minor doc fixes in Doc/faq

2012-10-21 Thread Ravi Sinha
Changes by Ravi Sinha rss1...@gmail.com: Added file: http://bugs.python.org/file27654/33.doc_faq_Oct21_2012.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16155 ___

[issue16155] Some minor doc fixes in Doc/faq

2012-10-21 Thread Ravi Sinha
Changes by Ravi Sinha rss1...@gmail.com: Added file: http://bugs.python.org/file27655/34.doc_faq_Oct21_2012.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16155 ___

[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 rep...@bugs.python.org http://bugs.python.org/issue16255

[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

[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 rep...@bugs.python.org http://bugs.python.org/issue14398 ___

[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

[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 rep...@bugs.python.org http://bugs.python.org/issue14398 ___

[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

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

2012-10-21 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: -mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12944 ___ ___ Python-bugs-list mailing list

[issue13198] Remove duplicate definition of write_record_file

2012-10-21 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: -mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13198 ___ ___ Python-bugs-list mailing list

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

2012-10-21 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: -mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15569 ___ ___ Python-bugs-list mailing list

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

2012-10-21 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +brian.curtin, loewis, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16295 ___ ___

[issue13198] Remove duplicate definition of write_record_file

2012-10-21 Thread Paul Moore
Changes by Paul Moore p.f.mo...@gmail.com: -- nosy: -pmoore ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13198 ___ ___ Python-bugs-list mailing

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

[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:

[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 rep...@bugs.python.org http://bugs.python.org/issue16262

[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 rep...@bugs.python.org http://bugs.python.org/issue14394

[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

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

[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 rep...@bugs.python.org http://bugs.python.org/issue16142 ___

[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 rep...@bugs.python.org http://bugs.python.org/issue16247

[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 rep...@bugs.python.org http://bugs.python.org/issue16250 ___

[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 rep...@bugs.python.org http://bugs.python.org/issue9860 ___ ___

<    1   2