[issue45386] xmlrpc.client unimportable due to strfmt ValueError

2021-10-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f40b230df91f29fa4a84c1d127b4eab56a6eda27 by Miss Islington (bot) in branch '3.10': bpo-45386: Handle strftime's ValueError graciously in xmlrpc.client (GH-28765) (GH-28934) https://github.com/python/cpython/commit

[issue24444] In argparse empty choices cannot be printed in the help

2021-10-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset fd2be6da2ffec2301a58aefa92f17f0c567fbc55 by Miss Islington (bot) in branch '3.10': bpo-2: fix an error in argparse help when help for an option is blank (GH-28050) (GH-28931) https://github.com/python/cpython/commit

[issue45239] email.utils.parsedate_tz raises UnboundLocalError if time has more than 2 dots in it

2021-10-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f8473f6f7603f8cc3307d4cb853587be41b3 by Łukasz Langa in branch '3.10': [3.10] bpo-45239: Fix parsedate_tz when time has more than 2 dots in it (GH-28452) (GH-28930) https://github.com/python/cpython/commit

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 5d747130933a25a3984f78ae32d2e74a0d2dc5d1 by Łukasz Langa in branch '3.9': [3.9] bpo-45229: Make tkinter tests discoverable (GH-28637) (GH-28929) https://github.com/python/cpython/commit/5d747130933a25a3984f78ae32d2e74a0d2dc5d1

[issue45239] email.utils.parsedate_tz raises UnboundLocalError if time has more than 2 dots in it

2021-10-13 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Ben! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior versions: +Python 3.11 ___ Python tracker <https://bugs.python

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 151234f5da4b1922e3d91233a6eddda92d7269b0 by Miss Islington (bot) in branch '3.10': bpo-45229: Make tkinter tests discoverable (GH-28637) (GH-28927) https://github.com/python/cpython/commit/151234f5da4b1922e3d91233a6eddda92d7269b0

[issue45239] email.utils.parsedate_tz raises UnboundLocalError if time has more than 2 dots in it

2021-10-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 5638618845752f713c00d69dbe705fed16761948 by Miss Islington (bot) in branch '3.9': bpo-45239: Fix parsedate_tz when time has more than 2 dots in it (GH-28452) (GH-28928) https://github.com/python/cpython/commit

[issue45386] xmlrpc.client unimportable due to strfmt ValueError

2021-10-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1c831353816ff699b54e804047a7242a09e98f5b by rtobar in branch 'main': bpo-45386: Handle strftime's ValueError graciously in xmlrpc.client (GH-28765) https://github.com/python/cpython/commit/1c831353816ff699b54e804047a7242a09e98f5b -- nosy

[issue24444] In argparse empty choices cannot be printed in the help

2021-10-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 6fafc25aea8689048314b5bf7a9bb986bb1ce238 by andrei kulakov in branch 'main': bpo-2: fix an error in argparse help when help for an option is blank (GH-28050) https://github.com/python/cpython/commit/6fafc25aea8689048314b5bf7a9bb986bb1ce238

[issue45239] email.utils.parsedate_tz raises UnboundLocalError if time has more than 2 dots in it

2021-10-13 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +27219 pull_request: https://github.com/python/cpython/pull/28930 ___ Python tracker <https://bugs.python.org/issue45

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-13 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +27218 pull_request: https://github.com/python/cpython/pull/28929 ___ Python tracker <https://bugs.python.org/issue45

[issue45239] email.utils.parsedate_tz raises UnboundLocalError if time has more than 2 dots in it

2021-10-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b9e687618d3489944f29adbd2be50b46940c9e70 by Ben Hoyt in branch 'main': bpo-45239: Fix parsedate_tz when time has more than 2 dots in it (GH-28452) https://github.com/python/cpython/commit/b9e687618d3489944f29adbd2be50b46940c9e70 -- nosy

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f59ed3c310a7ceebf2a56a84ea969a7f75d95b64 by Serhiy Storchaka in branch 'main': bpo-45229: Make tkinter tests discoverable (GH-28637) https://github.com/python/cpython/commit/f59ed3c310a7ceebf2a56a84ea969a7f75d95b64

[issue45416] "loop argument must agree with lock" instantiating asyncio.Condition

2021-10-08 Thread Łukasz Langa
Łukasz Langa added the comment: Issue confirmed. The problem is that `Condition.__init__` compares its own loop with Lock's internal `_loop` attribute. That attribute is set to None unless the lock waited to be acquired. uriyyo, Andrew, Yury, since it's pretty likely that Lock objects

[issue45408] [fuzzer] Weird input with continuation and newlines causes null deref in parser

2021-10-07 Thread Łukasz Langa
Łukasz Langa added the comment: Confirmed in 3.10 and 3.11: >>> ast.literal_eval(r'''\ ... \ ... (\ ... \ ''') fish: Job 1, 'python' terminated by signal SIGSEGV (Address boundary error) 3.9 raises SyntaxError: >>> ast.literal_eval(r''' ... \ ... (\ ... \ ''') Traceback

[issue45328] http.client.HTTPConnection doesn't work without TCP_NODELAY

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, rtobar! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45328] http.client.HTTPConnection doesn't work without TCP_NODELAY

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 92018a08240308c5beef9ccc712bef5c2e582926 by Miss Islington (bot) in branch '3.9': bpo-45328: Avoid failure in OSs without TCP_NODELAY support (GH-28646) (GH-28770) https://github.com/python/cpython/commit/92018a08240308c5beef9ccc712bef5c2e582926

[issue45328] http.client.HTTPConnection doesn't work without TCP_NODELAY

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 4c35a2aa80d7f55573d83651883d8733fac01e31 by Miss Islington (bot) in branch '3.10': bpo-45328: Avoid failure in OSs without TCP_NODELAY support (GH-28646) (GH-28771) https://github.com/python/cpython/commit/4c35a2aa80d7f55573d83651883d8733fac01e31

[issue45328] http.client.HTTPConnection doesn't work without TCP_NODELAY

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0571b934f5f9198c3461a7b631d7073ac0a5676f by rtobar in branch 'main': bpo-45328: Avoid failure in OSs without TCP_NODELAY support (GH-28646) https://github.com/python/cpython/commit/0571b934f5f9198c3461a7b631d7073ac0a5676f -- nosy

[issue45328] http.client.HTTPConnection doesn't work without TCP_NODELAY

2021-10-06 Thread Łukasz Langa
Change by Łukasz Langa : -- versions: +Python 3.11, Python 3.9 ___ Python tracker <https://bugs.python.org/issue45328> ___ ___ Python-bugs-list mailing list Unsub

[issue40321] urllib.request does not support HTTP response status code 308

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: Senthil, we can't be backporting new APIs to bugfix versions. I took care of updating tests and docs (versionadded), thanks for the code review. Thanks for the fix, Jochem! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status

[issue40321] urllib.request does not support HTTP response status code 308

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f528045f695f7483d955a1eae4c1df68b1b4cacd by Łukasz Langa in branch 'main': bpo-40321: Add missing test, slightly expand documentation (GH-28760) https://github.com/python/cpython/commit/f528045f695f7483d955a1eae4c1df68b1b4cacd

[issue34804] Repetition of 'for example' in documentation

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Diana! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11, Python 3.9 ___ Python tracker <https://bugs.python.or

[issue34804] Repetition of 'for example' in documentation

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 496d1aa0b84466cc9b11f4f3b90cee93af1f393e by Miss Islington (bot) in branch '3.9': bpo-34804: [doc] Rephrase section on side effects in functional.rst for clarity (GH-27989) (GH-28763) https://github.com/python/cpython/commit

[issue34804] Repetition of 'for example' in documentation

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset dcdeb96495fa105098544e2be7b74fa288589912 by Miss Islington (bot) in branch '3.10': bpo-34804: [doc] Rephrase section on side effects in functional.rst for clarity (GH-27989) (GH-28762) https://github.com/python/cpython/commit

[issue45391] 3.10 objects.inv classifies UnionType as data

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: On the PR you mention there's more types with this problem. Can we get a full list? -- nosy: +lukasz.langa ___ Python tracker <https://bugs.python.org/issue45

[issue34804] Repetition of 'for example' in documentation

2021-10-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7af95a1e8097b2aab2cbe8de88727809e745b658 by DonnaDia in branch 'main': bpo-34804: [doc] Rephrase section on side effects in functional.rst for clarity (GH-27989) https://github.com/python/cpython/commit/7af95a1e8097b2aab2cbe8de88727809e745b658

[issue40321] urllib.request does not support HTTP response status code 308

2021-10-06 Thread Łukasz Langa
Change by Łukasz Langa : -- nosy: +lukasz.langa nosy_count: 5.0 -> 6.0 pull_requests: +27101 pull_request: https://github.com/python/cpython/pull/28760 ___ Python tracker <https://bugs.python.org/issu

[issue45343] Update bundled pip to 21.2.4 and setuptools to 58.1.0

2021-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45343] Update bundled pip to 21.2.4 and setuptools to 58.1.0

2021-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1374459c9088725e022beab418bced96a825baad by Łukasz Langa in branch '3.9': [3.9] bpo-45343: Update bundled pip to 21.2.4 and setuptools to 58.1.0 (GH-28684) (GH-28747) https://github.com/python/cpython/commit

[issue45343] Update bundled pip to 21.2.4 and setuptools to 58.1.0

2021-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 325e4647afffe347cc20747f3dccc6ba9e782636 by Miss Islington (bot) in branch '3.10': bpo-45343: Update bundled pip to 21.2.4 and setuptools to 58.1.0 (GH-28684) (GH-28746) https://github.com/python/cpython/commit

[issue45343] Update bundled pip to 21.2.4 and setuptools to 58.1.0

2021-10-05 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +27092 pull_request: https://github.com/python/cpython/pull/28747 ___ Python tracker <https://bugs.python.org/issue45

[issue45343] Update bundled pip to 21.2.4 and setuptools to 58.1.0

2021-10-05 Thread Łukasz Langa
New submission from Łukasz Langa : New changeset 4c8d543823dde5a30615da61727837a48f7ab847 by Illia Volochii in branch 'main': bpo-45343: Update bundled pip to 21.2.4 and setuptools to 58.1.0 (GH-28684) https://github.com/python/cpython/commit/4c8d543823dde5a30615da61727837a48f7ab847

[issue44050] [subinterpreters] _PyImport_FixupExtensionObject() regression in Python 3.9

2021-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Hai Shi! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue44050] [subinterpreters] _PyImport_FixupExtensionObject() regression in Python 3.9

2021-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 52d9d3b75441ae6038fadead89eac5eecdd34501 by Łukasz Langa in branch '3.9': [3.9] bpo-44050: Extension modules can share state when they don't support sub-interpreters. (GH-27794) (GH-28741) https://github.com/python/cpython/commit

[issue42327] Add PyModule_Add()

2021-10-05 Thread Łukasz Langa
Change by Łukasz Langa : -- nosy: +lukasz.langa nosy_count: 3.0 -> 4.0 pull_requests: +27089 pull_request: https://github.com/python/cpython/pull/28741 ___ Python tracker <https://bugs.python.org/issu

[issue44050] [subinterpreters] _PyImport_FixupExtensionObject() regression in Python 3.9

2021-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d0d29655ffc43d426ad68542d8de8304f7f1346a by Miss Islington (bot) in branch '3.10': bpo-44050: Extension modules can share state when they don't support sub-interpreters. (GH-27794) (GH-28738) https://github.com/python/cpython/commit

[issue44050] [subinterpreters] _PyImport_FixupExtensionObject() regression in Python 3.9

2021-10-05 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +27088 pull_request: https://github.com/python/cpython/pull/28741 ___ Python tracker <https://bugs.python.org/issue44

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 2cf76cf4ccd177b8d6d2bf21b5462258ae87522d by Łukasz Langa in branch '3.9': Revert "bpo-45229: Make datetime tests discoverable (GH-28615). (GH-28645)" (GH-28660) https://github.com/python/cpython/commit/2cf76cf4ccd177b8d6d2bf21b54622

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-30 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +27025 pull_request: https://github.com/python/cpython/pull/28660 ___ Python tracker <https://bugs.python.org/issue45

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

2021-09-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 90004fca1cc3c6e3c9b2c3faae5cb1b7d7711648 by Miss Islington (bot) in branch '3.8': [3.8] bpo-44394: Ensure libexpat is linked against libm (GH-28617) (GH-28620) https://github.com/python/cpython/commit/90004fca1cc3c6e3c9b2c3faae5cb1b7d7711648

[issue45320] Remove deprecated inspect functions

2021-09-29 Thread Łukasz Langa
Łukasz Langa added the comment: Have you done any checks how much external code is using the deprecated callables in the wild? I remember when the 3.5 deprecations started, a lot of libraries started emitting them because they stuck to `getargspec` which was Python 2 compatible

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

2021-09-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 412ae8ab10734b72384c969181919cc4eb154406 by Miss Islington (bot) in branch '3.10': [3.10] bpo-44394: Ensure libexpat is linked against libm (GH-28617) (GH-28621) https://github.com/python/cpython/commit/412ae8ab10734b72384c969181919cc4eb154406

[issue45220] Windows builds sometimes fail on Azure and GitHub Action: fatal error RC1116: RC terminating after preprocessor errors

2021-09-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 456d6d9fefac828c19fc1b562f6301f00965fe59 by Miss Islington (bot) in branch '3.8': bpo-45220: Avoid automatically selecting the Windows 11 SDK preview when building (GH-28393) (GH-28622) https://github.com/python/cpython/commit

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

2021-09-29 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26996 pull_request: https://github.com/python/cpython/pull/28624 ___ Python tracker <https://bugs.python.org/issue44

[issue44896] AttributeError in ast.unparse

2021-09-29 Thread Łukasz Langa
Łukasz Langa added the comment: Sorry, I think we shouldn't be changing `ast.py` this way. To reiterate my review comment from the PR: I think we should just let this go and instead advertise that if you put new synthetic nodes in a tree, you have to either: - provide `lineno

[issue45291] Some instructions in the "Using Python on Unix platforms" document do no work on CentOS 7

2021-09-29 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Yiyang Zhan! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/i

[issue45291] Some instructions in the "Using Python on Unix platforms" document do no work on CentOS 7

2021-09-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 02fdd73a19464bafe9e5f98ecd17fd0a634c3f20 by Miss Islington (bot) in branch '3.10': bpo-45291: Explicitly set --libdir=lib when configure OpenSSL (GH-28566) (GH-28616) https://github.com/python/cpython/commit

[issue39039] zlib.error with tarfile.open

2021-09-29 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for the fix, Jack! ✨  ✨ Since the change translated `zlib.error` to `tarfile.ReadError` which already has to be handled by user code, it's strictly decreasing the surface of necessary exception handling. So, treating this as a bug fix, I backported

[issue39039] zlib.error with tarfile.open

2021-09-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7bff4d396f20451f20977be3ce23a879c6bc3e46 by Łukasz Langa in branch '3.9': [3.9] bpo-39039: tarfile raises descriptive exception from zlib.error (GH-27766) (GH-28614) https://github.com/python/cpython/commit

[issue45291] Some instructions in the "Using Python on Unix platforms" document do no work on CentOS 7

2021-09-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset bc4cde40339dd372960f27401d8fdaa4dab0f469 by zhanpon in branch 'main': bpo-45291: Explicitly set --libdir=lib when configure OpenSSL (GH-28566) https://github.com/python/cpython/commit/bc4cde40339dd372960f27401d8fdaa4dab0f469 -- nosy

[issue39039] zlib.error with tarfile.open

2021-09-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d6b69f21d8ec4af47a9c79f3f50d20be3d0875fc by Łukasz Langa in branch '3.10': [3.10] bpo-39039: tarfile raises descriptive exception from zlib.error (GH-27766) (GH-28613) https://github.com/python/cpython/commit

[issue39717] Fix exception causes in tarfile module

2021-09-29 Thread Łukasz Langa
Change by Łukasz Langa : -- nosy: +lukasz.langa nosy_count: 5.0 -> 6.0 pull_requests: +26985 pull_request: https://github.com/python/cpython/pull/28614 ___ Python tracker <https://bugs.python.org/issu

[issue39039] zlib.error with tarfile.open

2021-09-29 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26984 pull_request: https://github.com/python/cpython/pull/28614 ___ Python tracker <https://bugs.python.org/issue39

[issue39039] zlib.error with tarfile.open

2021-09-29 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26983 pull_request: https://github.com/python/cpython/pull/28613 ___ Python tracker <https://bugs.python.org/issue39

[issue39039] zlib.error with tarfile.open

2021-09-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b6fe8572509b77d2002eaddf99d718e9b4835684 by Jack DeVries in branch 'main': bpo-39039: tarfile raises descriptive exception from zlib.error (GH-27766) https://github.com/python/cpython/commit/b6fe8572509b77d2002eaddf99d718e9b4835684

[issue45269] c_make_encoder() has uncovered error: "argument 1 must be dict or None"

2021-09-28 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Nikita! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45269] c_make_encoder() has uncovered error: "argument 1 must be dict or None"

2021-09-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1cb17be3e6a4d94629606a613acd07f78d50348b by Miss Islington (bot) in branch '3.10': bpo-45269: test wrong `markers` type to `c_make_encoder` (GH-28540) (GH-28609) https://github.com/python/cpython/commit/1cb17be3e6a4d94629606a613acd07f78d50348b

[issue45269] c_make_encoder() has uncovered error: "argument 1 must be dict or None"

2021-09-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c6b5ceae3475d7782ed88f4e54bdb2232a8eb088 by Miss Islington (bot) in branch '3.9': bpo-45269: test wrong `markers` type to `c_make_encoder` (GH-28540) (GH-28610) https://github.com/python/cpython/commit/c6b5ceae3475d7782ed88f4e54bdb2232a8eb088

[issue45269] c_make_encoder() has uncovered error: "argument 1 must be dict or None"

2021-09-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e046aabbe386fdf32bae6ffb7fae5ce479fd10c6 by Nikita Sobolev in branch 'main': bpo-45269: test wrong `markers` type to `c_make_encoder` (GH-28540) https://github.com/python/cpython/commit/e046aabbe386fdf32bae6ffb7fae5ce479fd10c6 -- nosy

[issue45307] Removal of _PyImport_FindExtensionObject() in 3.10 limits custom extension module loaders

2021-09-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset ec4e2ec241acb3bf4e04a351c06c0b05a1e4b7d2 by Serhiy Storchaka in branch '3.10': [3.10] bpo-45307: Restore private C API function _PyImport_FindExtensionObject() (GH-28594) https://github.com/python/cpython/commit

[issue35606] Add prod() function to the math module

2021-09-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset cd00fee8dd63bc3a1360280f55640409cb579a05 by Miss Islington (bot) in branch '3.9': bpo-35606: Fix math.prod tests using 'start' as keyword parameter (GH-28595) (GH-28604) https://github.com/python/cpython/commit

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

2021-09-28 Thread Łukasz Langa
Łukasz Langa added the comment: The change to disallow this in Python 3.9 was deliberate, see BPO-40187 and its description. Your attempt to make `isinstance()` work with TypedDict subclasses goes directly against this design. In fact, PEP 589 explicitly says that: - Methods are not allowed

[issue45296] IDLE: Change Ctrl-Z note in exit/quit repr on Windows

2021-09-28 Thread Łukasz Langa
Łukasz Langa added the comment: The wording chosen by Terry, i.e. "Ctrl-D (end-of-file)", is pretty clear. Merged and fixed. Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Pyt

[issue45296] IDLE: Change Ctrl-Z note in exit/quit repr on Windows

2021-09-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset acd46feff3c06d3f1d00ab850e530c519445a737 by Miss Islington (bot) in branch '3.10': bpo-45296: Fix exit/quit message on Windows (GH-28577) (GH-28600) https://github.com/python/cpython/commit/acd46feff3c06d3f1d00ab850e530c519445a737

[issue45296] IDLE: Change Ctrl-Z note in exit/quit repr on Windows

2021-09-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 813fbba4cab4556e55d6044c05725a26ec20b648 by Miss Islington (bot) in branch '3.9': bpo-45296: Fix exit/quit message on Windows (GH-28577) (GH-28601) https://github.com/python/cpython/commit/813fbba4cab4556e55d6044c05725a26ec20b648

[issue45254] HAS_SHMEM detection logic is duplicated in implementation and tests

2021-09-28 Thread Łukasz Langa
Łukasz Langa added the comment: The logic is currently duplicated because trying to import `shared_memory` is how support discovery is supposed to work in user code. `multiprocessing.managers` doesn't export HAS_SHMEM (it's not in `__all__` and it's not documented). Making tests rely

[issue45296] IDLE: Change Ctrl-Z note in exit/quit repr on Windows

2021-09-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e649e0658ff2af87b07d994c05ae048e16e31aae by Terry Jan Reedy in branch 'main': bpo-45296: Fix exit/quit message on Windows (GH-28577) https://github.com/python/cpython/commit/e649e0658ff2af87b07d994c05ae048e16e31aae -- nosy: +lukasz.langa

[issue45026] More compact range iterator

2021-09-27 Thread Łukasz Langa
Łukasz Langa added the comment: Well, this is kind of disappointing on my end. I attach the full result of a three-way comparison between `main` at the time of Serhiy's last merge (3f8b23f8ddab75d9b77a3997d54e663187e12cc8) with GH-27986 (20e3149c175a24466c7d1c352f8ff2c11effc489) and GH-28176

[issue45026] More compact range iterator

2021-09-27 Thread Łukasz Langa
Łukasz Langa added the comment: Benchmarks for PGO builds on macOS 10.15 Catalina, Intel MBP 2018. Like in Dennis' case, 20e3149c175a24466c7d1c352f8ff2c11effc489 is GH-27986 and cffa90a8b0057d7e7456571045f2fb7b9ceb426f is GH-28176. The difference is that `it_` benchmarks create the iterator

[issue45026] More compact range iterator

2021-09-27 Thread Łukasz Langa
Łukasz Langa added the comment: Dennis, run your benchmarks with --rigorous to avoid "Benchmark hidden because not significant". I note that the second and third benchmarks aren't useful as written because the iterators are exhausted after first repetition. I could see this in m

[issue45280] Empty typing.NamedTuple creation is not tested

2021-09-26 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Nikita! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45280] Empty typing.NamedTuple creation is not tested

2021-09-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d452b2963ba91d6bce29bb96733ed8bd1c0448b0 by Miss Islington (bot) in branch '3.10': bpo-45280: Add test for empty `NamedTuple` in `test_typing` (GH-28559) (GH-28571) https://github.com/python/cpython/commit/d452b2963ba91d6bce29bb96733ed8bd1c0448b0

[issue45280] Empty typing.NamedTuple creation is not tested

2021-09-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 08e387ab82331230d7f6608e949723d8a8e09229 by Miss Islington (bot) in branch '3.9': bpo-45280: Add test for empty `NamedTuple` in `test_typing` (GH-28559) (GH-28570) https://github.com/python/cpython/commit/08e387ab82331230d7f6608e949723d8a8e09229

[issue45283] Top / function argument level ClassVar should not be allowed during `get_type_hints()`

2021-09-26 Thread Łukasz Langa
Łukasz Langa added the comment: > Is it an official position? No, we need to decide what will happen to PEP 563 and PEP 649 in Python 3.11. -- nosy: +lukasz.langa ___ Python tracker <https://bugs.python.org/issu

[issue45280] Empty typing.NamedTuple creation is not tested

2021-09-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f56268a2cd38b3fe2be1e4361d3d8b581e73559b by Nikita Sobolev in branch 'main': bpo-45280: Add test for empty `NamedTuple` in `test_typing` (GH-28559) https://github.com/python/cpython/commit/f56268a2cd38b3fe2be1e4361d3d8b581e73559b -- nosy

[issue43914] Highlight invalid ranges in SyntaxErrors

2021-09-25 Thread Łukasz Langa
Łukasz Langa added the comment: This is complete now. Thanks! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 ___ Python tracker <https://bugs.python.or

[issue43914] Highlight invalid ranges in SyntaxErrors

2021-09-25 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c523022ba8f81a3661b4ac8be81706ed095d5769 by Łukasz Langa in branch '3.10': [3.10] bpo-43914: What's New 3.10: add new SyntaxError attributes (GH-28558) (GH-28562) https://github.com/python/cpython/commit/c523022ba8f81a3661b4ac8be81706ed095d5769

[issue45166] get_type_hints + Final + future annotations = TypeError

2021-09-25 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for the report Timothee, and Nikita for the fix! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45166] get_type_hints + Final + future annotations = TypeError

2021-09-25 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1f08d16c90b6619607fe0656328062ab986cce29 by Łukasz Langa in branch '3.9': [3.9] bpo-45166: fixes `get_type_hints` failure on `Final` (GH-28279) (GH-28561) https://github.com/python/cpython/commit/1f08d16c90b6619607fe0656328062ab986cce29

[issue45166] get_type_hints + Final + future annotations = TypeError

2021-09-25 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d312b8516e11027ce97897d39764e242f0f57087 by Miss Islington (bot) in branch '3.10': bpo-45166: fixes `get_type_hints` failure on `Final` (GH-28279) (GH-28560) https://github.com/python/cpython/commit/d312b8516e11027ce97897d39764e242f0f57087

[issue43914] Highlight invalid ranges in SyntaxErrors

2021-09-25 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26945 pull_request: https://github.com/python/cpython/pull/28562 ___ Python tracker <https://bugs.python.org/issue43

[issue43914] Highlight invalid ranges in SyntaxErrors

2021-09-25 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 71f8ff45c62bd6b792919ac7c3804a8628ae12cb by Terry Jan Reedy in branch 'main': bpo-43914: Whats New 310: add new SyntaxError attributes (GH-28558) https://github.com/python/cpython/commit/71f8ff45c62bd6b792919ac7c3804a8628ae12cb -- nosy

[issue45166] get_type_hints + Final + future annotations = TypeError

2021-09-25 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26944 pull_request: https://github.com/python/cpython/pull/28561 ___ Python tracker <https://bugs.python.org/issue45

[issue45166] get_type_hints + Final + future annotations = TypeError

2021-09-25 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 784905dbeff68cf788bbeefe0a675af1af04affc by Nikita Sobolev in branch 'main': bpo-45166: fixes `get_type_hints` failure on `Final` (GH-28279) https://github.com/python/cpython/commit/784905dbeff68cf788bbeefe0a675af1af04affc -- nosy

[issue35921] Use ccache by default

2021-09-24 Thread Łukasz Langa
Łukasz Langa added the comment: It seems to me like the consensus is to not alter CPython's build files because ccache is supposed to be used through its `cc`/`gcc` compiler wrappers. Those can be provided to a ./configure run either by modifying PATH to include the directory

[issue45026] More compact range iterator

2021-09-24 Thread Łukasz Langa
Łukasz Langa added the comment: Serhiy, right: looks like the difference stems from recreating the range objects, not from iteration. But Dennis' observation still stands: using `for i in range(...):` is a very popular idiom. If that becomes slower than the status quo, we will be making

[issue30951] Documentation error in inspect module

2021-09-24 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Alex! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior versions: +Python 3.10, Python 3.11 -Python 3.8 ___ Python tracker <https://

[issue30951] Documentation error in inspect module

2021-09-24 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 402d5f3d77684c91ad02a2ab5223673bec5f1602 by Miss Islington (bot) in branch '3.10': bpo-30951: Correct co_names docstring in inspect module (GH-2743) (GH-28543) https://github.com/python/cpython/commit/402d5f3d77684c91ad02a2ab5223673bec5f1602

[issue30951] Documentation error in inspect module

2021-09-24 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 91a5ba1bcb24c87a82c1417b1e5df57c89cbd3e0 by Miss Islington (bot) in branch '3.9': bpo-30951: Correct co_names docstring in inspect module (GH-2743) (GH-28544) https://github.com/python/cpython/commit/91a5ba1bcb24c87a82c1417b1e5df57c89cbd3e0

[issue30951] Documentation error in inspect module

2021-09-24 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 3f8b23f8ddab75d9b77a3997d54e663187e12cc8 by Alex Vig in branch 'main': bpo-30951: Correct co_names docstring in inspect module (GH-2743) https://github.com/python/cpython/commit/3f8b23f8ddab75d9b77a3997d54e663187e12cc8 -- nosy

[issue38623] Python documentation should mention how to find site-packages

2021-09-23 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d672dd34f0bc3addeaf1789d4183e3a37ab110d5 by Miss Islington (bot) in branch '3.9': bpo-38623: Add note about site module (site-packages) (GH-16974) (GH-28537) https://github.com/python/cpython/commit/d672dd34f0bc3addeaf1789d4183e3a37ab110d5

[issue38623] Python documentation should mention how to find site-packages

2021-09-23 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Peter! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11 -Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.or

[issue38623] Python documentation should mention how to find site-packages

2021-09-23 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 87f97fe5e6434da51246d70af9e2cd7d63c29fba by Miss Islington (bot) in branch '3.10': bpo-38623: Add note about site module (site-packages) (GH-16974) (GH-28536) https://github.com/python/cpython/commit/87f97fe5e6434da51246d70af9e2cd7d63c29fba

[issue45026] More compact range iterator

2021-09-23 Thread Łukasz Langa
Łukasz Langa added the comment: Good point benchmarking small iterations too, Dennis. I missed that. Agreed then, GH-27986 looks like a winner. -- ___ Python tracker <https://bugs.python.org/issue45

[issue38623] Python documentation should mention how to find site-packages

2021-09-23 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 55b45bf707c6c8084db259fe2f8aa08e84ea0d99 by Peter Bittner in branch 'main': bpo-38623: Add note about site module (site-packages) (GH-16974) https://github.com/python/cpython/commit/55b45bf707c6c8084db259fe2f8aa08e84ea0d99 -- nosy

[issue39359] zipfile: add missing "pwd: expected bytes, got str" exception message

2021-09-23 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Daniel! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 -Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.or

[issue39359] zipfile: add missing "pwd: expected bytes, got str" exception message

2021-09-23 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 91099e25446b214725f8e2bec6f90553260c by Daniel Hillier in branch 'main': bpo-39359: [zipfile] add missing "pwd: expected bytes, got str" exception (GH-18031) https://github.com/python/cpython/commit/91099e25446b214725f8e2bec6

[issue38415] @asynccontextmanager decorated functions are not callable like @contextmanager

2021-09-23 Thread Łukasz Langa
Łukasz Langa added the comment: Look, not even 23 months to land this thing! Thanks, Jason! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 -Python 3.7, Python 3.8, Python 3.9 _

[issue38415] @asynccontextmanager decorated functions are not callable like @contextmanager

2021-09-23 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 86b833badd3d6864868404ead2f8c7994d24f85c by Jason Fried in branch 'main': bpo-38415: Allow using @asynccontextmanager-made ctx managers as decorators (GH-16667) https://github.com/python/cpython/commit/86b833badd3d6864868404ead2f8c7994d24f85c

<    1   2   3   4   5   6   7   8   9   10   >