[issue44030] Markup with_traceback code example

2021-05-04 Thread Terry J. Reedy
New submission from Terry J. Reedy : .../Doc/library/exceptions.rst, lines 99-105 has original ``SomeException`` had we allowed it to propagate to the caller. try: ... except SomeException: tb = sys.exc_info()[2] raise

[issue44026] IDLE doesn't offer "Did you mean?" for AttributeError and NameError

2021-05-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am surprised for 2 reasons. First, I have seen other improved messages in IDLE, though maybe only for syntax errors. Second, code entered through IDLE is executed by Python, 'same' in this respect as code entered through the REPL. In more detail, IDLE

[issue44025] Match doc: Clarify '_' as a soft keyword

2021-05-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +24552 pull_request: https://github.com/python/cpython/pull/25873 ___ Python tracker <https://bugs.python.org/issue44

[issue44025] Match doc: Clarify '_' as a soft keyword

2021-05-03 Thread Terry J. Reedy
New submission from Terry J. Reedy : In #44010, we are trying, as best as is possible with comprehensible REs, to identify in which circumstances occurrences of 'match', 'case' and '_' are keywords, and should be marked as such. I was initially unsure and even wrong about '_'. 1. Capture

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

2021-05-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: terry.reedy -> ___ Python tracker <https://bugs.python.org/issue43710> ___ ___ Python-bugs-list mailing list Un

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

2021-05-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Extension Modules, Windows -IDLE ___ Python tracker <https://bugs.python.org/issue43710> ___ ___ Python-bugs-list m

[issue44020] test_ssl fails in the macos CI

2021-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: This person, mohansai, seems to be misbehaving on the tracker and should be stopped or at least educated. mohansai just reassigned a closed issue about Windows extensions to IDLE, #43710, thus assigning it to me and wasting my time. (I reverted

[issue44010] IDLE: highlight soft keywords

2021-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with getting this in soon. A related request is to to syntax highlight field expressions in f strings. I don't think there is an existing issue. Apparently, at least some alternatives to IDLE do this. I am not sure I would really want it, but we

[issue44010] IDLE: highlight soft keywords

2021-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: My plan for the next day or two is to submit followup issue for Shell and formally code what I wrote. The only way to handle soft keywords correctly is with a custom re. I don't expect them to become common. They are different from builtins because

[issue37903] IDLE Shell sidebar.

2021-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b43cc31a270d0dacbc69e35d6c6fbdb5edd7e711 by Tal Einat in branch 'master': bpo-37903: IDLE: add shell sidebar mouse interactions (GH-25708) https://github.com/python/cpython/commit/b43cc31a270d0dacbc69e35d6c6fbdb5edd7e711

[issue44010] IDLE: highlight soft keywords

2021-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Soft keywords are a huge nuisance for syntax highlighting as they need special case regexes and tests. Hard keywords are matched against complete words, regardless of whether the context is syntactically valid or not. If 'for' and 'else' were the only

[issue32891] Add 'Integer' as synonym for 'Integral' in numbers module.

2021-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Guido, Integer as synonym for Integral was your idea, or at least your endorsement prompted me to file the issue. Other core devs don't think the change is worth the trouble; I don't much care. Speak up if you want to revive it. -- nosy

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

2021-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: No apology needed. I don't know what has been added to the devguide, but most OPs never submit a PR unless they either do so or say they will when opening an issue. In any case, a week is more than a chance

[issue37903] IDLE Shell sidebar.

2021-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is also a 'copy only code' option. Like 'copy', these two new options require a selection. They appear on the context menu when right-clicking either on the sidebar or within the selection. Like the format region commands, these new options operate

[issue43950] Include column offsets for bytecode instructions

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Marking what expression evaluated to None would be extremely helpful. So would marking the 0 denominator when there is more than one candidate: "e = a/b + c/d". It should be easy to revise IDLE Shell's print_exception to tag the span. In

[issue43971] documentation: no spacing around default args in annotated function

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 606bb1c77c66eca081d03374ad4b53d9e603dd9d by Miss Islington (bot) in branch '3.8': bpo-43971: Add spaces around annotated arg default '=' (GH-25702) https://github.com/python/cpython/commit/606bb1c77c66eca081d03374ad4b53d9e603dd9d

[issue43971] documentation: no spacing around default args in annotated function

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e48405a9be067d50d6d0d83dc22013fc68f15657 by Miss Islington (bot) in branch '3.9': bpo-43971: Add spaces around annotated arg default '=' (GH-25702) https://github.com/python/cpython/commit/e48405a9be067d50d6d0d83dc22013fc68f15657

[issue43971] documentation: no spacing around default args in annotated function

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e726a902b7c73a7056b7421d801e47255873 by Mohamed Moselhy in branch 'master': bpo-43971: Add spaces around annotated arg default '=' (GH-25702) https://github.com/python/cpython/commit/e726a902b7c73a7056b7421d801e47255873

[issue43983] Can't install Python v3.9.4 / 0x80070643 / windows 10 64bit

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: The error message suggests somethng else is using something in an existing 3.9 directory, and that you should close everything and reboot your machine and try again without running anything else. -- nosy: +terry.reedy

[issue43976] Allow Python distributors to add custom site install schemes

2021-04-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Introduce mechanism to allow Python distributors to add custom site install schemes -> Allow Python distributors to add custom site install schemes ___ Python tracker <https://bugs.python.org/issu

[issue43971] documentation: no spacing around default args in annotated function

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From PEP 8: right:label: str = '' wrong:result: int=0 # No spaces around equality sign current doc: quantity_on_hand: int=0): -- assignee: docs@python -> terry.reedy nosy: +terry.reedy versions: -Python 3.11, Pyth

[issue43928] Fix the typo in documentation

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Merge conflict in 3.9. Skipping backports. -- resolution: not a bug -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.8 ___ Python tracker <https://bug

[issue43935] Fix typo in Turtle.back docstring

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

[issue43935] Fix typo in Turtle.back docstring

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e377ecf3b496c7719e6dffe3ebf3d0ef512cfb5b by Miss Islington (bot) in branch '3.8': bpo-43935: Fix typo in Turtle.back() docstring (GH-25581) https://github.com/python/cpython/commit/e377ecf3b496c7719e6dffe3ebf3d0ef512cfb5b

[issue43928] Fix the typo in documentation

2021-04-30 Thread Terry J. Reedy
New submission from Terry J. Reedy : New changeset e08c67372d62236409da296353827985a3202e8a by JT in branch 'master': bpo-43928: Fix 'succesfully' typo in document (GH-25569) https://github.com/python/cpython/commit/e08c67372d62236409da296353827985a3202e8a -- nosy: +terry.reedy

[issue43969] "bad magic number" when Python 2's pyc file exists without py file

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unless you find documentation that says otherwise, this an enhancement proposal for 3.11. If no core developer (other than me) jumps on this, you might use git blame to fine out who committed code in the area you proposed changing. -- nosy

[issue43950] Include column offsets for bytecode instructions

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Specific examples of current messages and proposed improvements would help focus discussion. If you are willing to only handle code lines up to 256 chars, only 2 bytes should be needed. (0,0) or (255,255) could mean 'somewhere beyond the 256th char

[issue43948] sysconfig's osx_framework_user puts headers in different locations from distutils

2021-04-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: sysconfig’s osx_framework_user puts headers in different locations from distutils -> sysconfig's osx_framework_user puts headers in different locations from distutils versions: -Python 3.11, Python 3.6, Python 3.7, Python 3.8, Python

[issue43944] Processes in Python 3.9 exiting with code 1 when It's created inside a ThreadPoolExecutor

2021-04-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +davin, pitrou ___ Python tracker <https://bugs.python.org/issue43944> ___ ___ 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

[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:

[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:

[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 -- nosy

[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 case

[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-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/a62e424de0c394cda178a8d934d06f0559b5e28d

[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: 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

[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/8ec2f0dc0cd096b7a851b1a41e458daa23bf1ffc

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

2021-04-29 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

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

2021-04-29 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

[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/15d386185659683fc044ccaa300aa8cd7d49cc1a

[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 dissip

[issue37903] IDLE Shell sidebar.

2021-04-28 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

[issue37903] IDLE Shell sidebar.

2021-04-28 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

[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

[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

[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))) != '': print(c

[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

[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

[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? (, line 1) invalid s

[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(print, 'test cleanup

[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-

[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 ___

[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

[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

[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 soon

[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

[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

[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 to lowest

[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:

[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

[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-

[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

[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

[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

[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:

[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

[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/b40564727fbe85932e92862e57fc065034d98dbf

[issue43723] Deprecate camelCase aliases from threading.py

2021-04-16 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 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/56c76df6e861322bdff77bfb21e5cd55fbacfad2

[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

[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 believe could mean a dict

[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 ___ Python tracke

[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

[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

[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 '.' refers to all styles

[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

[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/754dc353565eeb4a43a912417cc5b6

[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/5490b49fa6646c9f48869955c12cf6

[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:

[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. E

[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/14829b09eb652f457cf837836909169746a810f0 -

[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

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

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

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

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

[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

[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

[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

[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

[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: 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.

[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

[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-

[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 failur

[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:\dev\

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

2021-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: After 3+ years of Github I did not remember that B 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 been clearer

[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.org/i

[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

[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:

<    4   5   6   7   8   9   10   11   12   13   >