[issue46496] idlelib/NEWS.txt for 3.11.0 and backports

2022-01-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +29057 pull_request: https://github.com/python/cpython/pull/30877 ___ Python tracker <https://bugs.python.org/issue46

[issue46496] idlelib/NEWS.txt for 3.11.0 and backports

2022-01-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b1a3446f077b7d56b89f55d98dadb8018986a3e5 by Terry Jan Reedy in branch 'main': bpo-46496: Update IDLE News to 2021 Jan 24 (GH-30875) https://github.com/python/cpython/commit/b1a3446f077b7d56b89f55d98dadb8

[issue46496] idlelib/NEWS.txt for 3.11.0 and backports

2022-01-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 367a37a18c4411c42da9006947dd95b0afbdf200 by Terry Jan Reedy in branch '3.10': [3.10] bpo-46496: Update IDLE News to 2021 Jan 24 (GH-30876) https://github.com/python/cpython/commit/367a37a18c4411c42da9006947dd95

[issue46496] idlelib/NEWS.txt for 3.11.0 and backports

2022-01-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 3178efbf0409107237a3cfe61ba85a5d3a26 by Terry Jan Reedy in branch '3.9': [3.9] bpo-46496: Update IDLE News to 2021 Jan 24 (GH-30877) https://github.com/python/cpython/commit/3178efbf0409107237a3cfe61b

[issue46496] idlelib/NEWS.txt for 3.11.0 and backports

2022-01-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: patch review -> needs patch ___ Python tracker <https://bugs.python.org/issue46496> ___ ___ Python-bugs-list mai

[issue46282] return value of builtins is not clearly indicated

2022-01-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please post your proposed change here to be discussed by participants here. -- ___ Python tracker <https://bugs.python.org/issue46

[issue12067] Doc: remove errors about mixed-type comparisons.

2022-01-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Martin: [tests need review]. Yep. Improved constant folding and elimination of duplication now causes many 'is not' tests to fail. Language tests should not test current implementation l

[issue41844] IDLE subsection of What's New 3.9

2022-01-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +29084 pull_request: https://github.com/python/cpython/pull/30905 ___ Python tracker <https://bugs.python.org/issue41

[issue41846] IDLE subsection of What's New 3.10

2022-01-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +29085 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30906 ___ Python tracker <https://bugs.python.org/issu

[issue41844] IDLE subsection of What's New 3.9

2022-01-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 7cf285d82ec722d4225297366013e924805171f2 by Terry Jan Reedy in branch 'main': bpo-41844: Update IDLE part of What's New 3.9 to 20228 (GH-30905) https://github.com/python/cpython/commit/7cf285d82ec722d4225297366

[issue45296] IDLE: Better document close and exit.

2022-01-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +29115 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30936 ___ Python tracker <https://bugs.python.org/issu

[issue46496] idlelib/NEWS.txt for 3.11.0 and backports

2022-01-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +29116 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/30937 ___ Python tracker <https://bugs.python.org/issu

[issue45296] IDLE: Better document close and exit.

2022-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset fcde0bc10ddd836b62d0a8e893d80b8c55e0ba3f by Terry Jan Reedy in branch 'main': bpo-45296: Clarify close, quit, and exit in IDLE (GH-30936) https://github.com/python/cpython/commit/fcde0bc10ddd836b62d0a8e893d80b

[issue46496] idlelib/NEWS.txt for 3.11.0 and backports

2022-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 9f0881476e0113d3a35e0ffa96649b9276dd75c5 by Terry Jan Reedy in branch 'main': bpo-46496: news11-10 for bpo45296 (GH-30937) https://github.com/python/cpython/commit/9f0881476e0113d3a35e0ffa96649b

[issue46496] idlelib/NEWS.txt for 3.11.0 and backports

2022-01-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +29128 pull_request: https://github.com/python/cpython/pull/30949 ___ Python tracker <https://bugs.python.org/issue46

[issue45296] IDLE: Better document close and exit.

2022-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5acaad0b3033fde6f21de6ac73681cd6cf64b1f7 by Miss Islington (bot) in branch '3.10': bpo-45296: Clarify close, quit, and exit in IDLE (GH-30936) (GH-30944) https://github.com/python/cpython/commit/5acaad0b3033fde6f21de6ac73681c

[issue45296] IDLE: Better document close and exit.

2022-01-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue46282] return value of builtins is not clearly indicated

2022-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steven, I am also inclined to close this. What do you think after the discussion? It is sometimes easier to clarify when we have a confused person present in the discussion. -- ___ Python tracker <ht

[issue46496] idlelib/NEWS.txt for 3.11.0 and backports

2022-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b3cf525bd1c57a1d3f28fcb90bce364f0bcb2b7d by Miss Islington (bot) in branch '3.10': bpo-46496: news11-10 for bpo45296 (GH-30937) https://github.com/python/cpython/commit/b3cf525bd1c57a1d3f28fcb90bce36

[issue46496] idlelib/NEWS.txt for 3.11.0 and backports

2022-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 287ceca2d62d11a8b45f6264226d984dd044e082 by Terry Jan Reedy in branch '3.9': bpo-46496: news39 for bpo45296 (#30949) https://github.com/python/cpython/commit/287ceca2d62d11a8b45f6264226d98

[issue45975] Simplify some while-loops with walrus operator

2022-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: To me, the five idlelib changes make the code easier to understand. Nick, please either move them into a separate PR or allow me to do so, and subject to manual testing, I will merge and backport. (I requested this on the PR by maybe you missed it.) If

[issue45560] sys.last_* not set for SyntaxErrors with IDLE

2022-01-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: If this is not fixed, perhaps it should be documented along with other IDLE differences in Running User code. -- ___ Python tracker <https://bugs.python.org/issue45

[issue46497] IDLE macOS shortcut ctrl+S doesn’t work for show completions

2022-01-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe that this is a subset of #18444. There are other shortcut that 'flash' a menu entry but do nothing. But I would consider a fix for this short of fixing everything. How do you disable the default for ^space? In mac settings or t

[issue46501] Windows 10, turtle left right not working

2022-01-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: When posting code for a bug report, here or anywhere else, please use the minimal code needed to demonstrate the issue. That includes using default arg values. And do not use non-essential files that responders will not have. Anyway, with default

[issue46512] filecmp.cmpfiles w/ absolute path names

2022-01-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://docs.python.org/3/library/filecmp.html#filecmp.cmpfiles I consider not working for absolute path names to be a bug. Did your example work with relative paths? -- nosy: +terry.reedy title: Explicit or correct behavior of filecmp.cmpfiles w

[issue46520] ast.unparse produces bad code for identifiers that become keywords

2022-01-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'Reserved words' include all double underscore words, like __reserved__. Using such is allowed, but we reserve the right to break such code by adding a use for the word. 'def' is a keyword. Using identifier normalization to smuggle ke

[issue46521] codeop._maybe_compile passes code with error + triple quotes

2022-01-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tushar, I am the principle IDLE maintainer and have dealt with similar interactive compile problems on and off for a few years. Code module uses codeop._maybe_compile, which in turn uses batch-mode compile(). To review: Code can be in 3 states: legal

[issue46524] test_peg_generator takes 8 minutes on Windows

2022-01-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Do all of the tests use all of the slowly built extensions, or could the test file be split into multiple files run separately, each faster? -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.

[issue46565] Delete module-level loop variables when no longer needed

2022-01-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am opposed at this time. Leaving loop variables available is an intended feature of python. After reading point 1, I was tempted to say that you are making a fetish of typing or making the tail wag the dog. I mention this because others might have

[issue46521] codeop._maybe_compile passes code with error + triple quotes

2022-01-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the PR. As I wrote on my preliminary review, I see this likely 1 failure that might may be in the test fixture. Will test and debug later. -- ___ Python tracker <https://bugs.python.org/issue46

[issue46521] codeop._maybe_compile passes code with error + triple quotes

2022-01-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: With my fix to the PR: >>> a b ''' SyntaxError: unterminated triple-quoted string literal (detected at line 1) >>> a ''' ... The message is off, and can be left for another issue (or not), but the behavior i

[issue46591] Make About IDLE links clickable

2022-01-30 Thread Terry J. Reedy
New submission from Terry J. Reedy : I am opening this for a PR submitted without an issue. The PR (not yet reviewed) makes the online IDLE doc link clickable. Since a local copy of the online html page is also available on the Help menu, that link is almost unneeded. But when using the

[issue46594] Windows "Edit with IDLE >" only has one selection

2022-01-31 Thread Terry J. Reedy
New submission from Terry J. Reedy : I have Python and hence IDLE 3.8, 3.9, 3.10, and 3.11 installed. When I right click a .py file, and then on "Edit with IDLE >" the sub-menu only has '3.11.0a4' listed. This negates the purpose of having a submenu. I did some se

[issue41266] IDLE call hints and completions confused by ints and floats

2022-01-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are 1000s of open python issues and perhaps 200 for IDLE. I consider this one to be lower priority that enough others to fill my IDLE time. -- stage: -> test needed versions: +Python 3.11 -Python 3.10, Python 3.8, Python

[issue46594] Windows "Edit with IDLE >" only has one selection

2022-01-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: The registry settings should be correctly set by the installer. The bug is that they are not. I don't touch the registry, and the last 3 versions are less than 2 weeks old. -- ___ Python tracker &

[issue46591] Make About IDLE links clickable

2022-02-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 53c78080573b3bae4c4e782b9f47dce48aac9688 by Wes in branch 'main': bpo-46591: Make About IDLE doc link label clickable (GH-30251) https://github.com/python/cpython/commit/53c78080573b3bae4c4e782b9f47dc

[issue46591] Make About IDLE links clickable

2022-02-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the idea and patch. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.or

[issue45975] Simplify some while-loops with walrus operator

2022-02-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 51a95be1d035a717ab29e98056b8831a98e61125 by Nick Drozd in branch 'main': bpo-45975: Use walrus operator for some idlelib while loops (GH-31083) https://github.com/python/cpython/commit/51a95be1d035a717ab29e98056b883

[issue45975] Simplify some while-loops with walrus operator

2022-02-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +29277 pull_request: https://github.com/python/cpython/pull/31092 ___ Python tracker <https://bugs.python.org/issue45

[issue45975] Simplify some while-loops with walrus operator

2022-02-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset fafd2dadf63973a04f5693e5be19f3e7521c10d4 by Terry Jan Reedy in branch '3.9': [3.9] bpo-45975: Use walrus operator for some idlelib while loops (GH-31083) https://github.com/python/cpython/commit/fafd2dadf63973a04f5693e5be19f3

[issue45975] Simplify some while-loops with walrus operator

2022-02-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +29290 pull_request: https://github.com/python/cpython/pull/31107 ___ Python tracker <https://bugs.python.org/issue45

[issue45975] Simplify some while-loops with walrus operator

2022-02-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 916d0d822c79933f4c420f7a36f16f3eb788646b by Terry Jan Reedy in branch 'main': bpo-45975: IDLE - Remove extraneous parens (GH-31107) https://github.com/python/cpython/commit/916d0d822c79933f4c420f7a36f16f

[issue46630] IDLE: Set query focus to entry box on Windows

2022-02-03 Thread Terry J. Reedy
New submission from Terry J. Reedy : On Mac, and I presume *nix in general, query boxes open with the focus on the first entry box, with the cursor displayed. One can immediate enter a line number, dotted module name, or whatever. On Windows, since 3.9, one must hit Tab or click on the

[issue46630] IDLE: Set query focus to entry box on Windows

2022-02-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +29295 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31112 ___ Python tracker <https://bugs.python.org/issu

[issue46630] IDLE: Set query focus to entry box on Windows

2022-02-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d1df81a730499cc6286d02afa6028a1e9c22bbbf by Terry Jan Reedy in branch 'main': bpo-46630: Fix initial focus of IDLE query dialogs (GH-31112) https://github.com/python/cpython/commit/d1df81a730499cc6286d02afa6028a

[issue46630] IDLE: Set query focus to entry box on Windows

2022-02-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11, Python 3.9 ___ Python tracker <https://bugs.python.or

[issue46588] fix typo in test_calltip.py

2022-02-03 Thread Terry J. Reedy
New submission from Terry J. Reedy : New changeset 222865daabfa7a8b12ca9a5e9c23b9ce217448f1 by Caio Agiani in branch 'main': bpo-46588: fix typo in test_calltip.py (GH-31119) https://github.com/python/cpython/commit/222865daabfa7a8b12ca9a5e9c23b9ce217448f1 -- nosy: +t

[issue46588] IDLE fix typo in test_calltip.py

2022-02-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE title: fix typo in test_calltip.py -> IDLE fix typo in test_calltip.py type: enhancement -> behavior versions: +Python 3.10, Python 3.9 ___ Python tracke

[issue46609] Generator-based coroutines in Python 3.10 docs

2022-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yuri or Andrew: either of you know the fix for "Support for generator-based coroutines is deprecated and is scheduled for removal in Python 3.10."? -- nosy: +asvetlov, terry.reedy, yselivanov ___ Pyth

[issue46609] Generator-based coroutines in Python 3.10 docs

2022-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looking at the doc answered the question. Further down the 3.10 version, '3.10' was revised to '3.11', and indeed, the decorator and the entire section are gone. There was no change in 3.9 doc, but should be. I will submit a PR

[issue46609] Generator-based coroutines in Python 3.10 docs

2022-02-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +29311 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/31132 ___ Python tracker <https://bugs.python.org/issu

[issue46609] Generator-based coroutines in Python 3.10 docs

2022-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5603db43ba7ba5568b7516d0e28730a2bc1e1f26 by Terry Jan Reedy in branch '3.10': [3.10] bpo-46609: Update asyncio-task coroutine doc (GH-31132) https://github.com/python/cpython/commit/5603db43ba7ba5568b7516d0e28730

[issue46637] Incorrect error message: "missing 1 required positional argument"

2022-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think the incorrect qualification should be dropped, if sanely feasible. More misleading are hidden positional-only args. Doc: min(iterable, *[, key, default]) min(arg1, arg2, *args[, key]) >>> min(iterator=(1,3)) Traceback (most recent

[issue46609] Generator-based coroutines in Python 3.10 docs

2022-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 459e26f0987a12a19238baba422e13a8f7fcfca3 by Miss Islington (bot) in branch '3.9': [3.9] bpo-46609: Update asyncio-task coroutine doc (GH-31132) https://github.com/python/cpython/commit/459e26f0987a12a19238baba422e13

[issue46609] Generator-based coroutines in Python 3.10, 3.9 docs

2022-02-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved status: open -> closed title: Generator-based coroutines in Python 3.10 docs -> Generator-based coroutines in Python 3.

[issue45447] IDLE: Support syntax highlighting for .pyi stub files

2022-02-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: For the open dialog, we only need the expanded extension list. People with no-extension python code file must select 'all files'. Once the file is open, we need the issource function to decide whether to turn on the colorizer. I intend to

[issue45447] Make IDLE recognize .pyi stub files (and .pyw) as python source

2022-02-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I broaden the issue title scope and will correspondingly restrict the PR scope. 'Recognition' applies to open and save dialogs, syntax marking, and module browsing. (The latter needs fixing for .pyw also.) Improving the handling of no extens

[issue46665] IDLE Windows shortcuts by default

2022-02-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I wish it were otherwise, but configuration defaults cannot be changed as some people would not like it and it would badly interact with custom configurations. We can add new themes and keysets, but that should be very rare. We can consider adding

[issue46666] IDLE Add indent guide

2022-02-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: [Please just select the current development version. Others can be marked if and when backported. 3.8 and before only get security fixes. Same for 3.9 after about next May 31.] Please explain exactly what you want and rewrite something like the following

[issue46666] IDLE Add indent guide

2022-02-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I loaded a .py file into N++ and see them. Under 3 x, there are clearly separate minidots. Under 10x, the dots are hardly visible. They are not characters in the text (cannot be copied) but a special manipulation of the column of pixels 'between&#x

[issue46666] IDLE Add indent guide

2022-02-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: '│' is a bit taller that ascii bar '|'; hex(ord('│')) = '0x2502'. It is a bit heavy. In this Windows Firefox box it is slightly lighter than | but in IDLE with Source Code Pro, it is slightly darder. Worse is bei

[issue46666] IDLE Add indent guide

2022-02-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am guessing that N++ or its GUI framework uses a transparent overlay. For tkinter, that would mean a transparent Canvas on which one could draw vertical dotted gray lines 1-pixel wide. However, Serhiy Storchaka in msg213643 of #20920 said: "Tk sup

[issue45447] Make IDLE recognize .pyi stub files (and .pyw) as python source

2022-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 50cf4991c49e19f917305dd7b9c71085c11edddb by Alex Waygood in branch 'main': bpo-45447: Add syntax highlighting for `.pyi` files in IDLE (GH-28950) https://github.com/python/cpython/commit/50cf4991c49e19f917305dd7b9c710

[issue45447] Make IDLE recognize .pyi stub files (and .pyw) as python source

2022-02-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +29464 pull_request: https://github.com/python/cpython/pull/31303 ___ Python tracker <https://bugs.python.org/issue45

[issue45447] Make IDLE recognize .pyi stub files (and .pyw) as python source

2022-02-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +29465 pull_request: https://github.com/python/cpython/pull/31304 ___ Python tracker <https://bugs.python.org/issue45

[issue45447] Make IDLE recognize .pyi stub files (and .pyw) as python source

2022-02-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +29466 pull_request: https://github.com/python/cpython/pull/31305 ___ Python tracker <https://bugs.python.org/issue45

[issue45447] Make IDLE recognize .pyi stub files (and .pyw) as python source

2022-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 9fabcfbe68ff81ef5f17f86a93daf9cce9d83876 by Terry Jan Reedy in branch '3.10': bpo-45447: Add syntax highlighting for `.pyi` files in IDLE (GH-28950) https://github.com/python/cpython/commit/9fabcfbe68ff81ef5f17f86a93daf9

[issue45447] Make IDLE recognize .pyi stub files (and .pyw) as python source

2022-02-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +29468 pull_request: https://github.com/python/cpython/pull/31307 ___ Python tracker <https://bugs.python.org/issue45

[issue45447] Make IDLE recognize .pyi stub files (and .pyw) as python source

2022-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 2d98433549be358d1c192e30e51b8d345d618cc7 by Terry Jan Reedy in branch 'main': bpo-45447: Add entry to What's new 3.10 (GH-31304) https://github.com/python/cpython/commit/2d98433549be358d1c192e30e

[issue45447] Make IDLE recognize .pyi stub files (and .pyw) as python source

2022-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset cef91ca80c41749824eca1d4b2c99731e3d5f64c by Terry Jan Reedy in branch 'main': bpo-45447: Add entry to What's new 3.9 (GH-31305) https://github.com/python/cpython/commit/cef91ca80c41749824eca1d4b

[issue45447] Make IDLE recognize .pyi stub files (and .pyw) as python source

2022-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 6331c08d1c3248ff47a7b8e0045c9023c9af672c by Terry Jan Reedy in branch 'main': bpo-45447: Fix entry in What's New 3.11 (GH-31307) https://github.com/python/cpython/commit/6331c08d1c3248ff47a7b8e00

[issue46746] IDLE: Consistently handle non .py source files

2022-02-13 Thread Terry J. Reedy
New submission from Terry J. Reedy : Python will attempt to execute any file it can decode to unicode text as a startup script. It will only import .py files as a module. #45447 turned on syntax coloring for .pyi stub files. (.pyw files and files starting with "!#.*python" we

[issue45447] Make IDLE recognize .pyi stub files as source for open, save, and edit

2022-02-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Issue 46746 is the followup for browsers (currently restricted to .py files) and anything else. -- title: Make IDLE recognize .pyi stub files (and .pyw) as python source -> Make IDLE recognize .pyi stub files as source for open, save, and e

[issue46725] Unpacking without parentheses is allowed since 3.9

2022-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Allowing no parentheses is also consistent with the following: for x in 1,2,3: print(x) -- nosy: +terry.reedy -jwilk ___ Python tracker <https://bugs.python.org/issue46

[issue46732] None.__bool__ docstring is wrong

2022-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is no object.__bool__. None.__bool__.__doc__ appears to be an accidental copy of bool/int/float/complex.__bool__.__doc__. It should just be 'False'. -- nosy: +terry.reedy title: object.__bool__ docstring is wrong -> None.__bool__

[issue46733] pathlib.Path methods can raise NotImplementedError

2022-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think pathlib should be raising TypeError, ValueError, or something else as appropriate. Or not raising in situations Eryk indicated. x/0 *could* be +- float('inf'), but we don't raise NotImplementedError for it. -- nos

[issue46735] gettext.translations crashes when locale is unset

2022-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: As 'crash', as used here, is when python exits abnormally *without* an exception traceback. The traceback in the linked report is: Traceback (most recent call last): File "video2x.py", line 53, in from upscaler import AVAILABLE_D

[issue46740] Improve Telnetlib's throughput

2022-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Even if deprecated, it will be around for at least 2 versions. A patch now might be worthwhile, but I don't know who would review it. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/is

[issue46760] test_dis should test the dis module, not everything else

2022-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: With IDLE, I have issues with trying to test IDLE code without retesting tkinter, as well as deciding on the proper units of behavior to test. Some suggestions: 1. Add a docstring to the module with guidelines, after review from a couple of others. For

[issue46782] Docs error for 3.10

2022-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: The conversions from 0o777 to 511 in 3.10 and 3.11 but not in 3.9 are these: https://docs.python.org/3/library/pathlib.html#pathlib.Path.mkdir Path.mkdir(mode=511, parents=False, exist_ok=False) https://docs.python.org/3/library/os.html#os.mkdir os.mkdir

[issue46732] Builtin __bool__ docstrings are wrong

2022-02-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: For whatever reason, all builtins with a __bool__ method appear to share the same docstring. For example, >>> range.__bool__.__doc__ 'self != 0' >>> bool(range(0)) False >>> bool(range(1)) True The concrete collect

[issue45641] Error In opening a file through tkinter on macOS Monterey

2022-02-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -29607 ___ Python tracker <https://bugs.python.org/issue45641> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40358] pathlib's relative_to should behave like os.path.relpath

2022-02-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker <https://bugs.python.org/issue40358> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46830] Add Find functionality to Squeezed Text viewer

2022-02-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> IDLE: Add search to textview.ViewWindow ___ Python tracker <https://bugs.python

[issue36595] IDLE: Add search to textview.ViewWindow

2022-02-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: #46830 is a duplicate request. -- versions: +Python 3.11 -Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue36

[issue34429] [doc] On Windows tempfile.TemporaryFile behaves like NamedTemporaryFile

2022-02-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker <https://bugs.python.org/issue34429> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26175] Fully implement IOBase abstract on SpooledTemporaryFile

2022-02-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Éric, you might use git log or git blame to see who that is active has patched the relevant file in the last few years. -- ___ Python tracker <https://bugs.python.org/issue26

[issue26175] Fully implement IOBase abstract on SpooledTemporaryFile

2022-02-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Also, which of the two patches. Irit, you just patched Temp file doc, can you look at the PR code? -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue26

[issue37426] getpass.getpass not working with on windows when ctrl+v is used to enter the string

2022-02-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -terry.reedy versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/issue37426> ___ ___ Python-bugs-list mailin

[issue46810] Make multiprocessing.connection.Client support ipv6

2022-02-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +davin, pitrou title: multiprocessing.connection.Client doesn't support ipv6 -> Make multiprocessing.connection.Client support ipv6 ___ Python tracker <https://bugs.python.org

[issue46816] Remove declarations for non-__STDC__ compilers

2022-02-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue46816> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46833] Windows installer is unclear and has redundant settings

2022-02-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Installer Wizard is unclear and has redundant settings -> Windows installer is unclear and has redundant settings ___ Python tracker <https://bugs.python.org/issu

[issue46838] Parameters and arguments parser syntax error improvments

2022-02-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: With two exceptions, nice suggestions if feasible. >>> def foo(*args=None): pass SyntaxError: * argument cannot have default value >>> def foo(**kwargs=None): pass SyntaxError: ** argument cannot have default value Good. >>>

[issue46845] dict: Use smaller entry for Unicode-key only dict.

2022-02-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: CPython, at least, allows users to insert non-string keys in namespace dicts that are conceptually string-key only. >>> globals()[0] = 'zero' >>> globals()[0] 'zero' >>> vars() {'__name__': '__mai

[issue46849] Memory problems detected using Valgrind

2022-02-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: It is possible that some core developer may get regular valgrind reports, but I would not know who. I am pretty sure that you should run it at least on the latest release of the 'main' branch, 3.11.0a5, and perhaps even better, the current t

[issue46854] Failed to compile static python3.7.12

2022-02-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +ned.deily ___ Python tracker <https://bugs.python.org/issue46854> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46849] Memory problems detected using Valgrind

2022-02-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Posting a thousand line message makes following a discussion extremely difficult. Move it into an attachment, if you did not do that already, and delete the message by 'editing' it. As I said, I cannot otherwise respon

[issue46849] Memory problems detected using Valgrind

2022-02-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker <https://bugs.python.org/issue46849> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25415] [io doc] Reword "there is no public constructor"

2022-03-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: "IOBase" is a public name and IOBase has an __init__ method. It definitely has a public constructor. However, like other abstract base classes, it is not meant to be directly instantiated by users other than writers of other classes. Ditto

[issue6143] IDLE - clear and restart the shell window

2022-03-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://stackoverflow.com/questions/71290382/how-do-i-adjust-python-idle-shell-settings-so-that-the-next-line-of-code-i-type is from someone who, for whatever reason, likes having blank space in the shell below the input prompt. It is not clear whether

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