[issue35224] PEP 572: Assignment Expressions

2019-09-11 Thread Emily Morehouse
Emily Morehouse added the comment: All areas that were identified for additional work have been addressed. If there is anything else that needs to be improved or updated, please create a new issue. Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> clos

[issue38081] Different behavior of os.path.realpath('nul') in 3.7 and 3.8

2019-09-11 Thread Eryk Sun
Change by Eryk Sun : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-11 Thread Christian Heimes
New submission from Christian Heimes : OpenSSL versions 1.1.1d, 1.1.0l, and 1.0.2t were released yesterday. They contain a low priority security fix. -- components: Extension Modules messages: 351934 nosy: christian.heimes priority: normal severity: normal status: open title: Update to

[issue38114] Exclude pip.ini from Nuget package

2019-09-11 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue33166] os.cpu_count() returns wrong number of processors on specific systems

2019-09-11 Thread Zachary Ware
Zachary Ware added the comment: Thank you for clarifying this muddy topic, Eryk! (Dropping bpo-32592 dependency; we've done the update in a basically-compatible way.) -- dependencies: -Drop support of Windows Vista and 7 in Python 3.9 resolution: -> fixed stage: patch review -> res

[issue36634] venv: activate.bat fails for venv with parentheses in PATH

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 20f80bfc83506037e40d918fcac887cee9093c93 by Miss Islington (bot) in branch '3.8': bpo-36634: Fixes activate.bat when existing values contain double quotes (GH-15924) https://github.com/python/cpython/commit/20f80bfc83506037e40d918fcac887cee9093

[issue38081] Different behavior of os.path.realpath('nul') in 3.7 and 3.8

2019-09-11 Thread Steve Dower
Change by Steve Dower : -- assignee: steve.dower -> stage: resolved -> needs patch versions: +Python 3.9 ___ Python tracker ___ ___

[issue36634] venv: activate.bat fails for venv with parentheses in PATH

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 8a19a91e28b86592ee1ad9d1761e59b30d8511b9 by Miss Islington (bot) in branch '3.7': bpo-36634: Fixes activate.bat when existing values contain double quotes (GH-15924) https://github.com/python/cpython/commit/8a19a91e28b86592ee1ad9d1761e59b30d851

[issue38118] Valgrind warnings when running tokenize.py

2019-09-11 Thread STINNER Victor
New submission from STINNER Victor : Running tokenize.py in Valgrind emits 2 warnings: $ ./configure --with-valgrind $ make $ echo|PYTHONMALLOC=malloc valgrind ./python Lib/tokenize.py (A) ==30746== Conditional jump or move depends on uninitialised value(s) ==30746==at 0x4A01F7: PyUnicode

[issue37967] Beta GPG signature check failing

2019-09-11 Thread mattip
mattip added the comment: Is automatic download really the best solution? -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue34331] Incorrectly pluralized abstract class error message

2019-09-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 4a12a178f4a6b9a59d97fecc727f2b6b28dfc85f by Stéphane Wirtel (Daniel Andrade) in branch 'master': bpo-34331: Fix incorrectly pluralized abstract class error message. (GH-8670) https://github.com/python/cpython/commit/4a12a178f4a6b9a59d97fecc727f2

[issue35224] PEP 572: Assignment Expressions

2019-09-11 Thread Guido van Rossum
Guido van Rossum added the comment: Congrats! Let's party. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38106] Race in PyThread_release_lock - can lead to memory corruption and deadlock

2019-09-11 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Interesting. Yet another reason to always do condition signalling with the lock held, such as is good practice to avoid race conditions. That's the whole point of condition variables. -- ___ Python tracke

[issue34331] Incorrectly pluralized abstract class error message

2019-09-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thank you for your contribution -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.8 ___ Python tracker ___

[issue38096] Clean up the "struct sequence" / "named tuple" docs

2019-09-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: Paul, the usual procedure is for you to mark the PR as approved and leave the commit step for the core developer who created the patch. Also, Tim filed this issue and had put thought into it. The commit shouldn't have occurred until he had a chance to

[issue37645] Replace PyEval_GetFuncName/PyEval_GetFuncDesc

2019-09-11 Thread Petr Viktorin
Petr Viktorin added the comment: I like PR 14890 better. I like the separation of representation for error messages (where it's clearer that this is a callable) and for __str__. Also, changing the __str__ of functions would need much wider discussion than on issues/PRs. I left some comments

[issue8410] Fix emulated lock to be 'fair'

2019-09-11 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: super, good catch! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37409] relative import without parent succeeds with builtins.__import__

2019-09-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The test added seems to have created an ImportWarning in test_builtin.BuiltinTest.test_import . ./python.exe -Wall -m unittest -v test.test_builtin.BuiltinTest.test_import test_import (test.test_builtin.BuiltinTest) ... /Users/karthikeyansingaravel

[issue33187] Document ElementInclude (XInclude) support in ElementTree

2019-09-11 Thread Stefan Behnel
Stefan Behnel added the comment: New changeset 195dc142f84804ad9c8ce91414ab4a0bf9615f09 by Stefan Behnel (Miss Islington (bot)) in branch '3.7': bpo-33187: Document ElementInclude (XInclude) support in ElementTree (GH-8861) (GH-15972) https://github.com/python/cpython/commit/195dc142f84804ad

[issue38111] Error while building Python from source

2019-09-11 Thread Redcxx
Redcxx added the comment: That works, but I notice some message somewhere near the end of running `make`: running build running build_ext INFO: Can't locate Tcl/Tk libs and/or headers Python build finished successfully! The necessary bits to build these optional modules were not found: _bz2

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-11 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +15614 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15983 ___ Python tracker ___

[issue37967] Beta GPG signature check failing

2019-09-11 Thread Christian Heimes
Christian Heimes added the comment: This is GPG. You have to download and verify the signature somehow. That's how GPG works. You can either let GPG do it automatically or you can do it manually. -- ___ Python tracker

[issue38111] Error while building Python from source

2019-09-11 Thread Redcxx
Redcxx added the comment: not sure if it is related but I am installing Python in a different directory and I have added that to the prefix option when runnning configure. -- ___ Python tracker

[issue38113] Remove statics from ast.c

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 5b172c27f760dc5437e37dd8f1540eb76440e9a7 by Miss Islington (bot) (Dino Viehland) in branch 'master': bpo-38113: Update Python/ast.c to PEP-384 (GH-15975) https://github.com/python/cpython/commit/5b172c27f760dc5437e37dd8f1540eb76440e9a7 ---

[issue36182] Path.write_text() docs do not include the case that a file exists

2019-09-11 Thread Julien Palard
Julien Palard added the comment: New changeset 893653357cc83d49049debfeb9074a4ce99cd478 by Julien Palard (Miss Islington (bot)) in branch '3.8': bpo-36182: Update pathlib.Path.write_text() docs (GH-12161) (GH-15977) https://github.com/python/cpython/commit/893653357cc83d49049debfeb9074a4ce99c

[issue36182] Path.write_text() docs do not include the case that a file exists

2019-09-11 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37885] venv: Don't produce unbound variable warning on deactivate

2019-09-11 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset 63eefc35674ec12ab4d00af4feaf21de4cb1c91c by T. Wouters (Miss Islington (bot)) in branch '3.8': bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15973) https://github.com/python/cpython/commit/63eefc35674ec12ab4d00af4feaf

[issue33166] os.cpu_count() returns wrong number of processors on specific systems

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 43ee0e2ca33ae28d37a3dddf10a648895cd46bda by Miss Islington (bot) in branch '3.8': bpo-33166: Change os.cpu_count to return active (real) processors (GH-15949) https://github.com/python/cpython/commit/43ee0e2ca33ae28d37a3dddf10a648895cd46bda --

[issue37885] venv: Don't produce unbound variable warning on deactivate

2019-09-11 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset d126fbddc960afd93ff070bc34209be256152943 by T. Wouters (Miss Islington (bot)) in branch '3.7': bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15974) https://github.com/python/cpython/commit/d126fbddc960afd93ff070bc3420

[issue37885] venv: Don't produce unbound variable warning on deactivate

2019-09-11 Thread Thomas Wouters
Thomas Wouters added the comment: Thanks, fix merged. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue38114] Exclude pip.ini from Nuget package

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 436cd2c20b1d7c86be1c53a3ba3bceefcaff2b73 by Miss Islington (bot) in branch '3.8': bpo-38114: Do not include pip.ini in Nuget package (GH-15964) https://github.com/python/cpython/commit/436cd2c20b1d7c86be1c53a3ba3bceefcaff2b73 -- nosy:

[issue38119] resource tracker destroys shared memory segments when other processes should still have valid access

2019-09-11 Thread Davin Potts
New submission from Davin Potts : The resource tracker currently destroys (via _posixshmem.shm_unlink) shared memory segments on posix systems when any independently created Python process with a handle on a shared memory segment exits (gracefully or otherwise). This breaks the expected cros

[issue35923] Update the BuiltinImporter in importlib to use loader._ORIGIN instead of a hardcoded value

2019-09-11 Thread Brett Cannon
Brett Cannon added the comment: New changeset 145cf1f50c8a8e8233e641f345cd5e25ee69190a by Brett Cannon (Dong-hee Na) in branch 'master': bpo-35923: Update the BuiltinImporter to use loader._ORIGIN instead of a hard-coded value (GH-15651) https://github.com/python/cpython/commit/145cf1f50c8a8

[issue37754] Consistency of Unix's shared_memory implementation with windows

2019-09-11 Thread Davin Potts
Davin Potts added the comment: I have created issue38119 to track a fix to the inappropriate use of resource tracker with shared memory segments, but this does not replace or supersede what is discussed here. -- ___ Python tracker

[issue36528] Remove duplicate tests in Lib/tests/re_tests.py

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15615 pull_request: https://github.com/python/cpython/pull/15986 ___ Python tracker ___ __

[issue36528] Remove duplicate tests in Lib/tests/re_tests.py

2019-09-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36260] [security] CVE-2019-9674: Zip Bomb vulnerability

2019-09-11 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset c5a672315dffbc95acc1ca28584ec84ddb56626f by Jason R. Coombs (Miss Islington (bot)) in branch '3.8': bpo-36260: Add pitfalls to zipfile module documentation (GH-13378) (GH-15976) https://github.com/python/cpython/commit/c5a672315dffbc95acc1ca285

[issue36528] Remove duplicate tests in Lib/tests/re_tests.py

2019-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset e6557d3c62800f51ee6530c94a10b93d725504fa by Benjamin Peterson (Xtreak) in branch 'master': bpo-36528: Remove duplicate re tests. (GH-2689) https://github.com/python/cpython/commit/e6557d3c62800f51ee6530c94a10b93d725504fa -- nosy: +b

[issue38120] DeprecationWarning in test_random due to invalid seed arguments

2019-09-11 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : Since d0cdeaab76fef8a6e5a04665df226b6659111e4e (bpo-32554) using random.seed raises DeprecationWarning for some types. This is not handled in test_random causing DeprecationWarnings. I will raise a PR for this. commit d0cdeaab76fef8a6e5a04665df22

[issue32592] Drop support of Windows Vista and 7 in Python 3.9

2019-09-11 Thread Zachary Ware
Zachary Ware added the comment: New changeset 0b72ccff56fb47e14f7b1f6590eafff8d104c229 by Zachary Ware (Steve Dower) in branch 'master': bpo-32592: Set Windows 8 as the minimum required version for API support (GH-15951) https://github.com/python/cpython/commit/0b72ccff56fb47e14f7b1f6590eaff

[issue38120] DeprecationWarning in test_random due to invalid seed arguments

2019-09-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +15616 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15987 ___ Python tracker ___

[issue37750] PyBuffer_FromContiguous not documented

2019-09-11 Thread hai shi
Change by hai shi : -- pull_requests: +15617 pull_request: https://github.com/python/cpython/pull/15988 ___ Python tracker ___ ___ P

[issue38111] Error while building Python from source

2019-09-11 Thread Zachary Ware
Zachary Ware added the comment: Ok, that shows that the issue is not actually with the Python build, but with trying to find the right incantation for both OpenSSL and Python to get what you want :). As such I'm going to go ahead and close the issue. As for getting you going, there is a bit

[issue38119] resource tracker destroys shared memory segments when other processes should still have valid access

2019-09-11 Thread Davin Potts
Change by Davin Potts : -- keywords: +patch pull_requests: +15618 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15989 ___ Python tracker ___

[issue31639] http.server and SimpleHTTPServer hang after a few requests

2019-09-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue35923] Update the BuiltinImporter in importlib to use loader._ORIGIN instead of a hardcoded value

2019-09-11 Thread Dong-hee Na
Change by Dong-hee Na : -- assignee: nnja -> corona10 resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.7, Python 3.8 ___ Python tracker ___

[issue37967] Beta GPG signature check failing

2019-09-11 Thread mattip
mattip added the comment: I am not a gpg expert, but I think the proper solution is to add the release manager's key to the official Python GPG public key list. What would it take for that to happen? -- ___ Python tracker

[issue37750] PyBuffer_FromContiguous not documented

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 5a56ce4a0e820fefcd598b94715a7ff7e199858d by Miss Islington (bot) (Hai Shi) in branch 'master': bpo-37750: Add doc of PyBuffer_FromContiguous (GH-15988) https://github.com/python/cpython/commit/5a56ce4a0e820fefcd598b94715a7ff7e199858d -

[issue37750] PyBuffer_FromContiguous not documented

2019-09-11 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- versions: +Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37750] PyBuffer_FromContiguous not documented

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15619 pull_request: https://github.com/python/cpython/pull/15990 ___ Python tracker ___ __

[issue37750] PyBuffer_FromContiguous not documented

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15620 pull_request: https://github.com/python/cpython/pull/15991 ___ Python tracker ___ __

[issue38106] Race in PyThread_release_lock - can lead to memory corruption and deadlock

2019-09-11 Thread Kirill Smelkov
Kirill Smelkov added the comment: Thanks for feedback. Yes, since for Python-level lock, PyThread_release_lock() is called with GIL held: https://github.com/python/cpython/blob/v2.7.16-129-g58d61efd4cd/Modules/threadmodule.c#L69-L82 the GIL effectively serves as the synchronization device in

[issue38121] Synchronize importlib.metadata with importlib_metadata 0.22

2019-09-11 Thread Jason R. Coombs
New submission from Jason R. Coombs : Incorporate the changes from the 0.22 release (https://gitlab.com/python-devs/importlib_metadata/blob/0.22/importlib_metadata/docs/changelog.rst) including the new lightweight shim from PathFinder into importlib.metadata.MetadataPathFinder. -- as

[issue38106] Race in PyThread_release_lock - can lead to memory corruption and deadlock

2019-09-11 Thread Kirill Smelkov
Kirill Smelkov added the comment: And it is indeed better to always do pthread_cond_signal() from under mutex. Many pthread libraries delay the signalling to associated mutex unlock, so there should be no performance penalty here and the correctness is much more easier to reason about. ---

[issue8410] Fix emulated lock to be 'fair'

2019-09-11 Thread Kirill Smelkov
Kirill Smelkov added the comment: Thanks for feedback. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue34634] New asyncio streams API

2019-09-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Streams API is implemented as part of issue36889 in 3.8. I think we can close this as a duplicate. Thanks. -- nosy: +xtreak ___ Python tracker ___

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 58ab13479d854491ac9207bacfae25e8b18b044a by Stéphane Wirtel (Christian Heimes) in branch 'master': bpo-38117: Test with OpenSSL 1.1.1d (GH-15983) https://github.com/python/cpython/commit/58ab13479d854491ac9207bacfae25e8b18b044a -- nosy

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15621 pull_request: https://github.com/python/cpython/pull/15992 ___ Python tracker ___ __

[issue36528] Remove duplicate tests in Lib/tests/re_tests.py

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset f90cbcbfe318fc4f0107bfad3cfc653ad1501c58 by Miss Islington (bot) in branch '3.8': bpo-36528: Remove duplicate re tests. (GH-2689) https://github.com/python/cpython/commit/f90cbcbfe318fc4f0107bfad3cfc653ad1501c58 -- nosy: +miss-islingto

[issue30105] Duplicated connection_made() call for some SSL connections

2019-09-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing as per OPs last message. Feel free to reopen if needed. Thanks. -- nosy: +xtreak resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue37637] multiprocessing numpy.ndarray not transmitted properly

2019-09-11 Thread Davin Potts
Davin Potts added the comment: Marking as closed after providing an example of how to send NumPy arrays as bytes with the send_bytes() function. -- resolution: -> not a bug stage: -> resolved status: -> closed ___ Python tracker

[issue37967] Beta GPG signature check failing

2019-09-11 Thread Christian Heimes
Christian Heimes added the comment: If you use pubkeys.txt from https://www.python.org/static/files/pubkeys.txt, then GPG verification gives you no additional security. An attack with write access to www.python.org or access to the private key of www.python.org can easily replace the pubkeys.

[issue34709] Suggestion: make getuser.getpass() also look at SUDO_USER environment variable

2019-09-11 Thread Zachary Ware
Zachary Ware added the comment: I agree with Steven in that I'm not quite sure this is a good change, but I also see that it would be useful in some cases. Perhaps either a `check_sudo_user=False` keyword-only parameter, or a `vars_to_check=()` parameter would be better? Adding Gregory P. S

[issue36161] Use thread-safe functions instead of unsafe ones (crypt, ttyname)

2019-09-11 Thread Christian Heimes
Christian Heimes added the comment: Does it make sense to modify crypt at all? PEP 594 is going to deprecate and remove crypt soon. -- nosy: +christian.heimes ___ Python tracker

[issue38121] Synchronize importlib.metadata with importlib_metadata 0.22

2019-09-11 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +15622 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15993 ___ Python tracker ___

[issue35282] Add a return value to lib2to3.refactor.refactor_file and refactor_dir

2019-09-11 Thread Zachary Ware
Change by Zachary Ware : -- nosy: +benjamin.peterson, zach.ware versions: +Python 3.9 -Python 3.8 ___ Python tracker ___ ___ Python-

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 0b7f3706e6a4d72f7e9988cebc4826ad2c4c4753 by Miss Islington (bot) in branch '3.8': bpo-38117: Test with OpenSSL 1.1.1d (GH-15983) https://github.com/python/cpython/commit/0b7f3706e6a4d72f7e9988cebc4826ad2c4c4753 -- nosy: +miss-islington

[issue37750] PyBuffer_FromContiguous not documented

2019-09-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 4cab7eb9e1f4afc44bac4889de034e031d462e7a by Stéphane Wirtel (Miss Islington (bot)) in branch '3.8': bpo-37750: Add doc of PyBuffer_FromContiguous (GH-15988) (GH-15990) https://github.com/python/cpython/commit/4cab7eb9e1f4afc44bac4889de034e031d46

[issue37750] PyBuffer_FromContiguous not documented

2019-09-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset c112faff158a05c1e71f9e1957364ed756efbcde by Stéphane Wirtel (Miss Islington (bot)) in branch '3.7': bpo-37750: Add doc of PyBuffer_FromContiguous (GH-15988) (GH-15991) https://github.com/python/cpython/commit/c112faff158a05c1e71f9e1957364ed756ef

[issue37750] PyBuffer_FromContiguous not documented

2019-09-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thank you for your contribution -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue28724] Add method send_io, recv_io to the socket module.

2019-09-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8d120f75fb8c8731464b5f7531d74cdbb897d924 by Victor Stinner (Joannah Nanjekye) in branch 'master': bpo-28724: Add methods send_fds and recv_fds to the socket module (GH-12889) https://github.com/python/cpython/commit/8d120f75fb8c8731464b5f7531d74

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-11 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +15623 pull_request: https://github.com/python/cpython/pull/15994 ___ Python tracker ___ __

[issue38113] Remove statics from ast.c

2019-09-11 Thread Eric Snow
Eric Snow added the comment: New changeset ac46eb4ad6662cf6d771b20d8963658b2186c48c by Eric Snow (Dino Viehland) in branch 'master': bpo-38113: Update the Python-ast.c generator to PEP384 (gh-15957) https://github.com/python/cpython/commit/ac46eb4ad6662cf6d771b20d8963658b2186c48c --

[issue38113] Remove statics from ast.c

2019-09-11 Thread Eric Snow
Change by Eric Snow : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue28724] Add method send_io, recv_io to the socket module.

2019-09-11 Thread STINNER Victor
STINNER Victor added the comment: Thanks Shinya Okano for the original patch. Well done Joannah! Thanks for your tenacity :-) This PR has 100 comments and 27 commits which shows the complexity of the feature. Honestly, I'm not 100% happy with current documentation, but I chose to merge the

[issue35264] SSL Module build fails with OpenSSL 1.1.0 for Python 2.7

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 0d63669e52dd7e95708ec14e9e3e07d7dc9cd913 by Miss Islington (bot) (Alexandru Ardelean) in branch '2.7': [2.7] bpo-35264: Modules/_ssl.c: fix build with OpenSSL 1.1.0 (GH-10570) https://github.com/python/cpython/commit/0d63669e52dd7e95708ec14e9e3e

[issue34001] LibreSSL does not tolerate setting minimum_version greater than maximum_version

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15624 pull_request: https://github.com/python/cpython/pull/15997 ___ Python tracker ___ __

[issue38122] AsyncMock force always creating an AsyncMock for child mocks

2019-09-11 Thread Lisa Roach
New submission from Lisa Roach : This idea has been brought up in person before and also discussed on AsyncTest: https://github.com/Martiusweb/asynctest/issues/100 It could be useful if someone has a lot of attributes that are also async that need to be mocked. It could probably be done wi

[issue34001] LibreSSL does not tolerate setting minimum_version greater than maximum_version

2019-09-11 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset c9bc49c5f6e26a7c958307c2ac338951a7534d9a by T. Wouters (Christian Heimes) in branch 'master': bpo-34001: Fix test_ssl with LibreSSL (GH-13783) https://github.com/python/cpython/commit/c9bc49c5f6e26a7c958307c2ac338951a7534d9a -- nosy: +

[issue37698] Update doc of PyBuffer_ToContiguous

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset 15f5a7527b87e11fcf23069c147fd4cb7d42cfb0 by Miss Islington (bot) (Hai Shi) in branch 'master': bpo-37698: Update doc of PyBuffer_ToContiguous (GH-14992) https://github.com/python/cpython/commit/15f5a7527b87e11fcf23069c147fd4cb7d42cfb0

[issue37698] Update doc of PyBuffer_ToContiguous

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15625 pull_request: https://github.com/python/cpython/pull/15998 ___ Python tracker ___ __

[issue37698] Update doc of PyBuffer_ToContiguous

2019-09-11 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +15626 pull_request: https://github.com/python/cpython/pull/15999 ___ Python tracker ___ __

[issue37698] Update doc of PyBuffer_ToContiguous

2019-09-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset c62da14776d12276ed8f6ecbc74c0db8243b4260 by Stéphane Wirtel (Miss Islington (bot)) in branch '3.7': bpo-37698: Update doc of PyBuffer_ToContiguous (GH-14992) (GH-15998) https://github.com/python/cpython/commit/c62da14776d12276ed8f6ecbc74c0db8243

[issue37698] Update doc of PyBuffer_ToContiguous

2019-09-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 965e53a9deb1c7f02c68dee119eae94c3be8af15 by Stéphane Wirtel in branch '3.8': [3.8] bpo-37698: Update doc of PyBuffer_ToContiguous (GH-14992) (GH-15999) https://github.com/python/cpython/commit/965e53a9deb1c7f02c68dee119eae94c3be8af15 -

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-11 Thread miss-islington
miss-islington added the comment: New changeset cec68c31e8507159534b6eec3fb5d801cd3dbf8c by Miss Islington (bot) (Stéphane Wirtel) in branch '3.7': [3.7] bpo-38117: Test with OpenSSL 1.1.1d (GH-15983) (GH-15994) https://github.com/python/cpython/commit/cec68c31e8507159534b6eec3fb5d801cd3dbf8c

[issue37698] Update doc of PyBuffer_ToContiguous

2019-09-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thank you for your contribution -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue38117] Update to OpenSSL 1.1.1d, 1.1.0l, 1.0.2t

2019-09-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thank you for your contribution Christian ;-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37652] Multiprocessing shared_memory ValueError on race with ShareableList

2019-09-11 Thread Davin Potts
Davin Potts added the comment: Short responses to questions/comments from @bjs, followed by hopefully helpful further comments: > Are you supposed to ever use a raw SharedMemory buffer directly? Yes. > What atomicity guarantees are there for ShareableList operations and > read/write to th

[issue33983] unify types for lib2to3.pytree.Base.children

2019-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: Isn't children annotated as List in typeshed? -- ___ Python tracker ___ ___ Python-bugs-list m

[issue38122] AsyncMock force always creating an AsyncMock for child mocks

2019-09-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sorry, is there an example of this use case. I went through the issue but have trouble understanding it since there are different suggestions. I guess child mock is always an AsyncMock irrespective of sync/async as I understand. We already had some

[issue37652] Multiprocessing shared_memory ValueError on race with ShareableList

2019-09-11 Thread Davin Potts
Davin Potts added the comment: Apologies, one of the quotes in my previous response should have been attributed to @mental. I think @pierreglaser phrased it very nicely: > shared_memory is a low level python module. Precautions should be made when > handling concurrently the shared_memory ob

[issue26360] Deadlock in thread.join on Python 2.7/Mac OS X 10.9, 10.10

2019-09-11 Thread Kirill Smelkov
Kirill Smelkov added the comment: Maybe issue38106 related. -- nosy: +navytux ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue34634] New asyncio streams API

2019-09-11 Thread Andrew Svetlov
Andrew Svetlov added the comment: Yes, please do -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue37409] relative import without parent succeeds with builtins.__import__

2019-09-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The test is same as below and given that __spec__ an __name__ are passed as None where ImportWarning is raised in Lib/importlib/_bootstrap.py 1074 . can we just use self.assertWarns(ImportWarning) in the test? >>> __import__('', {'__package__': No

[issue34634] New asyncio streams API

2019-09-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Merge StreamWriter and StreamReader into just asyncio.Stream ___ Python tracker

[issue36270] DOC: Add link to sys.exc_info for "Reference Manual"

2019-09-11 Thread Julien Palard
Julien Palard added the comment: New changeset 9936371af298d465095ae70bc9c2943b4b16eac4 by Julien Palard (Björn Meier) in branch 'master': bpo-36270: Doc: add link to traceback object reference (GH-13119) https://github.com/python/cpython/commit/9936371af298d465095ae70bc9c2943b4b16eac4 -

[issue36270] DOC: Add link to sys.exc_info for "Reference Manual"

2019-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +15627 pull_request: https://github.com/python/cpython/pull/16002 ___ Python tracker ___ __

[issue34001] LibreSSL does not tolerate setting minimum_version greater than maximum_version

2019-09-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset d6ac67f48f5079efc3fa4be3316a9578edb56e0d by Stéphane Wirtel (Miss Islington (bot)) in branch '3.8': bpo-34001: Fix test_ssl with LibreSSL (GH-13783) (#15997) https://github.com/python/cpython/commit/d6ac67f48f5079efc3fa4be3316a9578edb56e0d ---

[issue38116] Make select module PEP-384 compatible

2019-09-11 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +christian.heimes type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue38099] __dict__ attribute is incorrectly stated to be read-only

2019-09-11 Thread Reed
Reed added the comment: Thank you for the clarification. I didn't realize the section only referred to types, but it makes sense now that I read the documentation more carefully. The documentation is still incorrect for certain attributes (e.g. __bases__ and __name__) as they can be mutated.

<    1   2   3   4   5   >