[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Christian: IDLE and test_idle require threading. I once tested for threading in test_idle (not sure about IDLE itself) but removed the test when threading was made supposedly non-optional. Test_idle still tests for tkinter and idlelib. For PR 32352. did

[issue47229] Python tests fail on Chromebook Linux/Bullseye

2022-04-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Tests -IDLE title: IDLE UI crashes on Chromebook Linux/Bullseye -> Python tests fail on Chromebook Linux/Bullseye type: crash -> behavior ___ Python tracker <https://bugs.python.org/i

[issue47229] IDLE UI crashes on Chromebook Linux/Bullseye

2022-04-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: "Thonny GUI uses the same as IDLE": I presume this means that Thonny also uses tkinter and both fail, which means that tkinter is not working right. Your test run indicates that python is not running correctly either. It only tried to run

[issue27546] Integrate tkinter and asyncio (and async)

2022-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I posted look_tk3, I believe, as an answer to an SO question. https://stackoverflow.com/questions/47895765/use-asyncio-and-tkinter-or-another-gui-lib-together-without-freezing-the-gui/47896365#47896365

[issue47229] IDLE crashes on Chromebook Linux/Bullseye

2022-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: IDLE / Thonny UI crashes on Chromebook Linux/Bullseye -> IDLE crashes on Chromebook Linux/Bullseye ___ Python tracker <https://bugs.python.org/issu

[issue47229] IDLE / Thonny UI crashes on Chromebook Linux/Bullseye

2022-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue tracker is for improving the CPython distribution. It is not a tracker for other software, or for general help with running Python. For the latter, try https://mail.python.org/mailman/listinfo/python-list Thonny is 3rd party software with its

[issue47226] Unexpected indent message

2022-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue47226> ___ ___

[issue47226] Unexpected indent message

2022-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: " keys = pygame.key.get_pressed() is showing error called unexpected indent" The problem is that the keys line in indented one less space than the line above. A shorter example below. if True: a = 1 b = 2 SyntaxError: unindent does not

[issue47190] Integrating tkinter and asyncio event loops

2022-04-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: That issue has my previous experiments. Thank you Serhiy for finding it ;-). -- resolution: -> duplicate superseder: -> Integrate tkinter and asyncio (and async) ___ Python tracker <https://bugs.p

[issue46033] Duplicated sentence in for statement documentation

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

[issue46033] Duplicated sentence in for statement documentation

2022-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 281f980d354d1709018a2dc77f79388faf3e56c0 by Michał D in branch 'main': bpo-46033: Clarify for-statement execution (GH-30025) https://github.com/python/cpython/commit/281f980d354d1709018a2dc77f79388faf3e56c0 -- nosy: +terry.reedy

[issue24563] [doc] Encoding declaration: doc supported encodings

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

[issue24563] [doc] Encoding declaration: doc supported encodings

2022-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 01be5d6446abbdd95d0c18bd19a58a62b05568d8 by Terry Jan Reedy in branch 'main': bpo-24563: Link encoding names to encoding declarations (GH-32274) https://github.com/python/cpython/commit/01be5d6446abbdd95d0c18bd19a58a62b05568d8

[issue24563] [doc] Encoding declaration: doc supported encodings

2022-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +30337 pull_request: https://github.com/python/cpython/pull/32274 ___ Python tracker <https://bugs.python.org/issue24

[issue24563] [doc] Encoding declaration: doc supported encodings

2022-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am writing a PR with an internal link. I decided that linking to Standard Encodings is sufficient. The Python Text Encodings section follows that. Anyone wanting to use any of those can experiment to see which work

[issue47190] Integrating tkinter and asyncio event loops

2022-04-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I did some somewhat similar experiments a few years ago. I will try to find the code sometime. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue47

[issue47147] Allow `return yield from`

2022-04-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think that this should be closed as rejected, and that Patrick should remove the 'return's that are in front of 'yield from ...'. Then 'yield from x' will be a statement, not an expression, and the ()s will not be needed, as they are used

[issue47156] IDLE: make use of extended SyntaxError info.

2022-03-29 Thread Terry J. Reedy
New submission from Terry J. Reedy : In 3.10 and 3.11: >>> while s := input.read(MAXBINSIZE): ... while len(s) < MAXBINSIZE and ns := input.read(MAXBINSIZE-len(s)): File "", line 2 while len(s) < MAXBINSIZE and ns := in

[issue47079] Integral.denominator shouldn't return an int

2022-03-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond and Serhiy, you were the last two active devs to touch numbers.py. -- nosy: +rhettinger, serhiy.storchaka, terry.reedy ___ Python tracker <https://bugs.python.org/issue47

[issue47072] Database corruption with the shelve module

2022-03-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.8 only gets security patches. If you can, please test with a newer version. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue47

[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: In the IDLE Help menu, 'Python Docs', default hotkey 'F1', invokes '<>', which is handled by EditorWindow.help_docs. For Windows, line 599, is 'os.startfile(self.help_url)'. (Otherwise, webbrowser is used.) On Windows, help_url is os.pat

[issue31552] IDLE: Convert browswers to use ttk.Treeview

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: ttk.Treeview also has problems, at least on some systems and versions. https://mail.python.org/pipermail/tkinter-discuss/2022-March/004226.html HiDPI displays and tkinter [cont] https://mail.python.org/pipermail/tkinter-discuss/attachments/20220316/843e7076

[issue47056] turtle.write() causes flickering when the tracer is turned off.

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Win10, running 3.11.0a5+ from command line, upper ABC and boxes flicker when strings are displayed. (When run with from IDLE editor, there is no flicker except sometimes when moving mouse over or off title bar buttons.) (3.8 only gets security fixes

[issue47054] "SyntaxError: non-default argument follows default argument" confuses

2022-03-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: "SyntaxError: non-default argument follows default argument" should be "parameter" -> "SyntaxError: non-default argument follows default argument" confuses ___ Python

[issue47054] "SyntaxError: non-default argument follows default argument" should be "parameter"

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Current message same in 3.11 and 3.9, but I am not sure about backporting to old parser. However merges a change, if any, can decide. -- nosy: +pablogsal, terry.reedy stage: -> needs patch type: -> behavior versions: +Python 3.11 -Pyth

[issue22628] Idle: Tree lines are spaced too close together.

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: We started using ttk widgets in 3.6. As I said above, the real solution should be to use ttk.Treeview. This is issue 31552. -- resolution: -> fixed status: open -> closed superseder: -> IDLE: Convert browswers to use ttk

[issue31552] IDLE: Convert browswers to use ttk.Treeview

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3. continued. As noted in #22628, idlelib.tree has line spacing and other stuff hardcoded so it will not work properly on all monitors. -- ___ Python tracker <https://bugs.python.org/issue31

[issue47037] Build problems on Windows

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I recompiled, retested, and all tests are ok, with no unexpected box. Thank you all. The vcruntime warnings are also gone, so I will chalk them up to a onetime glitch. -- ___ Python tracker <ht

[issue46996] Drop support of Tcl/Tk older than 8.5.12

2022-03-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: tk release availability is a bit confusing. https://wiki.tcl-lang.org/page/Changes+in+Tcl%2FTk+8%2E6 appears to lists things 'new' in 3.6.1, but that seems to mean new since 8.5.1, as it includes thing introduced in 8.5.n, where n > 1. For instance,

[issue46996] Drop support of Tcl/Tk older than 8.5.12

2022-03-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ronald: According to a page (which I cannot find, E. Paine should know) Centos 7 has the oldest tcl among current *nix distributions. https://centos.pkgs.org/7/centos-x86_64/tcl-8.5.13-8.el7.x86_64.rpm.html says it is 8.5.13, which is what I remember from

[issue47037] Build problems on Windows

2022-03-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Re the 3.9/3.10 warnings: I have not intentionally touched my C install in years. I don't know what Windows' updates do (most recently yesterday) . I presume vcruntime140.dll is on my C: ssd, which has shown no problems. Debug runs w/o -j0 normally take

[issue47037] Build problems on Windows

2022-03-16 Thread Terry J. Reedy
New submission from Terry J. Reedy : 3.11 apparently builds without error, and 'python' and 'python -m idlelib' appears to start normally, but there is a new problem. python -m test raises OS box with 'Debug Assertion Failed!', program python_d.exe, File minkernal\crts\ucrt\src\time

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

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

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

2022-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset cedd2473a9bebe07f3ced4f341cf58a2fef07b03 by slateny in branch 'main': bpo-25415: Remove confusing sentence from IOBase docstrings (PR-31631) https://github.com/python/cpython/commit/cedd2473a9bebe07f3ced4f341cf58a2fef07b03

[issue6143] IDLE - clear and restart the shell window

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

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

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

[issue46849] Memory problems detected using Valgrind

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

[issue46849] Memory problems detected using Valgrind

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

[issue46854] Failed to compile static python3.7.12

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

[issue46849] Memory problems detected using Valgrind

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

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

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

[issue46838] Parameters and arguments parser syntax error improvments

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

[issue46833] Windows installer is unclear and has redundant settings

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

[issue46816] Remove declarations for non-__STDC__ compilers

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

[issue46810] Make multiprocessing.connection.Client support ipv6

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

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

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

[issue26175] Fully implement IOBase abstract on SpooledTemporaryFile

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

[issue26175] Fully implement IOBase abstract on SpooledTemporaryFile

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

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

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

[issue36595] IDLE: Add search to textview.ViewWindow

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

[issue46830] Add Find functionality to Squeezed Text viewer

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

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

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

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

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

[issue46732] Builtin __bool__ docstrings are wrong

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

[issue46782] Docs error for 3.10

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

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

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

[issue46740] Improve Telnetlib's throughput

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

[issue46735] gettext.translations crashes when locale is unset

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

[issue46733] pathlib.Path methods can raise NotImplementedError

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

[issue46732] None.__bool__ docstring is wrong

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

[issue46725] Unpacking without parentheses is allowed since 3.9

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[issue46666] IDLE Add indent guide

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

[issue46666] IDLE Add indent guide

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

[issue46666] IDLE Add indent guide

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

[issue46666] IDLE Add indent guide

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

[issue46665] IDLE Windows shortcuts by default

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

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

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

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

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

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

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

[issue46609] Generator-based coroutines in Python 3.10 docs

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

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

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

[issue46609] Generator-based coroutines in Python 3.10 docs

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

[issue46609] Generator-based coroutines in Python 3.10 docs

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

[issue46609] Generator-based coroutines in Python 3.10 docs

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

[issue46609] Generator-based coroutines in Python 3.10 docs

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

[issue46588] IDLE fix typo in test_calltip.py

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

[issue46588] fix typo in test_calltip.py

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

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

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

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

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

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

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

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

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

[issue45975] Simplify some while-loops with walrus operator

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

[issue45975] Simplify some while-loops with walrus operator

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

[issue45975] Simplify some while-loops with walrus operator

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

[issue45975] Simplify some while-loops with walrus operator

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

[issue45975] Simplify some while-loops with walrus operator

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

[issue46591] Make About IDLE links clickable

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

[issue46591] Make About IDLE links clickable

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

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

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

  1   2   3   4   5   6   7   8   9   10   >