[issue16998] Lost updates with multiprocessing.Value

2013-11-17 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: behavior -> ___ Python tracker ___ _

[issue19629] support.rmtree fails on symlinks under Windows

2013-11-17 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue19338] multiprocessing: sys.exit() from a child with a non-int exit code exits with 0

2013-11-17 Thread Richard Oudkerk
Richard Oudkerk added the comment: Thanks for the patches. Fixed in 7aabbe919f55, 11cafbe6519f. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue19599] Failure of test_async_timeout() of test_multiprocessing_spawn: TimeoutError not raised

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset ba7d53b5f3de by Richard Oudkerk in branch '2.7': Issue #19599: Increase sleep period. http://hg.python.org/cpython/rev/ba7d53b5f3de New changeset 7d6a9e7060c7 by Richard Oudkerk in branch '3.3': Issue #19599: Increase sleep period. http://hg.python.

[issue17618] base85 encoding

2013-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Updated patch after Serhiy's comments. -- Added file: http://bugs.python.org/file32672/base85-3.patch ___ Python tracker ___ ___

[issue19603] Use specific asserts in test_decr

2013-11-17 Thread Ezio Melotti
Ezio Melotti added the comment: New patch LGTM. In addition to the assertHasNoAttr that I suggested, on IRC David suggested assertNotHasAttr to mimic assertNotIn and assertNotIsinstance, and someone else suggested assertNoAttr. Since it's only used within this file and all the suggestions are e

[issue17006] Warn users about hashing secrets?

2013-11-17 Thread Ezio Melotti
Ezio Melotti added the comment: This might be useful to whoever attempts to write a patch: http://docs.python.org/devguide/documenting.html#security-considerations-and-other-concerns -- ___ Python tracker

[issue1684] CGIHTTPServer does not chdir prior to executing the CGI script

2013-11-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +neologix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue19448] SSL: add OID / NID lookup

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset f43f65038e2a by Christian Heimes in branch 'default': Issue #19448: Add private API to SSL module to lookup ASN.1 objects by OID, NID, short name and long name. http://hg.python.org/cpython/rev/f43f65038e2a -- nosy: +python-dev ___

[issue19448] SSL: add OID / NID lookup

2013-11-17 Thread Christian Heimes
Christian Heimes added the comment: Thanks! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue15216] Support setting the encoding on a text stream after creation

2013-11-17 Thread Andrei Dorian Duma
Andrei Dorian Duma added the comment: I have to postpone this for a few weeks. Sorry if I stayed in anyone's way. -- ___ Python tracker ___ __

[issue14455] plistlib unable to read json and binary plist files

2013-11-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I added a lot of comments on Rietveld. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17893] Refactor reduce protocol implementation

2013-11-17 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Merged with issue #17810 -- resolution: -> duplicate status: open -> closed superseder: -> Implement PEP 3154 (pickle protocol 4) ___ Python tracker ___

[issue19603] Use specific asserts in test_decr

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2407ecebcf7d by Serhiy Storchaka in branch '3.3': Issue #19603: Use specific asserts in test_decr. http://hg.python.org/cpython/rev/2407ecebcf7d New changeset 6049c954a703 by Serhiy Storchaka in branch 'default': Issue #19603: Use specific asserts i

[issue19603] Use specific asserts in test_decr

2013-11-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Mimicing assertNotIsinstance looks fine. Thank you for your review. -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue7434] general pprint rewrite

2013-11-17 Thread Evgeny Kapun
Changes by Evgeny Kapun : -- nosy: +abacabadabacaba ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue17618] base85 encoding

2013-11-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yet one nitpick and the patch LGTM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue19591] Use specific asserts in ctype tests

2013-11-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed versions: +Python 2.7, Python 3.3 ___ Python tracker _

[issue19599] Failure of test_async_timeout() of test_multiprocessing_spawn: TimeoutError not raised

2013-11-17 Thread Richard Oudkerk
Richard Oudkerk added the comment: Hopefully the applied change will fix failure (or at least make this much less likey). -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker

[issue19633] test_wave: failures on PPC64 buildbot

2013-11-17 Thread STINNER Victor
New submission from STINNER Victor: Some test_wave are failing, but only on PPC64 (big endian, right?). It may be related to issue #1575020. http://buildbot.python.org/all/builders/PPC64%20PowerLinux%203.x/builds/1099/steps/test/logs/stdio =

[issue19634] test_strftime.test_y_before_1900_nonwin() fails on AIX

2013-11-17 Thread STINNER Victor
New submission from STINNER Victor: The isuse #13674 added tests on strftime() for %y format with year < 1900 on Windows. It looks like AIX doesn't support them. http://buildbot.python.org/all/builders/PPC64%20AIX%203.x/builds/1039/steps/test/logs/stdio

[issue19634] test_strftime.test_y_before_1900_nonwin() fails on AIX

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset fd9ce1d4b820 by Victor Stinner in branch 'default': Issue #19634: time.strftime("%y") now raises a ValueError on AIX when given a http://hg.python.org/cpython/rev/fd9ce1d4b820 -- nosy: +python-dev ___ Pyt

[issue19634] test_strftime.test_y_before_1900_nonwin() fails on AIX

2013-11-17 Thread STINNER Victor
STINNER Victor added the comment: I keep the issue open until the test succeed on AIX. -- ___ Python tracker ___ ___ Python-bugs-list

[issue8402] Add a function to escape metacharacters in glob/fnmatch

2013-11-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patch addresses Ezio's and Eric's comments. -- Added file: http://bugs.python.org/file32673/glob_escape_2.patch ___ Python tracker ___

[issue19635] asyncio should not depend on concurrent.futures, it is not always available

2013-11-17 Thread STINNER Victor
New submission from STINNER Victor: On old FreeBSD versions, concurrent.futures cannot be used. I don't remember why, it's probably related to semaphores (something like a low hardcoded limit). See for example first lines of Lib/test/test_concurrent_futures.py: --- # Skip tests if _multiprocess

[issue17618] base85 encoding

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 42366e293b7b by Antoine Pitrou in branch 'default': Issue #17618: Add Base85 and Ascii85 encoding/decoding to the base64 module. http://hg.python.org/cpython/rev/42366e293b7b -- nosy: +python-dev ___ Pyth

[issue17618] base85 encoding

2013-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Now committed, thanks for the reviews and the code! -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker

[issue17006] Warn users about hashing secrets?

2013-11-17 Thread STINNER Victor
STINNER Victor added the comment: > For passwords a key stretching and key derivation function like PBKDF2, > bcrypt or scrypt is much more secure. It looks like Python 3.4 now provides something for pbkdf2, so it may be interested to mention it on the top of the hashlib in your warning. http

[issue19630] marshal.dump cannot write to temporary file

2013-11-17 Thread STINNER Victor
STINNER Victor added the comment: I cannot reproduce the issue on Python 3 (on Linux), I suppose that it is specific to Python 2. On Python 3, mashal.dump(obj, fileobj) only calls fileobj.write(data), no test on fileobj type is done. -- nosy: +haypo __

[issue17276] HMAC: deprecate default hash

2013-11-17 Thread STINNER Victor
STINNER Victor added the comment: Well, if deprecating is not an option, it's probably better to add a red warning explaining why the default choice may not fit all use cases. -- ___ Python tracker ___

[issue19633] test_wave: failures on PPC64 buildbot

2013-11-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report. This patch should fix the issue. -- components: +Library (Lib) -Tests keywords: +patch stage: -> patch review type: -> behavior Added file: http://bugs.python.org/file32674/wave_byteswap.patch

[issue17457] Unittest discover fails with namespace packages and builtin modules

2013-11-17 Thread Michael Foord
Michael Foord added the comment: I do want to get this into 3.4. The logic is non-trivial though, so I need to understand it before I can add it to discovery. It certainly *looks* good. -- ___ Python tracker _

[issue19636] Fix usage of MAX_PATH in posixmodule.c

2013-11-17 Thread STINNER Victor
New submission from STINNER Victor: The length of a path is not always correctly handled in posixmodule.c, the worst case is posix__getvolumepathname() which pass a length two times smaller than the buffer (GetVolumePathNameW() expects a number of WCHAR characters, not a number of bytes). MAX

[issue19636] Fix usage of MAX_PATH in posixmodule.c

2013-11-17 Thread STINNER Victor
STINNER Victor added the comment: posix__getfullpathname(): -char outbuf[MAX_PATH*2]; +char outbuf[MAX_PATH]; ... -wchar_t woutbuf[MAX_PATH*2], *woutbufp = woutbuf; +wchar_t woutbuf[MAX_PATH], *woutbufp = woutbuf; I don't know what "*2" was used here, probably a mistake

[issue19636] Fix usage of MAX_PATH in posixmodule.c

2013-11-17 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue19635] asyncio should not depend on concurrent.futures, it is not always available

2013-11-17 Thread Guido van Rossum
Guido van Rossum added the comment: I don't think it's worth complicating the code for this (except perhaps by making the tests fail more gracefully). The tasks and futures modules import various things from concurrent.futures (some exceptions, and some constants for wait()). If a platform do

[issue19635] asyncio should not depend on concurrent.futures, it is not always available

2013-11-17 Thread STINNER Victor
STINNER Victor added the comment: > Who would be using such an old FreeBSD version anyway (while wanting to use a > bleeding edge Python version and the bleeding edge asyncio package)? If we want to drop support of old FreeBSD versions, something can be done using the PEP 11. We have FreeBSD 6

[issue19635] asyncio should not depend on concurrent.futures, it is not always available

2013-11-17 Thread Guido van Rossum
Guido van Rossum added the comment: Well, what would be the incantation to just skip the tests if concurrent.futures can't be imported? (Although it seems that there's a problem with concurrent.futures if the whole thing refuses to import just because multiprocessing isn't supported -- couldn

[issue19635] asyncio should not depend on concurrent.futures, it is not always available

2013-11-17 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue19635] asyncio should not depend on concurrent.futures, it is not always available

2013-11-17 Thread Guido van Rossum
Guido van Rossum added the comment: Can you try this patch? It tweaks the test to skip everything if it can't import concurrent.futures. -- keywords: +patch Added file: http://bugs.python.org/file32676/skipit.patch ___ Python tracker

[issue19635] asyncio should not depend on concurrent.futures, it is not always available

2013-11-17 Thread STINNER Victor
STINNER Victor added the comment: > Can you try this patch? I don't have access to the buildbot. You may try the custom buildbot if you don't want to commit directly: http://buildbot.python.org/all/builders/x86%20FreeBSD%206.4%20custom -- ___ Python

[issue19635] asyncio should not depend on concurrent.futures, it is not always available

2013-11-17 Thread Guido van Rossum
Guido van Rossum added the comment: I'll just commit it and pray. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue19636] Fix usage of MAX_PATH in posixmodule.c

2013-11-17 Thread STINNER Victor
STINNER Victor added the comment: Oh, I forgot to mention that my initial concern was the following warning: ..\Modules\posixmodule.c(4057): warning C4267: 'function' : conversion from 'size_t' to 'DWORD', possible loss of data [C:\buildbot.python.org\3.x.kloth-win64\build\PCbuild\pythoncore

[issue19504] Change "customise" to "customize".

2013-11-17 Thread Eric V. Smith
Eric V. Smith added the comment: This patch covers the files that Vinay did not update. -- Added file: http://bugs.python.org/file32677/customise-2.diff ___ Python tracker ___ __

[issue19637] test_subprocess.test_undecodable_env() failure on AIX

2013-11-17 Thread STINNER Victor
New submission from STINNER Victor: To analyze the following issue, I would like to know which locale encoding is used on AIX with the C locale. Example: $ LC_ALL=C python -c 'import locale; print(locale.getpreferredencoding(False))' ANSI_X3.4-1968 http://buildbot.python.org/all/builders/PPC64

[issue19634] test_strftime.test_y_before_1900_nonwin() fails on AIX

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 652de09a3a1a by Victor Stinner in branch 'default': Issue #19634: Fix time_strftime() on AIX, format is a wchar_t* not a PyObject* http://hg.python.org/cpython/rev/652de09a3a1a -- ___ Python tracker

[issue19164] Update uuid.UUID TypeError exception: integer should not be an argument.

2013-11-17 Thread Jon Gauthier
Changes by Jon Gauthier : -- keywords: +patch Added file: http://bugs.python.org/file32678/issue19164.patch ___ Python tracker ___ ___

[issue19520] Win32 compiler warning in _sha3

2013-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 259c82332199 by Zachary Ware in branch 'default': Issue #19520: Fix (the last!) compiler warning on 32bit Windows, in _sha3 http://hg.python.org/cpython/rev/259c82332199 -- nosy: +python-dev ___ Python tr

[issue19520] Win32 compiler warning in _sha3

2013-11-17 Thread Zachary Ware
Zachary Ware added the comment: Thanks Christian, now committed. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue19637] test_subprocess.test_undecodable_env() failure on AIX

2013-11-17 Thread David Edelsohn
David Edelsohn added the comment: $ LC_ALL=C python -c 'import locale; print(locale.getpreferredencoding(False))' ISO8859-1 It's possible that some additional locales were not installed by default with the system, e.g., UTF-8. -- ___ Python tracker

[issue19634] test_strftime.test_y_before_1900_nonwin() fails on AIX

2013-11-17 Thread David Edelsohn
Changes by David Edelsohn : -- nosy: +David.Edelsohn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue19633] test_wave: failures on PPC64 buildbot

2013-11-17 Thread David Edelsohn
Changes by David Edelsohn : -- nosy: +David.Edelsohn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue19596] Silently skipped tests in test_importlib

2013-11-17 Thread Zachary Ware
Zachary Ware added the comment: How does this one strike you, Brett? Setting the empty tests to None seems to keep the ABC happy and reduces the total number of tests from 632 to 598. -- Added file: http://bugs.python.org/file32679/skipped_importlib_tests.v2.diff _

[issue15809] IDLE console uses incorrect encoding.

2013-11-17 Thread irdb
irdb added the comment: Thank you Serhiy for working on this. This patch solves the problem when all your input characters are encodable using system preferred encoding. But issue19625 persists. I still can't print something like 'Русский текст' in interactive mode. Another problem is that ou

[issue19582] Tkinter is not working with Py_SetPath

2013-11-17 Thread Debarshi Goswami
Debarshi Goswami added the comment: Anyone tried this issue? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

<    1   2