[issue46005] [doc] replace 'distutils' examples with 'setuptools'

2021-12-07 Thread Elmir
New submission from Elmir : As the distutils have been deprecated, the documentation on building C/C++ extension modules should be updated to use more future proof tool. I guess the section: 'Building C and C++ Extensions with distutils' should be replaced with: 'Building C and C++ Extensio

[issue28533] Remove asyncore, asynchat and smtpd modules

2021-12-07 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28176 pull_request: https://github.com/python/cpython/pull/29951 ___ Python tracker ___ __

[issue28533] Remove asyncore, asynchat and smtpd modules

2021-12-07 Thread STINNER Victor
STINNER Victor added the comment: I reopen the issue: the Steering Council asked to revert the change removing the 3 modules, since the DeprecationWarning was only emitted in a single Python release (Python 3.10) and so the PEP 387 process was not respected. I created the PR 29951 to add aga

[issue45929] extend json.tool --json-lines to ignore empty rows

2021-12-07 Thread Alex Waygood
Alex Waygood added the comment: I am changing the "version" field to 3.11, as enhancement proposals are generally only considered for unreleased versions of Python. -- nosy: +AlexWaygood, bob.ippolito, ezio.melotti, rhettinger versions: +Python 3.11 -Python 3.10 _

[issue41174] asyncio.coroutine decorator returns a non-generator function when using PYTHONASYNCIODEBUG

2021-12-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Agree, thanks! -- status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue28533] Remove asyncore, asynchat and smtpd modules

2021-12-07 Thread STINNER Victor
STINNER Victor added the comment: https://github.com/python/steering-council/issues/86 -- ___ Python tracker ___ ___ Python-bugs-li

[issue41174] asyncio.coroutine decorator returns a non-generator function when using PYTHONASYNCIODEBUG

2021-12-07 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue27016] BlockingIOError not raised inside function.

2021-12-07 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> works for me stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Py

[issue44637] Quoting issue on header Reply-To and other address headers

2021-12-07 Thread Julien Castiaux
Julien Castiaux added the comment: Hello there, There is a pull-request on github, had to modify `_refold_parse_tree` but I could keep the diff quite small. It is properly tested and it is waiting a review :) We have a patch at work so it is *absolutely not* urgent, feel free to review it

[issue41210] Docs: More description(warning) about LZMA1 + BCJ with FORMAT_RAW

2021-12-07 Thread bendupndo
bendupndo added the comment: Candy Crush Saga MOD APK If you have not yet played the legendary Candy Crush Saga, you should definitely try its MOD APK version. This cheat is a third party application that lets you have unlimited lives, moves, and collect stuff. It also allows you to purchas

[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-12-07 Thread Akuli
Akuli added the comment: Thanks! Works for me in browser now. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue45929] extend json.tool --json-lines to ignore empty rows

2021-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Both JSON Lines (https://jsonlines.org/) and Newline Delimited JSON (http://ndjson.org/) formats require that Each Line is a Valid JSON Value. If you want to ignore empty lines you can filter them out with `sed /^$/d`. -- nosy: +serhiy.storchaka _

[issue46000] NetBSD curses compatibility

2021-12-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue45995] string formatting: normalize negative zero

2021-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Well, it makes sense for negative zero produced by rounding. But if we add a special support for this case, it would be useful to have some control on the type of rounding. Currently floats are rounded to the nearest decimal number, but in some cases it wo

[issue46001] JSON module documentation mentions OverflowError for case that raises RecursionError

2021-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8db06528cacc94e67eb1fb2e4c2acc061a515671 by James Gerity in branch 'main': bpo-46001: Change OverflowError to RecursionError in JSON library docstrings (GH-29943) https://github.com/python/cpython/commit/8db06528cacc94e67eb1fb2e4c2acc061a5156

[issue46001] JSON module documentation mentions OverflowError for case that raises RecursionError

2021-12-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +28178 pull_request: https://github.com/python/cpython/pull/29953 ___ Python tracker ___ __

[issue46001] JSON module documentation mentions OverflowError for case that raises RecursionError

2021-12-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +28177 pull_request: https://github.com/python/cpython/pull/29952 ___ Python tracker _

[issue46001] JSON module documentation mentions OverflowError for case that raises RecursionError

2021-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution James! -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___

[issue46001] JSON module documentation mentions OverflowError for case that raises RecursionError

2021-12-07 Thread miss-islington
miss-islington added the comment: New changeset 15da2a2723245710f1bd2c7cbd5b450532ae7728 by Miss Islington (bot) in branch '3.10': bpo-46001: Change OverflowError to RecursionError in JSON library docstrings (GH-29943) https://github.com/python/cpython/commit/15da2a2723245710f1bd2c7cbd5b4505

[issue46001] JSON module documentation mentions OverflowError for case that raises RecursionError

2021-12-07 Thread miss-islington
miss-islington added the comment: New changeset 2e360832d7ed2697d715e93cb9f859a52264d60b by Miss Islington (bot) in branch '3.9': bpo-46001: Change OverflowError to RecursionError in JSON library docstrings (GH-29943) https://github.com/python/cpython/commit/2e360832d7ed2697d715e93cb9f859a52

[issue45582] Rewrite getpath.c in Python

2021-12-07 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28179 pull_request: https://github.com/python/cpython/pull/29954 ___ Python tracker ___

[issue45963] Embed interpreter frame in generator.

2021-12-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Unfortunately, all refleak buildbots are failing after 299483c95d601ddcfdce2f96418b6499c1fc7b9f was merged. I bisected the problem to it: 299483c95d601ddcfdce2f96418b6499c1fc7b9f is the first bad commit commit 299483c95d601ddcfdce2f96418b6499c1fc7b9f

[issue45963] Embed interpreter frame in generator.

2021-12-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This is also unfortunately blocking the 3.11.a3 release :( -- priority: normal -> release blocker ___ Python tracker ___ _

[issue46001] JSON module documentation mentions OverflowError for case that raises RecursionError

2021-12-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45890] Add tests for tracing try-except-finally blocks

2021-12-07 Thread Mark Shannon
New submission from Mark Shannon : New changeset a310fd83a014484b8c680de83540c4908b344c6c by Irit Katriel in branch 'main': bpo-45890: Add tests for tracing try-except-finally blocks (GH-29746) https://github.com/python/cpython/commit/a310fd83a014484b8c680de83540c4908b344c6c -- nosy:

[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-12-07 Thread Eric V. Smith
Eric V. Smith added the comment: @Akuli: thanks for checking. And thanks so much for the awesome debugging with curl: that was the key to solving the problem. I didn't hear back from lahey.com what the problem was, but I'd sure be curious to know! -- resolution: -> third party stag

[issue43795] Implement PEP 652 -- Maintaining the Stable ABI

2021-12-07 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +28180 pull_request: https://github.com/python/cpython/pull/29956 ___ Python tracker ___ ___

[issue35821] Clarify when logging events are propagated when propagate is true

2021-12-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +28181 pull_request: https://github.com/python/cpython/pull/29957 ___ Python tracker _

[issue35821] Clarify when logging events are propagated when propagate is true

2021-12-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +28182 pull_request: https://github.com/python/cpython/pull/29958 ___ Python tracker ___ __

[issue35821] Clarify when logging events are propagated when propagate is true

2021-12-07 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 2bf551757e0a7e3cc6ce2ebed2178b82438ac6b5 by Vinay Sajip in branch 'main': bpo-35821: Add an example to Logger.propagate documentation. (GH-29841) https://github.com/python/cpython/commit/2bf551757e0a7e3cc6ce2ebed2178b82438ac6b5 -- __

[issue45890] Add tests for tracing try-except-finally blocks

2021-12-07 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46004] Incorrect bad token identified in 3.10.1

2021-12-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +28183 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29959 ___ Python tracker __

[issue46004] Incorrect bad token identified in 3.10.1

2021-12-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch, patch pull_requests: +28183, 28184 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29959 ___ Python tracker

[issue28533] Remove asyncore, asynchat and smtpd modules

2021-12-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset cf7eaa4617295747ee5646c4e2b7e7a16d7c64ab by Victor Stinner in branch 'main': Revert "bpo-28533: Remove asyncore, asynchat, smtpd modules (GH-29521)" (GH-29951) https://github.com/python/cpython/commit/cf7eaa4617295747ee5646c4e2b7e7a16d7c64ab

[issue45986] 3.10.0 ships with older tcl/tk DLLs than 3.9.9 causing Windows Installer problems

2021-12-07 Thread Athanasius
Athanasius added the comment: I can confirm that things are now working properly for us with Python 3.10.1. This can be closed with regards to the immediate issue, but perhaps the release team might want to implement some checks/policy to avoid such an issue in future ? --

[issue33080] regen-importlib is causing build races against other regen-all targets in Makefile.pre.in

2021-12-07 Thread Christian Heimes
Christian Heimes added the comment: May I ask why you are running the regen-all target at all? A normal end-user build of CPython does not need make regen-all. It's only used for CI and internal development. -- nosy: +christian.heimes ___ Python t

[issue33080] regen-importlib is causing build races against other regen-all targets in Makefile.pre.in

2021-12-07 Thread Alexander Kanavin
Alexander Kanavin added the comment: We have long ago updated to a much newer python and removed the workaround, so the whatever the issue was, it is completely obsolete. Thanks! -- resolution: -> works for me stage: -> resolved status: open -> closed __

[issue35821] Clarify when logging events are propagated when propagate is true

2021-12-07 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset f78c229b4ec8621a9b15c6396b6c91518e8975d6 by Miss Islington (bot) in branch '3.10': [3.10] bpo-35821: Add an example to Logger.propagate documentation. (GH-29841) (GH-29957) https://github.com/python/cpython/commit/f78c229b4ec8621a9b15c6396b6c91518

[issue33080] regen-importlib is causing build races against other regen-all targets in Makefile.pre.in

2021-12-07 Thread Alexander Kanavin
Alexander Kanavin added the comment: (removed both the workaround, and regen-all itself) -- ___ Python tracker ___ ___ Python-bugs-

[issue35821] Clarify when logging events are propagated when propagate is true

2021-12-07 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset e688568cdfe758a2316ecaf0c8df868d5dde0d83 by Miss Islington (bot) in branch '3.9': [3.9] bpo-35821: Add an example to Logger.propagate documentation. (GH-29841) (GH-29958) https://github.com/python/cpython/commit/e688568cdfe758a2316ecaf0c8df868d5dd

[issue35821] Clarify when logging events are propagated when propagate is true

2021-12-07 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue45963] Embed interpreter frame in generator.

2021-12-07 Thread Mark Shannon
Mark Shannon added the comment: I'll look into it now, and fix or revert it. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue24253] pydoc for namespace packages indicates FILE as built-in

2021-12-07 Thread Irit Katriel
Irit Katriel added the comment: Reproduce on 3.11. -- nosy: +iritkatriel type: -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4, Python 3.5 ___ Python tracker

[issue33080] regen-importlib is causing build races against other regen-all targets in Makefile.pre.in

2021-12-07 Thread Christian Heimes
Christian Heimes added the comment: Fantasic! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue26120] pydoc: move __future__ imports out of the DATA block

2021-12-07 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel type: -> enhancement versions: +Python 3.11 -Python 3.5, Python 3.6 ___ Python tracker ___ _

[issue45664] resolve_bases() and new_class() do not work with type alias of a built-in type

2021-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset bffce2cbb5543bc63a67e33ad599328a12f2b00a by Miss Islington (bot) in branch '3.9': bpo-45664: Fix resolve_bases() and new_class() for GenericAlias instance as a base (GH-29298) (GH-29928) https://github.com/python/cpython/commit/bffce2cbb5543b

[issue45664] resolve_bases() and new_class() do not work with type alias of a built-in type

2021-12-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45663] is_dataclass() does not work for dataclasses which are subclasses of types.GenericAlias

2021-12-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45436] test_tk.test_configure_type() fails with Tcl/Tk 8.6.11

2021-12-07 Thread E. Paine
E. Paine added the comment: Fix merged upstream: https://core.tcl-lang.org/tk/tktview/be8f5b9f Can issue be closed now? -- ___ Python tracker ___ _

[issue45995] string formatting: normalize negative zero

2021-12-07 Thread John Belmonte
John Belmonte added the comment: > changing %-formatting doesn't seem viable I'm concerned about treating %-formatting specially. As far as float/complex, the logical and efficient place to put this change seems to be PyOS_double_to_string(), which affects all three formatting options. For

[issue45995] string formatting: normalize negative zero

2021-12-07 Thread Steven D'Aprano
Steven D'Aprano added the comment: Sorry John, I don't understand your comment about "treating %-formatting specifically". Isn't the point here not to change %-formatting at all? -- ___ Python tracker _

[issue45995] string formatting: normalize negative zero

2021-12-07 Thread Eric V. Smith
Eric V. Smith added the comment: %-formatting already doesn't support some formats that float.__format__ does, for example ','. So I agree we shouldn't modify %-formatting. I don't have much of an opinion on whether changing __format__ is a good idea or not. --

[issue45963] Embed interpreter frame in generator.

2021-12-07 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +28185 pull_request: https://github.com/python/cpython/pull/29960 ___ Python tracker ___

[issue28141] shutil.copystat utime lookup fails on certain Android file systems

2021-12-07 Thread Irit Katriel
Irit Katriel added the comment: Jerry, is this still a problem with current python versions? (2.7/3.5 are no longer being maintained). -- nosy: +iritkatriel status: open -> pending ___ Python tracker __

[issue38579] 'u' formatted arrays mostly prevent appends of 4 byte characters

2021-12-07 Thread Irit Katriel
Irit Katriel added the comment: Can you include a code snippet to demonstrate the problem? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue46004] Incorrect bad token identified in 3.10.1

2021-12-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 1c7a1c3be08ee911d347fffd2716f3911ba751f9 by Pablo Galindo Salgado in branch 'main': bpo-46004: Fix error location for loops with invalid targets (GH-29959) https://github.com/python/cpython/commit/1c7a1c3be08ee911d347fffd2716f3911ba751f9

[issue46004] Incorrect bad token identified in 3.10.1

2021-12-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +28186 pull_request: https://github.com/python/cpython/pull/29961 ___ Python tracker ___ ___

[issue45995] string formatting: normalize negative zero

2021-12-07 Thread John Belmonte
John Belmonte added the comment: I see now. PyOS_double_to_string() could gain the extra flag to coerce negative zero but, out of the three formatting methods, only format() and f-string would use the flag. -- ___ Python tracker

[issue24253] pydoc for namespace packages indicates FILE as built-in

2021-12-07 Thread Antony Lee
Change by Antony Lee : -- nosy: -Antony.Lee ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue26120] pydoc: move __future__ imports out of the DATA block

2021-12-07 Thread Antony Lee
Change by Antony Lee : -- nosy: -Antony.Lee ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue45755] Specialized generic class does not return class attributes in dir

2021-12-07 Thread Ken Jin
Change by Ken Jin : -- keywords: +patch pull_requests: +28187 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29962 ___ Python tracker ___

[issue35821] Clarify when logging events are propagated when propagate is true

2021-12-07 Thread Ken Jin
Change by Ken Jin : -- nosy: +kj nosy_count: 5.0 -> 6.0 pull_requests: +28188 pull_request: https://github.com/python/cpython/pull/29963 ___ Python tracker ___

[issue36850] shutil.copy2 fails with even with source network filesystem not supporting extended attributes

2021-12-07 Thread Irit Katriel
Irit Katriel added the comment: This seems fixed, can it be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___ Python-bugs-li

[issue45703] importlib.invalidate_caches() does not invalidate _NamespacePath's _last_parent_path-based cache

2021-12-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +28189 pull_request: https://github.com/python/cpython/pull/29964 ___ Python tracker ___ __

[issue45703] importlib.invalidate_caches() does not invalidate _NamespacePath's _last_parent_path-based cache

2021-12-07 Thread Petr Viktorin
Petr Viktorin added the comment: Sadly, the backport is non-trivial. I'm putting on my TODO list, but I doubt I'll get to it soon :( -- ___ Python tracker ___ ___

[issue22910] test_pydoc test_synopsis_sourceless is a flaky test

2021-12-07 Thread Irit Katriel
Irit Katriel added the comment: Shall we close this? It's pretty old and if the test is still flaky it will let us know. -- nosy: +iritkatriel ___ Python tracker ___

[issue23469] Delete Misc/*.wpr files

2021-12-07 Thread Irit Katriel
Irit Katriel added the comment: Closing as this seems abandoned. Feel free to reopen if not. -- nosy: +iritkatriel stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue26120] pydoc: move __future__ imports out of the DATA block

2021-12-07 Thread Vedran Čačić
Vedran Čačić added the comment: I thought that _Feature starts with an underscore precisely to evade such listings. Do other "private" module data also get listed? -- nosy: +veky ___ Python tracker _

[issue24393] Test urllib2_localnet fails depending on host proxy configuration

2021-12-07 Thread Irit Katriel
Irit Katriel added the comment: I'm closing this as there was no activity for 6 years and 3.5 is no longer maintained. Furthermore, it's not clear what problem the patch trying to solve. If this problem still exists on current versions (>= 3.9), please create a new issue and explain in more

[issue46004] Incorrect bad token identified in 3.10.1

2021-12-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset c52141200364898818956a73b955f7c04f634dc8 by Pablo Galindo Salgado in branch '3.10': [3.10] bpo-46004: Fix error location for loops with invalid targets (GH-29959). (GH-29961) https://github.com/python/cpython/commit/c52141200364898818956

[issue46004] Incorrect bad token identified in 3.10.1

2021-12-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46004] Incorrect bad token identified in 3.10.1

2021-12-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: >From > (https://friendly-traceback.github.io/docs/syntax_tracebacks_en_3.10.html#for-loop-missing-in-operator), > this is what was shown for Python 3.10.0 Yeah, we are not showing that anymore as we only trigger the error when it happens inside

[issue35821] Clarify when logging events are propagated when propagate is true

2021-12-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +28190 pull_request: https://github.com/python/cpython/pull/29965 ___ Python tracker ___ __

[issue35821] Clarify when logging events are propagated when propagate is true

2021-12-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +28191 pull_request: https://github.com/python/cpython/pull/29966 ___ Python tracker ___ __

[issue35821] Clarify when logging events are propagated when propagate is true

2021-12-07 Thread Ken Jin
Ken Jin added the comment: New changeset c7e7a4b969b5728d4b4f3c59bf98e1e830d5c6d6 by Ken Jin in branch 'main': bpo-35821: Fix restructuredtext code formatting in logging.rst (GH-29963) https://github.com/python/cpython/commit/c7e7a4b969b5728d4b4f3c59bf98e1e830d5c6d6 --

[issue25726] [doc] sys.setprofile / sys.getprofile asymetry

2021-12-07 Thread Irit Katriel
Change by Irit Katriel : -- title: sys.setprofile / sys.getprofile asymetry -> [doc] sys.setprofile / sys.getprofile asymetry versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4 ___ Python tracker __

[issue35821] Clarify when logging events are propagated when propagate is true

2021-12-07 Thread miss-islington
miss-islington added the comment: New changeset 14f03ce6e8a33cc8b45f11c4d428193fc7c4a145 by Miss Islington (bot) in branch '3.10': [3.10] bpo-35821: Fix restructuredtext code formatting in logging.rst (GH-29963) (GH-29965) https://github.com/python/cpython/commit/14f03ce6e8a33cc8b45f11c4d428

[issue35821] Clarify when logging events are propagated when propagate is true

2021-12-07 Thread miss-islington
miss-islington added the comment: New changeset db42809d299d1bc3a07b29fabe8f74fa02a7e59e by Miss Islington (bot) in branch '3.9': bpo-35821: Fix restructuredtext code formatting in logging.rst (GH-29963) https://github.com/python/cpython/commit/db42809d299d1bc3a07b29fabe8f74fa02a7e59e -

[issue45947] Place dict (and values) pointers at a fixed (negative) offset from the base of the object.

2021-12-07 Thread Mark Shannon
Mark Shannon added the comment: New changeset 8319114feedd2a5b77378bba24eb9fb2689c5033 by Mark Shannon in branch 'main': bpo-45947: Place dict and values pointer at fixed (negative) offset just before GC header. (GH-29879) https://github.com/python/cpython/commit/8319114feedd2a5b77378bba24eb

[issue23947] Add mechanism to import stdlib package bypassing user packages

2021-12-07 Thread Irit Katriel
Change by Irit Katriel : -- type: -> enhancement versions: +Python 3.11 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker ___

[issue45635] Tidy up error handling in traceback.c / python run.c

2021-12-07 Thread Irit Katriel
Irit Katriel added the comment: New changeset d596acbd3b4f6716ed98895eb0b48e9830e0b320 by Irit Katriel in branch 'main': bpo-45635: standardize error handling in traceback.c (GH-29905) https://github.com/python/cpython/commit/d596acbd3b4f6716ed98895eb0b48e9830e0b320 --

[issue19745] TEST_DATA_DIR for out-of-tree builds

2021-12-07 Thread Irit Katriel
Irit Katriel added the comment: It does seem to be used here: https://github.com/python/cpython/blob/a6c3b0faa1d55e36539caf19bd3bcf1dea12df84/Lib/test/support/__init__.py#L553 -- nosy: +iritkatriel ___ Python tracker

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-12-07 Thread Christian Heimes
Christian Heimes added the comment: I just noticed that the PKG_CHECK_MODULES() fallbacks override the PKG_CONFIG environment variables. We should do something like ZLIB_CFLAGS=${ZLIB_CFLAGS:-""} ZLIB_LIBS=${ZLIB_LIBS:-"-lz"} for all env vars. I prefer the syntax over ${ZLIB_CFLAGS:=""

[issue46006] [subinterpreter] _PyUnicode_EqualToASCIIId() issue with subinterpreters

2021-12-07 Thread STINNER Victor
New submission from STINNER Victor : _PyUnicode_EqualToASCIIId() seems to be incompatible with subinterpreter: it makes the assumption that if direct pointer comparison fails and the string is interned, the two strings are not equal. -- super_init_without_args() of Objects/typeobject.c calls

[issue46006] [subinterpreter] _PyUnicode_EqualToASCIIId() issue with subinterpreters

2021-12-07 Thread STINNER Victor
STINNER Victor added the comment: In Python 3.9, the code works because the _Py_IDENTIFIER() API shares Python Unicode objects between all interpreters. _PyUnicode_FromId() was modified to be per-interpreter in bpo-39465 by: New changeset ba3d67c2fb04a7842741b1b6da5d67f22c579f33 by Victor St

[issue46006] [subinterpreter] _PyUnicode_EqualToASCIIId() issue with subinterpreters

2021-12-07 Thread STINNER Victor
STINNER Victor added the comment: Serhiy: Do you recall the idea of the PyUnicode_CHECK_INTERNED() optimization? The PyUnicode_CHECK_INTERNED() test is as old as the _PyUnicode_EqualToASCIIId() function. commit f5894dd646f5e39918377b37b8c8694cebdca103 Author: Serhiy Storchaka Date: Wed No

[issue46006] [subinterpreter] _PyUnicode_EqualToASCIIId() issue with subinterpreters

2021-12-07 Thread STINNER Victor
STINNER Victor added the comment: > Depending on how the stdlib abc.py file was loaded (in the main interpreter > and in the subinterpreter), __code__.co_freevars[0] may or may not be an > interned string. When the bug occurs, I see that the Python stdlib abc.py file is loaded twice: the ma

[issue39465] [subinterpreters] Design a subinterpreter friendly alternative to _Py_IDENTIFIER

2021-12-07 Thread STINNER Victor
STINNER Victor added the comment: This change introduced a subtle regression: bpo-46006 "[subinterpreter] _PyUnicode_EqualToASCIIId() issue with subinterpreters". -- ___ Python tracker _

[issue46007] [C API] PyUnicode_CHECK_INTERNED() doesn't work in the limited C API

2021-12-07 Thread STINNER Victor
New submission from STINNER Victor : The PyUnicode_CHECK_INTERNED() macro uses the PyASCIIObject structure which is *excluded* from the limited C API: /* Use only if you know it's a string */ #define PyUnicode_CHECK_INTERNED(op) \ (((PyASCIIObject *)(op))->state.interned) Using this macro

[issue46007] [C API] PyUnicode_CHECK_INTERNED() doesn't work in the limited C API

2021-12-07 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +petr.viktorin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue46006] [subinterpreter] _PyUnicode_EqualToASCIIId() issue with subinterpreters

2021-12-07 Thread STINNER Victor
STINNER Victor added the comment: There are around 27 _PyUnicode_EqualToASCIIId() calls in the Python code base. I don't think that avoiding _PyUnicode_EqualToASCIIId() is a good solution :-) Fixing _PyUnicode_EqualToASCIIId() to make it compatible with subinterpreters sound more reasonable:

[issue17780] the test suite should use a TEMPDIR in the build directory, not the source directory

2021-12-07 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> TEST_DATA_DIR for out-of-tree builds ___ Python tracker ___ ___

[issue45999] Links to packaging broken

2021-12-07 Thread Ned Deily
Ned Deily added the comment: Perhaps I'm misunderstanding to which links you are referring but I am not seeing any broken links in that section at the moment. Could you retry and, if so, list exactly which links do not work for you? -- nosy: +ned.deily status: open -> pending __

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-12-07 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28192 pull_request: https://github.com/python/cpython/pull/29967 ___ Python tracker ___

[issue45711] Simplify the interpreter's (type, val, tb) exception representation

2021-12-07 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +28193 pull_request: https://github.com/python/cpython/pull/29968 ___ Python tracker ___

[issue23469] Delete Misc/*.wpr files

2021-12-07 Thread Berker Peksag
Change by Berker Peksag : -- stage: resolved -> status: closed -> open versions: +Python 3.11 -Python 3.4, Python 3.5 ___ Python tracker ___ __

[issue45986] 3.10.0 ships with older tcl/tk DLLs than 3.9.9 causing Windows Installer problems

2021-12-07 Thread Ned Deily
Change by Ned Deily : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-lis

[issue27062] `inspect` doesn't have `__all__`

2021-12-07 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy type: behavior -> enhancement versions: +Python 3.11 -Python 3.5, Python 3.6 ___ Python tracker ___

[issue22910] test_pydoc test_synopsis_sourceless is a flaky test

2021-12-07 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-12-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: After PR29747, some buildbots are failing: https://buildbot.python.org/all/#/builders/58/builds/1217 for example: ``` 0:35:41 load avg: 3.70 Re-running failed tests in verbose mode 0:35:41 load avg: 3.70 Re-running test_code in verbose mode test_bad_i

  1   2   >