[issue46217] 3.11 build failure on Win10: new _freeze_module changes?

2022-01-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue46217> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46217] 3.11 build failure on Win10: new _freeze_module changes?

2022-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you. Compiles without even any warnings. Tests also all pass. -- ___ Python tracker <https://bugs.python.org/issue46

[issue46237] Incorrect line reported in syntax error

2022-01-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: I understand. I think that for IDLE, I should check that the error .text is in the line indicated, and if not, recover somehow rather than blindly marking the the indicated column. For a shell statement entry, try to find the right line. Not sure for an

[issue1927] Change input() to always prompt to stderr

2022-01-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Further discussion at https://discuss.python.org/t/builtin-function-input-writes-its-prompt-to-sys-stderr-and-not-to-sys-stdout/12955 -- nosy: +terry.reedy versions: +Python 3.11 -Python 3.6 ___ Python tracker

[issue39663] IDLE: Add additional tests for pyparse

2022-01-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- type: -> enhancement ___ Python tracker <https://bugs.python.org/issue39663> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue46393] Generate frozenset constants when explicitly appropriate

2022-01-15 Thread Terry J. Reedy
New submission from Terry J. Reedy : The CPython compiler is capable of making frozenset constants without being explicitly asked to. Exactly how it does so is, of course, 'hidden' from python code. With current main: . >>> dis('{1,2,3}') 1

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

2022-01-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: A minimal version of util.py just for this issue is fine. What is blocking the issue deciding exactly what the minimum should be. Are both the extension list and function needed? Alex says somewhere in PR comments that ispythonsource passes directories

[issue43476] Enabling access to showsyntaxerror for IDLE's shell

2022-01-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Whatever you worked out is probably better than depending on something that I hope to significantly change. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracke

[issue46393] Generate frozenset constants when explicitly appropriate

2022-01-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sigh. You are right. I will close this tomorrow. This also means that 'set()' is not guaranteed to return an empty built-in set. I did think of this workaround for that: >>> (empty:={None}).clear() >>> empty set() Go ah

[issue46393] Generate frozenset constants when explicitly appropriate

2022-01-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Rejected by the reality of Python's dynamism, which I overall appreciate ;-). -- ___ Python tracker <https://bugs.python.org/is

[issue24194] tokenize fails on some Other_ID_Start or Other_ID_Continue

2022-01-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Udated doc link, which appears to be same: https://docs.python.org/3.11/reference/lexical_analysis.html#identifiers Updated property list linked in above: https://www.unicode.org/Public/14.0.0/ucd/PropList.txt Relevant content for this issue: 1885..1886

[issue24194] Make tokenize recognize Other_ID_Start and Other_ID_Continue chars

2022-01-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: tokenize fails on some Other_ID_Start or Other_ID_Continue -> Make tokenize recognize Other_ID_Start and Other_ID_Continue chars ___ Python tracker <https://bugs.python.org/issu

[issue24194] Make tokenize recognize Other_ID_Start and Other_ID_Continue chars

2022-01-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: meador.inge -> terry.reedy ___ Python tracker <https://bugs.python.org/issue24194> ___ ___ Python-bugs-list mai

[issue46405] Warning compiling main on Windows

2022-01-16 Thread Terry J. Reedy
New submission from Terry J. Reedy : Sometime between Jan 7 and Jan 16 (today) this VC compile warning appeared (debug build). "specialize.c ..\Python\specialize.c(1243): warning C4018: '<': signed/unsigned mismatch [f:\dev\3x\PCbuild\_freeze_module.vcxproj]" Sam

[issue35467] IDLE: unrequested pasting into Shell after restart

2022-01-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I finally caught an example, which was not immediately after restart. I copied the two lines of output, entered 'import re\n' and the copied text was pasted, then the line with the addition compiled, leading to the error. Type "help", &

[issue46403] Unhelpful SyntaxError

2022-01-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: For non-coredevs, 'not a bug' means not a bug in the CPython interpreter, as opposed to user code, which here has bugs. People asking questions (preferably in a more appropriate place) should read, for instance, https://stackoverflow.com/he

[issue46403] Unhelpful SyntaxError

2022-01-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Email bounced. -- ___ Python tracker <https://bugs.python.org/issue46403> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46405] Warning compiling main on Windows

2022-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you Kumar for the quick fix. Just got a clean compile. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

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

2022-01-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Nikita, thanks for doing this. Ethan's suggestion has two advantages. 1. It would fix most backport issues. By containing a mix of changes, PR-30666 cannot be backported as is. 'unittest.main' should always backport unless there is a c

[issue44667] tokenize.py emits spurious NEWLINE if file ends on a comment without a newline

2022-01-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: This appears to have been a duplicate of #35107, where the failing example was '#' and it was NL, NEWLINE pair was noted. So this either predates 3.9 or was re-introduced. In any case, thanks for the fix. -- nosy: +t

[issue35107] untokenize() fails on tokenize output when a newline is missing

2022-01-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: pending -> closed superseder: -> tokenize.py emits spurious NEWLINE if file ends on a comment without a newline ___ Python tracker <https://

[issue44667] tokenize.py emits spurious NEWLINE if file ends on a comment without a newline

2022-01-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: #44667 -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.8 ___ Python tracker <https://bugs.python.org/issue44

[issue35107] untokenize() fails on tokenize output when a newline is missing

2022-01-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: #44667 tokenize.py emits spurious NEWLINE if file ends on a comment without a newline Fixed on 3.11, 3.10, 3.9 Aug 2021. -- ___ Python tracker <https://bugs.python.org/issue35

[issue44667] tokenize.py emits spurious NEWLINE if file ends on a comment without a newline

2022-01-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg410981 ___ Python tracker <https://bugs.python.org/issue44667> ___ ___ Python-bug

[issue46462] Email Header Folding Converts Non-CRLF Newlines to CRLFs

2022-01-21 Thread J. Walter Clark
New submission from J. Walter Clark : In various places in the email library `str.splitlines` is used to split up a message where folding might take place in the original message source. This appears to be a bug because when these split parts are re-joined they are joined by a CRLF. https

[issue24711] Document getpass.getpass behavior on ^C

2022-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: In IDLE Shell, with either ^C or ^D, >> try: ... input('??') ... except: ... 'done' ... ... ?? 'done' 'getpass.getpass('??') does same after printing warning from line 100 that fallback_get

[issue46390] Multiple test failures on Alpine 3.15 / musl-1.2.2-r7

2022-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: The first alpine315-tests.txt appears to be a truncated version of the second. Were you expecting the first to be automatically replaced? Should it be unlinked? https://www.alpinelinux.org "Alpine Linux is a security-oriented, lightweight

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

2022-01-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Invalid usage of `Concatenate` is not covered at all -> Typing: test invalid usages of `Concatenate` ___ Python tracker <https://bugs.python.org/issu

[issue46397] urllib.parse.quote uses safe='' as default

2022-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'urlencode()' is a TypeError as a query (dict) is needed. The claim is that '/?' in a key are encoded but should not be. I verified the encoding in 3.10. >>> urlencode({'/?link': 'pubmed'}) '

[issue46421] unittest ValueError when invoking as module

2022-01-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +ezio.melotti, michael.foord, rbcollins ___ Python tracker <https://bugs.python.org/issue46421> ___ ___ Python-bugs-list m

[issue46452] Possible false detection of Windows LZMA library as a malware by Avast

2022-01-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33822] IDLE subsection of What's New 3.8

2022-01-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Backports to 3.8 ended when it went on security status about June 1, 2021. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41844] IDLE subsection of What's New 3.9

2022-01-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/issue41844> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41846] IDLE subsection of What's New 3.10

2022-01-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/issue41846> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46495] IDLE subsection of What's New 3.11

2022-01-23 Thread Terry J. Reedy
New submission from Terry J. Reedy : Following #41846, master issue for IDLE entries in Doc/whatsnew/3.11.rst. When appropriate, add subsection 'idlelib and IDLE' to 'Improved Modules' The initial entries include important enhancements to IDLE since 3.10.0. (Anything

[issue41846] IDLE subsection of What's New 3.10

2022-01-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- superseder: -> IDLE subsection of What's New 3.11 ___ Python tracker <https://bugs.python.org/issue41846> ___ ___ Py

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

2022-01-23 Thread Terry J. Reedy
New submission from Terry J. Reedy : Main became 3.11 as of 3.10.0 beta 1: 2021-05-03. However, backported IDLE issues continued going under What's New 3.10 on both main and 3.10 until 3.10.0rc1, 2021-08-03. Subsequent idlelib/NEWS.txt items go under What's New 3.11.0 on main branch

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2022-01-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- superseder: -> IDLE subsection of What's New 3.11 ___ Python tracker <https://bugs.python.org/issue41841> ___ ___ Py

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

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

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2022-01-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- superseder: IDLE subsection of What's New 3.11 -> idlelib/NEWS.txt for 3.11.0 and backports ___ Python tracker <https://bugs.python.org

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2022-01-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 9d3c9788a6ccd4f2f53a147dd0026a316c396976 by Terry Jan Reedy in branch 'main': bpo-41841: update idlelib News up to 3.10.0. (GH-30868) https://github.com/python/cpython/commit/9d3c9788a6ccd4f2f53a147dd0026a

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

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

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2022-01-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 98cabce59958914b59914abbffbfde7129d4c47f by Terry Jan Reedy in branch '3.9': bpo-41841: update idlelib News up to 3.10.0 (GH-30871) https://github.com/python/cpython/commit/98cabce59958914b59914abbffbfde

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2022-01-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ce79b504a790d02c080449d31356d33a5aaf19dd by Miss Islington (bot) in branch '3.10': bpo-41841: update idlelib News up to 3.10.0. (GH-30868) (GH-30870) https://github.com/python/cpython/commit/ce79b504a790d02c080449d31356d3

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

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

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

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

[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

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