[issue23001] Accept mutable bytes-like objects

2015-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your review Martin. Yes, the problem with fcntl() is not so easy and I'll left it for the separate issue. > I noticed there is no test for “ossaudiodev”. Would that be too hard, or is > it just an oversight? It is hard because test_ossaudiodev

[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator

2015-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Following patch fixes the issue, but I don't understand why. -- Added file: http://bugs.python.org/file38586/tempfile_iter_fix.patch ___ Python tracker __

[issue12006] strptime should implement %G, %V and %u directives

2015-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch is synchronized with the tip, added the versionadded directives and whatsnews entry, addressed sasha's comment on Rietveld. Fixed a bug: %a and %A now are interchangeable with %u as well as with %w. I don't understand what more test are needed. Exi

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-03-19 Thread Demian Brecht
Demian Brecht added the comment: One super minor comment left in Rietveld (py3 patch). Otherwise LGTM. -- ___ Python tracker ___ ___ P

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2015-03-19 Thread irdb
Changes by irdb : -- nosy: +irdb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailma

[issue2211] Cookie.Morsel interface needs update

2015-03-19 Thread Demian Brecht
Demian Brecht added the comment: The attached patch reverts back to the old set() API, ignoring the parameter and adding a deprecation warning. I've also added a few versionchanged and deprecated tags in the Morsel docs. Other than the deprecation note in whatsnew/3.5.rst that was added, I'm n

[issue22826] Support context management protocol in bkfile

2015-03-19 Thread Berker Peksag
Changes by Berker Peksag : -- assignee: -> serhiy.storchaka stage: patch review -> commit review ___ Python tracker ___ ___ Python-bu

[issue22831] Use "with" to avoid possible fd leaks

2015-03-19 Thread Berker Peksag
Berker Peksag added the comment: Looks good. A couple of comments: * Doc/includes/email-* changes have already been committed. * There is a commented-out line in Tools/scripts/nm2def.py: -f.close() +# f.close() * The patch is huge, I'd commit Tools/ and Lib/test/ parts separately.

[issue15133] tkinter.BooleanVar.get() behavior and docstring disagree

2015-03-19 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue22831] Use "with" to avoid possible fd leaks

2015-03-19 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue23676] Add support of UnicodeTranslateError in standard error handlers

2015-03-19 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue23681] Have -b warn when directly comparing ints and bytes

2015-03-19 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue21802] Reader of BufferedRWPair is not closed if writer's close() fails

2015-03-19 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue23171] csv.writer.writerow() does not accept generator (must be coerced to list)

2015-03-19 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue22832] Tweak parameter names for fcntl module

2015-03-19 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue23716] test_multiprocessing_spawn hangs on x86 Ubuntu Shared 3.x

2015-03-19 Thread STINNER Victor
STINNER Victor added the comment: Oops, I posted the output of http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/11359/steps/test/logs/stdio -- Other output: http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/11358/steps/test/logs/stdio [131/3

[issue23716] test_multiprocessing_spawn hangs on x86 Ubuntu Shared 3.x

2015-03-19 Thread STINNER Victor
New submission from STINNER Victor: It looks like the changeset 0b99d7043a99 (issue #23694) introduced a regression: http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/11358/ [340/393] test_multiprocessing_spawn Timeout (1:00:00)! Thread 0x55aacdc0 (most recent call firs

[issue23646] PEP 475: handle EINTR in the time module, retry sleep()

2015-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1291649f38df by Victor Stinner in branch 'default': Issue #23646: Fix test_threading on Windows https://hg.python.org/cpython/rev/1291649f38df -- ___ Python tracker __

[issue23001] Accept mutable bytes-like objects

2015-03-19 Thread Martin Panter
Martin Panter added the comment: I had a closer look at the changes, and most of them seem good. However I think I found one leak in fcntl(); see Reitveld. I noticed there is no test for “ossaudiodev”. Would that be too hard, or is it just an oversight? -- ___

[issue23648] PEP 475 meta issue

2015-03-19 Thread STINNER Victor
STINNER Victor added the comment: New issue #23715: handle EINTR in the signal module. -- dependencies: +PEP 475: handle EINTR in the signal module ___ Python tracker ___ ___

[issue23715] PEP 475: handle EINTR in the signal module

2015-03-19 Thread STINNER Victor
STINNER Victor added the comment: It looks like signal.sigwaitinfo() can also fail with InterruptedError. It should also be modified. -- title: PEP 475: signal.sigtimedwait() must retry if sigtimedwait() failed with EINTR -> PEP 475: handle EINTR in the signal module _

[issue23715] PEP 475: signal.sigtimedwait() must retry if sigtimedwait() failed with EINTR

2015-03-19 Thread STINNER Victor
New submission from STINNER Victor: Attached patch changes signal.sigtimedwait() to retry if sigtimedwait() failed with EINTR and the signal handler didn't raise an exception. -- files: sigtimedwait_eintr.patch keywords: patch messages: 238595 nosy: haypo priority: normal severity: norm

[issue23646] PEP 475: handle EINTR in the time module, retry sleep()

2015-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9882cc2efd36 by Victor Stinner in branch 'default': Issue #23646: Enhance precision of time.sleep() and socket timeout when https://hg.python.org/cpython/rev/9882cc2efd36 -- ___ Python tracker

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-03-19 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue23712] Experiment: Assume that exact unicode hashes are perfect discriminators

2015-03-19 Thread Josh Rosenberg
Josh Rosenberg added the comment: Assuming Siphash is in fact cryptographically secure (in the sense you can't choose a desired result hash with better odds that brute force), and it appears to be so, with a keyspace of 64 bits, if it's evenly distributed (which a cryptographically secure hash

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-19 Thread Ryan Gonzalez
Changes by Ryan Gonzalez : Added file: http://bugs.python.org/file38581/unused_var.patch ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-19 Thread Ryan Gonzalez
Changes by Ryan Gonzalez : Added file: http://bugs.python.org/file38582/rjmatthews62_fixes_tweaked.patch ___ Python tracker ___ ___ Python-bug

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-19 Thread Ryan Gonzalez
Changes by Ryan Gonzalez : Added file: http://bugs.python.org/file38580/issue_21668.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-19 Thread Ryan Gonzalez
Changes by Ryan Gonzalez : Added file: http://bugs.python.org/file38579/issue_20306.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-19 Thread Ryan Gonzalez
Changes by Ryan Gonzalez : Added file: http://bugs.python.org/file38578/issue_20305_tweaked.patch ___ Python tracker ___ ___ Python-bugs-list

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-19 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: I am slowly attaching the patches I created. Titles: - issue_16353.patch - Issue 16353 for tip - issue_20305_tweaked.patch - Issue 2305 for tip - rjmatthews62_fixes_tweaked.patch - rjmatthew...@gmail.com's Android fixes (a bit more modularized) - unused_var.pat

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-19 Thread Ryan Gonzalez
Changes by Ryan Gonzalez : Added file: http://bugs.python.org/file38576/kbox_fix.patch ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-19 Thread Ryan Gonzalez
Changes by Ryan Gonzalez : Added file: http://bugs.python.org/file38577/issue_16353.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue23342] run() - unified high-level interface for subprocess

2015-03-19 Thread Thomas Kluyver
Thomas Kluyver added the comment: Thanks, that was an oversight. Patch 5 adds CompletedProcess to __all__. -- Added file: http://bugs.python.org/file38574/subprocess_run5.patch ___ Python tracker __

[issue23703] urljoin() with no directory segments duplicates filename

2015-03-19 Thread Demian Brecht
Demian Brecht added the comment: Yep, that's a lot cleaner and tests pass. I've updated the patch with that line. Thanks. -- Added file: http://bugs.python.org/file38573/issue23703_1.patch ___ Python tracker _

[issue23342] run() - unified high-level interface for subprocess

2015-03-19 Thread Martin Panter
Martin Panter added the comment: One thing that just popped into my mind that I don’t think has been discussed: The patch adds the new run() function to subprocess.__all__, but the CompletedProcess class is still missing. Was that an oversight or a conscious decision? --

[issue23042] ctypes module doesn't build on FreeBSD x86

2015-03-19 Thread Davin Potts
Davin Potts added the comment: Inheriting the priority from issue22634 which has been marked closed->duplicate (duplicate of this issue). Previously issue22634 was given a priority of "release blocker" by @pitrou. Issue22634 described how this issue also afflicts 32-bit builds on multiple RH

[issue23711] ConfigParser module blames on section less ini file

2015-03-19 Thread Martin Panter
Martin Panter added the comment: I think this is already discussed in Issue 22253. -- nosy: +vadmium resolution: -> duplicate status: open -> closed superseder: -> ConfigParser does not handle files without sections ___ Python tracker

[issue23648] PEP 475 meta issue

2015-03-19 Thread STINNER Victor
STINNER Victor added the comment: unittest_setitimer.patch: hack unittest.TestCase.run() to inject signals every 1 ms, send the first signal in 100 ms. It should help to detect functions which doesn't retry on EINTR. -- keywords: +patch Added file: http://bugs.python.org/file38572/unit

[issue23709] Refactor ossaudiodev: use _Py_read and _Py_write with the Py_buffer

2015-03-19 Thread STINNER Victor
STINNER Victor added the comment: I commited changes to use _Py_read() and _Py_write(). I attach an updated patch to use Py_ssize_t instead of int, and to use Py_buffer instead of char*. -- Added file: http://bugs.python.org/file38571/ossaudiodev-py_buffer.patch __

[issue23709] Refactor ossaudiodev: use _Py_read and _Py_write with the Py_buffer

2015-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset d564695b67bb by Victor Stinner in branch 'default': Issue #23709: The ossaudiodev module now retries read/write when interrupted by https://hg.python.org/cpython/rev/d564695b67bb -- nosy: +python-dev ___

[issue23686] Update Windows and OS X installer OpenSSL to 1.0.2a

2015-03-19 Thread Ned Deily
Ned Deily added the comment: 1.0.2a is now available. https://www.openssl.org/source/openssl-1.0.2a.tar.gz The OS X 10.5 installer builds are now updated. Leaving the issue open for updates to the Windows installers. -- ___ Python tracker

[issue23686] Update Windows and OS X installer OpenSSL to 1.0.2a

2015-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 447794596266 by Ned Deily in branch '2.7': Issue #23686: Update OS X 10.5 installer build to use OpenSSL 1.0.2a. https://hg.python.org/cpython/rev/447794596266 New changeset 59b8a83ea50b by Ned Deily in branch '3.4': Issue #23686: Update OS X 10.5 i

[issue23632] memoryview doesn't allow tuple-indexing

2015-03-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: I didn't add the 2d example as the double cast is quite ugly. Probably we should allow casting when the format stays the same. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Pyth

[issue23632] memoryview doesn't allow tuple-indexing

2015-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7d4eb5902f82 by Antoine Pitrou in branch 'default': Issue #23632: Memoryviews now allow tuple indexing (including for multi-dimensional memoryviews). https://hg.python.org/cpython/rev/7d4eb5902f82 -- nosy: +python-dev _

[issue16834] ioctl mutate_flag behavior in regard to the buffer size limit

2015-03-19 Thread Martin Panter
Martin Panter added the comment: Looking at the C code, if a writable buffer is passed, mutate_arg is false, and the buffer is longer than 1024 bytes, then a ValueError is raised: >>> ioctl(0, 0, bytearray(2048), False) Traceback (most recent call last): File "", line 1, in ValueError: ioctl

[issue23712] Experiment: Assume that exact unicode hashes are perfect discriminators

2015-03-19 Thread Donald Stufft
Donald Stufft added the comment: To be clear, I have no opinion on your specific proposal and I don't know if the difference between "cryptographically secure" and "not cryptographically secure" matters for it. I just wanted to be clear that with SipHash an attacker should *not* be able to cho

[issue23646] PEP 475: handle EINTR in the time module, retry sleep()

2015-03-19 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue23712] Experiment: Assume that exact unicode hashes are perfect discriminators

2015-03-19 Thread Donald Stufft
Donald Stufft added the comment: I'm not sure what you mean by "Siphash isn't cryptographically secure". One of the key points of Siphash is that it *is* cryptographically secure. It has a smaller space than your typical hash function (MD5, SHA1, SHA2, etc) which means that collisions themselv

[issue23708] PEP 475: Add _Py_read() and _Py_write() functions

2015-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 116e4c40115f by Victor Stinner in branch 'default': Issue #23708: Fix _Py_read() compilation error on Windows https://hg.python.org/cpython/rev/116e4c40115f -- ___ Python tracker

[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator

2015-03-19 Thread STINNER Victor
STINNER Victor added the comment: test_csv now fails on Windows: http://buildbot.python.org/all/builders/x86 Windows7 3.x/builds/9421/ == ERROR: test_read_dict_fieldnames_from_file (test.test_csv.TestDictFields) ---

[issue23707] PEP 475: os.urandom() doesn't handle EINTR correctly

2015-03-19 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue23709] Refactor ossaudiodev: use _Py_read and _Py_write with the Py_buffer

2015-03-19 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +neologix, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue23707] PEP 475: os.urandom() doesn't handle EINTR correctly

2015-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset e57b4d464d1c by Victor Stinner in branch 'default': Issue #23707: On UNIX, os.urandom() now calls the Python signal handler when https://hg.python.org/cpython/rev/e57b4d464d1c -- nosy: +python-dev ___ Pyt

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-03-19 Thread James Rutherford
James Rutherford added the comment: Updated 2.7 patch attached. -- Added file: http://bugs.python.org/file38570/issue23539-py27.patch ___ Python tracker ___ _

[issue23708] PEP 475: Add _Py_read() and _Py_write() functions

2015-03-19 Thread STINNER Victor
STINNER Victor added the comment: I commited both patches. Thanks Antoine for the review of py_read_write-2.patch, I removed the commented assertion. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue23708] PEP 475: Add _Py_read() and _Py_write() functions

2015-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset e232b57ee784 by Victor Stinner in branch 'default': Issue #23708: select.devpoll now retries its internal write() when interrupted https://hg.python.org/cpython/rev/e232b57ee784 -- ___ Python tracker

[issue12006] strptime should implement %G, %V and %u directives

2015-03-19 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-03-19 Thread James Rutherford
James Rutherford added the comment: Python 3 patch attached. The documentation has changed structure a little so I've adapted (simplified) this from the original. Otherwise, it's pretty much the same, except with python3 fixes, and incorporated feedback. I'll upload an updated 2.7 patch as wel

[issue22181] os.urandom() should use Linux 3.17 getrandom() syscall

2015-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8c73af0b3cd9 by Victor Stinner in branch 'default': Issue #22181: Fix dev_urandom_noraise(), try calling py_getrandom() before https://hg.python.org/cpython/rev/8c73af0b3cd9 -- ___ Python tracker

[issue23708] PEP 475: Add _Py_read() and _Py_write() functions

2015-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset c3c47ea32f72 by Victor Stinner in branch 'default': Issue #23708: Add _Py_read() and _Py_write() functions to factorize code handle https://hg.python.org/cpython/rev/c3c47ea32f72 -- nosy: +python-dev ___

[issue22634] importing _ctypes failed: undefined symbol: ffi_call_win32

2015-03-19 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-b

[issue22516] Windows Installer won't - even when using "just for me"option

2015-03-19 Thread Steve Dower
Steve Dower added the comment: Supporting proper per-user installs of Python 2.7 or 3.4 would require a second MSI that is configured to not ask for administrative privileges. The code is in Tools/msi/msi.py if you want to look at it (it's not my code and I have no intention of touching it), b

[issue23171] csv.writer.writerow() does not accept generator (must be coerced to list)

2015-03-19 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue23703] urljoin() with no directory segments duplicates filename

2015-03-19 Thread Martin Panter
Martin Panter added the comment: Patch looks good enough. BTW I was thinking of something like this, which is a bit simpler, but I never tested it: segments[1:-1] = filter(None, segments[1:-1]) -- ___ Python tracker

[issue2211] Cookie.Morsel interface needs update

2015-03-19 Thread R. David Murray
R. David Murray added the comment: The change to the signature of set is backward incompatible and should have a deprecation warning instead (yes, I know it isn't documented). I'd even be OK with the value being ignored, but the signature shouldn't change. There are a number of API/behavior c

[issue11344] Add os.path.splitpath(path) function

2015-03-19 Thread Éric Araujo
Éric Araujo added the comment: pathlib is in the stdlib now (see previous comments), maybe this should be closed as obsolete. -- ___ Python tracker ___ _

[issue23714] Set comprehension + eval doesn't work inside function definition

2015-03-19 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. Your example is of a set comprehension. Set and dictionary comprehensions were Python 3.1 features backported to Python 2.7 for compatibility and thus had no existing Python 2 compatibility concerns. If you try a similar example using list

[issue23714] Set comprehension + eval doesn't work inside function definition

2015-03-19 Thread Ned Deily
Changes by Ned Deily : -- Removed message: http://bugs.python.org/msg238562 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue23714] Set comprehension + eval doesn't work inside function definition

2015-03-19 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. Your example is of a set comprehension. Set and dictionary comprehensions were Python 3.2 features backported to Python 2.7 for compatibility and thus had no existing Python 2 compatibility concerns. If you try a similar example using list

[issue23714] Comprehension + eval doesn't work inside function definition

2015-03-19 Thread Ariel Bruner
New submission from Ariel Bruner: The following code gives a NameError: >>> def foo(bar): print {eval(x) for x in ['bar']} >>> foo(2) Traceback (most recent call last): File "", line 1, in foo(2) File "", line 2, in foo print {eval(x) for x in ['bar']} File "", line 2,

[issue22516] Windows Installer won't - even when using "just for me"option

2015-03-19 Thread Mark Mikofski
Mark Mikofski added the comment: one more note, NaCl (J. Morton), you can install from the msi to any directory you want by using the following from a command line opened to the folder where you have the installer: C:\path\to\msi\download> msiexec /a python-2.7.9.amd64.msi TARGETDIR=C:\Python2

[issue22181] os.urandom() should use Linux 3.17 getrandom() syscall

2015-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4491bdb6527b by Victor Stinner in branch 'default': Issue #22181: The availability of the getrandom() is now checked in configure, https://hg.python.org/cpython/rev/4491bdb6527b -- ___ Python tracker

[issue22516] Windows Installer won't - even when using "just for me"option

2015-03-19 Thread Mark Mikofski
Mark Mikofski added the comment: I know this issue is closed, but as there is no voting or plus 1, I'll add my support for allowing local installation of not just Python-3, but also Python-2.7. I'm not sure what is gained by adding this restriction, or how difficult it would be to allow users

[issue23646] PEP 475: handle EINTR in the time module, retry sleep()

2015-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset b1abd06465fc by Victor Stinner in branch 'default': Issue #23646: If time.sleep() is interrupted by a signal, the sleep is now https://hg.python.org/cpython/rev/b1abd06465fc -- ___ Python tracker

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-03-19 Thread Hammerite
Hammerite added the comment: Berker, I had not seen your or Ezio's review comments. The user interface here is new to me and I did not know to seek them out separately from the issue page. Thank you for pointing them out to me. I shall go through and look at the suggestions that were made. --

[issue23713] intermittent failure of multiprocessing unit test test_imap_unordered_handle_iterable_exception

2015-03-19 Thread Davin Potts
Davin Potts added the comment: Attaching patch for this fragile test for 2.7 branch. Patches have been put through test.regrtest on OS X 10.10 (64-bit), FreeBSD 10.1 i386 (32-bit), and Raspbian Debian (ARMv6) thus far. -- stage: -> patch review Added file: http://bugs.python.org/file

[issue23707] PEP 475: os.urandom() doesn't handle EINTR correctly

2015-03-19 Thread Ned Deily
Changes by Ned Deily : -- nosy: +neologix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue23706] pathlib.Path.write_text should include a newline argument

2015-03-19 Thread Ned Deily
Changes by Ned Deily : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue23713] intermittent failure of multiprocessing unit test test_imap_unordered_handle_iterable_exception

2015-03-19 Thread Davin Potts
Davin Potts added the comment: Attaching patch for this fragile test for default/3.5 and 3.4 branches. Blame for implementing the fragile test falls to @davin. In my own defense, @davin also discovered it in testing on FreeBSD 10.1 i386-RELEASE. -- keywords: +patch Added file: http:/

[issue23712] Experiment: Assume that exact unicode hashes are perfect discriminators

2015-03-19 Thread Raymond Hettinger
Changes by Raymond Hettinger : Removed file: http://bugs.python.org/file38565/assume_perf_uni_hash.diff ___ Python tracker ___ ___ Python-bugs

[issue23712] Experiment: Assume that exact unicode hashes are perfect discriminators

2015-03-19 Thread Raymond Hettinger
Changes by Raymond Hettinger : Added file: http://bugs.python.org/file38566/assume_perf_uni_hash1.diff ___ Python tracker ___ ___ Python-bugs-

[issue23713] intermittent failure of multiprocessing unit test test_imap_unordered_handle_iterable_exception

2015-03-19 Thread Davin Potts
New submission from Davin Potts: test_imap_unordered_handle_iterable_exception fails intermittently on some platforms due to the test being too rigid (fragile) about the order of the items being iterated over which, as the name would imply, is not guaranteed. Of the multiprocessing module's te

[issue23712] Experiment: Assume that exact unicode hashes are perfect discriminators

2015-03-19 Thread Raymond Hettinger
New submission from Raymond Hettinger: This tracker item is for a thought experiment I'm running where I can collect the thoughts and discussions in one place. It is not an active proposal for inclusion in Python. The idea is to greatly speed-up the language for set/dict lookups of unicode v

[issue23136] BUG in how _strptime() handles week 0

2015-03-19 Thread Jim Carroll
Jim Carroll added the comment: Thanks for all your work ! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue23136] BUG in how _strptime() handles week 0

2015-03-19 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Probably not. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue12006] strptime should implement %G, %V and %u directives

2015-03-19 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: It would be nice to get this in for 3.5. Does anyone have time/interest to address the last two comments? -- nosy: +serhiy.storchaka ___ Python tracker

[issue23136] BUG in how _strptime() handles week 0

2015-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is it possible to fix the commit message without breaking any of cloned repositories that already have pulled it? -- ___ Python tracker ___ _

[issue23136] BUG in how _strptime() handles week 0

2015-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset d9f3dd1d6b48 by Serhiy Storchaka in branch '2.7': Fixed Misc/NEWS entry for issue #23136. https://hg.python.org/cpython/rev/d9f3dd1d6b48 New changeset afca9867e1bb by Serhiy Storchaka in branch '3.4': Fixed Misc/NEWS entry for issue #23136. https://

[issue23136] BUG in how _strptime() handles week 0

2015-03-19 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I don't think it is worth the effort to try to fix the commit message, but it would be nice to have the NEWS text corrected. -- ___ Python tracker __

[issue23136] BUG in how _strptime() handles week 0

2015-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, I meant Dec 30. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue23136] BUG in how _strptime() handles week 0

2015-03-19 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: "including Jan 30" - did you mean Dec 31? -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue23136] BUG in how _strptime() handles week 0

2015-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for the review Alexander. Thank you for your contribution Jim. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker _

[issue23136] BUG in how _strptime() handles week 0

2015-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 350ea309953e by Serhiy Storchaka in branch '2.7': Issue #23136: _strptime now uniformly handles all days in week 0, including https://hg.python.org/cpython/rev/350ea309953e New changeset 93e1da502338 by Serhiy Storchaka in branch '3.4': Issue #23136

[issue23648] PEP 475 meta issue

2015-03-19 Thread STINNER Victor
STINNER Victor added the comment: I searched for "EINTR" in all manual pages of my Fedora 21. I found a long list of functions (filename of manual pages). But I didn't check each manual page. There are false positive. For example, "stat" is listed, but in fact EINTR is only mentionned in comme

[issue23136] BUG in how _strptime() handles week 0

2015-03-19 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Serhiy, Your latest patch LGTM. -- stage: patch review -> commit review type: -> behavior ___ Python tracker ___ ___

[issue16314] Support xz compression in distutils

2015-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Added tests for gztar, bztar and xztar. Added more asserts in other tests. -- Added file: http://bugs.python.org/file38564/distutils-lzma_2.patch ___ Python tracker _

[issue23325] Turn SIG_DFL and SIG_IGN into functions

2015-03-19 Thread Ethan Furman
Ethan Furman added the comment: Thanks for the explanation, point taken. However, it seems to me that changing the type of the constants from 'int' to 'function' is backwards incompatible, will break code, and is probably not worth it (and would require a deprecation period if it was worth it)

[issue18828] urljoin behaves differently with custom and standard schemas

2015-03-19 Thread Demian Brecht
Demian Brecht added the comment: Also, I would suggest still including the doc changes proposed by Madison in all versions prior to 3.5. -- ___ Python tracker ___ __

[issue23711] ConfigParser module blames on section less ini file

2015-03-19 Thread Maxim Kot
New submission from Maxim Kot: Wikipedia (http://en.wikipedia.org/wiki/INI_file#Sections) says: >Keys may (but need not) be grouped into arbitrarily named sections But when it's trying to parse file without section header - "MissingSectionHeaderError: File contains no section headers" raised.

  1   2   >