[issue46947] unicodedata.name gives ValueError for control characters

2022-03-07 Thread Steven D'Aprano
Steven D'Aprano added the comment: The behaviour is technically correct, but confusing and unfortunate, and I don't think we can fix it. Unicode does not define names for the ASCII control characters. But it does define aliases for them, based on the C0 control char standard. unicodedata.lo

[issue46841] Inline bytecode caches

2022-03-07 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: +29859 pull_request: https://github.com/python/cpython/pull/31742 ___ Python tracker ___ ___

[issue43923] Can't create generic NamedTuple as of py3.9

2022-03-07 Thread Guido van Rossum
Guido van Rossum added the comment: Playing tricks where compile-time and run-time see slightly different types is probably more productive than trying to revert a PR that was in Python 3.9 and 3.10. :-) I'm not opposed to supporting generic NamedTuple, but I expect the fix will never hit 3

[issue46947] unicodedata.name gives ValueError for control characters

2022-03-07 Thread Joe Cool
Joe Cool added the comment: My recommendation would be to add a keyword parameter, defaulting to False, to name(), something like give_full_alias, or maybe errors=“give_full_alias” like the IO functions. In the meantime, as the author of perllib, I had to make my own dict to return to the us

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-07 Thread Gregory P. Smith
Gregory P. Smith added the comment: Is there anything on our end we can do to prevent this kind of issue in the future? Am I wrong to see this as just fixing our package to avoid a design flaw in Windows OS level package management? Certainly other packages in the world must run into simila

[issue45680] Documentation on `GenericAlias` objects and `__class_getitem__` could be improved

2022-03-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +29860 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/31743 ___ Python tracker ___ __

[issue45680] Documentation on `GenericAlias` objects and `__class_getitem__` could be improved

2022-03-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +29861 pull_request: https://github.com/python/cpython/pull/31744 ___ Python tracker ___ __

[issue45680] Documentation on `GenericAlias` objects and `__class_getitem__` could be improved

2022-03-07 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset 50731297a9b6d57eec3b3f89522785b23f7b3e71 by Alex Waygood in branch 'main': bpo-45680: Improve docs on subscriptions w.r.t. `GenericAlias` objects (GH-29479) https://github.com/python/cpython/commit/50731297a9b6d57eec3b3f89522785b23f7b3e71 ---

[issue46170] Improving the error message when subclassing NewType

2022-03-07 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset f391f9bf28f0bba7939d9f9e5a7a6396d2b0df62 by James Hilton-Balfe in branch 'main': bpo-46170: Improve the error message when subclassing NewType (GH-30268) https://github.com/python/cpython/commit/f391f9bf28f0bba7939d9f9e5a7a6396d2b0df62 ---

[issue46170] Improving the error message when subclassing NewType

2022-03-07 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue45680] Documentation on `GenericAlias` objects and `__class_getitem__` could be improved

2022-03-07 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: And now I think we're really done! Thanks for all your work here @AlexWaygood. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue43224] Add support for PEP 646

2022-03-07 Thread Jelle Zijlstra
New submission from Jelle Zijlstra : New changeset 7a793a388b017be635ea41ef75b0fd8bcf75a309 by Matthew Rahtz in branch 'main': bpo-43224: Implement PEP 646 changes to typing.py (GH-31021) https://github.com/python/cpython/commit/7a793a388b017be635ea41ef75b0fd8bcf75a309 -- __

[issue46494] Mention typing_extensions in the typing documentation

2022-03-07 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset 8debeed3075bf4d7e568e65da16bec63cf276f4f by Meer Suri in branch 'main': bpo-46494: Mention the typing_extensions pkg in typing docs (GH-31260) https://github.com/python/cpython/commit/8debeed3075bf4d7e568e65da16bec63cf276f4f -- __

[issue46494] Mention typing_extensions in the typing documentation

2022-03-07 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Thanks for the patch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46494] Mention typing_extensions in the typing documentation

2022-03-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +29862 pull_request: https://github.com/python/cpython/pull/31746 ___ Python tracker _

[issue46494] Mention typing_extensions in the typing documentation

2022-03-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +29863 pull_request: https://github.com/python/cpython/pull/31747 ___ Python tracker ___ __

[issue45680] Documentation on `GenericAlias` objects and `__class_getitem__` could be improved

2022-03-07 Thread miss-islington
miss-islington added the comment: New changeset 06108c08ddbb4efda804eb74dd33928348102e6f by Miss Islington (bot) in branch '3.10': bpo-45680: Improve docs on subscriptions w.r.t. `GenericAlias` objects (GH-29479) https://github.com/python/cpython/commit/06108c08ddbb4efda804eb74dd33928348102e

[issue45680] Documentation on `GenericAlias` objects and `__class_getitem__` could be improved

2022-03-07 Thread miss-islington
miss-islington added the comment: New changeset e83f084084296a9b16b83b324a715045d3614c92 by Miss Islington (bot) in branch '3.9': bpo-45680: Improve docs on subscriptions w.r.t. `GenericAlias` objects (GH-29479) https://github.com/python/cpython/commit/e83f084084296a9b16b83b324a715045d3614c9

[issue46878] [sqlite3] remove "non-standard" from docstrings

2022-03-07 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset 4d95fa1ac5d31ff450fb2f31b55ce1eb99d6efcb by Erlend Egeberg Aasland in branch 'main': bpo-46878: Purge 'non-standard' from sqlite3 docstrings (GH-31612) https://github.com/python/cpython/commit/4d95fa1ac5d31ff450fb2f31b55ce1eb99d6efcb -

[issue46494] Mention typing_extensions in the typing documentation

2022-03-07 Thread miss-islington
miss-islington added the comment: New changeset e053f0e9f41791095a924e2aceaaa025a058ed57 by Miss Islington (bot) in branch '3.10': bpo-46494: Mention the typing_extensions pkg in typing docs (GH-31260) https://github.com/python/cpython/commit/e053f0e9f41791095a924e2aceaaa025a058ed57 ---

[issue46494] Mention typing_extensions in the typing documentation

2022-03-07 Thread miss-islington
miss-islington added the comment: New changeset 0c718e02f60f98275c62e8a2a152f086650e88ea by Miss Islington (bot) in branch '3.9': bpo-46494: Mention the typing_extensions pkg in typing docs (GH-31260) https://github.com/python/cpython/commit/0c718e02f60f98275c62e8a2a152f086650e88ea

[issue46951] Zipapp contents are in filesystem-dependent order

2022-03-07 Thread Henry Finucane
New submission from Henry Finucane : Which makes builds non-reproducible. There was some mention of fixing this in https://bugs.python.org/issue30693, but it never got done. -- components: Library (Lib) messages: 414723 nosy: h.finucane priority: normal pull_requests: 29864 severity: n

[issue39829] __len__ called twice in the list() constructor

2022-03-07 Thread Matt Wozniski
Matt Wozniski added the comment: Pardon me for necroing an old issue, but someone pointed out the surprising behavior of `__len__` being called twice by `list(iterable)`, and it caught my curiosity. https://github.com/python/cpython/commit/372d705d958964289d762953d0a61622755f5386 made it so

[issue2771] Test issue

2022-03-07 Thread Ezio Melotti
Change by Ezio Melotti : -- dependencies: +Add math.tau, Python source code build fails with old mercurial superseder: -> Test issue ___ Python tracker ___

[issue46952] pip progress bar display bug

2022-03-07 Thread 미사일
New submission from 미사일 : Pip progress bar isn't connect each other and overlap with other components. -- components: 2to3 (2.x to 3.x conversion tool) messages: 414725 nosy: misileminecord priority: normal severity: normal status: open title: pip progress bar display bug versions: Pytho

[issue46952] pip progress bar display bug

2022-03-07 Thread 미사일
Change by 미사일 : -- components: -2to3 (2.x to 3.x conversion tool) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue46952] pip progress bar display bug

2022-03-07 Thread 미사일
Change by 미사일 : Added file: https://bugs.python.org/file50663/screen.jpg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue46952] pip progress bar display bug

2022-03-07 Thread Dennis Sweeney
Dennis Sweeney added the comment: pip is maintained externally at https://github.com/pypa/pip , so that is likely a better place to open an issue about pip. -- nosy: +Dennis Sweeney ___ Python tracker _

[issue46952] pip progress bar display bug

2022-03-07 Thread Dennis Sweeney
Change by Dennis Sweeney : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue39829] __len__ called twice in the list() constructor

2022-03-07 Thread Dennis Sweeney
Dennis Sweeney added the comment: Related to Matt's idea is https://bugs.python.org/issue43574 -- nosy: +Dennis Sweeney ___ Python tracker ___

[issue39829] __len__ called twice in the list() constructor

2022-03-07 Thread Inada Naoki
Change by Inada Naoki : -- nosy: +methane ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue43574] Regression in overallocation for literal list initialization in v3.9+

2022-03-07 Thread Inada Naoki
Change by Inada Naoki : -- nosy: +methane ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue43574] Regression in overallocation for literal list initialization in v3.9+

2022-03-07 Thread Inada Naoki
Inada Naoki added the comment: Relating issue: https://twitter.com/nedbat/status/1489233208713437190 Current overallocation strategy is rough. We need to make it more smooth. -- versions: +Python 3.11 -Python 3.9 ___ Python tracker

[issue46953] use FASTCALL for __import__ builtin

2022-03-07 Thread Kumar Aditya
New submission from Kumar Aditya : Use FASTCALL for __import__ builtin. Benchmark: -- import pyperf runner = pyperf.Runner() runner.timeit(name="bench __import__", stmt="__import__('asyncio')" ---

[issue45680] Documentation on `GenericAlias` objects and `__class_getitem__` could be improved

2022-03-07 Thread Alex Waygood
Alex Waygood added the comment: Thanks so much to Ken, Łukasz, Jelle, Guido, and everybody else who helped review these PRs! -- ___ Python tracker ___

<    1   2