[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-06 Thread Gregory P. Smith
New submission from Gregory P. Smith : test_httplib uses self-signed.pythontest.net in it's test_networked_good_cert test. On modern Linux distros (current Debian testing sid), the certificate it currently uses is rightfully rejected as being too weak: ERROR: test_networked_good

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

2019-05-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: PR coming -- assignee: -> gregory.p.smith ___ Python tracker <https://bugs.python.org/issue35925> ___ ___ Python-bugs-lis

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

2019-05-06 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +13036 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-06 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +13037 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: EWDurbin says I can just open a PR with new certs in the repo and it'll go from there. :) -- assignee: EWDurbin -> gregory.p.smith ___ Python tracker <https://bugs.python.org

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

2019-05-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 2cc0223f43a1ffd59c887a73e2b0ce5202f3be90 by Gregory P. Smith in branch 'master': bpo-35925: Skip SSL tests that fail due to weak external certs. (GH-13124) https://github.com/python/cpython/commit/2cc0223f43a1ffd59c887a73e2b0ce

[issue36684] codecov.io code coverage has not updated since 2019-04-13

2019-05-06 Thread Gordon P. Hemsley
Gordon P. Hemsley added the comment: Hah, that's indeed where I've landed in my experimentation. -- ___ Python tracker <https://bugs.python.o

[issue36684] codecov.io code coverage has not updated since 2019-04-13

2019-05-06 Thread Gordon P. Hemsley
Change by Gordon P. Hemsley : -- pull_requests: +13059 ___ Python tracker <https://bugs.python.org/issue36684> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

2019-05-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: The merged PR basically skips the specific failing unit test cases of the ssl key strength check error is detected during these network tests. It should probably be backported into 3.6 and 2.7 to ease maintenance and trust of the buildbots on those

[issue30458] [security][CVE-2019-9740][CVE-2019-9947] HTTP Header Injection (follow-up of CVE-2016-5699)

2019-05-07 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 7e200e0763f5b71c199aaf98bd5588f291585619 by Gregory P. Smith (Miro Hrončok) in branch '3.7': bpo-30458: Disallow control chars in http URLs. (GH-12755) (GH-13154) https://github.com/python/cpyt

[issue30458] [security][CVE-2019-9740][CVE-2019-9947] HTTP Header Injection (follow-up of CVE-2016-5699)

2019-05-07 Thread Gregory P. Smith
Change by Gregory P. Smith : -- versions: -Python 3.7 ___ Python tracker <https://bugs.python.org/issue30458> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2019-05-07 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 64aa6d2000665efb1a2eccae176df9520bf5f5e6 by Gregory P. Smith in branch 'master': bpo-36533: Reinit logging.Handler locks on fork(). (GH-12704) https://github.com/python/cpython/commit/64aa6d2000665efb1a2eccae176df9

[issue11001] Various obvious errors in cookies documentation

2019-05-07 Thread Gregory P. Smith
Gregory P. Smith added the comment: Thanks Julia! -- nosy: +gregory.p.smith resolution: -> fixed stage: patch review -> commit review status: open -> closed ___ Python tracker <https://bugs.python.or

[issue27432] Unittest truncating of error message not works

2019-05-07 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: Mariatta -> gregory.p.smith nosy: +gregory.p.smith ___ Python tracker <https://bugs.python.org/issue27432> ___ ___ Py

[issue27432] Unittest truncating of error message not works

2019-05-07 Thread Gregory P. Smith
Gregory P. Smith added the comment: safe_repr() as used internally by unittest wasn't intended to truncate by default as part of its "safety". The "safe" part is that it catches Exception and provides an alternate repr if the __repr__ raised. unittest.util.safe_rep

[issue27432] Support unittest assertion truncation of repr in error messages

2019-05-07 Thread Gregory P. Smith
Change by Gregory P. Smith : -- title: Unittest truncating of error message not works -> Support unittest assertion truncation of repr in error messages ___ Python tracker <https://bugs.python.org/issu

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2019-05-07 Thread Gregory P. Smith
Change by Gregory P. Smith : -- versions: -Python 3.8 ___ Python tracker <https://bugs.python.org/issue36533> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2019-05-07 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +13086 ___ Python tracker <https://bugs.python.org/issue36533> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36838] running 'make html' from the Doc tree emits an unwelcoming error message

2019-05-07 Thread Gregory P. Smith
New submission from Gregory P. Smith : Running make in the Doc directory does not install all necessary tooling on its own. This is a hurdle to getting beginners up to speed on making documentation changes (often their very first changes in the CPython project). ``` :~/oss/cpython

[issue36838] running 'make html' from the Doc tree emits an unwelcoming error message

2019-05-07 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith ___ Python tracker <https://bugs.python.org/issue36838> ___ ___ Python-bugs-list mailing list Un

[issue36838] running 'make html' from the Doc tree emits an unwelcoming error message

2019-05-07 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +13089 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36838> ___ _

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2019-05-07 Thread Gregory P. Smith
Gregory P. Smith added the comment: The regression should be fixed. It'd be helpful if owners of applications that were running into this could test their applications with this specific change. -- resolution: -> fixed stage: patch review -> commit review status: ope

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2019-05-07 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 3b4b28efbde63502709bede7c5f9403ec6f37428 by Gregory P. Smith in branch '3.7': [3.7] bpo-36533: Reinit logging.Handler locks on fork(). (GH-12704) (GH-13170) https://github.com/python/cpython/commit/3b4b28efbde63502709bede7c5f940

[issue36838] running 'make html' from the Doc tree emits an unwelcoming error message

2019-05-07 Thread Gregory P. Smith
Gregory P. Smith added the comment: I noted this at the mentored sprints this year when I suggested my mentee "cd Doc ; make html" to show them how to build the docs, check that they build and see what they look like. Once upon a time we used to auto-fetch and install sphinx

[issue36838] running 'make html' from the Doc tree emits an unwelcoming error message

2019-05-07 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36838] running 'make html' from the Doc tree emits an unwelcoming error message

2019-05-07 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 3918ad6b45da31e05265de5a455102276717c659 by Gregory P. Smith in branch 'master': bpo-36838: Suggest 'make venv' when missing Doc/ tools. (GH-13173) https://github.com/python/cpython/commit/3918ad6b45da31e05265

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-07 Thread Gregory P. Smith
Gregory P. Smith added the comment: Updated cert+key committed to pythontestdotnet. reassigning to EWDurbin to see that they're deployed. https://github.com/python/pythontestdotnet/commit/2d121419796dad6d4285bf5aefd464aff0f47a91 -- assignee: gregory.p.smith -> EWDurbin re

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-08 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +13104 stage: commit review -> patch review ___ Python tracker <https://bugs.python.org/issue36816> ___ ___ Py

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

2019-05-08 Thread Gregory P. Smith
Gregory P. Smith added the comment: thats https://bugs.python.org/issue36816 (separate issue as our infrastructure is fixed to have a modern certificate). PR pending automerge post-CI. -- ___ Python tracker <https://bugs.python.org/issue35

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-08 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +13108 ___ Python tracker <https://bugs.python.org/issue36816> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36855] update tests relying on a copy of a TLS certificate (pem) to support two versions

2019-05-08 Thread Gregory P. Smith
New submission from Gregory P. Smith : We're having pain today due to the Lib/test/selfsigned_pythontestdotnet.pem certificate update sychronization. This wouldn't be painful if our tests relying on a specific certificate matching something elsewhere on the network supporte

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-08 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +13109 ___ Python tracker <https://bugs.python.org/issue36816> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-08 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +13110 ___ Python tracker <https://bugs.python.org/issue36816> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-08 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +13111 ___ Python tracker <https://bugs.python.org/issue36816> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-08 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 7b5dca8345f4a909367836a3a2c3c7ac6e4e2c0c by Gregory P. Smith in branch '2.7': [2.7] bpo-36816: Update the self-signed.pythontest.net cert (GH-13192) (GH-13199) https://github.com/python/cpython/commit/7b5dca8345f4a909367836a3a2c3c7

[issue36601] signals can be caught by any thread

2019-05-09 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith ___ Python tracker <https://bugs.python.org/issue36601> ___ ___ Python-bugs-list mailing list Un

[issue36871] Misleading error from unittest.mock's assert_has_calls

2019-05-09 Thread Gregory P. Smith
New submission from Gregory P. Smith : Thing: mock_thing.method sig=(a=None, b=0) F == FAIL: test_has_calls_on_thing (__main__.MockCallTest) -- Traceback

[issue36601] signals can be caught by any thread

2019-05-09 Thread Gregory P. Smith
Gregory P. Smith added the comment: PR is approved with automerge, just awaiting CI to give it the green light now. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36871] Misleading error from unittest.mock's assert_has_calls

2019-05-09 Thread Gregory P. Smith
Gregory P. Smith added the comment: If you use a debugger on this, you'll discover that what is happening inside of mock's assert_has_calls is that it is catching and swallowing an exception around the inspect.Signature instances bind() call complaining about 'b' being a

[issue36601] signals can be caught by any thread

2019-05-10 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> commit review status: open -> closed type: -> enhancement versions: +Python 3.8 ___ Python tracker <https://bugs.python

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

2019-05-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: In our 3.6 tree the test_ssl failure is now: == ERROR: test_protocol_sslv23 (test.test_ssl.ThreadedTests) Connecting to an SSLv23 server with various client options

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

2019-05-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: (same on 2.7) -- ___ Python tracker <https://bugs.python.org/issue35925> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

2019-05-11 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +13163 stage: backport needed -> patch review ___ Python tracker <https://bugs.python.org/issue35925> ___ ___ Py

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

2019-05-11 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +13165 ___ Python tracker <https://bugs.python.org/issue35925> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36895] time.clock() marked for removal in 3.8 – still there.

2019-05-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset e2500610c62673f42371b54fb0e4de83e4b33146 by Gregory P. Smith (Matthias Bussonnier) in branch 'master': bpo-36895: remove time.clock() as per removal notice. (GH-13270) https://github.com/python/cpyt

[issue36895] time.clock() marked for removal in 3.8 – still there.

2019-05-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: I saw the PR before the bug comment. merged. if we find a _good_ reason to delay this removal a cycle during the 3.8 betas we can bring it back. thanks for staying on top of the removal plan! -- resolution: -> fixed stage: patch rev

[issue36728] Remove PyEval_ReInitThreads() from the public C API

2019-05-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: fwiw - i agree that this can be removed. it has no reason to ever be called directly. i double checked in our massive internal codebase at work and found no calls other than python interpreters themselves. -- nosy: +gregory.p.smith

[issue36906] Compile time textwrap.dedent() equivalent for str or bytes literals

2019-05-13 Thread Gregory P. Smith
New submission from Gregory P. Smith : A Python pattern in code is to keep everything indented to look pretty while, yet when the triple quoted multiline string in question needs to not have leading whitespace, calling textwrap.dedent("""long multiline constant"&quo

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

2019-05-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 7346a16ed584fd1e85359154820d286370b68648 by Gregory P. Smith in branch '2.7': [2.7] bpo-35925: Skip SSL tests that fail due to weak external certs or old TLS (GH-13124) (GH-13253) https://github.com/python/cpyt

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

2019-05-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: 3.6 (and 3.5 if larry wants) are the only remaining trees to apply this to, assigning to the 3.6 RM. -- assignee: gregory.p.smith -> ned.deily versions: -Python 2.7 ___ Python tracker <https://bugs.pyth

[issue36906] Compile time textwrap.dedent() equivalent for str or bytes literals

2019-05-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: Oh good, I thought this had come up before. Your method idea that could be optimized on literals makes a lot of sense, and is notably more readable than yet another letter prefix. -- ___ Python tracker <ht

[issue36906] Compile time textwrap.dedent() equivalent for str or bytes literals

2019-05-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: I'd say go for it. We can't guarantee we'll accept the feature yet, but I think the .dedent() method with an optimization pass approach is worthwhile making a proof of concept of regardless. -- ___

[issue36760] subprocess.run fails with capture_output=True and stderr=STDOUT

2019-05-14 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +13233 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36760> ___ _

[issue36760] subprocess.run fails with capture_output=True and stderr=STDOUT

2019-05-14 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith components: +Documentation -Library (Lib) versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issu

[issue36760] subprocess.run fails with capture_output=True and stderr=STDOUT

2019-05-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset e883091abf7ca84a88e956fe5202e75c53bd4128 by Gregory P. Smith in branch 'master': bpo-36760: Clarify subprocess capture_output docs. (GH-13322) https://github.com/python/cpython/commit/e883091abf7ca84a88e956fe5202e7

[issue36760] subprocess.run fails with capture_output=True and stderr=STDOUT

2019-05-14 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36906] Compile time textwrap.dedent() equivalent for str or bytes literals

2019-05-15 Thread Gregory P. Smith
Gregory P. Smith added the comment: Thanks, it's actually good to see this being a feature accepted in other languages. -- priority: low -> normal ___ Python tracker <https://bugs.python.org

[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2018-01-16 Thread Gregory P. Smith
Gregory P. Smith added the comment: Catalin has been examining code... switching concurrent.futures.thread to use SimpleQueue instead of Queue is probably a good idea as the queues in there get used from weakref callbacks. -- ___ Python tracker

[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2018-01-16 Thread Gregory P. Smith
Gregory P. Smith added the comment: https://bugs.python.org/issue32576 filed for that -- ___ Python tracker <https://bugs.python.org/issue14976> ___ ___ Pytho

[issue32576] concurrent.futures.thread potential deadlock due to Queue in weakref callback

2018-01-16 Thread Gregory P. Smith
New submission from Gregory P. Smith : As a follow up to https://bugs.python.org/issue14976 which just introduced queue.SimpleQueue: concurrent.futures.thread currently uses a queue.Queue() from weakref callbacks which could in theory lead to a deadlock when periodic gc triggers a cleanup

[issue21009] Potential deadlock in concurrent futures when garbage collection occurs during Queue.get

2018-01-17 Thread Gregory P. Smith
Gregory P. Smith added the comment: there's a PR on the other issue i opened for this without noticing this one so i'm marking this as the dup. -- nosy: +gregory.p.smith resolution: -> duplicate stage: -> patch review status: open -> closed superseder: queue.Queue

[issue32576] concurrent.futures.thread deadlock due to Queue in weakref callback

2018-01-17 Thread Gregory P. Smith
Change by Gregory P. Smith : -- title: concurrent.futures.thread potential deadlock due to Queue in weakref callback -> concurrent.futures.thread deadlock due to Queue in weakref callback ___ Python tracker <https://bugs.python.org/issu

[issue32424] Synchronize copy methods between Python and C implementations of xml.etree.ElementTree.Element

2018-01-20 Thread Gordon P. Hemsley
Gordon P. Hemsley added the comment: >> As discussed above, starting with msg309074, __deepcopy__() is being added >> to the Python implementation because it already exists in the C >> implementation. > > Python implementation shouldn't copy all im

[issue20104] expose posix_spawn(p)

2018-01-28 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 6c6ddf97c402709713d668d0ed53836a7749ba99 by Gregory P. Smith (Pablo Galindo) in branch 'master': bpo-20104: Expose `posix_spawn` in the os module (GH-5109) https://github.com/python/cpython/commit/6c6ddf97c402709713d668d0ed5383

[issue20104] expose posix_spawn(p)

2018-01-28 Thread Gregory P. Smith
Gregory P. Smith added the comment: remaining work before closing this: Doc/library/os.rst needs to describe os.posix_spawn -- priority: low -> normal ___ Python tracker <https://bugs.python.org/issu

[issue20104] expose posix_spawn(p)

2018-01-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 0cd6bca65519109a8a7862d38ba1b8924e432a16 by Gregory P. Smith (Pablo Galindo) in branch 'master': bpo-20104: Fix leaks and errors in new os.posix_spawn (GH-5418) https://github.com/python/cpython/commit/0cd6bca65519109a8a7862d38ba1b8

[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/f4d644f36ffb6cb11b34bfcf533c14

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

[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/ce237c7d58ba207575cdfb0195a58a

[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/cpyt

[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 <https://bugs.python.org/issue32

[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 <https://bugs.python.or

[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 <https://bugs.python.org/issue32102> ___ ___ Python-bugs-list mailing list Un

[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/ce0f33d04528fcafc673

[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 ___ Pytho

[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 <https://bugs.python.or

[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/dd42cb71f2cb02f3a32f016137b12a

[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 <https://bugs.python.org/issue31961> ___ _

[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

[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 <https://bugs.python.or

[issue20104] expose posix_spawn(p)

2018-01-29 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith ___ Python tracker <https://bugs.python.org/issue20104> ___ ___ Python-bugs-list mailing list Un

[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

[issue22908] ZipExtFile in zipfile can be seekable

2018-01-30 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: serhiy.storchaka -> gregory.p.smith nosy: +gregory.p.smith ___ Python tracker <https://bugs.python.org/issu

[issue22908] ZipExtFile in zipfile can be seekable

2018-01-30 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 066df4fd454d6ff9be66e80b2a65995b10af174f by Gregory P. Smith (John Jolly) in branch 'master': bpo-22908: Add seek and tell functionality to ZipExtFile (GH-4966) https://github.com/python/cpython/commit/066df4fd454d6ff9be66e80b2a6599

[issue22908] ZipExtFile in zipfile can be seekable

2018-01-30 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 <https://bugs.python.or

[issue32387] Disallow untagged C extension import on major platforms

2018-01-30 Thread Gregory P. Smith
Gregory P. Smith added the comment: did this get discussed on distutils-sig? It's a trivial change (for the POSIX only PR) and would be neat to go through one of the 3.7 beta cycles to see if anything serious an unexpected is likely to come up for a

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2018-01-30 Thread Gregory P. Smith
Change by Gregory P. Smith : -- nosy: +gregory.p.smith, twouters ___ Python tracker <https://bugs.python.org/issue27987> ___ ___ Python-bugs-list mailin

[issue31912] PyMem_Malloc() should guarantee alignof(max_align_t)

2018-01-30 Thread Gregory P. Smith
Change by Gregory P. Smith : -- nosy: +gregory.p.smith, twouters ___ Python tracker <https://bugs.python.org/issue31912> ___ ___ Python-bugs-list mailin

[issue32387] Disallow untagged C extension import on major platforms

2018-01-30 Thread Gregory P. Smith
Gregory P. Smith added the comment: Interesting use case Josh. I don't know of a good way to deal with non-extension-module Python API using .so files. I like your extension hack, but what is the problem with having the version embedded in the .so

[issue31356] Add context manager to temporarily disable GC

2018-01-31 Thread Gregory P. Smith
Gregory P. Smith added the comment: I would not remove this. It is a new feature, leave it in for 3.7. The style issues and missing error checks are easy to address. We're at 3.7beta1 stage, it is normal to have issues to be cleaned up in a beta re

[issue32731] getpass.getuser() raises an unspecified exceptions (ImportError, OSError, etc)

2018-01-31 Thread Gregory P. Smith
New submission from Gregory P. Smith : This has been true since Python 1.x. getpass.getuser() is documented as "raising an exception" but doesn't specify what exception. On Windows when the environment variables it looks at are not set, an ImportError (!) escapes due to "

[issue31356] Add context manager to temporarily disable GC

2018-02-02 Thread Gregory P. Smith
Change by Gregory P. Smith : -- stage: resolved -> needs patch ___ Python tracker <https://bugs.python.org/issue31356> ___ ___ Python-bugs-list mailing list Un

[issue31356] Add context manager to temporarily disable GC

2018-02-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: The idea which this issue represents is not rejected. It is a good one, we found a need for it during the dev sprint last September. -- priority: release blocker -> normal resolution: rejected -> status: closed -> open versions: +P

[issue31356] Add context manager to temporarily disable GC

2018-02-03 Thread Gregory P. Smith
Gregory P. Smith added the comment: Nick and Raymond: do you remember what our original motivating use cases were for this idea during the sprint? -- ___ Python tracker <https://bugs.python.org/issue31

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

2018-02-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: Don't revert something just because you found a bug, we can fix it. fwiw, the PR passed appveyor's Windows run: https://ci.appveyor.com/project/python/cpython/build/3.7build11551 So if there's a bug, we're missing some k

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

2018-02-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: got any pointers to those? I want to familiarize myself with existing arguments for/against such a feature in subprocess to decide. -- ___ Python tracker <https://bugs.python.org/issue31

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

2018-02-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: I agree with both of you at this point. TODO: Revert the PR and backport that to the 3.7 branch (i'll take care of it) -- resolution: fixed -> stage: resolved -> needs patch ___ Python trac

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

2018-02-05 Thread Gregory P. Smith
Change by Gregory P. Smith : -- nosy: +ned.deily priority: normal -> release blocker versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issu

[issue32777] subprocess: child_exec() uses _Py_set_inheritable() which is not async-signal-safe

2018-02-05 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith nosy: +gregory.p.smith ___ Python tracker <https://bugs.python.org/issue32777> ___ ___ Python-

[issue32777] subprocess: child_exec() uses _Py_set_inheritable() which is not async-signal-safe

2018-02-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: out of curiosity, did you actually diagnose a process deadlocked due to this or was it noted via code inspection? this issue has been around since 3.4 and the file descriptor inheritance changes from the looks of things

<    18   19   20   21   22   23   24   25   26   27   >