[issue23458] [2.7] random: make the file descriptor non-inheritable (on POSIX)

2015-03-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The test_urandom_fd_non_inheritable is constantly failed on AMD64 OpenIndiana 2.7 buildbot. http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%202.7/builds/2727/steps/test/logs/stdio ===

[issue23802] patch: __deepcopy__ memo dict argument usage

2015-03-28 Thread Daniel Shahaf
New submission from Daniel Shahaf: In the 'copy' module documentation, it wasn't fully clear to me how __deepcopy__ implementations should treat the memo dict argument. The attached patch clarifies that __deepcopy__ implementations should treat the memo dict argument as an opaque type. -

[issue23801] cgi.FieldStorage has different (wrong?) behavior on Python3 than Python2

2015-03-28 Thread Donald Stufft
Donald Stufft added the comment: Added a patch that fixes this issue by reading lines until we find the line that is our expected boundary marker. -- keywords: +patch Added file: http://bugs.python.org/file38722/cgi-read-until-boundary.diff ___ Pytho

[issue23801] cgi.FieldStorage has different (wrong?) behavior on Python3 than Python2

2015-03-28 Thread Donald Stufft
New submission from Donald Stufft: While working on PyPI 2.0 (which is currently running Python 3) I discovered that ``setup.py upload`` was causing an exception. After tracing things I determined that the reason for this is that Python 3 fails to handle leading whitespace in a multipart body.

[issue23771] Timeouts on "x86 Ubuntu Shared 3.x" buildbot

2015-03-28 Thread Davin Potts
Davin Potts added the comment: @haypo: I didn't think that one through -- the consequences of that fragile test are not a hang. It's unrelated. -- ___ Python tracker ___ __

[issue23771] Timeouts on "x86 Ubuntu Shared 3.x" buildbot

2015-03-28 Thread Davin Potts
Davin Potts added the comment: @haypo: Could you please take a look at applying my patches from issue23713 to address an intermittent multiprocessing test failure? I don't know that it is the sole cause, but it is indeed one potential source of the misbehavior. -- nosy: +davin _

[issue23787] sum() function docstring lists arguments incorrectly

2015-03-28 Thread Wolfgang Maier
Wolfgang Maier added the comment: >This implies sum() should accept str, unicode, list, tuple, bytearray, buffer, >and xrange. and in fact it *does* accept all these as input. It just refuses to add the elements of the sequence if these elements are of certain types. Of course, the elements o

[issue23800] Support POSIX uselocale interface for thread-specific locale settings

2015-03-28 Thread Ned Deily
New submission from Ned Deily: POSIX 2008 provides a system interface, uselocale, to set locales individually on a thread basis rather than just process global, as currently supported with locale.setlocale(). uselocale is supported in most current GNU libc, BSD, and OS X releases. While ther

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-28 Thread Cyd Haselton
Cyd Haselton added the comment: Ryan, For now I'll make the edits to pyconfig.h manually after downloading the zip from the tip and running configure with necessary params. I'll do my best to get this done this weekend, but it may have to wait until next. -- _

[issue23799] Join started threads in tests

2015-03-28 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: When a test starts many threads in a loop, there is a chance that the starting thread will fail due to lack of memory. In this case all started threads left dangling and make MemotyError even more probably. They also can provoke dim error messages in this

[issue23797] Mac OS X locale setup in thread happens sometime after run() is called

2015-03-28 Thread Ned Deily
Ned Deily added the comment: The behavior noted in Issue18378 isn't an Apple bug; it's a GNU vs BSD difference. Can you avoid the problem by calling locale.getlocale() in the main program before creating any threads? -- ___ Python tracker

[issue23771] Timeouts on "x86 Ubuntu Shared 3.x" buildbot

2015-03-28 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

2015-03-28 Thread Hammerite
Hammerite added the comment: For good measure, here is a patch that makes all of Berker's suggested stylistic changes, but applies them to the pre-existing code in makeunicodedata.py and unicodedata.c. So all of the existing docstrings are converted from '"...\n\' to '"...\n"' form, and the ot

[issue23731] Implement PEP 488

2015-03-28 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue23798] NameError in the encode fixer

2015-03-28 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: == ERROR: test_all_project_files (lib2to3.tests.test_all_fixers.Test_all) -- Traceback (most recent call last): File "/ho

[issue23797] Mac OS X locale setup in thread happens sometime after run() is called

2015-03-28 Thread R. David Murray
R. David Murray added the comment: This is probably related to or effectively a duplicate of issue 18378, which looks to be an Apple bug. Do you have the problem if you remove the getlocale() call? -- components: +Macintosh nosy: +ned.deily, r.david.murray, ronaldoussoren

[issue23792] help crash leaves terminal in raw mode

2015-03-28 Thread R. David Murray
R. David Murray added the comment: SIGINT *is* keyboard interrupt. Since less at least seems to ignore SIGQUIT I suppose also ignoring that would be reasonable, since the user (should) by analogy expect that behavior while the pager is active. Note, however, that the signals we are ignoring

[issue17515] Add sys.setasthook() to allow to use a custom AST optimizer

2015-03-28 Thread Brett Cannon
Brett Cannon added the comment: The closing of this issue inspired me to think of a better way to do this, and I think providing something in importlib.util that accepted a NodeTransformer as an argument to a function that compiled source files to bytecode files would fill this issue thanks to

[issue23794] http package should support HTTP/2

2015-03-28 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue22672] float arguments in scientific notation not supported by argparse

2015-03-28 Thread Evgeny Kapun
Changes by Evgeny Kapun : -- nosy: +abacabadabacaba ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue23797] Mac OS X locale setup in thread happens sometime after run() is called

2015-03-28 Thread Barry Alan Scott
New submission from Barry Alan Scott: I'm seeing a random traceback when starting a new thread on Mac OS X 10.10.2 with python 3.4.3 final. Exception in thread Thread-1: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/threading.py", l

[issue23720] __del__() order is broken since 3.4.0

2015-03-28 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue23794] http package should support HTTP/2

2015-03-28 Thread Cory Benfield
Cory Benfield added the comment: I'm happy to talk about bringing hyper's HTTP/2 layer into http.client. It's worth noting that at this point I have no current plans to build a server into hyper, though if there was interest in using hyper as a baseline then I could take a swing at it. --