[issue32701] Typo in quopri documentation

2018-01-29 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue32720] Format mini-language integer definition is incorrect

2018-01-29 Thread Nick Coghlan
New submission from Nick Coghlan : I just noticed that https://docs.python.org/3/library/string.html#formatspec links to the "integer" definition in the main Python grammar for the permitted format of numeric fields. This isn't accurate: ``` >>> format(10e4, ",.2f") '100,000.00' >>> format(10

[issue32690] Return function locals() in order of creation?

2018-01-29 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 05f91a42cd9575ef338a67bd04855b44f6ac20c2 by Nick Coghlan in branch '3.6': [3.6] Revert "bpo-32690: Preserve order of locals() (GH-5379) (#5390)" https://github.com/python/cpython/commit/05f91a42cd9575ef338a67bd04855b44f6ac20c2 -- ___

[issue25942] Add a new optional cleanup_timeout parameter to subprocess.call()

2018-01-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset f4d644f36ffb6cb11b34bfcf533c14cfaebf709a by Gregory P. Smith in branch 'master': bpo-25942: make subprocess more graceful on ^C (GH-5026) https://github.com/python/cpython/commit/f4d644f36ffb6cb11b34bfcf533c14cfaebf709a -- __

[issue32690] Return function locals() in order of creation?

2018-01-29 Thread Nick Coghlan
Nick Coghlan added the comment: OK, this is back the way it was on the 3.6 branch now, while keeping the change on the 3.7 branch. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6 ___ Python trac

[issue32721] test_hashlib fails if _md5 is not built

2018-01-29 Thread Benjamin Peterson
New submission from Benjamin Peterson : $ make $ rm build/lib.linux-x86_64-3.7/_md5.cpython-37m-x86_64-linux-gnu.so $ ./python -m test test_hashlib Run tests sequentially 0:00:00 load avg: 1.11 [1/1] test_hashlib ERROR:root:code for hash md5 was not found. Traceback (most recent call last): Fi

[issue25942] Do not immediately SIGKILL subprocess child processes upon ^C

2018-01-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: I went with my change to give the child process a small amount of time to cleanup by default. Not perfect, but this should be more similar to the Python <=3.2 behavior. Lets see if any issues crop up during the 3.7 betas. -- resolution: -> fixed

[issue32721] test_hashlib fails if _md5 is not built

2018-01-29 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +5273 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue32722] Classes

2018-01-29 Thread Soothsayer
New submission from Soothsayer : In the Python tutorial, in "9. Classes", in "9.10 Generator expression", a list of sample generator expressions used as arguments to functions is given. However, one of the examples isn't a generator expression, it's a set comprehension. sine_table = {x: sin(x

[issue32722] Classes

2018-01-29 Thread Soothsayer
Change by Soothsayer : -- versions: +Python 3.5, Python 3.6 -Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list maili

[issue32722] Classes

2018-01-29 Thread Soothsayer
Soothsayer added the comment: Correction: it's a dictionary comprehension, and it did indeed used to be a call to dict() in the 2.7 documentation. -- versions: +Python 3.7 ___ Python tracker

[issue21417] Compression level for zipfile

2018-01-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset ce237c7d58ba207575cdfb0195a58a6407fbf717 by Gregory P. Smith (Bo Bayles) in branch 'master': bpo-21417: Add compresslevel= to the zipfile module (GH-5385) https://github.com/python/cpython/commit/ce237c7d58ba207575cdfb0195a58a6407fbf717 -

[issue32681] Fix uninitialized variable in os_dup2_impl

2018-01-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 3d86e484de6334fe16cbab512744597bd0de4e80 by Gregory P. Smith (Stéphane Wirtel) in branch 'master': bpo-32681: Fix an uninitialized variable in the C implementation of os.dup2 (GH-5346) https://github.com/python/cpython/commit/3d86e484de6334fe1

[issue32441] os.dup2 should return the new fd

2018-01-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: https://github.com/python/cpython/pull/5346 (merged) should fix that warning. -- nosy: +gregory.p.smith ___ Python tracker ___ _

[issue32681] Fix uninitialized variable in os_dup2_impl

2018-01-29 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue32723] codecs.open

2018-01-29 Thread Xiang Zhang
New submission from Xiang Zhang : >>> import codecs >>> f = codecs.open('/tmp/a', 'w', errors='replace') >>> f.errors 'strict' Passing errors to codecs.open without encoding doesn't work. Can't get this from doc and I don't think it should silently ignore the passing argument. -- compo

[issue32723] codecs.open silently ignores argument errors

2018-01-29 Thread Xiang Zhang
Change by Xiang Zhang : -- title: codecs.open -> codecs.open silently ignores argument errors type: -> behavior ___ Python tracker ___ _

[issue32721] test_hashlib fails if _md5 is not built

2018-01-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 95441809ef77a8df5e14601ade6c054ef7114c02 by Benjamin Peterson in branch 'master': closes bpo-32721: do not fail test_hashlib if _md5 isn't available (GH-5441) https://github.com/python/cpython/commit/95441809ef77a8df5e14601ade6c054ef7114c02

[issue32721] test_hashlib fails if _md5 is not built

2018-01-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +5274 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32102] Add "capture_output=True" option to subprocess.run

2018-01-29 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28914] selectmodule build fails

2018-01-29 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: As a side note, EPOLL_CLOEXEC is also missing on Android if *both* of the following conditions hold: 1. The build target is Android API < 21 (issue 32654) 2. Android NDK r15 or newer is used The second condition is related to a workaround in NDK [1]. For now

[issue32102] Add "capture_output=True" option to subprocess.run

2018-01-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset ce0f33d04528fcafc673a8707871f8430d8f7ce8 by Gregory P. Smith (Bo Bayles) in branch 'master': bpo-32102 Add "capture_output=True" to subprocess.run (GH-5149) https://github.com/python/cpython/commit/ce0f33d04528fcafc673a8707871f8430d8f7ce8 ---

[issue32102] Add "capture_output=True" option to subprocess.run

2018-01-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: Thanks Bo. I agree with Nick, this is a readability win for a common annoying to type otherwise case. -- resolution: -> fixed stage: patch review -> commit review status: open -> closed ___ Python tracker

[issue21417] Compression level for zipfile

2018-01-29 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> commit review status: open -> closed versions: +Python 3.7 -Python 3.5 ___ Python tracker ___ __

[issue32721] test_hashlib fails if _md5 is not built

2018-01-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 6b2bbcc4cca414f35f67caa4674f59f41ff638ea by Benjamin Peterson (Miss Islington (bot)) in branch '3.6': closes bpo-32721: do not fail test_hashlib if _md5 isn't available (GH-5441) (GH-5442) https://github.com/python/cpython/commit/6b2bbcc4cca4

[issue30117] test_lib2to3.test_parser.test_all_project_files() fails

2018-01-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 14e976e00e65bf343ba0fca016c3c9132a843daf by Benjamin Peterson (Eric Appelt) in branch 'master': closes bpo-30117: fix lib2to3 ParserIdempotency test (GH-1242) https://github.com/python/cpython/commit/14e976e00e65bf343ba0fca016c3c9132a843daf

[issue30117] test_lib2to3.test_parser.test_all_project_files() fails

2018-01-29 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +5275 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue32441] os.dup2 should return the new fd

2018-01-29 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2018-01-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset dd42cb71f2cb02f3a32f016137b12a146bc0d0e2 by Gregory P. Smith (Anders Lorentsen) in branch 'master': bpo-31961: subprocess now accepts path-like args (GH-4329) https://github.com/python/cpython/commit/dd42cb71f2cb02f3a32f016137b12a146bc0d0e2 -

[issue32723] codecs.open silently ignores argument errors

2018-01-29 Thread Josh Rosenberg
Josh Rosenberg added the comment: On both Py2 and Py3, calling codecs.open without passing an encoding argument is equivalent to adding 'b' to the mode string and calling the built-in open function directly; it returns a plain binary mode file object. The errors parameter is meaningless becau

[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2018-01-29 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith versions: -Python 3.6, Python 3.8 ___ Python tracker ___ ___ Python-bu

[issue32705] Current Android does not have posix_spawn

2018-01-29 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: With https://github.com/python/cpython/pull/5418 merged, I guess this issue can be closed? -- ___ Python tracker ___

[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2018-01-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: Thanks for the PR! I accepted it as this makes sense as a feature. pathlib all the things! I think the code be polished up a bit to not rely on catching TypeError but this gets the feature in before the 3.7 feature freeze (just). If further changes are

[issue20104] expose posix_spawn(p)

2018-01-29 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> commit review status: open -> closed ___ Python tracker ___

[issue20104] expose posix_spawn(p)

2018-01-29 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32705] Current Android does not have posix_spawn

2018-01-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: likely. i don't have an android build, please reopen if there are still android posix_spawn related build issues. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue28134] socket.socket(fileno=fd) does not work as documented

2018-01-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset 2e0ecde8d74f5fc0e3e3e39216975cc70efc4796 by Christian Heimes in branch 'master': bpo-28134: Ignore proto in unknown socket test (GH-5435) https://github.com/python/cpython/commit/2e0ecde8d74f5fc0e3e3e39216975cc70efc4796 -- __

<    1   2   3