[issue43651] PEP 597: Fix EncodingWarning warnings in the Python stdlib

2021-04-04 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +23932 pull_request: https://github.com/python/cpython/pull/25190 ___ Python tracker ___ _

[issue43511] tkinter with Tk 8.6.11 is slow on macOS

2021-04-04 Thread Thomas Wamm
Thomas Wamm added the comment: I have forked my TerraLunar graphics program to make a simpler more portable version, called "TerraLunar-tkbench.py" to facilitate testing of the tkinter stack for graphics performance. The project folder is at: https://github.com/ThomasWamm/TerraLunar-tkbenc

[issue43731] PEP 597: logging.basicConfig() uses locale encoding.

2021-04-04 Thread Inada Naoki
New submission from Inada Naoki : logging.basicConfig() uses locale encoding when reading config file. We need to add `encoding=None` parameter and `encoding=io.text_encoding(encoding)` in it. -- components: Library (Lib) messages: 390223 nosy: methane priority: normal severity: norma

[issue43651] PEP 597: Fix EncodingWarning warnings in the Python stdlib

2021-04-04 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +23931 pull_request: https://github.com/python/cpython/pull/25189 ___ Python tracker ___ _

[issue43651] PEP 597: Fix EncodingWarning warnings in the Python stdlib

2021-04-04 Thread Inada Naoki
Inada Naoki added the comment: New changeset c8e5eb904e12010d2302364e1037c24a30f5e241 by Inada Naoki in branch 'master': bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25181) https://github.com/python/cpython/commit/c8e5eb904e12010d2302364e1037c24a30f5e241 -- ___

[issue43651] PEP 597: Fix EncodingWarning warnings in the Python stdlib

2021-04-04 Thread Inada Naoki
Inada Naoki added the comment: New changeset ee952b5c7355cb64179ca9bb77b13e7738132d3d by Inada Naoki in branch 'master': bpo-43651: PEP 597: Fix EncodingWarning in test_filecmp (GH-25159) https://github.com/python/cpython/commit/ee952b5c7355cb64179ca9bb77b13e7738132d3d -- _

[issue43651] PEP 597: Fix EncodingWarning warnings in the Python stdlib

2021-04-04 Thread Inada Naoki
Inada Naoki added the comment: New changeset de522a89e42a35da9275169b113460c3581e32d7 by Inada Naoki in branch 'master': bpo-43651: PEP 597: Fix test_email (GH-25158) https://github.com/python/cpython/commit/de522a89e42a35da9275169b113460c3581e32d7 -- __

[issue41974] Remove complex.__float__, complex.__floordiv__, etc

2021-04-04 Thread Guido van Rossum
Guido van Rossum added the comment: Indeed, Bartosz. Do you think you can help by submitting a PR for the docs? -- ___ Python tracker ___ _

[issue43730] Tutorial Documentation for 4.7.3.2. Positional-Only Parameters, no "/" question?

2021-04-04 Thread Thomas Cavalli
Change by Thomas Cavalli : -- title: Tutorial Documentation for 4.7.3.2. Positional-Only Parameters, no "/" question -> Tutorial Documentation for 4.7.3.2. Positional-Only Parameters, no "/" question? ___ Python tracker

[issue43730] Tutorial Documentation for 4.7.3.2. Positional-Only Parameters, no "/" question

2021-04-04 Thread Thomas Cavalli
Change by Thomas Cavalli : -- title: Tutorial Documentation for 4.7.3.2. Positional-Only Parameters, no "/" ques -> Tutorial Documentation for 4.7.3.2. Positional-Only Parameters, no "/" question ___ Python tracker

[issue43730] Tutorial Documentation for 4.7.3.2. Positional-Only Parameters, no "/" ques

2021-04-04 Thread Thomas Cavalli
New submission from Thomas Cavalli : The last sentence of this section seems wrong to me: "If there is no / in the function definition, there are no positional-only parameters." Should this better be: "If there is no / in the function definition, there are only positional-only parameters."

[issue43730] Tutorial Documentation for 4.7.3.2. Positional-Only Parameters, no "/" ques

2021-04-04 Thread Thomas Cavalli
Change by Thomas Cavalli : -- nosy: thomaspcavalli priority: normal severity: normal status: open title: Tutorial Documentation for 4.7.3.2. Positional-Only Parameters, no "/" ques ___ Python tracker _

[issue43729] Tutorial Documentation for 3.1.1. Numbers missing "result"

2021-04-04 Thread Thomas Cavalli
New submission from Thomas Cavalli : The Division (/) section example uses the commented variable "result" without it being defined. I am counting 4 numbers, (5.6667, 5, 2, 17), that are called result. The correct result can be implied but its poor documentation. So, either change: >>> 17 //

[issue43655] Tkinter: make X window & macOS recognize dialogs as such

2021-04-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Excuse me, it is the query boxes, not the search boxes, that already have the call. Unlike the other boxes I initially tested, they do not have the traffic lights. I believe that this, not movability, is the effect on mac of 'movableModal'. I tested a mes

[issue43655] Tkinter: make X window & macOS recognize dialogs as such

2021-04-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See https://wiki.tcl-lang.org/page/MacWindowStyle . I suppose it affects window decoration. -- ___ Python tracker ___

[issue43725] Create a release branch ABI stability regression test

2021-04-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Adding the rest of RM to evaluate the proposed solution -- nosy: +lukasz.langa, ned.deily, steve.dower ___ Python tracker ___

[issue43725] Create a release branch ABI stability regression test

2021-04-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ok, so seems that PR25188 works if the abi dump file for the "correct" version is generated with the same compiler that is used to check the ABI. I think this is acceptable if the workflow is: - As soon as a version is released, we generate in the sta

[issue43710] Access violations in C extension modules on Python 3.9.3

2021-04-04 Thread Christoph Gohlke
Christoph Gohlke added the comment: Thank you for fixing this issue so fast! Python 3.9.4 works well. -- ___ Python tracker ___ ___

[issue41974] Remove complex.__float__, complex.__floordiv__, etc

2021-04-04 Thread Bartosz
Bartosz added the comment: The docs for this should probably be updated to reflect the change: https://docs.python.org/3/library/typing.html#typing.runtime_checkable -- nosy: +DevilXD ___ Python tracker ___

[issue43725] Create a release branch ABI stability regression test

2021-04-04 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +23930 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25188 ___ Python tracker ___

[issue43655] Tkinter: make X window & macOS recognize dialogs as such

2021-04-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume 'floatable' means 'can move dialog around on top of the parent window'. On my Mac Air, with 3.8 and 8.6.8, all the dialogs I checked, including About, are already floatable in this sense, not just the search boxes (which already had "::tk::unsuppo

[issue43655] Tkinter: make X window & macOS recognize dialogs as such

2021-04-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Epaine (or Tal?): please test PR-25187 on Mac. -- nosy: +epaine title: Tkinter: Not setting _NET_WM_WINDOW_TYPE on FileDialog -> Tkinter: make X window & macOS recognize dialogs as such ___ Python tracker

[issue43725] Create a release branch ABI stability regression test

2021-04-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Also, we can use libabigail. For instance: root@7a3947dec3d8:/pytho# abidiff Python-3.9.2/python Python-3.9.3/python Functions changes summary: 0 Removed, 3 Changed (53 filtered out), 0 Added functions Variables changes summary: 0 Removed, 0 Changed (1

[issue43725] Create a release branch ABI stability regression test

2021-04-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: For example, the tool generates this report for the two 3.9 versions (attached to the issue). -- Added file: https://bugs.python.org/file49935/compat_report.html ___ Python tracker

[issue43593] pymalloc is not aware of Memory Tagging Extension (MTE) and crashes

2021-04-04 Thread Tim Peters
Tim Peters added the comment: I think it's time to change what address_in_range() tries to answer. It currently gives a precise answer to "is this byte address in a region obmalloc owns?". But that's stronger than what it needs to do its job: the real question is "is this an address that obm

[issue43725] Create a release branch ABI stability regression test

2021-04-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: We could have a buildbot using https://github.com/lvc/abi-compliance-checker -- ___ Python tracker ___ ___

[issue43655] Tkinter: Not setting _NET_WM_WINDOW_TYPE on FileDialog

2021-04-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 25187 makes all Tkinter dialog windows and most IDLE dialog windows (except about and help windows) be recognized as dialogs by window managers on macOS and X Window. It conforms the behavior of standard Tk dialog windows. This change is harmless enough

[issue43655] Tkinter: Not setting _NET_WM_WINDOW_TYPE on FileDialog

2021-04-04 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +23929 pull_request: https://github.com/python/cpython/pull/25187 ___ Python tracker ___

[issue43725] Create a release branch ABI stability regression test

2021-04-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: Indeed. In particular given the 3.9.3 issue I was assuming such a test should include asserting both the sizeof() ABI structs and offsetof() public members of all ABI structs. On each specific first class supported platform. This goes beyond what https:

[issue38794] Setup: support linking openssl statically

2021-04-04 Thread Christian Heimes
Christian Heimes added the comment: Lukas, no, some guy called Bill approached me at our last Illuminati meeting in Hollow Earth. He asked me to implement static linking for his next-gen secret brain chip. In exchange for the favor I was allowed to ride his T-Rex. True story! Thanks, William

[issue43709] Windows Tools\buildbot\clean.bat misses some needed pyc/pyo removal

2021-04-04 Thread David Bolen
David Bolen added the comment: No longer needed after commit c368ce74d2c9bcbf1ec320466819c2d4768252f7 -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue24275] lookdict_* give up too soon

2021-04-04 Thread Roundup Robot
Change by Roundup Robot : -- nosy: +python-dev nosy_count: 7.0 -> 8.0 pull_requests: +23928 pull_request: https://github.com/python/cpython/pull/25186 ___ Python tracker ___ __

[issue42128] Structural Pattern Matching (PEP 634)

2021-04-04 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +23927 pull_request: https://github.com/python/cpython/pull/25185 ___ Python tracker ___ ___ P

[issue43724] macOS cannot compute sizeof (long double)

2021-04-04 Thread Ned Deily
Ned Deily added the comment: P.S. Also check System Preferences -> Software Update for any updates to the Command Line Tools. -- ___ Python tracker ___ __

[issue43724] macOS cannot compute sizeof (long double)

2021-04-04 Thread Ned Deily
New submission from Ned Deily : >From the config.log you supplied, it looks the macOS system you are running on >was upgraded to the current latest version, 11.2.3, but the Command Line Tools >were not. It seems that with recent macOS releases, you often need to do that >manually for each bug

[issue38119] resource tracker destroys shared memory segments when other processes should still have valid access

2021-04-04 Thread Steve Newcomb
Steve Newcomb added the comment: Sometimes a leak is exactly what's wanted, i.e. a standing block of shared memory that allows sharing processes come and go ad libitum. I mention this because I haven't seen anyone mention it explicitly. While turicas's monkeypatch covers the use case in w

[issue43704] ShareableList() raises TypeError when passing "name" keyword

2021-04-04 Thread Steve Newcomb
Steve Newcomb added the comment: The documentation, which needs some improvement, I think. I'll suggest some improvements when I understand things a little better. For the record, it turned out that SharedMemoryManager was irrelevant, as were sockets. That makes sense since memory can't be

[issue41370] PEP 585 and ForwardRef

2021-04-04 Thread miss-islington
miss-islington added the comment: New changeset d56bcf915b8d5a6afe4555cb6813c8210824e751 by Miss Islington (bot) in branch '3.9': [3.9] bpo-41370: Add note about ForwardRefs and PEP585 generic types in docs (GH-25183) (GH-25184) https://github.com/python/cpython/commit/d56bcf915b8d5a6afe4555

[issue43728] Change the exception type and message raised when _curses is not found.

2021-04-04 Thread Shreyan Avigyan
New submission from Shreyan Avigyan : When importing the curses module, be it on Windows or Darwin or UNIX-based OS or any other platform, if the _curses module is not found then just a ModuleNotFoundError is raised. But this error is not very informational in case of _curses module. Since th

[issue41370] PEP 585 and ForwardRef

2021-04-04 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 8.0 -> 9.0 pull_requests: +23926 pull_request: https://github.com/python/cpython/pull/25184 ___ Python tracker _

[issue41370] PEP 585 and ForwardRef

2021-04-04 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 2b5913b4ee5852a28ca1509478f5582beb3aff7b by Ken Jin in branch 'master': bpo-41370: Add note about ForwardRefs and PEP585 generic types in docs (#25183) https://github.com/python/cpython/commit/2b5913b4ee5852a28ca1509478f5582beb3aff7b ---

[issue24160] Pdb sometimes raises exception when trying to remove a breakpoint defined in a different debugger session

2021-04-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: PR 25182 fixes the issue, so I am closing this again. Thanks for the quick fix, Irit! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue24160] Pdb sometimes raises exception when trying to remove a breakpoint defined in a different debugger session

2021-04-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset aadd4e10fda87b64ea527667238503da326a06e7 by Irit Katriel in branch 'master': bpo-24160: Fix test_pdb refleaks failure (GH-25182) https://github.com/python/cpython/commit/aadd4e10fda87b64ea527667238503da326a06e7 -- _

[issue41570] Add DearPyGui to faq/gui.rst

2021-04-04 Thread Irit Katriel
New submission from Irit Katriel : Jonathan, I see you closed the PR. Did you intend to close this issue as well? -- nosy: +iritkatriel status: open -> pending ___ Python tracker _

[issue41370] PEP 585 and ForwardRef

2021-04-04 Thread Ken Jin
Change by Ken Jin : -- nosy: +kj nosy_count: 7.0 -> 8.0 pull_requests: +23925 pull_request: https://github.com/python/cpython/pull/25183 ___ Python tracker ___

[issue20626] Manager documentation unclear about lists and thread safeness

2021-04-04 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: 1. A link was added in commit 86a76684269f940a20366cb42668f1acb0982dca 2. The Programming Guidelines mentions thread safety of proxies: https://docs.python.org/3/library/multiprocessing.html#programming-guidelines Can this be closed? -- nosy

[issue24160] Pdb sometimes raises exception when trying to remove a breakpoint defined in a different debugger session

2021-04-04 Thread Irit Katriel
Irit Katriel added the comment: With the patch: PS C:\Users\User\src\cpython-dev> ./python -m test test_pdb -R 3:3 Running Debug|x64 interpreter... 0:00:00 Run tests sequentially 0:00:00 [1/1] test_pdb beginning 6 repetitions 123456 .. == Tests result: SUCCESS == 1 test OK. Total durati

[issue24160] Pdb sometimes raises exception when trying to remove a breakpoint defined in a different debugger session

2021-04-04 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +23924 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/25182 ___ Python tracker ___

[issue24160] Pdb sometimes raises exception when trying to remove a breakpoint defined in a different debugger session

2021-04-04 Thread Irit Katriel
Irit Katriel added the comment: Thanks, I'm looking. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue24160] Pdb sometimes raises exception when trying to remove a breakpoint defined in a different debugger session

2021-04-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Per our buildbot policy (https://discuss.python.org/t/policy-to-revert-commits-on-buildbot-failure/404) we will need to revert this in 24 hours if is not fixed to avoid masking future errors. -- ___ Python

[issue24160] Pdb sometimes raises exception when trying to remove a breakpoint defined in a different debugger session

2021-04-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Unfortunately PR21989 has breaking the refleaks buildbots. Example: https://buildbot.python.org/all/#/builders/320/builds/226/steps/5/logs/stdio To reproduce: ❯ ./python -m test test_pdb -R 3:3 0:00:00 load avg: 1.40 Run tests sequentially 0:00:00 load

[issue43719] Master build failure on Windows getting file system encoding

2021-04-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Fixed by https://github.com/python/cpython/pull/25172 -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker _

[issue43725] Create a release branch ABI stability regression test

2021-04-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This is probably complementary or in the avenue of https://www.python.org/dev/peps/pep-0652/ -- nosy: +pablogsal, petr.viktorin ___ Python tracker __

[issue43727] futures cancelled by ThreadPoolExecutor.shutdown() not yielded by as_completed()

2021-04-04 Thread bbh
New submission from bbh : concurrent.futures.ThreadPoolExecutor.shutdown(cancel_futures=True) cancels the pending futures, but the futures remain in the state CANCELLED and never get to the state CANCELLED_AND_NOTIFIED. Thus they are never yielded by concurrent.futures.as_completed(). If I u

[issue42823] Incorrect frame.f_lineno when frame.f_trace is set

2021-04-04 Thread Ned Batchelder
Change by Ned Batchelder : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mai

[issue43710] Access violations in C extension modules on Python 3.9.3

2021-04-04 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue43710] Access violations in C extension modules on Python 3.9.3

2021-04-04 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c7b0feca25fc68ec3e0884b82e5f45a4da011e8e by Gregory P. Smith in branch '3.9': [3.9] bpo-43710: Rollback the 3.9 bpo-42500 fix, it broke the ABI in 3.9.3 (#25179) https://github.com/python/cpython/commit/c7b0feca25fc68ec3e0884b82e5f45a4da011e8e -

[issue42500] crash with unbounded recursion in except statement

2021-04-04 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c7b0feca25fc68ec3e0884b82e5f45a4da011e8e by Gregory P. Smith in branch '3.9': [3.9] bpo-43710: Rollback the 3.9 bpo-42500 fix, it broke the ABI in 3.9.3 (#25179) https://github.com/python/cpython/commit/c7b0feca25fc68ec3e0884b82e5f45a4da011e8e -

[issue43726] regex module fails with a quantified backref but succeeds with repeated backref

2021-04-04 Thread David Ellsworth
David Ellsworth added the comment: Thanks, I didn't realize. I thought it was an official module that wasn't included as part of the main package due to being unfinished. Reported the bug here: https://bitbucket.org/mrabarnett/mrab-regex/issues/408/regex-fails-with-a-quantified -- r

[issue43651] PEP 597: Fix EncodingWarning warnings in the Python stdlib

2021-04-04 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +23923 pull_request: https://github.com/python/cpython/pull/25181 ___ Python tracker ___ _

[issue41111] [C API] Convert a few stdlib extensions to the limited C API (PEP 384)

2021-04-04 Thread hai shi
hai shi added the comment: > Perhaps it would be better that compiling them not be attempted with > configuring --with-trace-refs? +1. The limited C API can't be build under Py_TRACE_REFS now. -- ___ Python tracker

[issue27129] Wordcode, part 2

2021-04-04 Thread Mark Shannon
Mark Shannon added the comment: New changeset c368ce74d2c9bcbf1ec320466819c2d4768252f7 by Dennis Sweeney in branch 'master': bpo-27129: Update magic numbers and bootstrapping for GH-25069 (GH-25172) https://github.com/python/cpython/commit/c368ce74d2c9bcbf1ec320466819c2d4768252f7 --

[issue41111] [C API] Convert a few stdlib extensions to the limited C API (PEP 384)

2021-04-04 Thread hai shi
Change by hai shi : -- pull_requests: +23922 pull_request: https://github.com/python/cpython/pull/25180 ___ Python tracker ___ ___ P

[issue43726] regex module fails with a quantified backref but succeeds with repeated backref

2021-04-04 Thread Patrick Reader
Patrick Reader added the comment: The `regex` module is a third-party package, not part of the Python standard library. Please report issues here: https://bitbucket.org/mrabarnett/mrab-regex/issues -- nosy: +pxeger ___ Python tracker

[issue43651] PEP 597: Fix EncodingWarning warnings in the Python stdlib

2021-04-04 Thread Inada Naoki
Inada Naoki added the comment: New changeset 3caea9adda7f79ab5d4c5a1905ca62b44e0b3b7b by Inada Naoki in branch 'master': bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25171) https://github.com/python/cpython/commit/3caea9adda7f79ab5d4c5a1905ca62b44e0b3b7b -- ___

[issue43726] regex module fails with a quantified backref but succeeds with repeated backref

2021-04-04 Thread David Ellsworth
New submission from David Ellsworth : The regex /^((x*)\2{3}(?=\2$))*x$/ matches powers of 5 in unary, expressed as strings of "x" characters whose length is the number. The following command line should print "1", but prints nothing: python -c 'import regex; regex.match(r"^((x*)\2{3}(?=\2$))*