[issue45103] IDLE: make configdialog font page survive font failures

2021-10-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Bizarre. The SO OP just reported that deleting FiraCode fixed *his* 3.10 problem. There must be some unobvious difference in systems. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45353] sys.modules: dictionary changed size during iteration

2021-10-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: In #13487, Gregory fixed the problem by using .copy(). That seems to have worked for 1 1/2 years. You still have not reported an actual bug in the current CPython stdlib. Perhaps we should mention in https://docs.python.org/3/library/sys.html#sys.modules

[issue45378] Can't find "map" with search on docs.python.org

2021-10-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: The iterator classes are not identified as such because being a class instead of a function, such as a generator function, is a CPython implementation detail, not a language requirement. Searching for filter seems as bad -- builtin filter is about the 60th

[issue45365] Make concurrent.futures.Future usable outside of executors

2021-10-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed title: concurrent.futures.Future should be suitable for use outside of executors -> Make concurrent.futures.Future usable outside of executors versions: +Python 3.11 -Python 3.10 ___

[issue45356] Calling `help` executes @classmethod @property decorated methods

2021-10-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: On current 3.9, 3.10, 3.11, on Windows running in IDLE, I see computing class property .. computing class property .. computing class property .. computing class property .. computing class property .. Help ... -- versions: +Python 3.11 -Python 3.10

[issue45356] Calling `help` executes @classmethod @property decorated methods

2021-10-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Randolf, what specific behaviors do you consider to be bugs that should be fixed. What would a test of the the changed behavior look like? This should perhaps be closed as a duplicate of #44904. Randolf, please check and say what you thing

[issue45353] sys.modules: dictionary changed size during iteration

2021-10-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Do you have an example for which "for m in sys.modules: print(m, end=' ')" fails? In particular, is there code in the stdlib that fails iterating over sys.modules? If not the latter, this should be closed as 'Not a bug'. Note that questions a

[issue45352] Move documentation for typed generic forms of standard collections to collections.abc

2021-10-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> needs patch versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/issue45352> ___ ___ Python-bugs-lis

[issue45357] Idle does not check user config for extention configuration

2021-10-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: The current configuration design is that user .idlerc config-x.cfg files contain changes from the idlelib config-x.def files. A proposal to change this is an enhancement request rather than a bugfix request. It will make the logic more complex, increase

[issue45357] Idle does not check user config for extention configuration

2021-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am puzzled by your report. As explained in the top of idlelib/confix-extensions.def, the options for four features are still defined there for compatibility reasons and user changes to those option *are* stored in ~/.idlerc/config-extensions.cfg and read

[issue45103] IDLE: make configdialog font page survive font failures

2021-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks. Did the FiraCode font work for you or merely not work without crashing? -- ___ Python tracker <https://bugs.python.org/issue45

[issue44603] REPL: exit when the user types exit instead of asking them to explicitly type exit()

2021-10-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steven's list left out the standard way of closing *any* windowed app -- click the close button on the title bar. Works on all major systems. Its does a little too much when python is started on a command line (by closing the console), but beginners

[issue45103] IDLE: make configdialog font page survive font failures

2021-10-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: A similar report, https://stackoverflow.com/questions/69466716/python-3-10-idle-does-not-respond-everytime-i-hit-configure-idle-from-options but with FiraCode font https://github.com/tonsky/FiraCode. The compatibility list includes IDLE as 'does not work

[issue45381] IDLE: "restart shell" while receiving output disables program

2021-10-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> needs patch title: IDLE cannot kill process. "interupt" ctl+c and "restart shell" freeze program. -> IDLE: "restart shell" while receiving output disables progra

[issue45381] IDLE cannot kill process. "interupt" ctl+c and "restart shell" freeze program.

2021-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE uses tk/tkinter text widgets for Editor and Shell windows. A known downside of this is that long lines, greater than about 2000 chars, slow down scrolling. See #1442493 for instance. Part of the Squeezer feature was meant to alleviate

[issue19290] Clarify compile and eval interaction.

2021-10-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.11 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker <https://bugs.python.org/issue19290> ___ ___ Pytho

[issue45341] Update "Python Package Index" in Docs

2021-10-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed ___ Python tracker <https://bugs.python.org/issue45341> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue45341] Update "Python Package Index" in Docs

2021-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d211e87307bb2a0b80e0a489501e892e61d879fc by Miss Islington (bot) in branch '3.9': bpo-45341: Replace 'Packaging' with 'Package' in "Python P... Index" (GH-28687) (GH-28689) https://github.com/python/cpyt

[issue45341] Update "Python Package Index" in Docs

2021-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 0be338199fd663f020d833a4db185d0c5a0e0078 by Terry Jan Reedy in branch 'main': bpo-45341: Replace 'Packaging' with 'Package' in "Python P... Index" (#28687) https://github.com/python/cpython/commit/0be338199fd663f020d833a4db185d

[issue45341] Update "Python Package Index" in Docs

2021-10-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: The Python Packaging User Guide, Python Packaging Authority, and packaging.python.org are correct and stay as is. I verified the name at pypi.org. I found 7 occurrences of "Python Packaging Index" in /Doc. F:\dev\3x\Doc\distributing\ind

[issue45341] Update "Python Package Index" in Docs

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

[issue45303] ast module classes missing __text_signature__ attribute

2021-10-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe that multiple modules have not yet been converted to use argument clinic. (I marked 'test needed' but am not sure if this attribute is tested.) I don't think that I would put ast as highest priority, although it might be easiest

[issue45302] 10 built-in functions need non-None .__text_signature__

2021-10-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that finishing this would be nice. In branch main (3.11.0a0), open and print now have non-None versions of this attribute. However, for ob in builtins.__dict__.values(): if (str(ob).startswith(' So there are still some to do. for ob

[issue45288] Inspect - Added sort_result parameter on getmembers function.

2021-10-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> rejected stage: -> resolved status: open -> closed type: -> enhancement versions: +Python 3.11 -Python 3.8 ___ Python tracker <https://bugs.python

[issue42813] Extra spaces cause unexpected EOF error in "compile" function with mode "single"

2021-09-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue37080] Cannot compile Python3.7.3 on Alt-F (ARM)

2021-09-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Jarl, I don't know if we support compiling on such devices, even though the OS is linux. I suggest that you ask on python-list, where someone might have the experience to help you. -- ___ Python tracker <ht

[issue42813] Extra spaces cause unexpected EOF error in "compile" function with mode "single"

2021-09-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe that this should be closed as not-a-bug. Ending a file with *is* a syntax error. Previous, it was assumed that the problem, in retrospect, was the 'extra' indent. But one can equally say that the problem is the 'missing' statement after

[issue45296] IDLE: Better document close and exit.

2021-09-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unfortunately, I have discovered, the new wording is better but only correct for IDLE when Shell is the only window. On the file menu, I want to: A. Change 'Close' to 'Close Window', so it is clear that 'Close'/Alt-F4 only close the window and not IDLE. B

[issue45234] copy_file raises FileNotFoundError when src is a directory

2021-09-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed ___ Python tracker <https://bugs.python.org/issue45234> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue41468] IDLE: "Unrecoverable server exiting" message

2021-09-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Unrecoverable server exiting -> IDLE: "Unrecoverable server exiting" message ___ Python tracker <https://bugs.pytho

[issue2821] IDLE: unittest.py sys.exit error

2021-09-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: unittest.py sys.exit error -> IDLE: unittest.py sys.exit error ___ Python tracker <https://bugs.python.org/iss

[issue17838] Can't assign a different value for sys.stdin in IDLE

2021-09-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed ___ Python tracker <https://bugs.python.org/issue17838> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue11838] IDLE: make interactive code savable as a runnable script

2021-09-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: In #45297, Steven D'Aprano suggests deleting code immediately followed by traceback. (SyntaxErrors should not be there at all -- another issue.) But should NameError, for instance, be ignore, just because user printed something? Or block removed just

[issue21140] Idle: saving Shell or an OutputWindow should default to .txt

2021-09-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From #45297, closed as duplicate. https://discuss.python.org/t/what-is-this-syntax-i-dont-know-how-to-fix-it/10844 -- ___ Python tracker <https://bugs.python.org/issu

[issue11838] IDLE: make interactive code savable as a runnable script

2021-09-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- priority: normal -> high ___ Python tracker <https://bugs.python.org/issue11838> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue11838] IDLE: make interactive code savable as a runnable script

2021-09-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: This should be easier to do with the new shell with indents fixed. -- nosy: -roger.serwy, tlesher versions: +Python 3.11 -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue11

[issue41271] Add support for io_uring to cpython

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

[issue45296] IDLE: Change Ctrl-Z note in exit/quit repr on Windows

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

[issue45296] IDLE: Change Ctrl-Z note in exit/quit repr on Windows

2021-09-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tal, Paine: should be use exactly the raw REPL message or something that might be clearer to beginners, like 'Ctrl-D (end-of-file)'? -- nosy: +epaine, taleinat ___ Python tracker <https://bugs.python.

[issue45296] IDLE: Change Ctrl-Z note in exit/quit repr on Windows

2021-09-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE type: -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 ___ Python tracker <https://bugs.python.org/i

[issue45296] IDLE: Change Ctrl-Z note in exit/quit repr on Windows

2021-09-26 Thread Terry J. Reedy
New submission from Terry J. Reedy : On Windows: >>> exit 'Use exit() or Ctrl-Z plus Return to exit' >>> quit 'Use quit() or Ctrl-Z plus Return to exit' >>> exit.eof 'Ctrl-Z plus Return' On *nix, 'Ctrl-Z plus Return' is 'Ctrl-D (i.e, EOF)' IDLE uses the latter even

[issue44892] Configparser fails when the .cfg file contains inline 'comments'

2021-09-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Configparser fails when the .cfg file contains comments -> Configparser fails when the .cfg file contains inline 'comments' ___ Python tracker <https://bugs.python.org/issu

[issue44892] Configparser fails when the .cfg file contains comments

2021-09-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please report back on the pip issue to read more of the doc, about inline comments in https://docs.python.org/3/library/configparser.html#customizing-parser-behaviour like I should have before writing what I did. -- resolution: -> not a bug st

[issue45279] avoid redundant _commit_removals pending_removals guard

2021-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Antoine, git blame says you added at least many of the lines Thomas proposes to remove. -- nosy: +pitrou, terry.reedy ___ Python tracker <https://bugs.python.org/issue45

[issue43914] Highlight invalid ranges in SyntaxErrors

2021-09-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +26941 pull_request: https://github.com/python/cpython/pull/28558 ___ Python tracker <https://bugs.python.org/issue43

[issue45277] typo in codecs documentation

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

[issue45277] typo in codecs documentation

2021-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 4c0fc65cd8a6d4c18330505576ccd4b46abeec1c by Terry Jan Reedy in branch 'main': bpo-45277: Fix typo in codecs doc (GH-28555) https://github.com/python/cpython/commit/4c0fc65cd8a6d4c18330505576ccd4b46abeec1c

[issue45277] typo in codecs documentation

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

[issue45277] typo in codecs documentation

2021-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the report. I will fix this. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue45277> ___ ___

[issue45275] Make argparse print description of subcommand when invoke help doc on subcommand

2021-09-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue45

[issue45267] New install Python 3.9.7 install of Sphinx Document Generator fails

2021-09-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- status: open -> closed ___ Python tracker <https://bugs.python.org/issue45267> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue45252] Missing support for Source Specific Multicast

2021-09-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue45

[issue45254] HAS_SHMEM detection logic is duplicated in implementation and tests

2021-09-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +davin, pitrou versions: -Python 3.8 ___ Python tracker <https://bugs.python.org/issue45254> ___ ___ Python-bugs-list mailin

[issue45251] signal.SIGCLD alias is not available on OSX

2021-09-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue45251> ___ ___ Python-bugs-list m

[issue45249] Update doctect SyntaxErrors for location range

2021-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 3.10+, end_lineno and end_offset fields were added to SyntaxError objects and the args tuple. >>> try: compile('1 1', '', 'single') ... except SyntaxError as e: print(e.args) ... ('invalid syntax. Perhaps you forgot a comma?', ('', 1, 1, '1

[issue45244] pip not installed with fresh python3.8.10 installation

2021-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you installed 'py' (the default), you should be able to install pip with 'py -3.8 -m ensurepip'. (I had to do this once. I wrote the failure off as a random glitch and did not think to open an issue.) -- nosy: +terry.reedy

[issue41914] test_pdb fails

2021-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Léon's message from #45242, which I closed as a duplicate of this. Leon: please try with 3.11 (best, repository main), 3.10, or at least 3.9. 3.8 and before only get security fixes. --- Building Python 3.7, I ran into the same issue reported [here] (only

[issue45242] test_pdb fails

2021-09-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> test_pdb fails ___ Python tracker <https://bugs.python

[issue45240] Add +REPORT_NDIFF option to pdb tests that use doctest

2021-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Lukasz, there is no current doctest expert and I think that this is something you could either accept or reject fairly quickly. Since the enhancement is to the tests, it could be backported. -- nosy: +lukasz.langa, terry.reedy

[issue44019] operator.call/operator.__call__

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

[issue45270] Clicking "Add to Custom Colors" adds same colour multiple times

2021-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: You added the same file twice. Once was enough. To repeat: IDLE has no knowledge of color chooser. The Custom Colors bar is Windows specific. There is no such thing on macOS. PS: when responding by email, please delete the quoted message

[issue45270] Clicking "Add to Custom Colors" adds same colour multiple times

2021-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE has nothing to do with the operation of the color chooser. IDLE calls a tkinter function that calls a tk functions that calls the OS Window Manager color chooser. The choice you make is returned to IDLE as a color string that IDLE can later pass

[issue45270] Clicking "Add to Custom Colors" adds same colour multiple times

2021-09-23 Thread Terry J. Reedy
Change by Terry J. Reedy : Removed file: https://bugs.python.org/file50297/python bug 1.png ___ Python tracker <https://bugs.python.org/issue45270> ___ ___ Python-bug

[issue41266] IDLE call hints and completions confused by ints and floats

2021-09-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: What is your point? Code without explanation is useless. -- ___ Python tracker <https://bugs.python.org/issue41266> ___ ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for doing this. When I started setting up the IDLE test suite 8 years ago, I was a bit confused about the mixture of old ways (test_main) and new ways (unittest.main and possibly load_tests) in the test suite. Fortunately, Nick C. told me which

[issue42038] Tracemalloc's format() doc contradictory

2021-09-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue42038> ___ ___ Pytho

[issue45178] Support linking unnamed temp files into filesystem on Linux

2021-09-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed title: Support for linking unnamed temporary files into filesystem on Linux -> Support linking unnamed temp files into filesystem on Linux versions: +Python 3.11 ___ Python tracker

[issue45176] Many regtest failures on Windows with non-ASCII account name

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

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: 0c64569ac7066a97e4482c6d6e4d780806692ae5 a5bc0ffc520e09226f85d5fa8faaa83be0acee68 are ready to be cherrypicked into into the 3.10.0 release branch. Once that is done, 'release blocker' can be removed, but issue should remain open for a separate fix for 3.9

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 9d76d28867c28bcc881b851547a9cd7ac003ae88 by Terry Jan Reedy in branch 'main': bpo-45193: News for IDLE PR_28343 (GH-28348) https://github.com/python/cpython/commit/9d76d28867c28bcc881b851547a9cd7ac003ae88

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +26761 pull_request: https://github.com/python/cpython/pull/28348 ___ Python tracker <https://bugs.python.org/issue45

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 1afc7b3219b24c951bb4e6b7e1ead904228de074 by Terry Jan Reedy in branch 'main': bpo-45193: Restore IDLE completion boxes on Ubuntu (GH-28343) https://github.com/python/cpython/commit/1afc7b3219b24c951bb4e6b7e1ead904228de074

[issue45020] Freeze all modules imported during startup.

2021-09-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 369bf949ccbb689cd4638b29b4c0c12db79b927c by Terry Jan Reedy in branch 'main': bpo-45020: Don't test IDLE with frozen module. (GH-28344) https://github.com/python/cpython/commit/369bf949ccbb689cd4638b29b4c0c12db79b927c

[issue45200] test_multiprocessing_fork failws with timeout

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

[issue45200] test_multiprocessing_fork failws with timeout

2021-09-14 Thread Terry J. Reedy
New submission from Terry J. Reedy : https://github.com/python/cpython/pull/28344/checks?check_run_id=3605759743 All tests pass until test_multiprocessing_fork timed out after 25 min. On the rerun: refail with timeout. test_get (test.test_multiprocessing_fork.WithProcessesTestQueue

[issue45197] IDLE should suppress ValueError for list.remove()

2021-09-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: The offending function is def event_delete(self, virtual, *sequences): if virtual not in self.__eventinfo: return func, triplets = self.__eventinfo[virtual] for seq in sequences

[issue45020] Freeze all modules imported during startup.

2021-09-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +terry.reedy nosy_count: 14.0 -> 15.0 pull_requests: +26756 pull_request: https://github.com/python/cpython/pull/28344 ___ Python tracker <https://bugs.python.org/issu

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +26755 pull_request: https://github.com/python/cpython/pull/28343 ___ Python tracker <https://bugs.python.org/issue45

[issue40128] IDLE Show completions pop-up not working on macOS

2021-09-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Pablo, sorry I was not clear. PR_26684 and the line it added, having been merged last June, are already in the 3.10.0rc2 release. What I want to do immediately is disable the line with a '#'. I just posted an explanation on #34193. I am about to make

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: I will just mention here that winconfig_event also calls update_idletasks, in what should be the proper place, and I think that the second call was only needed for mac tk 8.6.8 because of the unique-to-IDLE behavior I want to delete. I suspect that if we

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: In msg401744 I suggested any of the following for the upcoming 3.10.0 release. 1. Remove the new line. 2. Disable the line by adding '#'. 3. Make it conditional on macOS and 8.6.8. Thinking more, I am rejecting 3. because the line is not needed for IDLE

[issue45199] IDLE: document search (find) and replace better

2021-09-14 Thread Terry J. Reedy
New submission from Terry J. Reedy : The doc currently just says that the Search, File Search, and Search dialogs exist for the corresponding menu entries. Add a short section in "Editing and navigation" to say more. 1. Any selection becomes search target, except that S is buggy.

[issue40128] IDLE Show completions pop-up not working on macOS

2021-09-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://www.tcl.tk/man/tcl8.6/TclCmd/update.html -- ___ Python tracker <https://bugs.python.org/issue40128> ___ ___ Python-bug

[issue40128] IDLE Show completions pop-up not working on macOS

2021-09-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Pablo (and Ned) PR_26672 (and backports) added one line to idlelib/autocomplete_w.py, 206 or 209. acw.update_idletasks() # Need for tk8.6.8 on macOS: #40128. NEWs item included "The added update_idletask call should be harmless and possibly he

[issue45109] pipes seems designed for bytes but is str-only

2021-09-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: guido, you seem to be the only active contributor to the pipes module. What do you think? -- nosy: +gvanrossum, terry.reedy ___ Python tracker <https://bugs.python.org/issue45

[issue45105] Incorrect handling of unicode character \U00010900

2021-09-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue45105> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44359] test_ftplib fails as "env changes" if a socket operation times out in a thread: TimeoutError is not catched

2021-09-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: This failure in required Ubuntu test is blocking me from merging a totally unrelated change in IDLE. PR-28228. Please disable the phony failing test. -- nosy: +lukasz.langa, terry.reedy ___ Python tracker

[issue32955] IDLE crashes when trying to save a file

2021-09-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you Irit. For any users who stumble on this issue: Drop down clicks in the dialog are handled by tk. Hence, this was not an IDLE issue, unlikely to be a tkinter issue, and most likely a bad tcl/tk version issue. Hence my first post. My response

[issue44892] Configparser fails when the .cfg file contains comments

2021-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Make PR branch from main, which I used for testing. I verified issue on 3.10 and 3.9, so we will backport. -- stage: needs patch -> test needed title: Configparser fails when the file contains $ inside a comment -> Configparser fails when th

[issue44892] Configparser fails when the file contains $ inside a comment

2021-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Diego, I repaired the defacement, which included removing you as nosy. Relevant doc: https://docs.python.org/3/library/configparser.html#configparser.BasicInterpolation To me, the following line implies that % may be used freely in comments. gain: 80

[issue20115] NUL bytes in commented lines

2021-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: What I missed before is that duplicating the effect of the first two interactive entries (no exception) requires escaping the backslash so that the source argument for the explicit compile does not have a null. compile("'\\0'",

[issue20115] NUL bytes in commented lines

2021-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: The compile() doc currently says ""This function raises SyntaxError if the compiled source is invalid, and ValueError if the source contains null bytes." And indeed, in repository 3.9, 3.10, 3.11, >>> compile('\0','','exec') Tra

[issue45103] IDLE: make configdialog font page survive font failures

2021-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: If nothing else, I should amend the doc note about font problems to include Windows if we verify the report. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45103] IDLE: make configdialog font page survive font failures

2021-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for finding what I could not. Your previous message, referenced above, reporting a problem that remains in 8.6.11 on linux, was ... "For me, this is not limited to special characters. Trying to load anything in Tk using the 'JoyPixels'

[issue30637] Syntax error reported on compile(...), but not on compile(..., ast.PyCF_ONLY_AST)

2021-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: The doc section in question is https://docs.python.org/3/library/ast.html#ast.parse I confirmed that 'break', 'continue', 'yield', and 'return' still parse, with the results how having "type_ignores=[]" added. 'Module(body=[Expr(v

[issue24893] Tk occasionally mispositions Text() insert cursor on mouse click.

2021-09-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://stackoverflow.com/questions/69038343/mouse-pointer-misaligned-when-using-python-in-idle-on-mac reports same issue with 3.9.5. I have requested details to be posted here. -- status: pending -> o

[issue45103] IDLE: make configdialog font page survive font failures

2021-09-04 Thread Terry J. Reedy
New submission from Terry J. Reedy : There were reports on a previous issue that attempting to display some characters from some linux fonts in some distributions resulted in crashing Python. The crash reports mentioned XWindows errors about particular characters being too complex

[issue45034] Improve struct.pack out of range error messages

2021-09-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Go ahead, with the understanding that there is no guaranteed acceptance of the change, even with a good patch. There may be reasons for the status quo that neither Steven nor I are aware of. I don't think that either of the listed experts, added as nosy

[issue45086] f-string unmatched ']'

2021-09-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you Eric. I can see now that the actual process is a somewhat complicated mix of the simple options 1 and 2 I imagined above. It is like option 2, except that everything between '{' and '}' is partially parsed enough to create a format object

[issue45093] Add method to compare dicts accounting for order

2021-09-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: -1 also for the reasons given. Michael, a question asking how would have made a good python-list post. So I posted the answers in "How to include insertion order in dict equality" -- nosy: +terry.reedy resolution: -> rejected stage:

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