[issue38741] Definition of multiple ']' in header configparser

2021-07-13 Thread Łukasz Langa
Łukasz Langa added the comment: Since I got to this only now, we can include the fix in main (3.11) and 3.10. It's too late in the cycle for 3.9. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.

[issue43126] IOBase.readlines(0) behaviour is inconsistent with documentation

2021-07-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 9b369c952cbefb064dda6cb781e66cc1b793fffa by Miss Islington (bot) in branch '3.10': bpo-43126: Expand docs on io.IOBase.readlines() method (GH-27061) (GH-27113) https://github.com/python/cpython/commit/9b369c952cbefb064dda6cb781e66c

[issue43126] IOBase.readlines(0) behaviour is inconsistent with documentation

2021-07-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset a3d20bfee38c71df88d69064d47fe98a1d59e624 by Miss Islington (bot) in branch '3.9': bpo-43126: Expand docs on io.IOBase.readlines() method (GH-27061) (#27114) https://github.com/python/cpython/commit/a3d20bfee38c71df88d69064d47fe9

[issue43126] IOBase.readlines(0) behaviour is inconsistent with documentation

2021-07-13 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11 ___ Python tracker <https://bugs.python.or

[issue43126] IOBase.readlines(0) behaviour is inconsistent with documentation

2021-07-13 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Andrei! ✨ 🍰 ✨ -- ___ Python tracker <https://bugs.python.org/issue43126> ___ ___ Python-bugs-list mailing list Unsub

[issue42073] classmethod does not pass "type/owner" when invoking wrapped __get__

2021-07-13 Thread Łukasz Langa
Change by Łukasz Langa : -- nosy: +lukasz.langa nosy_count: 4.0 -> 5.0 pull_requests: +25662 pull_request: https://github.com/python/cpython/pull/27115 ___ Python tracker <https://bugs.python.org/issu

[issue19072] classmethod doesn't honour descriptor protocol of wrapped callable

2021-07-13 Thread Łukasz Langa
Change by Łukasz Langa : -- nosy: +lukasz.langa nosy_count: 11.0 -> 12.0 pull_requests: +25663 pull_request: https://github.com/python/cpython/pull/27115 ___ Python tracker <https://bugs.python.org/issu

[issue38210] Intersection of dict view with iterator returns empty set

2021-07-14 Thread Łukasz Langa
Łukasz Langa added the comment: This caused an unintentional behavior change in the following code: >>> {1: 2}.items() & {1: {2: 3}}.items() set() Before this change, Python 3.6 - 3.8 behaved like this instead: >>> {1: 2}.items() & {1: {2: 3}}.items() Traceb

[issue42799] Please document fnmatch LRU cache size (256) and suggest alternatives

2021-07-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b39eea06d148887dd91a3612febafbddda760593 by andrei kulakov in branch 'main': bpo-42799: fnmatch module: bump up size of lru_cache for patterns (GH-27084) https://github.com/python/cpython/commit/b39eea06d148887dd91a3612febafb

[issue42073] classmethod does not pass "type/owner" when invoking wrapped __get__

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

[issue42799] Please document fnmatch LRU cache size (256) and suggest alternatives

2021-07-15 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker <https://bugs.python

[issue43948] sysconfig's osx_framework_user puts headers in different locations from distutils

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

[issue19072] classmethod doesn't honour descriptor protocol of wrapped callable

2021-07-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b83861f0265e07207a6ae2c49c40fa8f447893f2 by Łukasz Langa in branch 'main': bpo-42073: allow classmethod to wrap other classmethod-like descriptors (#27115) https://github.com/python/cpython/commit/b83861f0265e07207a6ae2c49c40fa

[issue42073] classmethod does not pass "type/owner" when invoking wrapped __get__

2021-07-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b83861f0265e07207a6ae2c49c40fa8f447893f2 by Łukasz Langa in branch 'main': bpo-42073: allow classmethod to wrap other classmethod-like descriptors (#27115) https://github.com/python/cpython/commit/b83861f0265e07207a6ae2c49c40fa

[issue42073] classmethod does not pass "type/owner" when invoking wrapped __get__

2021-07-15 Thread Łukasz Langa
Change by Łukasz Langa : -- versions: +Python 3.11 -Python 3.9 ___ Python tracker <https://bugs.python.org/issue42073> ___ ___ Python-bugs-list mailing list Unsub

[issue19072] classmethod doesn't honour descriptor protocol of wrapped callable

2021-07-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 2ce8af3cbcb368a35a05a5a9f97a09405124f239 by Miss Islington (bot) in branch '3.10': bpo-42073: allow classmethod to wrap other classmethod-like descriptors (GH-27115) (GH-27162) https://github.com/python/cpyt

[issue42073] classmethod does not pass "type/owner" when invoking wrapped __get__

2021-07-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 2ce8af3cbcb368a35a05a5a9f97a09405124f239 by Miss Islington (bot) in branch '3.10': bpo-42073: allow classmethod to wrap other classmethod-like descriptors (GH-27115) (GH-27162) https://github.com/python/cpyt

[issue44622] async-for loops are traced incorrectly in Python 3.10

2021-07-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 47695e3c88343e794d37333853b2ba3f16505c5d by Mark Shannon in branch '3.10': bpo-44622: Set line number of END_ASYNC_FOR to match that of iterator. (GH-27160) (GH-27163) https://github.com/python/cpyt

[issue44622] async-for loops are traced incorrectly in Python 3.10

2021-07-15 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue44647] Non-ASCII characters in os.environ cause silent failures in test_httpservers

2021-07-15 Thread Łukasz Langa
New submission from Łukasz Langa : GH-23638 introduced a new test for Accept: headers in CGI HTTP servers. This test serializes all of `os.environ` on the server side. For non-UTF8 locales this can fail for some Unicode characters found in environment variables. This started failing this

[issue44647] Non-ASCII characters in os.environ cause silent failures in test_httpservers

2021-07-15 Thread Łukasz Langa
Change by Łukasz Langa : -- keywords: +patch pull_requests: +25705 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27161 ___ Python tracker <https://bugs.python.org/issu

[issue44647] Non-ASCII characters in os.environ cause silent failures in test_httpservers

2021-07-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 82b218f36ce6ef910bda5af227a9fd5be613c94f by Łukasz Langa in branch 'main': bpo-44647: Fix test_httpservers failing on Unicode characters in os.environ on Windows (GH-27161) https://github.com/python/cpyt

[issue44647] Non-ASCII characters in os.environ cause silent failures in test_httpservers

2021-07-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 356bdff1e952f2ab7fdebae855bd78b401b735c4 by Miss Islington (bot) in branch '3.10': bpo-44647: Fix test_httpservers failing on Unicode characters in os.environ on Windows (GH-27161) (#27169) https://github.com/python/cpyt

[issue44647] Non-ASCII characters in os.environ cause silent failures in test_httpservers

2021-07-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 95596d5921eeab9ae49f0dc31263a249013b6849 by Miss Islington (bot) in branch '3.9': bpo-44647: Fix test_httpservers failing on Unicode characters in os.environ on Windows (GH-27161) (#27170) https://github.com/python/cpyt

[issue44647] Non-ASCII characters in os.environ cause silent failures in test_httpservers

2021-07-15 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue44646] hash() of the unity type is not consistent with equality

2021-07-16 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset aeaa553d650786afc6e68df1f4813ae1a5b71d05 by Serhiy Storchaka in branch 'main': bpo-44646: Fix the hash of the union type. (#27179) https://github.com/python/cpython/commit/aeaa553d650786afc6e68df1f4813ae1a5b71d05 -- nosy: +lu

[issue44646] hash() of the unity type is not consistent with equality

2021-07-16 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 705988056e028bab3dbc5cff3671a8ddefc88ec7 by Miss Islington (bot) in branch '3.10': bpo-44646: Fix the hash of the union type. (GH-27179) (#27180) https://github.com/python/cpython/commit/705988056e028bab3dbc5cff3671a8

[issue44646] hash() of the unity type is not consistent with equality

2021-07-16 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue44647] Non-ASCII characters in os.environ cause silent failures in test_httpservers

2021-07-16 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +25723 pull_request: https://github.com/python/cpython/pull/27187 ___ Python tracker <https://bugs.python.org/issue44

[issue40897] Inheriting from class that defines __new__ causes inspect.signature to always return (*args, **kwargs) for constructor

2021-07-16 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 6aab5f9bf303a8e4cd8377fabcdcb499e0541f9a by Weipeng Hong in branch 'main': bpo-40897:Give priority to using the current class constructor in `inspect.signature` (#27177) https://github.com/python/cpyt

[issue40897] Inheriting from class that defines __new__ causes inspect.signature to always return (*args, **kwargs) for constructor

2021-07-16 Thread Łukasz Langa
Łukasz Langa added the comment: We won't be backporting this fix to 3.9 due to larger changes between versions. -- versions: +Python 3.10, Python 3.11 ___ Python tracker <https://bugs.python.org/is

[issue44647] Non-ASCII characters in os.environ cause silent failures in test_httpservers

2021-07-16 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7915c96ffd7ddc5cb6d54015ee4c31255a416892 by Łukasz Langa in branch 'main': bpo-44647: Add a permanent Unicode-valued env var to regrtest (#27187) https://github.com/python/cpython/commit/7915c96ffd7ddc5cb6d54015ee4c31

[issue40897] Inheriting from class that defines __new__ causes inspect.signature to always return (*args, **kwargs) for constructor

2021-07-16 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 948e39a866ccf33b4e30668c3f88a95a65966159 by Miss Islington (bot) in branch '3.10': bpo-40897:Give priority to using the current class constructor in `inspect.signature` (GH-27177) (#27189) https://github.com/python/cpyt

[issue44648] Inspect.getsource raises wrong error on classes in interactive session

2021-07-16 Thread Łukasz Langa
Łukasz Langa added the comment: Why do you think OSError fits here? Since objects provided on the command line by definition cannot have source code files, the problem isn't that the file is missing or inaccessible. Rather, the value provided to getsource() is wrong. So, in my view,

[issue44647] Non-ASCII characters in os.environ cause silent failures in test_httpservers

2021-07-16 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 93d36a5bcec8e55026b9a749c8310b1ce490d15e by Miss Islington (bot) in branch '3.10': bpo-44647: Add a permanent Unicode-valued env var to regrtest (GH-27187) (#27191) https://github.com/python/cpyt

[issue40897] Inheriting from class that defines __new__ causes inspect.signature to always return (*args, **kwargs) for constructor

2021-07-16 Thread Łukasz Langa
Łukasz Langa added the comment: On second thought it's a bummer not to fix this in 3.9.x that will still be the only stable version until October. I'll refactor the relevant part of inspect.py in 3.9 to make the backport applicable. --

[issue40897] Inheriting from class that defines __new__ causes inspect.signature to always return (*args, **kwargs) for constructor

2021-07-16 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +25728 pull_request: https://github.com/python/cpython/pull/27193 ___ Python tracker <https://bugs.python.org/issue40

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-16 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c90c591e5158ab7b531dcd6e2a5f00bc70ba7637 by Pablo Galindo Salgado in branch 'main': Revert "bpo-44645: Check for interrupts on any potentially backwards edge. (GH-27167)" (#27194) https://github.com/p

[issue44645] Python 3.10: Under some trivial circunstances, GIL not released

2021-07-16 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 42a5514cca6b4542f6b492b5652e337f15a89227 by Miss Islington (bot) in branch '3.10': Revert "bpo-44645: Check for interrupts on any potentially backwards edge. (GH-27167)" (GH-27194) (#27195) https://github.com/p

[issue40897] Inheriting from class that defines __new__ causes inspect.signature to always return (*args, **kwargs) for constructor

2021-07-17 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset ed2db9b5940ccbc0bc72d01bf62d8b3095ccef21 by Łukasz Langa in branch '3.9': bpo-40897: Partially backport GH-22583's refactor of inspect.py to allow bugfix backports (#27193) https://github.com/python

[issue44659] Remove Ivan from list of typing experts

2021-07-17 Thread Łukasz Langa
Change by Łukasz Langa : -- keywords: +patch pull_requests: +25748 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27210 ___ Python tracker <https://bugs.python.org/issu

[issue44659] Remove Ivan from list of typing experts

2021-07-17 Thread Łukasz Langa
Łukasz Langa added the comment: Related devguide PR: https://github.com/python/devguide/pull/728 -- ___ Python tracker <https://bugs.python.org/issue44

[issue40897] Inheriting from class that defines __new__ causes inspect.signature to always return (*args, **kwargs) for constructor

2021-07-17 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset df7c62980d15acd3125dfbd81546dad359f7add7 by Miss Islington (bot) in branch '3.9': bpo-40897:Give priority to using the current class constructor in `inspect.signature` (GH-27177) (GH-27209) https://github.com/python/cpyt

[issue40897] Inheriting from class that defines __new__ causes inspect.signature to always return (*args, **kwargs) for constructor

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

[issue41249] TypedDict inheritance doesn't work with get_type_hints and postponed evaluation of annotations across modules

2021-07-17 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 480f29f913cff30329e7b425fd6669f83d6d8af8 by Miss Islington (bot) in branch '3.10': bpo-41249: Fix postponed annotations for TypedDict (GH-27017) (#27204) https://github.com/python/cpython/commit/480f29f913cff30329e7b425fd6669

[issue41249] TypedDict inheritance doesn't work with get_type_hints and postponed evaluation of annotations across modules

2021-07-17 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset fa674bdea3bbb20ad6ccd95b3849fc4995bc37e0 by Ken Jin in branch '3.9': [3.9] bpo-41249: Fix postponed annotations for TypedDict (GH-27017) (GH-27205) https://github.com/python/cpython/commit/fa674bdea3bbb20ad6ccd95b3849fc

[issue41249] TypedDict inheritance doesn't work with get_type_hints and postponed evaluation of annotations across modules

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

[issue44659] Remove Ivan from list of typing experts

2021-07-17 Thread Łukasz Langa
Łukasz Langa added the comment: These were sad PRs to make. Take care, Ivan! -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue43425] test_peg_generator.test_c_parser emits DeprecationWarning due to distutils

2021-07-17 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d0b2b00c7d5ac3dc18d77bf4fcf607ee98c11650 by Dong-hee Na in branch 'main': bpo-43425: Remove test2to3 from Tools (#26981) https://github.com/python/cpython/commit/d0b2b00c7d5ac3dc18d77bf4fcf607ee98c11650 -- nosy: +lu

[issue42095] plistlib: Add tests that compare with plutil(1)

2021-07-17 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 689b05c6281ee6bafb9a0c0bf291260efa130f64 by Hasan in branch 'main': bpo-42095: plistlib: Add tests that compare with plutil(1) (#27173) https://github.com/python/cpython/commit/689b05c6281ee6bafb9a0c0bf291260efa130f64 -

[issue42095] plistlib: Add tests that compare with plutil(1)

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

[issue41972] bytes.find consistently hangs in a particular scenario

2021-07-19 Thread Łukasz Langa
Łukasz Langa added the comment: I checked the original example in this issue and the newest change in GH-27091 makes the `data.find(base)` case 8.2% faster compared to `main` while the `data.find(longer)` case is 10.8% faster. -- nosy: +lukasz.langa

[issue41972] bytes.find consistently hangs in a particular scenario

2021-07-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d01dceb88b2ca6def8a2284e4c90f89a4a27823f by Dennis Sweeney in branch 'main': bpo-41972: Tweak fastsearch.h string search algorithms (GH-27091) https://github.com/python/cpython/commit/d01dceb88b2ca6def8a2284e4c90f8

[issue44524] __name__ attribute in typing module

2021-07-19 Thread Łukasz Langa
Łukasz Langa added the comment: > I think __module__ should be set to ‘typing’, and __qualname__ to > ‘typing.WhatEver’. PEP 3155 specifies that `__qualname__` does not include the module name: https://www.python.org/dev/peps/pep-3155/#excluding-the-module-name Rather, it's

[issue42238] Deprecate suspicious.py?

2021-07-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset fbf10080bb369cfef1f230c2cd5135a558b242d5 by Julien Palard in branch 'main': bpo-42238: Fix small rst issue in NEWS.d/. (#27238) https://github.com/python/cpython/commit/fbf10080bb369cfef1f230c2cd5135a558b242d5 -- nosy: +lu

[issue41972] bytes.find consistently hangs in a particular scenario

2021-07-19 Thread Łukasz Langa
Łukasz Langa added the comment: Looks like this can be closed now, the original issue is fixed, the original patch is merged for 3.10, and the improved patch is merged for 3.11. Thanks! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -&g

[issue27513] email.utils.getaddresses does not handle Header objects

2021-07-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 89f4c34797de2f0e5045da2b97c1c8cbbb42fbb2 by Zackery Spytz in branch 'main': bpo-27513: email.utils.getaddresses() now handles Header objects (#13797) https://github.com/python/cpython/commit/89f4c34797de2f0e5045da2b97c1c8

[issue27513] email.utils.getaddresses does not handle Header objects

2021-07-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 8c43bf1a923754fa6d97772151c6ac23c48759d3 by Miss Islington (bot) in branch '3.10': bpo-27513: email.utils.getaddresses() now handles Header objects (GH-13797) (GH-27242) https://github.com/python/cpyt

[issue27513] email.utils.getaddresses does not handle Header objects

2021-07-19 Thread Łukasz Langa
Change by Łukasz Langa : -- 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

[issue44672] Final "pass" is traced incorrectly in 3.9 (and before)

2021-07-19 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for reporting, Ned. I agree with Mark though. We've done 7 releases of Python 3.9 already. The later in the release cycle for a given Python version, the less it's clear if it's "worth" performing complex fixes. Most importan

[issue44524] __name__ attribute in typing module

2021-07-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset bce1418541a64a793960182772f985f64afbfa1a by Yurii Karabas in branch 'main': bpo-44524: Add missed __name__ and __qualname__ to typing module objects (#27237) https://github.com/python/cpython/commit/bce1418541a64a793960182772f985

[issue44524] __name__ attribute in typing module

2021-07-19 Thread Łukasz Langa
Change by Łukasz Langa : -- versions: +Python 3.10, Python 3.11 -Python 3.9 ___ Python tracker <https://bugs.python.org/issue44524> ___ ___ Python-bugs-list mailin

[issue44524] __name__ attribute in typing module

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

[issue27513] email.utils.getaddresses does not handle Header objects

2021-07-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 9ee12cf325d4da2c07919e5e56545feb7e005e08 by Miss Islington (bot) in branch '3.9': bpo-27513: email.utils.getaddresses() now handles Header objects (GH-13797) (#27245) https://github.com/python/cpyt

[issue44524] __name__ attribute in typing module

2021-07-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c895f2bc4f270efce30fe3687ce85095418175f4 by Miss Islington (bot) in branch '3.10': bpo-44524: Add missed __name__ and __qualname__ to typing module objects (GH-27237) (#27246) https://github.com/python/cpyt

[issue44621] Python 3.9 traces async for/else incorrectly

2021-07-20 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue44353] PEP 604 NewType

2021-07-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 965dd76e9060e27e2253ba8c8d21a142b178720d by Yurii Karabas in branch 'main': bpo-44353: Refactor typing.NewType into callable class (GH-27250) https://github.com/python/cpython/commit/965dd76e9060e27e2253ba8c8d21a142b178720d -

[issue44353] PEP 604 NewType

2021-07-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 4868b94c6089d457673b1ba5b5b64c2f38c435af by Yurii Karabas in branch 'main': bpo-44353: Add test to cover __or__ of two NewType (#27259) https://github.com/python/cpython/commit/4868b94c6089d457673b1ba5b5b64c

[issue44353] PEP 604 NewType

2021-07-20 Thread Łukasz Langa
Łukasz Langa added the comment: > Hm, 20% isn't so bad, but one of the arguments for NewType was that it > "disappears" at runtime -- which the current version does, but the > class-based version doesn't quite. NewType was described originally in https://github

[issue44353] PEP 604 NewType

2021-07-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c2f33dfc83ab270412bf243fb21f724037effa1a by Miss Islington (bot) in branch '3.10': bpo-44353: Refactor typing.NewType into callable class (GH-27250) (#27258) https://github.com/python/cpython/commit/c2f33dfc83ab270412bf243fb21f72

[issue44353] PEP 604 NewType

2021-07-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 9ae5ba7dbf08d56a1b30d67fcde75532fe136d77 by Miss Islington (bot) in branch '3.10': bpo-44353: Add test to cover __or__ of two NewType (GH-27259) (#27261) https://github.com/python/cpython/commit/9ae5ba7dbf08d56a1b30d67fcde755

[issue44631] Refactoring the repr() of the _Environ class (os module)

2021-07-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 85fa3b6b7c11897732fedc443db0e4e8e380c8f8 by Leonardo Freua in branch 'main': bpo-44631: Make the repr() of the _Environ class more readable. (#27128) https://github.com/python/cpython/commit/85fa3b6b7c11897732fedc443db0e4

[issue44631] Refactoring the repr() of the _Environ class (os module)

2021-07-20 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue44539] Support recognizing JPEG files without JFIF or Exif markers

2021-07-20 Thread Łukasz Langa
Łukasz Langa added the comment: When JFIF and Exif markers are removed, what we're left with is a "raw" JPEG file. I added a raw equivalent of Lib/test/imghdrdata/python.jpg by running: $ exiftool -all= python.jpg -o python-raw.jpg Mohamad's patch correctly adds suppor

[issue44566] StopIteration subclass suppressed by contextlib.contextmanager

2021-07-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7f1c330da31c54e028dceaf3610877914c2a4497 by Thomas Grainger in branch 'main': bpo-44566: resolve differences between asynccontextmanager and contextmanager (#27024) https://github.com/python/cpython/commit/7f1c330da31c54e028dceaf3610877

[issue44566] StopIteration subclass suppressed by contextlib.contextmanager

2021-07-20 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +25813 pull_request: https://github.com/python/cpython/pull/27269 ___ Python tracker <https://bugs.python.org/issue44

[issue44539] Support recognizing JPEG files without JFIF or Exif markers

2021-07-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 3b56b3b97d91e2b412ce1b2bcaddcd43ef3d223b by Mohamad Mansour in branch 'main': bpo-44539: Support recognizing JPEG files without JFIF or Exif markers (GH-26964) https://github.com/python/cpython/commit/3b56b3b97d91e2b412ce1b2bcaddcd

[issue44539] Support recognizing JPEG files without JFIF or Exif markers

2021-07-20 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue44539] Support recognizing JPEG files without JFIF or Exif markers

2021-07-20 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Mohamad! ✨ 🍰 ✨ -- ___ Python tracker <https://bugs.python.org/issue44539> ___ ___ Python-bugs-list mailing list Unsub

[issue44566] StopIteration subclass suppressed by contextlib.contextmanager

2021-07-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 68b4690b010d0006e9b0235903afd367191f3c51 by Miss Islington (bot) in branch '3.10': bpo-44566: resolve differences between asynccontextmanager and contextmanager (GH-27024) (#27266) https://github.com/python/cpyt

[issue44566] StopIteration subclass suppressed by contextlib.contextmanager

2021-07-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1c5c9c89ffc36875afaf4c3cc6a716d4bd089bbf by Łukasz Langa in branch '3.9': [3.9] bpo-44566: resolve differences between asynccontextmanager and contextmanager (GH-27024). (#27269) https://github.com/python/cpyt

[issue44566] StopIteration subclass suppressed by contextlib.contextmanager

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

[issue30511] shutil.make_archive should not need to chdir (alternatively: make shutil.make_archive thread-safe)

2021-07-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 64f54b7ccd49764b0304e076bfd79b5482988f53 by andrei kulakov in branch 'main': bpo-30511: Add note on thread safety to shutil.make_archive() (#26933) https://github.com/python/cpython/commit/64f54b7ccd49764b0304e076bfd79b5482988f53 -

[issue30511] shutil.make_archive should not need to chdir (alternatively: make shutil.make_archive thread-safe)

2021-07-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d17449f31d4af7a735e81b587bb329481764412f by Miss Islington (bot) in branch '3.10': bpo-30511: Add note on thread safety to shutil.make_archive() (GH-26933) (GH-27274) https://github.com/python/cpyt

[issue30511] shutil.make_archive should not need to chdir (alternatively: make shutil.make_archive thread-safe)

2021-07-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 54d387105a5f0c3825a0f4fa607b58d55d05e572 by Miss Islington (bot) in branch '3.8': bpo-30511: Add note on thread safety to shutil.make_archive() (GH-26933) (#27276) https://github.com/python/cpython/commit/54d387105a5f0c3825a0f4fa607b58

[issue30511] shutil.make_archive should not need to chdir (alternatively: make shutil.make_archive thread-safe)

2021-07-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c8e35abfe304eb052a5220974006072c37d4b06a by Miss Islington (bot) in branch '3.9': bpo-30511: Add note on thread safety to shutil.make_archive() (GH-26933) (GH-27275) https://github.com/python/cpyt

[issue44708] Regression tests with -w should only re-run affected test methods, not the entire file

2021-07-22 Thread Łukasz Langa
New submission from Łukasz Langa : When the CPython test suite re-runs a flaky failed test, it doesn’t actually re-run just that failed test but the entire test file. The most common case for flaky tests is when networking, threading, or multiprocessing is involved. Frustratingly those are

[issue44708] Regression tests with -w should only re-run affected test methods, not the entire file

2021-07-22 Thread Łukasz Langa
Change by Łukasz Langa : -- keywords: +patch pull_requests: +25829 pull_request: https://github.com/python/cpython/pull/27287 ___ Python tracker <https://bugs.python.org/issue44

[issue44708] Regression tests with -w should only re-run affected test methods, not the entire file

2021-07-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f1afef5e0d93d66fbf3c9aaeab8b3b8da9617583 by Łukasz Langa in branch 'main': bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) https://github.com/python/cpyt

[issue44708] Regression tests with -w should only re-run affected test methods, not the entire file

2021-07-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 9608719e12b14087c1cb34f77c847974442cd6e7 by Miss Islington (bot) in branch '3.10': bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) (GH-27290) https://github.com/python/cpyt

[issue44708] Regression tests with -w should only re-run affected test methods, not the entire file

2021-07-22 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +25836 pull_request: https://github.com/python/cpython/pull/27293 ___ Python tracker <https://bugs.python.org/issue44

[issue44353] PEP 604 NewType

2021-07-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 96c4cbd96c769e92869c62ba898dd9eb670baa81 by Yurii Karabas in branch 'main': bpo-44353: Implement typing.NewType __call__ method in C (#27262) https://github.com/python/cpython/commit/96c4cbd96c769e92869c62ba898dd9

[issue44353] PEP 604 NewType

2021-07-22 Thread Łukasz Langa
Łukasz Langa added the comment: Note: we won't be backporting _typing to Python 3.10 as it is much too late for a new module at this point in the life cycle. Consequently, 3.10 will be a (temporary) performance regression in terms of typing.NewType. Thanks everyone, most of all Josept

[issue44708] Regression tests with -w should only re-run affected test methods, not the entire file

2021-07-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0f55d21212a0fb6dec4479eb76249ab2b54e57a3 by Łukasz Langa in branch '3.9': [3.9] bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) (GH-27293) https://github.com/python/cpyt

[issue44708] Regression tests with -w should only re-run affected test methods, not the entire file

2021-07-22 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue44653] Parameter substitution in the union type does not work with typing.Union

2021-07-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 2e3744d50b6e30ea24351e55b4352dcc58fd469e by Serhiy Storchaka in branch 'main': bpo-44653: Support typing types in parameter substitution in the union type. (GH-27247) https://github.com/python/cpyt

[issue44653] Parameter substitution in the union type does not work with typing.Union

2021-07-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 21db59fc75b6ebb01bf120a8e5930fe032174f73 by Miss Islington (bot) in branch '3.10': bpo-44653: Support typing types in parameter substitution in the union type. (GH-27247) (#27296) https://github.com/python/cpyt

[issue44653] Parameter substitution in the union type does not work with typing.Union

2021-07-22 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks Serhiy for the report and the fix, and Ken for reviews. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue44707] runtime error: applying zero offset to null pointer in Objects/listobject.c

2021-07-22 Thread Łukasz Langa
Łukasz Langa added the comment: Interestingly I cannot reproduce the clang report on macOS 10.15 with clang 12.0.0. Maybe it's a new capability of clang 12.0.5 in Big Sur. -- nosy: +lukasz.langa ___ Python tracker <https://bugs.py

[issue44676] Add ability to serialise types.Union

2021-07-23 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset fe13f0b0f696464dd6f283576668dbf57cb11399 by Yurii Karabas in branch 'main': bpo-44676: Add ability to serialize types.Union (GH-27244) https://github.com/python/cpython/commit/fe13f0b0f696464dd6f283576668dbf57cb11399 -

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