[issue45021] Race condition in thread.py

2021-08-30 Thread STINNER Victor
STINNER Victor added the comment: I don't understand anything about multiprocessing, nor its API, but some people seem to find it useful :-D I remove myself from the nosy list ;-) -- ___ Python tracker

[issue44449] Segfault in _PyTrash_begin when faulthandler tries to dump thread stacks

2021-08-30 Thread STINNER Victor
STINNER Victor added the comment: The bug should now be fixed in 3.9 and 3.10 branches. The main branch should not be impacted, it has a different implementation. Thanks for the bug report Duncan Grisby. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue44449] Segfault in _PyTrash_begin when faulthandler tries to dump thread stacks

2021-08-30 Thread miss-islington
miss-islington added the comment: New changeset 720aef48b558e68c07937f0cc8d62a60f23dcb3d by Miss Islington (bot) in branch '3.9': bpo-9: faulthandler don't modify frame refcnt (GH-27850) https://github.com/python/cpython/commit/720aef48b558e68c07937f0cc8d62a60f23dcb3d --

[issue34561] Replace list sorting merge_collapse()?

2021-08-30 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31299] Add "ignore_modules" option to TracebackException.format()

2021-08-30 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +26511 pull_request: https://github.com/python/cpython/pull/28067 ___ Python tracker ___

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-30 Thread Nikita Sobolev
Nikita Sobolev added the comment: Serhiy, yes, you are right. I guess, it is safe to assume that load-time/test-time might make a difference, especially with `_hashlib`. I've commited your suggestion, thanks a lot for your help! -- ___ Python

[issue41620] Python Unittest does not return results object when the test is skipped

2021-08-30 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for the report and initial patch, Iman! ✨  ✨ And thanks Serhiy for pushing this across the finish line. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue41620] Python Unittest does not return results object when the test is skipped

2021-08-30 Thread miss-islington
miss-islington added the comment: New changeset 243b8de0b15061704581974c0a27db1232a43b93 by Miss Islington (bot) in branch '3.10': bpo-41620: TestCase.run() now always return a TestResult instance (GH-28030) https://github.com/python/cpython/commit/243b8de0b15061704581974c0a27db1232a43b93

[issue41620] Python Unittest does not return results object when the test is skipped

2021-08-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0c5e0aa73f6f70d16d21ad9e1eb2d0fe3a334f0a by Miss Islington (bot) in branch '3.9': bpo-41620: TestCase.run() now always return a TestResult instance (GH-28030) (GH-28065)

[issue44394] [security] CVE-2013-0340 "Billion Laughs" fixed in Expat >=2.4.0: Update vendored copy to expat 2.4.1

2021-08-30 Thread STINNER Victor
STINNER Victor added the comment: I created https://python-security.readthedocs.io/vuln/expat-billion-laughs.html to track this vulnerability. -- ___ Python tracker ___

[issue44874] Deprecate Py_TRASHCAN_SAFE_BEGIN/END

2021-08-30 Thread STINNER Victor
STINNER Victor added the comment: Thanks Irit for making progress on this annoying old C API! -- nosy: +vstinner ___ Python tracker ___

[issue44449] Segfault in _PyTrash_begin when faulthandler tries to dump thread stacks

2021-08-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +26510 pull_request: https://github.com/python/cpython/pull/28066 ___ Python tracker

[issue44449] Segfault in _PyTrash_begin when faulthandler tries to dump thread stacks

2021-08-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset fe997e1a67835a929705c8c305d41c4d7dd326e3 by Victor Stinner in branch '3.10': bpo-9: faulthandler don't modify frame refcnt (GH-27850) https://github.com/python/cpython/commit/fe997e1a67835a929705c8c305d41c4d7dd326e3 --

[issue45007] OpenSSL 1.1.1l is released

2021-08-30 Thread Łukasz Langa
Łukasz Langa added the comment: CI as well as Windows and macOS installers upgraded to use 1.1.1l all the way to 3.8 inclusive. Closing. Thanks all! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is the implementation of the second option: def requires_hashdigest(digestname, openssl=None, usedforsecurity=True): def decorator(func): if isinstance(func, type): setUpClass = func.__dict__.get('setUpClass') if

[issue45007] OpenSSL 1.1.1l is released

2021-08-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 52bdda50d7b79e1ad7e57967850beff64c3ede92 by Łukasz Langa in branch '3.10': [3.10] bpo-45007: Update to OpenSSL 1.1.1l in Windows build and CI (GH-28009) (GH-28039) https://github.com/python/cpython/commit/52bdda50d7b79e1ad7e57967850beff64c3ede92

[issue41620] Python Unittest does not return results object when the test is skipped

2021-08-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 8.0 -> 9.0 pull_requests: +26508 pull_request: https://github.com/python/cpython/pull/28064 ___ Python tracker

[issue41620] Python Unittest does not return results object when the test is skipped

2021-08-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7e246a3a7b43762480ee4fe0cfb859e8e997a8c8 by Serhiy Storchaka in branch 'main': bpo-41620: TestCase.run() now always return a TestResult instance (GH-28030) https://github.com/python/cpython/commit/7e246a3a7b43762480ee4fe0cfb859e8e997a8c8

[issue41620] Python Unittest does not return results object when the test is skipped

2021-08-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +26509 pull_request: https://github.com/python/cpython/pull/28065 ___ Python tracker ___

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Nikita. The difference between the original and the proposed in PR 28060 code is that in the original code the conditional was tested at the testing time, while in the proposed code it is tested at the loading time. I do not know what effect

[issue45007] OpenSSL 1.1.1l is released

2021-08-30 Thread miss-islington
miss-islington added the comment: New changeset dc46f4c9846ad16567ab293b405efc3ed10ab9d5 by Miss Islington (bot) in branch '3.10': bpo-45007: Update multissl to openssl 1.1.1l as well (GH-28044) https://github.com/python/cpython/commit/dc46f4c9846ad16567ab293b405efc3ed10ab9d5 --

[issue45007] OpenSSL 1.1.1l is released

2021-08-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 8371290753bed7fbb939a51ea7ff0991ea32a89c by Christian Heimes in branch '3.8': [3.8] bpo-45007: Update multissl to openssl 1.1.1l as well (GH-28044) (GH-28063) https://github.com/python/cpython/commit/8371290753bed7fbb939a51ea7ff0991ea32a89c

[issue45007] OpenSSL 1.1.1l is released

2021-08-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 576803d7a8083cb25c58be08d3cb31e05d5d2f8a by Christian Heimes in branch '3.9': [3.9] bpo-45007: Update multissl to openssl 1.1.1l as well (GH-28044) (GH-28062) https://github.com/python/cpython/commit/576803d7a8083cb25c58be08d3cb31e05d5d2f8a

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-30 Thread Nikita Sobolev
Nikita Sobolev added the comment: Looks like it did, two newly-unignored tests are failing: https://github.com/python/cpython/pull/28060#issuecomment-908295411 пн, 30 авг. 2021 г. в 15:16, Antoine Pitrou : > > Antoine Pitrou added the comment: > > Wow. I hope this didn't hide any regression

[issue45007] OpenSSL 1.1.1l is released

2021-08-30 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +26507 pull_request: https://github.com/python/cpython/pull/28063 ___ Python tracker ___

[issue45007] OpenSSL 1.1.1l is released

2021-08-30 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +26506 pull_request: https://github.com/python/cpython/pull/28062 ___ Python tracker ___

[issue45007] OpenSSL 1.1.1l is released

2021-08-30 Thread miss-islington
miss-islington added the comment: New changeset d6cb5dd9e19210f5963ff8beadde7ca2fda71574 by Łukasz Langa in branch 'main': bpo-45007: Update multissl to openssl 1.1.1l as well (GH-28044) https://github.com/python/cpython/commit/d6cb5dd9e19210f5963ff8beadde7ca2fda71574 --

[issue45007] OpenSSL 1.1.1l is released

2021-08-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +26505 pull_request: https://github.com/python/cpython/pull/28061 ___ Python tracker ___

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Wow. I hope this didn't hide any regression :-( -- ___ Python tracker ___ ___ Python-bugs-list

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-30 Thread Nikita Sobolev
Change by Nikita Sobolev : -- keywords: +patch pull_requests: +26504 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28060 ___ Python tracker ___

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-30 Thread Nikita Sobolev
Nikita Sobolev added the comment: Looks like that this happens because tests classes are decorated with `@hashlib_helper.requires_hashdigest('md5')`: https://github.com/python/cpython/blob/2a8127cafe1d196f858a3ecabf5f1df3eebf9a12/Lib/test/_test_multiprocessing.py#L4482-L4485 Tests above run

[issue45045] Optimize mapping patterns of structural pattern matching

2021-08-30 Thread Dong-hee Na
Dong-hee Na added the comment: For the record, Final benchmark with optimization build + thin LTO option. +---+---+--+ | Benchmark | thin_lto_base | thin_lto_opt | +===+===+==+ | bench pattern

[issue45045] Optimize mapping patterns of structural pattern matching

2021-08-30 Thread Dong-hee Na
Change by Dong-hee Na : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue45045] Optimize mapping patterns of structural pattern matching

2021-08-30 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset e6497fe698f6e87344501a68ffdea106eafcb257 by Dong-hee Na in branch 'main': bpo-45045: Optimize mapping patterns of structural pattern matching (GH-28043) https://github.com/python/cpython/commit/e6497fe698f6e87344501a68ffdea106eafcb257 --

[issue45007] OpenSSL 1.1.1l is released

2021-08-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1f89e51fef8f4c15a719fbb3d1cec8ca7e2bc46f by Miss Islington (bot) in branch '3.8': bpo-45007: Update macOS installer builds to use OpenSSL 1.1.1l (GH-28051) (GH-28059)

[issue45007] OpenSSL 1.1.1l is released

2021-08-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +26503 pull_request: https://github.com/python/cpython/pull/28059 ___ Python tracker ___

[issue45048] subprocess.run(capture_output=Bool) does the opposite of expected

2021-08-30 Thread DragonEggBedrockBreaking
DragonEggBedrockBreaking added the comment: Ok, thanks, I understand now. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue39320] Handle unpacking of */** arguments and rvalues in the compiler

2021-08-30 Thread Mark Shannon
Change by Mark Shannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44689] ctypes.util.find_library() does not find macOS 11+ system libraries when built on older macOS systems

2021-08-30 Thread miss-islington
miss-islington added the comment: New changeset 41c87c41761739e90867a43de26e0f6755c80ff7 by Miss Islington (bot) in branch '3.10': bpo-44689: ctypes.util.find_library() now finds macOS 11+ system libraries when built on older macOS systems (GH-27251)

[issue44689] ctypes.util.find_library() does not find macOS 11+ system libraries when built on older macOS systems

2021-08-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 4b55837e7c747e0f3bd2df1b5c8996ce86c6f60a by Miss Islington (bot) in branch '3.9': bpo-44689: ctypes.util.find_library() now finds macOS 11+ system libraries when built on older macOS systems (GH-27251) (GH-28053)

[issue44689] ctypes.util.find_library() does not find macOS 11+ system libraries when built on older macOS systems

2021-08-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7234e67642bc8e75f44a2e1f2ce06687b5ac72ec by Miss Islington (bot) in branch '3.8': bpo-44689: ctypes.util.find_library() now finds macOS 11+ system libraries when built on older macOS systems (GH-27251) (GH-28054)

[issue45049] added cbrt() in MATH_RADIANS_METHODDEF which is missing before

2021-08-30 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : We do not need a duplicate of function declaration. -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue45047] Update demo files

2021-08-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are currently many resources in internet where you can find examples and demos on Python. The CPython distribution should not include every piece of code written by Python learner. You can publish it on GitHab, on StackOverflow, on more specialized

[issue45049] added cbrt() in MATH_RADIANS_METHODDEF which is missing before

2021-08-30 Thread Ayush Parikh
Change by Ayush Parikh : -- nosy: Ayushparikh-code priority: normal pull_requests: 26502 severity: normal status: open title: added cbrt() in MATH_RADIANS_METHODDEF which is missing before type: enhancement ___ Python tracker

[issue44919] TypedDict subtypes ignore any other metaclasses in 3.9+

2021-08-30 Thread Yurii Karabas
Change by Yurii Karabas <1998uri...@gmail.com>: -- keywords: +patch nosy: +uriyyo nosy_count: 1.0 -> 2.0 pull_requests: +26501 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28057 ___ Python tracker

[issue45025] Reliance on C bit fields in C API is undefined behavior

2021-08-30 Thread Georg Brandl
Change by Georg Brandl : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22393] multiprocessing.Pool shouldn't hang forever if a worker process dies unexpectedly

2021-08-30 Thread Ruairidh MacLeod
Change by Ruairidh MacLeod : -- nosy: +rkm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45025] Reliance on C bit fields in C API is undefined behavior

2021-08-30 Thread Georg Brandl
Change by Georg Brandl : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45047] Update demo files

2021-08-30 Thread Irit Katriel
Irit Katriel added the comment: The demos directory is described as follows: “This directory contains a collection of demonstration scripts for various aspects of Python programming.“ Which aspect of python programming does the rat in a maze demo cover which is not already covered by the

[issue36521] Consider removing docstrings from co_consts in code objects

2021-08-30 Thread Irit Katriel
Irit Katriel added the comment: Are you suggesting that anyone who calls PyFunction_New needs to add a doc string assignment following the call? This is public api, so that would break people’s working code. -- ___ Python tracker

[issue45007] OpenSSL 1.1.1l is released

2021-08-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +26500 pull_request: https://github.com/python/cpython/pull/28056 ___ Python tracker ___

[issue45007] OpenSSL 1.1.1l is released

2021-08-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 9.0 -> 10.0 pull_requests: +26499 pull_request: https://github.com/python/cpython/pull/28055 ___ Python tracker

[issue44689] ctypes.util.find_library() does not find macOS 11+ system libraries when built on older macOS systems

2021-08-30 Thread Ned Deily
Change by Ned Deily : -- assignee: -> ned.deily stage: patch review -> commit review title: MacOS: Python binaries not portable between Catalina and Big Sur -> ctypes.util.find_library() does not find macOS 11+ system libraries when built on older macOS systems versions: +Python 3.8

[issue44689] MacOS: Python binaries not portable between Catalina and Big Sur

2021-08-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +26498 pull_request: https://github.com/python/cpython/pull/28054 ___ Python tracker ___

[issue44689] MacOS: Python binaries not portable between Catalina and Big Sur

2021-08-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +26497 pull_request: https://github.com/python/cpython/pull/28053 ___ Python tracker ___

[issue44689] MacOS: Python binaries not portable between Catalina and Big Sur

2021-08-30 Thread miss-islington
Change by miss-islington : -- keywords: +patch nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +26496 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/28052 ___ Python tracker

[issue44689] MacOS: Python binaries not portable between Catalina and Big Sur

2021-08-30 Thread Ned Deily
Ned Deily added the comment: New changeset 71853a73024a98aa38a3c0444fe364dbd9709134 by Tobias Bergkvist in branch 'main': bpo-44689: ctypes.util.find_library() now finds macOS 11+ system libraries when built on older macOS systems (#27251)

[issue45007] OpenSSL 1.1.1l is released

2021-08-30 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +26495 pull_request: https://github.com/python/cpython/pull/28051 ___ Python tracker ___

[issue45047] Update demo files

2021-08-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: This submission is somewhat similar to #45037 more promising. It at least needs more explanation as to what it contributes that is not already present. Plus see review comment. (This part of my previous answer still applies: "When responding by email,

[issue25894] unittest subTest failure causes result to be omitted from listing

2021-08-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Were not subtests proposed as a more flexible replacement of parametrized tests? I think that every subtest should be counted as a separate test case: in verbose mode it should output a separate line and in non-verbose mode it should output a separate

<    1   2