[issue23469] Delete Misc/*.wpr files

2021-12-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since the files have effectively been abandoned, I think removing them should be considered now. The three files in /Misc, for wing-3, 4, and 5, are python-wing3.wpr python-wing4.wpr python-wing5.wpr The current version of Wing is 8.1.1. The files were

[issue23469] Delete Misc/*.wpr files

2021-12-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: url: https://github.com/python/cpython/blob/main/Misc/python-wing5.wpr -- ___ Python tracker <https://bugs.python.org/issue23

[issue46052] Ctrl+C, C+V in IDLE on Windows do not work with Cyrillic keys

2021-12-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE is a tkinter application and tkinter wraps the tcl/tk GUI framework. Your problem is mostly in the interaction between Windows, your Cyrillic input method, and tk. As a test, run import tkinter as tk r = tk.Tk() t = tk.Text(r) t.pack() Click in the

[issue46052] Ctrl+C, C+V in tk.Text on Windows do not work with Cyrillic keys

2021-12-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: It appears that your particular keyboard program is translating Ctrl + letter key combinations to something other than the default Ascii Control-letter code. Do you see the same problem with Notepad? To test what tcl/tk and hence tkinter see, expand the

[issue46052] Ctrl+C, C+V in tk.Text on Windows do not work with Cyrillic keys

2021-12-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is a duplicate of #31244, but I continue here with more experiments using the code above. I first confirmed that on Windows, CapsLock is really 'caps inversion. Keycode 67 is the keycode for 'C' given in https://www.tcl.tk/man/tcl/TkC

[issue31244] IDLE: work around shortcuts bug in Windows' IMEs and tk

2021-12-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: What makes IDLE different from other desktop apps is that is it written in Python, uses the tkinter wrapping of cross-platform tcl/tk, and allows users to customize nearly all hotkey shortcuts. But tk only allows Ascii chars, with modifiers, for hotkeys

[issue46052] IDLE: make Ctrl, Alt + IME non-ascii letter work on Windows

2021-12-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #31244 as a duplicate of this. The modifier code for tkinter.Event.__repr__ can be used to construct the modifier part of the reconstructed event sequence. Just join with '-' instead of '|'. -- title: Ctrl+C, C+V in t

[issue46052] IDLE: make Ctrl, Alt + IME non-ascii letter work on Windows

2021-12-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you Eryk. The X/Ubuntu behavior is what I want to simulate. I can only wonder why tk has not fixed that for non-X systems. Are Alt+letter combinations also fixed on Ubuntu, so that, for instance, Alt+M-key is seen as Alt-M even with Russian layout

[issue30716] Failing tests with installed 3.6.2rc1 on Win 10-64

2021-12-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> out of date stage: -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.or

[issue46062] tkinter.filedialog.SaveAs: create new folder on Ubuntu?

2021-12-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is not an IDLE issue, as IDLE merely calls tkinter.filedialog.SaveAS(args).show() and uses the returned path to open and write the file. This is likely not a tkinter issue either, but I will leave it open for now for others to comment. SaveAs

[issue44413] OverflowError: mktime argument out of range after 2019

2021-12-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you both. Status: Failures on Open Suse TW (Vyacheslav) and Ubuntu 20-04 (Daniel McDonald, Github Actions, and Azure Pipelines). Success on Windows (me), macOS (Catalina-me and 11.6.1-DM), Centos 7.9 and Ubuntu 18-04 (both DM) I verified that the

[issue46117] tk could not refresh auto in mac os

2021-12-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE is neither the Python it is written it, nor the tkinter module it depends on. For this tracker, this is at most a tkinter on macOS 12 issue. But I suspect that it is an issue of the 3rd party tcl/tk on the new macOS version. There have been others

[issue20741] Documentation archives should be available also in tar.xz format

2021-12-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://docs.python.org/3/download.html says a) tar.bz2 can be read by the tar program, which I presume is true also of tar.xz. So there is no issue of *needing* two separate programs. It also claims "The .tar.bz2 archives provide the best compressio

[issue46051] Make @atexit.register work for functions with arguments

2021-12-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: You might post on python-ideas list to get comments from other possible users. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue46

[issue44896] AttributeError in ast.unparse

2021-12-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: #46073 may be a duplicate of this and perhaps should have the same resolution. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue44

[issue46103] inspect.getmembers will call the instance __bases__ attribute, which may cause an exception

2021-12-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR edits inspect._getmembers. I nosied people who have edited it previously. -- nosy: +ethan.furman, ping, pitrou, terry.reedy ___ Python tracker <https://bugs.python.org/issue46

[issue46103] inspect.getmembers will call the instance __bases__ attribute, which may cause an exception

2021-12-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +yselivanov ___ Python tracker <https://bugs.python.org/issue46103> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46110] compile("-"*3000000 + "4", '', mode) causes hard crash

2021-12-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Windows, IDLE, 3.10.1: compile("-"*300 + "4", '', mode) crashes execution process for any of 'exec', 'eval', 'single'. #42609 is also about 'too high' string multiplication wi

[issue46117] tk could not refresh auto in mac os

2021-12-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: The macOS system tk, 8.5.9, is over a decade old and buggy. python.org python now always uses the recent 8.6 version included with the installer. -- ___ Python tracker <https://bugs.python.org/issue46

[issue46051] Make @atexit.register work for functions with arguments

2021-12-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, that is the list. Serhiy, can you comment on using atexit.register and classmethod decorators together? Or suggest someone else? -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.

[issue44413] Improvement mktime error reporting

2021-12-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Daniel, I believe your proposal is an enhancement request that could only be implemented in a future version. I changed headers accordingly. I leave it to Christian or someone else to evaluate the request itself. -- title: OverflowError: mktime

[issue43424] Document the `controller.name` field in `webbrowser` module

2021-12-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg408987 ___ Python tracker <https://bugs.python.org/issue43424> ___ ___ Python-bug

[issue43424] Document the `controller.name` field in `webbrowser` module

2021-12-21 Thread Terry J. Reedy
Change by Terry J. Reedy : Removed file: https://bugs.python.org/file50506/images (5).jpeg ___ Python tracker <https://bugs.python.org/issue43424> ___ ___ Python-bug

[issue43424] Document the `controller.name` field in `webbrowser` module

2021-12-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -28440 ___ Python tracker <https://bugs.python.org/issue43424> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43424] Document the `controller.name` field in `webbrowser` module

2021-12-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Zach, gaurawgoshwami is a spammer. Deleted added nosy, unlinked spam file and unrelated PR. I have no idea what 'repository containing patch' means or how g. created link to non-existent? file. -- nosy: -asvetlov, barry, dstufft, e

[issue46146] Python IDLE fails to start (tk font issue?)

2021-12-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: (This is behavior, not crash issue, as the latter is when there is no traceback.) The editor code was added 3 years ago in #37929, PR-15452, to correct using the configured char width after font and window size changes make that invalid. It is based on

[issue46146] Python IDLE fails to start (tk font issue?)

2021-12-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: On a system where IDLE will not start, the code has to be run directly with 'python3', however that is done there. One will need to add the line 'r.mainloop()' at the end of the script to see the tk window. However, this is not neede

[issue46146] Python IDLE fails to start (tk font issue?)

2021-12-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy: Matej Cepl (SUSE) asks about tk and Wayland switch. Do you know anything? -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue46

[issue46146] Python IDLE fails to start (tk font issue?)

2021-12-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +epaine, serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue46146> ___ ___ Python-bugs-list mailing list Unsub

[issue4079] urllib.requst.Request 'timeout' attribute needs to have a default

2021-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: urllib2 became urllib.request in 3.x. In 2.6, 'timeout' became a parameter of both urlopen and OpenerDirector.open. In both cases the default was and is the 'global default timeout setting'. So 'timeout' has a default.

[issue2756] urllib2 add_header fails with existing unredirected_header

2021-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Bug needs to be verified on 3.10 or 3.11. -- nosy: +terry.reedy versions: +Python 3.10, Python 3.11 -Python 2.6, Python 2.7 ___ Python tracker <https://bugs.python.org/issue2

[issue2756] urllib.request.add_header fails with existing unredirected_header

2021-12-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: urllib2 add_header fails with existing unredirected_header -> urllib.request.add_header fails with existing unredirected_header ___ Python tracker <https://bugs.python.org/iss

[issue46126] Unittest output drives developers to avoid docstrings

2021-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I also use comments in lieu of docstrings for text_xyx methods because I find the addition of the first line of the docstring in error reports to be useless, distracting, and sometimes, depending on the content, confusing. If the error is in the test

[issue46166] Get "self" args or non-null co_varnames from frame object with C-API

2021-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Pablo, Mark: I am guessing that at least one of you know about this. -- nosy: +Mark.Shannon, pablogsal, terry.reedy ___ Python tracker <https://bugs.python.org/issue46

[issue46172] [doc] Outdated description of `license` object

2021-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows, with the python.orgs 3.9.9, 3.10.1, and 3.11.0b3 installers, 'licence' displays the documented text. Ditto for all 3 build from repository. Ditto for 3.10.1 on Mac. The behavior is set, I believe, in site.py, so your system ignor

[issue46174] Feature Request for Python Interfaces

2021-12-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: (IDLE does not support typing.Protocol classes, because no one has proposed that it do so, let alone submit a patch.) A new keyword requires a PEP that specifies the syntax for an 'interface' statement and what such a statement would do. You sh

[issue46126] Unittest output drives developers to avoid docstrings

2021-12-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +eric.araujo ___ Python tracker <https://bugs.python.org/issue46126> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46177] can't install launcher for all users

2021-12-31 Thread Terry J. Reedy
Change by Terry J. Reedy : Removed file: https://bugs.python.org/file50521/Annotation 2021-12-25 165843.png ___ Python tracker <https://bugs.python.org/issue46

[issue46177] can't install launcher for all users

2021-12-31 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg409173 ___ Python tracker <https://bugs.python.org/issue46177> ___ ___ Python-bug

[issue46180] Button clicked failed when mouse hover tooltip and tooltip destroyed

2021-12-31 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +serhiy.storchaka stage: -> test needed type: crash -> behavior versions: +Python 3.11 -Python 3.8 ___ Python tracker <https://bugs.python.org/i

[issue46181] Destroying an expaned Combobox prevents Entry focus until Alt+Tab

2021-12-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Win10, Py 3.11: run combobug.py, click down arrow, click entry. 'changed' is printed to stdout (console or IDLE Shell). Cursor not visible and clicking on remaining entry box does nothing. Click on another window and back to entry box. Cursor is

[issue46206] Crash when editing emoji containing strings

2021-12-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Win10 command prompt, 😀 is initially displayed as 2 boxes, subsequently as box-space. Besides this, editing works fine and when Entered, the string is echoed. -- nosy: +pablogsal, terry.reedy ___ Python

[issue46213] webbrowser.open doesn't work in Termux

2021-12-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://termux.com/ "Termux is an Android terminal emulator [on Android] and Linux environment app" I don't believe that core devs (and b.p.o.) support running Python on Android. If so, this should be closed here and your question redire

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

2021-12-31 Thread Terry J. Reedy
New submission from Terry J. Reedy : Installed 3.11.0a3 was built Dec 8 2021, 22:56:33. My corresponding repository build is a bit older than that. Rebuilding now I get fileutils.c ..\Python\fileutils.c(2132): error C2065: 'PATHCCH_FORCE_ENABLE_LONG_NAME_PROCE SS': undeclared

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

2021-12-31 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue46

[issue46110] compile("-"*3000000 + "4", '', mode) causes hard crash

2022-01-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Does python_startup benchmark start with all modules parsed and __pycache__d, or with no cache, so it includes the normally one-time parse time? -- ___ Python tracker <https://bugs.python.org/issue46

[issue46181] Destroying an expaned Combobox prevents Entry focus until Alt+Tab

2022-01-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From what I understand, this issue is about a somewhat esoteric tk-design or >program bug and should be closed as either 'not a bug' or '3rd-party'. -- ___ Python tracker <https

[issue46280] About vulnerabilities in Cpython native code

2022-01-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Last I knew, CPython C code is a) regularly scanned by Valgrind and b) Valgrind is somehow informed as to false positives to not report. But I know none of the details. So I suggest you look into this and how to not report the same false positives. I

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

2022-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Let me be clearer. This bug prevents me from building main (3.11) to test anything with a proper up-to-date 3.11 binary. So to me this is highest priority. Is this just my machine or every Windows system? How are CI and buildbots rebuilding and running

[issue46220] imaplib.py "select" mailbox names containing spaces.

2022-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume you mean the mailbox parameter of imaplib.IMAP.select(). https://docs.python.org/3/library/imaplib.html#imaplib.IMAP4.select IMAP4.select(mailbox='INBOX', readonly=False) Select a mailbox. Returned data is the count of messages

[issue46223] asyncio cause infinite loop during debug

2022-01-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +asyncio nosy: +asvetlov, yselivanov ___ Python tracker <https://bugs.python.org/issue46223> ___ ___ Python-bugs-list m

[issue42209] Incorrect line reported in syntax error

2022-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Arian-f's new issue is #46237. -- nosy: +terry.reedy superseder: -> Incorrect line reported in syntax error ___ Python tracker <https://bugs.python.org

[issue46237] Incorrect line reported in syntax error

2022-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since #42209 was closed, a new issue seems OK. As a result of the incorrect line number, IDLE highlights one of the opening quotes on line 1. -- nosy: +pablogsal, terry.reedy -eric.smith versions: +Python 3.11

[issue46237] Incorrect line reported in syntax error

2022-01-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> needs patch ___ Python tracker <https://bugs.python.org/issue46237> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue46282] print() docs do not indicate its return value

2022-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: How about following "The Python interpreter has a number of functions and types built into it that are always available. They are listed here in alphabetical order." in https://docs.python.org/3/library/functions.html with "Here and elsewher

[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

[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

  1   2   3   4   5   6   7   8   9   10   >