[issue43185] AssertRaises() causes core dump in handling recursion

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: #43185 has other recursive code that has a 'fatal Python error' in 3.9 and recovers in 3.10. Am closing it in favor of this. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.o

[issue43185] AssertRaises() causes core dump in handling recursion

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

[issue43186] Recursive call causes core dump in assertRaises

2021-02-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Recursive call causes core dump in assertRaises ___ Python tracker <https://bugs.python

[issue43186] Recursive call causes core dump in assertRaises

2021-02-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- superseder: Recursive call causes core dump in assertRaises -> AssertRaises() causes core dump in handling recursion ___ Python tracker <https://bugs.python.org/issu

[issue43200] link to copy module in shutil document, not to shutil.copy

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 762fe7deed34a1d5294bf82071d318c8427b4893 by Zackery Spytz in branch 'master': bpo-43200: Fix link to shutil.copy() in the shutil doc (GH-24505) https://github.com/python/cpython/commit/762fe7deed34a1d5294bf82071d318c8427b4893 -

[issue43188] multiple operations of dict causes core dump of Python interpreter.

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Like the code in #43185, #43186, #43187, this works better in 3.10.0a5, so I suspect it is another duplicate. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue43

[issue43190] < test.support > check_free_after_iterating( ) causes core dump in handling iteration.

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I suspect this is another duplicate of #43185 -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue43

[issue43185] AssertRaises() causes core dump in handling recursion

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: #43186, #43187 also have recursive code that fails in 3.9 and recovers in 3.10. Am closing them in favor of this. Also suspect #43188, #43189, #43190 are duplicates. Yang, recheck after Mark does the backport here

[issue43200] link to copy module in shutil document, not to shutil.copy

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 242f6c9ffe3dd8f613942d5364b816cc89c384be by Miss Islington (bot) in branch '3.9': bpo-43200: Fix link to shutil.copy() in the shutil doc (GH-24505) https://github.com/python/cpython/commit/242f6c9ffe3dd8f613942d5364b816

[issue43200] link to copy module in shutil document, not to shutil.copy

2021-02-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: docs@python -> terry.reedy resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.9 ___ Python tracker <https://bugs.python

[issue43205] Python Turtle Colour

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Python consistently uses American (USA) vocabulary and spellings for its English. Anyone over, say, 14, should learn them to the extent used in Python. Kids under 10 are different. Issue 24990 was rejected because it proposed to hardcode translation. A

[issue43142] Do not add duplicate FDs to list in duplicate_for_child()

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I can't (lacking multiprocessing knowledge), but someone else might. PS: when replying via email, please delete post you are responding to. When added to the web page, the copy is redundant noise. -- ___ P

[issue43202] Cleanup codeop._maybe_compile

2021-02-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b676f5f809007533db3e3fdd01243959dd233d57 by Terry Jan Reedy in branch 'master': bpo-43202: More codeop._maybe_compile clean-ups (GH-24512) https://github.com/python/cpython/commit/b676f5f809007533db3e3fdd012439

[issue43236] Windows IDLE taskbar icon jump list fails to open recent files

2021-02-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is a Windows installer code issue rather than an IDLE code issue. On Win10, I do not see jump lists for IDLE icons but do for several others. Perhaps the installer was changed to disable the non-functional lists. I will let the installer people

[issue43236] Windows IDLE taskbar icon jump list fails to open recent files

2021-02-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I will just note that the IDLE File menu has a Recent Files list, which is the same thing. (Notepad++ does also, in addition to a working icon jump list.) -- ___ Python tracker <https://bugs.python.

[issue43236] Windows IDLE taskbar icon jump list fails to open recent files

2021-02-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Eryk, thank you for the research. Our macOS installer already adds an 'idlex.y' executable. Ned, do you have any comments, pro or con, about doing so. (I worry a bit about reinforcing the beginner delusion that IDLE is Python or that IDL

[issue43240] IDLE Classic Unix keyboard shortcuts broken

2021-02-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE just tells tcl/tk via tkinter what function to call when particular UI events happen. Recognizing UI events is handled between the OS window manager and tcl/tk. So I am sure this is not an IDLE issue. For another application to affect the Linux-tcl

[issue34013] Inconsistent SyntaxError for print

2021-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'Consistency' is in the eye of the beholder in that it is relative to some ideal. 'Inconsistent' has too much baggage as bad'. I would prefer to call the current rule 'restricted' or 'limited' and judge any ex

[issue43042] Augment tutorial sentence.

2021-02-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b30fcba3a8abaabd1087f2392ae8aec4c1b1f210 by Terry Jan Reedy in branch 'master': bpo-43042: Augment tutorial sentence (GH-24514) https://github.com/python/cpython/commit/b30fcba3a8abaabd1087f2392ae8ae

[issue43202] Cleanup codeop._maybe_compile

2021-02-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Second patch: "Add comment, end others with period, remove unused variables, initialize others only when needed, and add explicit return." -- resolution: -> fixed stage: patch review -> resolved status

[issue27646] doc: yield from expression can be any iterable

2021-02-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +23373 pull_request: https://github.com/python/cpython/pull/24595 ___ Python tracker <https://bugs.python.org/issue27

[issue41859] IDLE: ValueError; Completions not working right on macOS

2021-02-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: This seemingly random error involved completions and there is already an issue about them not working right on macOS. It was also opened by Raymond as a result of another 'random' error in an all day session. -- components: +macOS nosy:

[issue27646] doc: yield from expression can be any iterable

2021-02-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 2f9ef514fb24b6a95bd3272885f197752810c107 by Terry Jan Reedy in branch 'master': bpo-27646: Say that 'yield from' expression can be any iterable (GH-24595) https://github.com/python/cpython/commit/2f9ef514fb24b6a95bd3

[issue27646] doc: yield from expression can be any iterable

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

[issue43283] IDLE: Explain print slowness and speedup method

2021-02-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: docs@python components: Documentation, IDLE nosy: docs@python, terry.reedy priority: normal severity: normal stage: patch review status: open title: IDLE: Explain print slowness and speedup method type: enhancement versions: Python 3.10, Python

[issue43283] IDLE: Explain print slowness and speedup method

2021-02-20 Thread Terry J. Reedy
New submission from Terry J. Reedy : https://stackoverflow.com/questions/66286367/why-is-my-function-faster-than-pythons-print-function-in-idle had some tests of printing speed that showed that print in IDLE can be much slower than in REPL. I did further tests that showed than combining

[issue43283] IDLE: Explain print slowness and speedup method

2021-02-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +23382 pull_request: https://github.com/python/cpython/pull/24604 ___ Python tracker <https://bugs.python.org/issue43

[issue43283] IDLE: Explain print slowness and speedup method

2021-02-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 4cf7bb8e22bf37e6d65bf4cb5618d09c4a8ad612 by Terry Jan Reedy in branch 'master': bpo-43283: Rearrange some IDLE doc paragraphs. (GH-24604) https://github.com/python/cpython/commit/4cf7bb8e22bf37e6d65bf4cb5618d0

[issue43283] IDLE: Explain print slowness and speedup method

2021-02-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +23396 pull_request: https://github.com/python/cpython/pull/24615 ___ Python tracker <https://bugs.python.org/issue43

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2021-02-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From the merge: +++ b/Doc/library/unittest.rst @@ -330,7 +330,9 @@ Test modules and packages can customize test loading and discovery by through the `load_tests protocol`_. .. versionchanged:: 3.4 - Test discovery supports :term:`namespace packa

[issue43301] Update form create for android

2021-02-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Candra: This is neither a help forum nor a free programming service. It is a workspace for improving the CPython distribution of Python. CPython does not run on Android. Anything to do with Android is off-topic here. Please do not reopen this again or

[issue43042] Augment tutorial sentence.

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

[issue43283] IDLE: Explain print slowness and speedup method

2021-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 2827e8a177c2a6584fada594bca6829c53a2872f by Terry Jan Reedy in branch 'master': bpo-43283: Add IDLE doc paragraph about print speed (GH-24615) https://github.com/python/cpython/commit/2827e8a177c2a6584fada594bca682

[issue43209] system cannot find the file specified in subprocess.py

2021-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steve, should this be closed as 'not a bug'? -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.o

[issue43283] IDLE: Explain print slowness and speedup method

2021-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset bdf0fece5bbc2fc9fffbf0f314c7022e24e747df by Miss Islington (bot) in branch '3.8': bpo-43283: Add IDLE doc paragraph about print speed (GH-24615) (GH-24632) https://github.com/python/cpython/commit/bdf0fece5bbc2fc9fffbf0f314c702

[issue43283] IDLE: Explain print slowness and speedup method

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

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2021-02-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +23417 pull_request: https://github.com/python/cpython/pull/24633 ___ Python tracker <https://bugs.python.org/issue41

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2021-02-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +23418 pull_request: https://github.com/python/cpython/pull/24634 ___ Python tracker <https://bugs.python.org/issue41

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2021-02-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +23419 pull_request: https://github.com/python/cpython/pull/24635 ___ Python tracker <https://bugs.python.org/issue41

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2021-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Everything before x.y.0 is in one section. Multiple sections thereafter are a nuisance. Idea: Put everything thereafter in one also. So file is set once header revised after 3.x.0 is released. Thought of 'x.y.z: date' separator, with one line

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2021-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b9fe16a02717e89a2141311de1e36161af4de9a9 by Terry Jan Reedy in branch 'master': bpo-41841: Revise header (GH-24633) https://github.com/python/cpython/commit/b9fe16a02717e89a2141311de1e361

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2021-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d81a20454eae1868059e45d54e0270e3b4d2e409 by Terry Jan Reedy in branch '3.9': [3.9] bpo-41841: revise header (GH-24634) https://github.com/python/cpython/commit/d81a20454eae1868059e45d54e0270

[issue41841] idlelib/NEWS.txt for 3.10.0 and backports

2021-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 653e17b2cb35e6cd48e2bdca0c1b27b38bed7170 by Terry Jan Reedy in branch '3.8': [3.8] bpo-41841: prepare for 3.8.9 (GH-24635) https://github.com/python/cpython/commit/653e17b2cb35e6cd48e2bdca0c1b27

[issue43273] Mock `_mock_wraps` is undocumented and inconsistently named

2021-02-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Private attributes are not documented because they are private and subject to change. Their use is at one's own risk. I don't know mock well enough to understand 'inconsistent' or comment on the change proposal. -

[issue43281] Walrus comprehension rebind checking behavior

2021-02-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +gvanrossum ___ Python tracker <https://bugs.python.org/issue43281> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43289] step bug in turtle's for loop

2021-02-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yehuda, one can also ask questions like this on python-list. In the future, when responding by email, please delete the message being responded to, so it does not get repeated when posted to the web page. -- nosy: +terry.reedy resolution: -> no

[issue43300] "bisect" module should support reverse-sorted sequences

2021-02-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think that we should just document the use of the new key parameter (and otherwise do nothing). -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue43

[issue43306] Error in multiprocessing.Pool's initializer doesn't stop execution

2021-02-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can you add a minimal example with the ignore behavior? -- assignee: docs@python -> nosy: +davin, pitrou, terry.reedy ___ Python tracker <https://bugs.python.org/issu

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

2021-02-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: You marked 3.7 here, which only gets security patches, but submitted a PR for master, which is appropriate for enhancements. ('backport' here on the tracker means apply to older version after patching master.) -- nosy: +terry.

[issue43323] UnicodeEncodeError: surrogates not allowed when parsing invalid charset

2021-02-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue43323> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue43323] UnicodeEncodeError: surrogates not allowed when parsing invalid charset

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

[issue43324] asyncio: add socket getfqdn and gethostbyaddr functions

2021-02-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +asvetlov, yselivanov title: asyncio -> asyncio: add socket getfqdn and gethostbyaddr functions ___ Python tracker <https://bugs.python.org/issu

[issue43325] Documentation should warn that 'is' is not a safe comparison operator for most values.

2021-02-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 ___ Python tracker <https://bugs.python.org/issue43325> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31030] sys.executable can be not normalized

2021-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue was opened with 2 related facts of 2017: a) sys.executable is not normalized b) as a result, two tests failed Serhiy then said "I don't know what is wrong: the value of sys.executable or the test." If it was the tests, they seem to

[issue43347] IDLE crashes in macOS Apple chip, maybe completions

2021-02-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Completions are in a Listbox. listboxes are used for completions, stackviewer, and a few places in the settings dialog, in particular the keys list. And maybe the drop down list for themes and keysets. The latter two are the only one normally gray. Try

[issue43347] IDLE crashes in macOS Apple chip, maybe completions

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

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

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

[issue43402] IDLE shell adds newline after print even when `end=''` is specificied

2021-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Starting interactive code input on a new line is intentional and not a bug. IDLE has other code to keep user program output separate from user code input, as when there is delayed asynchonous output. I plan to do more work to keep the two separate

[issue43402] IDLE shell adds newline after print even when `end=''` is specificied

2021-03-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I don't know how many core devs would agree that inserting '\n' would be preferable. They might say that users who want clean interaction should not use the 'end' parameter the way you did in interactive mode. IDLE is more aime

[issue27803] ctypes automatic byref failing on custom classes attributes

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

[issue43332] Make http.client._tunnel send one byte string over the network

2021-03-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I changed the title to what a PR/commit title should look like. Your justification is that "Multiple writes possibly cause excessive network usage and increased implementation complexity on the other end." I see no problem with the formatting of

[issue43336] document whether io.TextIOBase.readline(size>0) will always read the full newline

2021-03-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue43336> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43337] export the set newline value on TextIOBase/TextIOWrapper

2021-03-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue43337> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43338] Provide offical installers for security releases

2021-03-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: This tracker is only concerned with the PSF/python.org Windows and macOS installers, not the *nix distributions, so I assume that one the former is your concern. For those, your request has been made and rejected multiple times before. A request on the

[issue43355] __future__.annotations breaks inspect.signature()

2021-03-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.7 only gets security fixes -- nosy: +terry.reedy versions: -Python 3.7 ___ Python tracker <https://bugs.python.org/issue43

[issue43359] Dead assignment in Py_UniversalNewlineFgets

2021-03-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Victor and/or Serhiy: This and #43360 and #43361 are similar 1-line changes, suggested by scan-build, to eliminate dead or duplicate initializations in C code. Can either of you either handle these or suggest someone else? Would we have preferred 1 issue

[issue43365] Operation conflict between time package and file in python 3.8 3.9

2021-03-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg387907 ___ Python tracker <https://bugs.python.org/issue43365> ___ ___ Python-bug

[issue43365] Operation conflict between time package and file in python 3.8 3.9

2021-03-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg387908 ___ Python tracker <https://bugs.python.org/issue43365> ___ ___ Python-bug

[issue43365] Operation conflict between time package and file

2021-03-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I unlinked the preliminary versions of the code minimized in the 3 post. The posted code is buggy: it opens a file and then start an infinite loop. It has to be interrupted someway, and the file may not be properly closed and flushed to disk. When I make

[issue43366] Unclosed bracket bug in code.interact prevents identifying syntax errors

2021-03-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: #43163 was about the opposite problem of raising SyntaxError too soon, when a valid continuation to imcomplete code is possible. As with that issue, IDLE has the same problem, which is not in code.interact() itself but in codeop._maybe_compile.. Calling

[issue43374] Apple refuses apps written in Python

2021-03-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Adrian, when responding by email, please delete the copy of the email you are responding to, except maybe a line or two, as it is redundant when posted on the web page. Have you tried forums where there might be other Apple app developers with similar

[issue43379] Pasting multiple lines in the REPL is broken since 3.9

2021-03-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: On both Windows and macOS Mohave with both 3.9 and 3.10 I get normal behavior. If it were not for the $ python3.x line, the missing '... ' in Romain's output would have suggested that he was using IDLE. But IDLE should accept pasted ascii

[issue43387] Enable pydoc to run as background job

2021-03-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed type: behavior -> enhancement versions: -Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/i

[issue43407] time.monotonic(): Docs imply comparing call N and call N+M is invalid for M>1

2021-03-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ff5f05934db241dfafc604989b2de3487b09ca82 by Alex Willmer in branch 'master': bpo-43407: Clarify comparisons of time.monotonic() et al results (GH-24757) https://github.com/python/cpython/commit/ff5f05934db241dfafc604989b2de3

[issue43407] time.monotonic(): Docs imply comparing call N and call N+M is invalid for M>1

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

[issue43366] Unclosed bracket bug in code.interact prevents identifying syntax errors

2021-03-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Add compile(..., mode='repl')? "If mode is 'repl', compile returns None to indicate that the code is incomplete as is but might become valid if more lines (or maybe just more code) were added" Deprecate _maybe_compil

[issue43379] Pasting multiple lines in the REPL is broken since 3.9

2021-03-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for retesting with the python.org installer. Since this is Homebrew specific, please open an issue with them, with the updated debug information. -- resolution: -> third party stage: -> resolved status: open -&g

[issue43467] IDLE: horizontal scrollbar

2021-03-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: This has been debated for 15 years see #1207613. The current patch, which only displays a scrollbar when needed, 'works', but in a way that is not visually acceptable. -- resolution: -> duplicate stage: -> resolved status

[issue1207613] Idle Editor: Bottom Scroll Bar

2021-03-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Request in #43467 closed as duplicate of this. -- ___ Python tracker <https://bugs.python.org/issue1207613> ___ ___ Python-bug

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2020-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I ran your tkinter code on Windows, without IDLE, and the clipboard was clear thereafter. I added 'test.mainloop()' and observed the following. 1. Close immediately, clipboard is clear, as before. 2. Paste 'Testing again' into 'tex

[issue33065] IDLE debugger: failure stepping through module loading

2020-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: SO duplicate. https://stackoverflow.com/questions/61310989/python-idle-importing-xlrd-error-generated-in-debug-mode-attributeerror-mo -- ___ Python tracker <https://bugs.python.org/issue33

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2020-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: After reporting my experiments above, msg369334, I made further failing efforts to simulate pasting into another process, as in 3 and 4. It might be that a concrete key event is needed. So I strongly suspect that the solution for IDLE is indeed a tkinter

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2020-05-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 ___ Python tracker <https://bugs.python.org/issue40452> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2020-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: The #if 0 was added by Guido in 43ff8683fe68424b9c179ee4970bb865e11036d6 in 1998, before the tcl/tk clip fix for Windows. * Temporarily get rid of the registration of Tcl_Finalize() as a low-level Python exit handler. This can attempt to call Python code at

[issue38946] IDLE on macOS 10.15 Catalina does not open double-clicked files if app already launched

2020-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is not really an IDLE issue; I only tagged it as such to make it easy for IDLE users to find. It might or not be a python-install Catalina-upgrade issue. It definitely is an Apple issue in that they care little for Python, nothing for tcl/tk, and

[issue29981] Update Index for set, dict, and generator 'comprehensions'

2020-05-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: The issue is still open. The basic idea is to treat list, set, and dict in parallel fashions in the docs, mostly copying what is done with lists for the other two. In my original post, the title and items 1 to 3 are about index entries in Reference chapter

[issue29981] Update Index for set, dict, and generator 'comprehensions'

2020-05-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I wrote the above before your PR was listed here. I will review it a piece at a time. -- ___ Python tracker <https://bugs.python.org/issue29

[issue40723] IDLE: make autocomplete test run without __main__.__file__

2020-05-21 Thread Terry J. Reedy
New submission from Terry J. Reedy : import test.test_idle as ti import unittest as u u.main(ti) has one failure: Traceback (most recent call last): File "C:\Programs\Python39\lib\idlelib\idle_test\test_autocomplete.py", line 230, in test_fetch_completions if __main__.__fi

[issue40723] IDLE: make autocomplete test run without __main__.__file__

2020-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is currently the only occurrence of __main__.__file__ in idlelib. -- ___ Python tracker <https://bugs.python.org/issue40

[issue40685] IDLE: Document info needed for 'not working' reports.

2020-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'Not working' reports lacking information needed to respond, whether to help the reporter of fix a bug, are a common beginner mistake. The problem is especially acute for IDLE since it is especially targeted at beginners, who may not know the

[issue38946] IDLE on macOS 10.15 Catalina does not open double-clicked files if app already launched

2020-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: When I say that I am 99% sure that this is not an IDLE issue at all, I mean that I am 99% sure that a non-IDLE tkinter program registered as a working double-click handler in Mohave will not be properly invoked in Catalina. A counter-example might suggest

[issue40711] Clearing the screen of IDLE interactive mode in Windows

2020-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.5 and 3.6 only get security fixes. #6143 proposes to add special mechanism to clear Shell. It is a low priority for me as I very seldom want to, or if a editor is open, one can close the shell and start over when running the editor file. Clear an editor

[issue40709] Malfunctioning of '\r'

2020-05-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue40

[issue40709] Malfunctioning of '\r'

2020-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Discussed on #23220. Note that 'sciencecomputer' is a different possible result if \r does not switch the simulated terminal from the normal insert mode to overwrite mode. I am considering terminal simulation as an option, but there is not

[issue40723] IDLE: make autocomplete test run without __main__.__file__

2020-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Go ahead. Since the failure was user visible, there should be a note. For IDLE issues, idlelib/NEWS.txt also needs an addition, but not until ready to merge. So add a trial blurb or not as you wish. In any case, I need to fix the 3.8 version and perhaps

[issue40733] Make IDLE doc more visible, mention in main python docs page

2020-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that finding the online doc is slight pain. It is not listed in the Modules index because idlelib, not IDLE, is the stdlib module, and does not have a doc page. I may add one or, if possible, make the page serve as one, as part of this issue

[issue40708] Clearing the screen of IDLE interactive mode in Windows

2020-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: See #23220 for backspace and return behavior. -- versions: +Python 3.10 -Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue40

[issue40710] IDLE: Malfunctioning of '\r'

2020-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Note that 'sciencecomputer' is a different possible result if \r does not switch the simulated terminal from the normal insert mode to overwrite mode. I am considering terminal simulation as an option in IDLE, but there is not exactly a standard

[issue40738] backspace character \b not processed by IDLE

2020-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am considering terminal simulation as an option, but there is not exactly a standard to emulate. \b originally meant the same as the typewrite backspace and modern US computer keyboard left arrow key <- (move cursor left without erasing), which wo

[issue37129] Add os.RWF_APPEND flag for os.pwritev

2020-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: YoSTEALTH, are you both allowed and willing to do so? The patch is not completely trivial and you seem to have the needed knowledge. (I don't.) -- ___ Python tracker <https://bugs.python.org/is

<    31   32   33   34   35   36   37   38   39   40   >