[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28992 pull_request: https://github.com/python/cpython/pull/30804 ___ Python tracker ___

[issue46409] Add a new bytecode instruction to create generators

2022-01-22 Thread Nikita Sobolev
Change by Nikita Sobolev : -- nosy: +sobolevn nosy_count: 1.0 -> 2.0 pull_requests: +28991 pull_request: https://github.com/python/cpython/pull/30780 ___ Python tracker ___

[issue46454] '0 -> /dev/null' is lost

2022-01-22 Thread Eryk Sun
Eryk Sun added the comment: > If some one closes fd 0, then he reopens it. it will not be inherited. In Windows, when a console process spawns a child console process without enabling handle inheritance -- e.g. subprocess.Popen(['python.exe']) -- the OS will manually duplicate (not inherit)

[issue46474] Inefficient regular expression complexity in EntryPoint.pattern

2022-01-22 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +28989 pull_request: https://github.com/python/cpython/pull/30803 ___ Python tracker ___

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-22 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +28990 pull_request: https://github.com/python/cpython/pull/30803 ___ Python tracker ___

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-22 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +28988 pull_request: https://github.com/python/cpython/pull/30802 ___ Python tracker ___

[issue46474] Inefficient regular expression complexity in EntryPoint.pattern

2022-01-22 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +28987 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30802 ___ Python tracker ___

[issue46474] Inefficient regular expression complexity in EntryPoint.pattern

2022-01-22 Thread Jason R. Coombs
Jason R. Coombs added the comment: Because I want this security issue to be back-portable to older Pythons, I'll first apply importlib_metadata 4.10.0 and then apply the change from 4.10.1 separately. -- ___ Python tracker

[issue43196] logging.config.dictConfig shuts down socket for existing SysLogHandlers

2022-01-22 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.9 -Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list

[issue39854] f-strings with format specifiers have wrong col_offset

2022-01-22 Thread Irit Katriel
Irit Katriel added the comment: Closing as 3.8 is only getting security fixes now. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue43196] logging.config.dictConfig shuts down socket for existing SysLogHandlers

2022-01-22 Thread Stéphane Blondon
Stéphane Blondon added the comment: I can reproduce the error on Debian/testing with: - Python 3.9.9 - Python 3.10.0 -- nosy: +sblondon status: pending -> open ___ Python tracker

[issue41682] [Windows] test_asyncio: Proactor test_sendfile_close_peer_in_the_middle_of_receiving failure

2022-01-22 Thread Nikita Sobolev
Change by Nikita Sobolev : -- keywords: +patch pull_requests: +28986 pull_request: https://github.com/python/cpython/pull/30801 ___ Python tracker ___

[issue39854] f-strings with format specifiers have wrong col_offset

2022-01-22 Thread Stéphane Blondon
Stéphane Blondon added the comment: I can reproduce it on python 3.8. I can't reproduce it on python 3.9 or 3.10. -- nosy: +sblondon ___ Python tracker ___

[issue46474] Inefficient regular expression complexity in EntryPoint.pattern

2022-01-22 Thread Jason R. Coombs
New submission from Jason R. Coombs : Originally reported to the Python Security Response Team, the EntryPoint.pattern demonstrates a potential [ReDoS](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_). The issue has been patched and fix released with

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-22 Thread Nikita Sobolev
Change by Nikita Sobolev : -- pull_requests: +28985 pull_request: https://github.com/python/cpython/pull/30800 ___ Python tracker ___

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-22 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +28984 pull_request: https://github.com/python/cpython/pull/30799 ___ Python tracker ___

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread STINNER Victor
STINNER Victor added the comment: Attached cannot_deallocate.patch explains why some static types cannot be deallocated. It lists (static) types which are not cleard properly at Python exit. Simplest example: --- $ ./python -c pass Cannot clear type 'object': it still has subclasses *

[issue46126] Unittest output drives developers to avoid docstrings

2022-01-22 Thread Jason R. Coombs
Change by Jason R. Coombs : -- assignee: -> jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46126] Unittest output drives developers to avoid docstrings

2022-01-22 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've merged the fix for regrtest and I'll explore Terry's concerns and see what I can devise for those concerns as well. -- ___ Python tracker

[issue46126] Unittest output drives developers to avoid docstrings

2022-01-22 Thread miss-islington
miss-islington added the comment: New changeset a941e5927f7f2540946813606c61c6aea38db426 by Jason R. Coombs in branch 'main': bpo-46126: Disable 'descriptions' when running tests internally. (GH-30194) https://github.com/python/cpython/commit/a941e5927f7f2540946813606c61c6aea38db426

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2022-01-22 Thread STINNER Victor
STINNER Victor added the comment: In bpo-46417, I pushed a change to call _PyDebug_PrintTotalRefs() after destroying the interpreter. I backported locally this change to other Python versions to compare the progress on old Python versions: ./python -I -X showrefcount -c pass command: *

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-22 Thread Jason R. Coombs
Change by Jason R. Coombs : -- nosy: +jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46473] importlib.metadata does not honor .egg-link files

2022-01-22 Thread Ben
Ben added the comment: yes, the latest version of pip creates an .egg-info metadata dir at the level of the package src dir and .egg-link and easy-install.pth stubs in the site-packages dir (the contents of which are paths to the package src dir). The intent is that these links would be

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread STINNER Victor
STINNER Victor added the comment: Kumar Aditya: "The following patch further reduces the reference but not sure if it is correct (...)" Right! PyContext and PyHamt types were on my TODO list ;-) They are now cleared since this change: bpo-46417: Clear more static types (GH-30796)

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6cacdb42454264ae75cab5e32bb62876da43bf6f by Victor Stinner in branch 'main': bpo-46417: _PyTypes_FiniTypes() clears object and type (GH-30798) https://github.com/python/cpython/commit/6cacdb42454264ae75cab5e32bb62876da43bf6f --

[issue45200] Address Sanitizer: libasan dead lock in pthread_create() (test_multiprocessing_fork.test_get() hangs)

2022-01-22 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45200] Address Sanitizer: libasan dead lock in pthread_create() (test_multiprocessing_fork.test_get() hangs)

2022-01-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset ce7d66771ec64488134a1dd114015aa056eef696 by Victor Stinner in branch 'main': bpo-45200: GHA Address Sanitizer skips 3 slowest tests (GH-30797) https://github.com/python/cpython/commit/ce7d66771ec64488134a1dd114015aa056eef696 --

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28983 pull_request: https://github.com/python/cpython/pull/30798 ___ Python tracker ___

[issue45200] Address Sanitizer: libasan dead lock in pthread_create() (test_multiprocessing_fork.test_get() hangs)

2022-01-22 Thread STINNER Victor
STINNER Victor added the comment: I reopen the issue: test_concurrent_futures seems to be also affected by this bug :-( Example of recent hang: https://github.com/python/cpython/runs/4908075699?check_suite_focus=true --- 0:18:04 load avg: 1.34 [417/418] test_peg_generator passed (9 min 46

[issue45200] Address Sanitizer: libasan dead lock in pthread_create() (test_multiprocessing_fork.test_get() hangs)

2022-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28982 pull_request: https://github.com/python/cpython/pull/30797 ___ Python tracker ___

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3a4c15bb9815b6f4652621fe6043ae18e0d202b3 by Victor Stinner in branch 'main': bpo-46417: Cleanup typeobject.c code (GH-30795) https://github.com/python/cpython/commit/3a4c15bb9815b6f4652621fe6043ae18e0d202b3 --

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 500c146387b01ea797b52e6a54caf228384e184c by Victor Stinner in branch 'main': bpo-46417: Clear more static types (GH-30796) https://github.com/python/cpython/commit/500c146387b01ea797b52e6a54caf228384e184c --

[issue46473] importlib.metadata does not honor .egg-link files

2022-01-22 Thread Éric Araujo
Éric Araujo added the comment: It would make sense if importlib only supported official specs. For editable/develop installs, it is https://www.python.org/dev/peps/pep-0660/ which does not mention egg (not egg-link nor egg-info, long since replaced by dist-info). Are you using latest pip,

[issue46473] importlib.metadata does not honor .egg-link files

2022-01-22 Thread Ben
Ben added the comment: I should also add that the easy-install.pth file, which similarly contains a link to the source dir containing the .egg-info metadata, is also not processed to locate the necessary metadata. -- ___ Python tracker

[issue46472] A option that choose between single quote and double quote in shlex.quote

2022-01-22 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46461] Kodi crashing

2022-01-22 Thread Eric V. Smith
Change by Eric V. Smith : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43118] inspect.signature() raises RuntimeError on failed to resolve the default argument value

2022-01-22 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 83aef4d34022f293336f606dba8598cc7ac8f9f2 by Miss Islington (bot) in branch '3.10': bpo-43118: Fix bug in inspect.signature around 'base.__text_signature__' (GH-30285) (#30765)

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28981 pull_request: https://github.com/python/cpython/pull/30796 ___ Python tracker ___

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28980 pull_request: https://github.com/python/cpython/pull/30795 ___ Python tracker ___

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 1f8014c5b4ea7acee069ca453f6fbcad5990ebf0 by Nikita Sobolev in branch 'main': bpo-46425: fix direct invocation of `test_fileutils` and `test_zoneinfo` (GH-30792) https://github.com/python/cpython/commit/1f8014c5b4ea7acee069ca453f6fbcad5990ebf0

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 57316c52bae5d6420f5067f3891ec328deb97305 by Nikita Sobolev in branch 'main': bpo-46425: fix direct invocation of `test_importlib` (GH-30682) https://github.com/python/cpython/commit/57316c52bae5d6420f5067f3891ec328deb97305 --

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 55f4ec460ee6dcffc26180fd982ad89083c9acb1 by Nikita Sobolev in branch 'main': bpo-46425: use absolute imports in `test_sqlite3` (GH-30676) https://github.com/python/cpython/commit/55f4ec460ee6dcffc26180fd982ad89083c9acb1 --

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 101a184d49756043a0c39dde6eca08b1891137a2 by Nikita Sobolev in branch 'main': bpo-46425: fix direct invocation of `test_traceback` (GH-30746) https://github.com/python/cpython/commit/101a184d49756043a0c39dde6eca08b1891137a2 --

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2d03b73cc9c0dada3243eab1373a46dbd98d24a0 by Victor Stinner in branch 'main': bpo-46417: remove_subclass() clears tp_subclasses (GH-30793) https://github.com/python/cpython/commit/2d03b73cc9c0dada3243eab1373a46dbd98d24a0 --

[issue46473] importlib.metadata does not honor .egg-link files

2022-01-22 Thread Ben
New submission from Ben : When installing a package using --editable, pip creates a .egg-link file in your site-packages dir that points to the .egg-info metadata that by default exists along side the source that it was installed from. This worked just fine with the older pkg_resources

[issue46468] http.server documentation missing default value for port

2022-01-22 Thread Andrew Svetlov
Change by Andrew Svetlov : -- versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46468] http.server documentation missing default value for port

2022-01-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 923c994400b3f1c67f95d25c703e131890a16912 by Miss Islington (bot) in branch '3.10': bpo-46468: document that "-m http.server" defaults to port 8000 (GH-30776) (#30787)

[issue46468] http.server documentation missing default value for port

2022-01-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset b4088801db4b4f56b177b1c01dd873c7922e6a9f by Miss Islington (bot) in branch '3.9': bpo-46468: document that "-m http.server" defaults to port 8000 (GH-30776) (#30786)

[issue46468] http.server documentation missing default value for port

2022-01-22 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.9 ___ Python tracker ___

[issue29882] Add an efficient popcount method for integers

2022-01-22 Thread Mark Dickinson
Change by Mark Dickinson : -- pull_requests: +28979 pull_request: https://github.com/python/cpython/pull/30794 ___ Python tracker ___

[issue46396] Typing: test invalid usages of `Concatenate`

2022-01-22 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Let's change typing_extensions.py too in the same way. Speaking of typing-extensions, it'd be great if someone could review https://github.com/python/typing/pull/963 :) -- ___ Python tracker

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28978 pull_request: https://github.com/python/cpython/pull/30793 ___ Python tracker ___

[issue46472] A option that choose between single quote and double quote in shlex.quote

2022-01-22 Thread I_love_study
New submission from I_love_study <1450069...@qq.com>: shlex.quote always use single quote but in some shell (like Cmd on Windows), single quote cannot be recognized as a shell-escaped string, only double quote can. So I think a option that can choose between single quote and double quote is

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-22 Thread Nikita Sobolev
Change by Nikita Sobolev : -- pull_requests: +28977 pull_request: https://github.com/python/cpython/pull/30792 ___ Python tracker ___

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset f1796f29478f08f34e0c30a060622c0b2d843e2c by Miss Islington (bot) in branch '3.9': bpo-46417: Fix race condition on setting type __bases__ (GH-30788) (GH-30790) https://github.com/python/cpython/commit/f1796f29478f08f34e0c30a060622c0b2d843e2c

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset acda9f3b90c33e4020237cb9e5c676efb38f7847 by Miss Islington (bot) in branch '3.10': bpo-46417: Fix race condition on setting type __bases__ (GH-30788) (GH-30789) https://github.com/python/cpython/commit/acda9f3b90c33e4020237cb9e5c676efb38f7847

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28976 pull_request: https://github.com/python/cpython/pull/30791 ___ Python tracker ___

[issue46469] asyncio Generic classes should return GenericAlias in __class_getitem__

2022-01-22 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +28975 pull_request: https://github.com/python/cpython/pull/30790 ___ Python tracker ___

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset f1c6ae3270913e095d24ae13ecf96f5a32c8c503 by Victor Stinner in branch 'main': bpo-46417: Fix race condition on setting type __bases__ (GH-30788) https://github.com/python/cpython/commit/f1c6ae3270913e095d24ae13ecf96f5a32c8c503 --

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +28974 pull_request: https://github.com/python/cpython/pull/30789 ___ Python tracker

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28973 pull_request: https://github.com/python/cpython/pull/30788 ___ Python tracker ___

[issue46469] asyncio Generic classes should return GenericAlias in __class_getitem__

2022-01-22 Thread miss-islington
miss-islington added the comment: New changeset 6ed874f8c59cc6c01d9663bad2f4bed8dc1c6109 by Kumar Aditya in branch '3.9': [3.9] bpo-46469: Make asyncio generic classes return GenericAlias (GH-30777) (GH-30785)

[issue46468] http.server documentation missing default value for port

2022-01-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +28972 pull_request: https://github.com/python/cpython/pull/30787 ___ Python tracker ___

[issue46468] http.server documentation missing default value for port

2022-01-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +28971 pull_request: https://github.com/python/cpython/pull/30786 ___ Python tracker

[issue46468] http.server documentation missing default value for port

2022-01-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset c8a536624e8f5d6612e3c275c5b19592583a8cf8 by Jelle Zijlstra in branch 'main': bpo-46468: document that "-m http.server" defaults to port 8000 (GH-30776) https://github.com/python/cpython/commit/c8a536624e8f5d6612e3c275c5b19592583a8cf8

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 6111d5dee2b24916ff95dba56efc569396a31851 by Miss Islington (bot) in branch '3.10': bpo-46425: fix direct invocation of `asyncio` tests (GH-30725) (#30782) https://github.com/python/cpython/commit/6111d5dee2b24916ff95dba56efc569396a31851

[issue46469] asyncio Generic classes should return GenericAlias in __class_getitem__

2022-01-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 90e2998db78cd15e45b3c82f6360ac8841e03945 by Miss Islington (bot) in branch '3.10': [3.10] bpo-46469: Make asyncio generic classes return GenericAlias (GH-30777) (#30784)

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-22 Thread miss-islington
miss-islington added the comment: New changeset 3c4a3745b900e748f99e80fc3728b534e857d1ff by Miss Islington (bot) in branch '3.9': bpo-46425: fix direct invocation of `asyncio` tests (GH-30725) https://github.com/python/cpython/commit/3c4a3745b900e748f99e80fc3728b534e857d1ff --

[issue46469] asyncio Generic classes should return GenericAlias in __class_getitem__

2022-01-22 Thread Kumar Aditya
Change by Kumar Aditya : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46469] asyncio Generic classes should return GenericAlias in __class_getitem__

2022-01-22 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +28970 pull_request: https://github.com/python/cpython/pull/30785 ___ Python tracker ___

[issue46469] asyncio Generic classes should return GenericAlias in __class_getitem__

2022-01-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset ea5b96842e066623a53015d8b2492ed61a5baf96 by Kumar Aditya in branch 'main': bpo-46469: Make asyncio generic classes return GenericAlias (GH-30777) https://github.com/python/cpython/commit/ea5b96842e066623a53015d8b2492ed61a5baf96 --

[issue46469] asyncio Generic classes should return GenericAlias in __class_getitem__

2022-01-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +28969 pull_request: https://github.com/python/cpython/pull/30784 ___ Python tracker

[issue46340] DeprecationWarning emitted when running asyncio tests

2022-01-22 Thread Kumar Aditya
Change by Kumar Aditya : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46460] Doc/library/dis.rst lists `versionchange` twice for `WITH_EXCEPT_START`

2022-01-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46460] Doc/library/dis.rst lists `versionchange` twice for `WITH_EXCEPT_START`

2022-01-22 Thread Irit Katriel
Irit Katriel added the comment: New changeset 5d735241168cefe00be177ef4152955c100177ae by Nikita Sobolev in branch 'main': bpo-46460: remove duplicated `versionchanged` from `dis.rst` (GH-30752) https://github.com/python/cpython/commit/5d735241168cefe00be177ef4152955c100177ae --

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 5a5340044ca98cbe6297668d91bccba04b102923 by Nikita Sobolev in branch 'main': bpo-46425: fix direct invocation of `asyncio` tests (#30725) https://github.com/python/cpython/commit/5a5340044ca98cbe6297668d91bccba04b102923 -- nosy:

[issue46383] _zoneinfo module_free has invalid function signature

2022-01-22 Thread miss-islington
miss-islington added the comment: New changeset 3e7d06a1fa2102723314552b37410d11fefa928a by Kumar Aditya in branch '3.9': [3.9] bpo-46383: Fix signature of zoneinfo module_free function (GH-3… (GH-30611) https://github.com/python/cpython/commit/3e7d06a1fa2102723314552b37410d11fefa928a

[issue46383] _zoneinfo module_free has invalid function signature

2022-01-22 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +28968 pull_request: https://github.com/python/cpython/pull/30783 ___ Python tracker ___

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +28967 pull_request: https://github.com/python/cpython/pull/30782 ___ Python tracker

[issue46471] use global singletons for single byte bytes objects in deepfreeze

2022-01-22 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +28966 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30781 ___ Python tracker ___

[issue46471] use global singletons for single byte bytes objects in deepfreeze

2022-01-22 Thread Kumar Aditya
New submission from Kumar Aditya : By using global singletons for single byte bytes objects in deepfreeze, there is no need to generate c code for it so it reduces the size of generated c file and reduces memory use of the objects when they are allocated on the heap as now they are

[issue46470] `_remove_dups_flatten` in `typing.py` contains dead branch

2022-01-22 Thread Nikita Sobolev
Change by Nikita Sobolev : -- keywords: +patch pull_requests: +28965 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30780 ___ Python tracker ___

[issue46470] `_remove_dups_flatten` in `typing.py` contains dead branch

2022-01-22 Thread Nikita Sobolev
New submission from Nikita Sobolev : Here's how `_remove_dups_flatten` is defined right now: ``` def _remove_dups_flatten(parameters): """An internal helper for Union creation and substitution: flatten Unions among parameters, then remove duplicates. """ # Flatten out

[issue45995] string formatting: normalize negative zero

2022-01-22 Thread Mark Dickinson
Mark Dickinson added the comment: [John] > Mark, would you give it a review this month? Apologies; my holiday-break free time was nobbled from unexpected quarters. I can't promise to find time this month, but I can promise to try. I did at least skim through the PR, and while there are

[issue46249] [sqlite3] move set lastrowid out of the query loop and enable it for executemany()

2022-01-22 Thread Dong-hee Na
Change by Dong-hee Na : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue46249] [sqlite3] move set lastrowid out of the query loop and enable it for executemany()

2022-01-22 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 38afeb1a336f0451c0db86df567ef726f49f6438 by Erlend Egeberg Aasland in branch 'main': bpo-46249: Move set lastrowid out of the sqlite3 query loop (GH-30489) https://github.com/python/cpython/commit/38afeb1a336f0451c0db86df567ef726f49f6438

[issue46445] Multiple inheritance of TypedDict is not covered in `test_typing`

2022-01-22 Thread Nikita Sobolev
Nikita Sobolev added the comment: Thanks for the review and merge! :sparkle: -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue46396] Typing: test invalid usages of `Concatenate`

2022-01-22 Thread Nikita Sobolev
Nikita Sobolev added the comment: With this change `typing.py` and `typing_extensions.py` will have different logic: https://github.com/python/typing/blob/523cf0233edc7a29502fbd30dc6bf641a7408e16/typing_extensions/src/typing_extensions.py#L1805-L1811 Jelle, what should we do? --

[issue46399] Addition of `mapping` attribute to dict views classes has inadvertently broken type-checkers

2022-01-22 Thread Alex Waygood
Alex Waygood added the comment: Thanks for the PRs, Kumar — I appreciate you putting in the time. Sorry for the wasted effort. -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue43079] wrong IP address range given for ipv4_mapped

2022-01-22 Thread Kumar Aditya
Change by Kumar Aditya : -- versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list

[issue46396] Typing: test invalid usages of `Concatenate`

2022-01-22 Thread Nikita Sobolev
Nikita Sobolev added the comment: > So maybe that code could just be removed? I see this trend in typing.py :) I think it makes sense to make all new types (I still consider `ParamSpec` and `Concatenate` as new, desipte the fact they are already released in 3.10) as flexible as possible.

[issue46453] argparse subparser help text is not escaped before string formatting

2022-01-22 Thread Irit Katriel
Irit Katriel added the comment: This is a feature. See https://docs.python.org/3/library/argparse.html#help -- nosy: +iritkatriel resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue46421] unittest ValueError when invoking as module

2022-01-22 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +kumaraditya303, serhiy.storchaka type: -> behavior versions: +Python 3.11, Python 3.9 ___ Python tracker ___

[issue45524] Cross-module dataclass inheritance breaks get_type_hints

2022-01-22 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +Jelle Zijlstra ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29257] Possible error in discussion of Abstract Base Classes and abstract properties

2022-01-22 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46442] testExceptionCleanupNames doesn't test anything?

2022-01-22 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks, @yellowdusk1590! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

<    1   2