[issue43594] Subclass of both `ABC` and `ABCMeta` breaks on `__subclasscheck__`

2021-03-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Verified on Win10 for 3.8-3.10. 3.6 only gets security fixes. Guido, is the above a bug? (There is no listed abc or 'metaclass' expert and I don't know.) -- nosy: +gvanrossum, terry.reedy title: A metaclass that inherits both `ABC

[issue43605] Eval/exec and comprehension scopes unclear in documentation

2021-03-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is not an execution bug. https://docs.python.org/3/reference/expressions.html#displays-for-lists-sets-and-dictionaries "However, aside from the iterable expression in the leftmost for clause, the comprehension is executed in a separate implicitly n

[issue43606] tkinter: initial huge window & no widgets visible

2021-03-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -paul.moore, steve.dower, tim.golden, zach.ware title: PySimpleGUI: initial huge window & no widgets visible -> tkinter: initial huge window & no widgets visible ___ Python tracker <https://b

[issue39231] Mistaken notion in tutorial

2021-03-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a53e9a7cf5912a44c5143e353912e44cfcfca7dc by Irit Katriel in branch 'master': bpo-39231: correct tutorial annotations section (GH-25029) https://github.com/python/cpython/commit/a53e9a7cf5912a44c5143e353912e4

[issue39231] Mistaken notion in tutorial

2021-03-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: enhancement -> behavior versions: +Python 3.10, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python

[issue43647] Sudden crash displaying certain characters in tk widget

2021-03-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is actually a tk and tkinter issue rather than IDLE issue as such. Python code can only catch Python exceptions, and I believe that the Xserver crash does not result in one. These crashes were reported on a different issue and the conclusion there is

[issue37945] [Windows] test_locale.TestMiscellaneous.test_getsetlocale_issue1813() fails

2021-03-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: So, can we delete it? PR 19781 is for #43510 and is listed here above only because this issue is mentioned. -- ___ Python tracker <https://bugs.python.org/issue37

[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-03-29 Thread Terry J. Reedy
New submission from Terry J. Reedy : #39017, PR 22405 was too late for 3.9, but the new Mac installer is already using 8.6.11. Serhiy, do you know any reason not to upgrade the Windows installer to 8.6.11 also? Steve, should a new PR with '10' replaced with '11, where '

[issue39107] Upgrade Windows tcl/tk to 8.6.10

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: #43652 is for 8.6.11. -- ___ Python tracker <https://bugs.python.org/issue39107> ___ ___ Python-bugs-list mailing list Unsub

[issue43647] Sudden crash displaying certain characters in tk widget

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Closing as a duplicate. What's new here is that BMP chars can be affected also. I opened #43652 to upgrade Windows installer to 8.6.11 (though not needed for this) but I guess Linux users have to bug their distributor or learn to upgrade thems

[issue42225] Tkinter hangs or crashes when displaying astral chars

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #43647 as a duplicate of this. It reported that BMP chars can fail also. For instance, with "Noto Sans Mono", but not 'Dejavu Mono', the following crash. >>> '\u2705' '✅' >>> '

[issue43654] IDLE: Applying settings disables tab completion

2021-03-29 Thread Terry J. Reedy
New submission from Terry J. Reedy : (Original report by Mikhail on #43647, running 3.9 on Linux; verified and extended by me running 3.10 on Windows.) Normally, "i" brings up a completion window with 'id', 'if', 'import', etc. Opening a Settings wi

[issue43647] Sudden crash displaying certain characters in tk widget

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for reporting. While I may have had tab not work after the dialog, I had never connected the two. Nor, AFAIK, was there an existing report. I verified, investigated more, and opened #43654

[issue42225] Tkinter hangs or crashes when displaying astral chars

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: No, seems strictly a matter of complicated color, which is perhaps becoming more common. Firefox colors the checkbox (white checkmark on green field in a largish black square) but not the (smaller) pencil. I did not recognize either the FF or tk Windows

[issue42225] Tkinter hangs or crashes when displaying astral chars

2021-03-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +23828 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/25078 ___ Python tracker <https://bugs.python.org/issu

[issue43654] IDLE: Applying settings disables tab completion

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Investigation of this issue is complicated by the fact that the editor test widgets are wrapped by multicall.MulticallCreator. It intercepts bind and event method calls (other than event_generate) for user pseudoevents. It keeps its own map of pseudoevent

[issue42225] Tkinter hangs or crashes when displaying astral chars

2021-03-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 1b4a9c7956d5dc64f8002f62bf0faae2d1892f90 by Terry Jan Reedy in branch 'master': bpo-42225: IDLE - document two unix-related problems. (#25078) https://github.com/python/cpython/commit/1b4a9c7956d5dc64f8002f62bf0faa

[issue42225] Tkinter hangs or crashes when displaying astral chars

2021-03-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: On macOS with 3.10.0a, 8.6.11 appears to fix this issue. >>> chr(128516) "😄" For IDLE, I am adding a paragraph to the doc. I will then close this issue as 'fixed' (insofar as we can for what is a 3rd party failure). -

[issue42225] Tkinter hangs or crashes when displaying astral chars

2021-03-31 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42225] Tkinter hangs or crashes when displaying astral chars

2021-03-31 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.org/issue42225> ___ ___ Python-bugs-list mailin

[issue37945] [Windows] test_locale.TestMiscellaneous.test_getsetlocale_issue1813() fails

2021-03-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Great! For the first time in over 2 years, the test suite passes on a Windows repository build on my machine. I will test installed 3.10 after the next alpha release. (3.10.0a7 has other failures as well

[issue43154] code.InteractiveConsole can crash if sys.excepthook is broken

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: code.InteractiveInterpreter handles SyntaxErrors separately in showsyntaxerror rather than showtraceback. The same problem arises with a bad excepthook in line 129. -- ___ Python tracker <ht

[issue19080] Enrich SyntaxError with additional information

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing because 2 of your 3 examples (and many others) have had the messages changed in an effort to be more informative. But Pablo can reverse this if he wants. In 3.10: >>> * 2 SyntaxError: can't use starred expression here +2 a

[issue43705] [docs] Document that SyntaxError's offsets are 1-indexed

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Should we mention that the 4 attributes are also available as a 4-tuple that is the 2nd item of the args tuple, after the message? Doing so will help when illustrating the following. For syntax errors in f-string fields, the expanded doc is still

[issue43634] Extensions build does not respect --jobs setting

2021-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +ncoghlan, petr.viktorin ___ Python tracker <https://bugs.python.org/issue43634> ___ ___ Python-bugs-list mailing list Unsub

[issue43656] StackSummary.format fails if str(value) fails

2021-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue43656> ___ ___ Python-bugs-list mailin

[issue43671] segfault when using tkinter + pygame for ~5 minutes

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

[issue43671] segfault when using pygame for ~5 minutes

2021-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: segfault when using tkinter + pygame for ~5 minutes -> segfault when using pygame for ~5 minutes ___ Python tracker <https://bugs.python.org/issu

[issue43671] segfault when using pygame for ~5 minutes

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would not be surprised if using the gui features of both tkinter and pygame together did cause a crash, as both would be competing for the screen. Ditto if both were handling key and mouse events. That might be closed instead as "won&

[issue43684] Add combined opcodes

2021-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue43684> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43689] difflib: mention other "problematic" characters in documentation

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The quote is in the following section. https://docs.python.org/3/library/difflib.html#difflib.Differ I do not really understand the previous line "Lines beginning with ‘?’ attempt to guide the eye to intraline differences, and were not present in either

[issue43699] ERROR: Could not find a version that satisfies the requirement MetaTrader5

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Andre', direct issue like this to discussion forums like python-list. -- nosy: +terry.reedy stage: -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.

[issue43689] difflib: mention other "problematic" characters in documentation

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: After 3+ years of Github I did not remember that B&W diffs use lines with change position markers and in particular that at they (often? always?) start with ?s. IDLE also uses color to mark positions (for syntax errors). The following would have

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

2021-04-03 Thread Terry J. Reedy
New submission from Terry J. Reedy : After a fresh update from upstream > PCbuild\build.bat -D (or without -D) on my machine ends with python.vcxproj -> f:\dev\3x\PCbuild\amd64\python_d.pdb (Full PDB) Python path configuration: PYTHONHOME = (not set) PYTHONPATH = 'f:

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

2021-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Re ""f:\dev\3x\PC\validate_ucrtbase.py" ucrtbased" exited with co de -1073741819." f:\dev\3x>py -3.10 PC\validate_ucrtbase.py ucrtbased C:\WINDOWS\SYSTEM32\ucrtbased.DLL is version 10.0.14393.33 so the failure is due

[issue41969] ttk.RadioButtons mis-sized under Windows 10 UI Scaling, with dpiAware set true

2021-04-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.org/issue41969> ___ ___ Python-bugs-

[issue43679] ttk.Sizegrip disappears under Windows 10 UI Scaling, with dpiAware set true and >1 scaling

2021-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: In issue 33656, we determined that tcl/tk *is* dpi aware and that telling Windows so is needed for proper text display. IDLE now issues the same Windows command (idlelib.pyshell, line 20). This perhaps should be done by Python itself, but that is not my

[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Did you use revision 0, and in 8.6.11.0, or a later one? As I mentioned in #43719, I cannot currently build master, but I will upload a PR (with .0) for CI to test. -- ___ Python tracker <https://bugs.python.

[issue43652] Upgrade Windows tcl/tk to 8.6.11

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

[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: The upgrade to 8.6.10 broke a Scale test. The fix for that in #41306 conv = False if get_tk_patchlevel() >= (8, 6, 10) else float_round should still work unless there was a further Scale change. -- stage: patch review -> needs

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

2021-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks everyone for the rapid responses. The PR fixes the build for me, with a clean test suite pass, so I added reviewers who could merge, a blurb, and my approval. This can be closed as out-of-date as soon as the (or a) fix is merged

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

2021-04-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- priority: normal -> critical ___ Python tracker <https://bugs.python.org/issue43719> ___ ___ Python-bugs-list mailing list Un

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

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

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

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

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

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

[issue22538] turtledemo two_canvases reversion

2021-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you. I had forgotten about this. It also works as advertised in the module docstring on Windows, 3.8 and 3.10. There has been no change to the code, so a patch to turtle itself must have fixed the problem. -- resolution: -> out of d

[issue43087] ctypes documentation error

2021-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 14829b09eb652f457cf837836909169746a810f0 by Zackery Spytz in branch 'master': bpo-43087: Fix error in ctypes "Incomplete Types" doc (GH-24404) https://github.com/python/cpython/commit/14829b09eb652f457cf837836909169746a810

[issue43689] difflib: mention other "problematic" characters in documentation

2021-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have an alternate replacement: "These lines can be confusing if the sequences contain tab characters or other characters that result in the indicator symbols in these lines being mislocated." Or leave the current sentence as is. Explanatio

[issue43307] Sync site.py and sysconfig.py with PyPy

2021-04-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker <https://bugs.python.org/issue43307> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43087] ctypes documentation error

2021-04-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5490b49fa6646c9f48869955c12cf6af9fc3f2a4 by Miss Islington (bot) in branch '3.9': [3.9] bpo-43087: Fix error in ctypes "Incomplete Types" doc (GH-24404) https://github.com/python/cpython/commit/5490b49fa6646c9f4886

[issue43087] ctypes documentation error

2021-04-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 754dc353565eeb4a43a912417cc5b66959458f1b by Miss Islington (bot) in branch '3.8': [3.8] bpo-43087: Fix error in ctypes "Incomplete Types" doc (GH-24404) https://github.com/python/cpython/commit/754dc353565eeb4a43a9

[issue43087] ctypes documentation error

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

[issue43708] Tkinter theme settings object schema is missing

2021-04-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: You code as posted is buggy. 'settings' maps styles to dicts with possible keys ‘configure’, ‘map’, ‘layout’ and ‘element create’. See https://docs.python.org/3/library/tkinter.ttk.html#tkinter.ttk.Style.theme_create I presume '.' refer

[issue43714] re.findall: '\Z' must consume end of string if it matched

2021-04-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Python regexes match slices of a Python string s. The latter include the len(s)+1 empty slices of s. An re Match gives both the slice itself as match attribute and its slice coordinates (span) in the searched string. https://docs.python.org/3/library

[issue43792] Cython is not compatible with Python 3.10 yet: "SystemError: bad argument to internal function"

2021-04-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Does this issue propose a patch to python/cpython? If not, it should be closed (and should have been posted to pydev list). -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue43

[issue43796] "install" package on PyPI

2021-04-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: And maybe discuss with pip people why 'pip install pip install zyx' is not caught as an error. -- nosy: +terry.reedy resolution: -> not a bug stage: -> resolved status: open -> closed ___ Pyt

[issue43654] IDLE: Applying settings disables tab completion

2021-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume '^' means 'hit Tab'. The underlying Python problem is that namespaces are conceptually mappings of names (identifiers), a subset of strings, to objects. Python specifies that the global namespace is a dict, which I belie

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +terry.reedy nosy_count: 6.0 -> 7.0 pull_requests: +24163 pull_request: https://github.com/python/cpython/pull/25432 ___ Python tracker <https://bugs.python.org/issu

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 56c76df6e861322bdff77bfb21e5cd55fbacfad2 by Terry Jan Reedy in branch '3.9': [3.9] bpo-43723: Revert IDLE doc change (GH-25174) https://github.com/python/cpython/commit/56c76df6e861322bdff77bfb21e5cd

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +24165 pull_request: https://github.com/python/cpython/pull/25435 ___ Python tracker <https://bugs.python.org/issue43

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b40564727fbe85932e92862e57fc065034d98dbf by Terry Jan Reedy in branch '3.8': [3.8] bpo-43723: Backport IDLE doc change (GH-25174) https://github.com/python/cpython/commit/b40564727fbe85932e92862e57fc06

[issue43803] ctypes string_at/wstring_at - bad argument name used in docs and in docstring

2021-04-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue43803> ___ ___ Python-bugs-list mailin

[issue43805] multiprocessing.Queue hangs when process on other side dies

2021-04-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +davin, pitrou ___ Python tracker <https://bugs.python.org/issue43805> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43806] asyncio.StreamReader hangs when reading from pipe and other process exits unexpectedly

2021-04-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +asvetlov, yselivanov ___ Python tracker <https://bugs.python.org/issue43806> ___ ___ Python-bugs-list mailing list Unsub

[issue43807] JSONDecodeError: Extra Data Raised on Long Valid JSON

2021-04-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +ezio.melotti, rhettinger ___ Python tracker <https://bugs.python.org/issue43807> ___ ___ Python-bugs-list mailing list Unsub

[issue43821] Undocumented behavior of sleep functions and asyncio delayed execution

2021-04-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +asvetlov, yselivanov versions: -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue43821> ___ ___ Pytho

[issue43827] abc conflicts with __init_subclass__

2021-04-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +rhettinger, stutzbach type: crash -> behavior ___ Python tracker <https://bugs.python.org/issue43827> ___ ___ Python-

[issue43834] Use context manager in StringIO example

2021-04-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +benjamin.peterson, stutzbach ___ Python tracker <https://bugs.python.org/issue43834> ___ ___ Python-bugs-list mailin

[issue43835] Dataclasses don't call base class __init__

2021-04-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.7 ___ Python tracker <https://bugs.python.org/issue43835> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43837] Operator precedence documentation could be more clear

2021-04-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: When I looked at the table yesterday (after several years), I was initially confused at the 'reversed' order (before I checked the text above). Besides precedence usually (nearly always) being listed high to low*, the chapter itself is highest

[issue43857] Fix the AttributeError message for deletion of a missing attribute

2021-04-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +pablogsal versions: -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue43857> ___ ___ Python-bug

[issue43866] Installation files of the Python

2021-04-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue43866> ___ ___ Python-bugs-list mailin

[issue43894] IDLE editor file minor refactoring

2021-04-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: This started as an extraction and revision of changes in Tal's PR, one of which appeared to be an intended behavior change, that I requested there. Paine may have expanded the scope more than I intended. Will look

[issue42361] Use Tcl/Tk 8.6.10 in build-installer.py when building on recent macOS

2021-04-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Close this? Upgrade done, twice. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue42361> ___ ___ Pytho

[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-04-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Previous issue, which I mistyped, was #39107. Release notes at https://sourceforge.net/projects/tcl/files/Tcl/8.6.11/tcltk-release-notes-8.6.11.txt/view -- ___ Python tracker <https://bugs.python.org/issue43

[issue43874] argparse crashes on subparsers with no dest/metava

2021-04-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Terence, a 'crash' for this tracker is a core dump or equivalent with no exception/traceback. -- nosy: +terry.reedy stage: -> patch review type: crash -> behavior versions: -Python 3.6, Python 3.7 __

[issue43913] unittest module cleanup functions not run unless tearDownModule() is defined

2021-04-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> needs patch versions: +Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.org/issue43913> ___ ___ Python-

[issue43913] unittest module cleanup functions not run unless tearDownModule() is defined

2021-04-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: import unittest #def setUpModule(): raise Exception() #def tearDownModule(): print('module teardown') unittest.addModuleCleanup(print, 'module cleanup') class Dummy(unittest.TestCase): def test_dummy(self): self.addCleanup(

[issue43914] Highlight invalid ranges in SyntaxErrors

2021-04-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Great!!! I also tried >>> try: compile("a xyzjdkjfk", '', 'single') except SyntaxError as e: print(e, e.msg, e.lineno, e.offset, e.end_lineno, e.end_offset) invalid syntax. Perhaps you forgot a comma?

[issue43914] Highlight invalid ranges in SyntaxErrors

2021-04-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +24302 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25582 ___ Python tracker <https://bugs.python.org/issu

[issue43918] anext builtin docstring has no signature text or info about default argument

2021-04-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: inspect.signature(anext) raises "ValueError: builtin has invalid signature". Guido, is this a bug? Even if not, docstring should have it. -- nosy: +terry.reedy ___ Python tracker <https://bu

[issue43925] Add hangul syllables to unicodedata.decomposititon

2021-04-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified the claim in 3.19.0a7 freshly compiled today. >>> import unicodedata as ud >>> ud.decomposition('\uac00') '' >>> for cp in range(0xac00, 0xd7a4): if (s := ud.decomposition(chr(cp))) != '&

[issue43874] argparse crashes on subparsers with no dest/metava

2021-04-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Wait for responses -- ___ Python tracker <https://bugs.python.org/issue43874> ___ ___ Python-bugs-list mailing list Unsub

[issue37892] IDLE Shell: isolate user code input

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

[issue37903] IDLE Shell sidebar.

2021-04-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The base issue #37892 is about moving the IDLE Shell prompt away from the first line of user code input, so that code starts at the margin where continuation lines start and we can use space indents. I said the prompt could either go left, into a sidebar

[issue37903] IDLE Shell sidebar.

2021-04-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue37903> ___ ___ Python-bugs-list mailin

[issue37892] IDLE Shell: isolate user code input

2021-04-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I had a similar reaction, "weird", when I tried the isolated prompt a year or whatever ago. I don't remember if I also changed the indent for that. But when testing this patch, with space indents, a longer time, most of the weird feeling d

[issue37903] IDLE Shell sidebar.

2021-04-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 15d386185659683fc044ccaa300aa8cd7d49cc1a by Tal Einat in branch 'master': bpo-37903: IDLE: Shell sidebar with prompts (GH-22682) https://github.com/python/cpython/commit/15d386185659683fc044ccaa300aa8

[issue41608] IDLE: multiple space deletion by Backspace after non-spaces

2021-04-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tests are needed. See review. Thinking about tests makes me realize that we need to extract an EditorText class that has the methods that only apply to the text component of EditorWindow. That is most of them. This would make testing easier because

[issue41608] IDLE: multiple space deletion by Backspace after non-spaces

2021-04-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.11 -Python 3.10, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue41608> ___ ___ Pytho

[issue37892] IDLE Shell: isolate user code input

2021-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8ec2f0dc0cd096b7a851b1a41e458daa23bf1ffc by Terry Jan Reedy in branch 'master': bpo-37892: Use space indents in IDLE Shell (GH-25678) https://github.com/python/cpython/commit/8ec2f0dc0cd096b7a851b1a41e458d

[issue43981] test_idle is leaking references

2021-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: The only recently added tests are the 11 in test_sidebar.ShellSidebarTest. Leak testing just these with python -m test -R3:3 -ugui -m *Sidebar* test_idle does not fail. Leak test all of test_idle with >python -m test -R3:3 -v -ugui test_idle ends af

[issue43981] test_idle is leaking references

2021-04-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +24430 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25739 ___ Python tracker <https://bugs.python.org/issu

[issue43981] test_idle is leaking references

2021-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a62e424de0c394cda178a8d934d06f0559b5e28d by Terry Jan Reedy in branch 'master': bpo-43981: Fix error in idle-test leak test (GH-25739) https://github.com/python/cpython/commit/a62e424de0c394cda178a8d934d06f

[issue43981] test_idle is leaking references

2021-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_squeezer.ExpandingButtonTest accounts for most of the leak. python -m test -R3:3 -v -ugui -m *zer.Expand* test_idle test_idle leaked [576, 576, 576] references, sum=1728 test_idle leaked [282, 282, 282] memory blocks, sum=846 All 6 methods failed. I

[issue43981] test_idle is leaking references

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was just about to try adding that exact cleanup close after finishing reading emails ;-). Sorry I didn't think of it last night. Glad it worked. The alternative would have been to skip the test

[issue43935] Fix typo in Turtle.back docstring

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 0048c60f01deec4435748e851f9ec21b504d2d2f by Tarjei Bærland in branch 'master': bpo-43935: Fix typo in Turtle.back() docstring (GH-25581) https://github.com/python/cpython/commit/0048c60f01deec4435748e851f9ec21b504d2d2f -

[issue43534] turtle.textinput window is not transient

2021-04-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -24313 ___ Python tracker <https://bugs.python.org/issue43534> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43534] turtle.textinput window is not transient

2021-04-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -24314 ___ Python tracker <https://bugs.python.org/issue43534> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43937] Turtle uses the default root window

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

<    17   18   19   20   21   22   23   24   25   26   >