[issue45692] IDLE: define word/id chars in one place.

2021-11-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: autocomplete.py, line 33, ID_CHARS is only used on line 137 to find the prefix of an identifier when completions have been explicitly requested. while i and (curline[i-1] in ID_CHARS or ord(curline[i-1]) > 127): i -

[issue45692] IDLE: define word/id chars in one place.

2021-11-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: undo.py, line 254, alphanumeric Used in immediately following lines to classify chars as 'alphanumeric', 'newline', or 'punctuation' (the default). I believe I have only ever looked at this module to add the test code at the

[issue45692] IDLE: define word/id chars in one place.

2021-11-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: editor.py, line 809, IDENTCHARS Used in the immediately following def colorize_syntax_error on line 814. if char and char in self.IDENTCHARS: text.tag_add("ERROR", pos + " wordstart", pos) I believe the intent is to

[issue45692] IDLE: define word/id chars in one place.

2021-11-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: hyperparser.py, line 13, _ASCII_ID_CHARS line 15, _ASCII_ID_FIRST_CHARS, frozenset(string.ascii_letters + "_") Only used on line 18 and 21 to create 128 item lookup tables. The point is to be fast as hyperparser scans multiple chars when inv

[issue13703] Hash collision security issue

2021-11-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Because today's spammer, whose message was removed, deleted us all. Restoring the version to 3.3 is not possible. -- ___ Python tracker <https://bugs.python.org/is

[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-11-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: This worked for me on main and 3.10. Thanks. -- ___ Python tracker <https://bugs.python.org/issue43652> ___ ___ Python-bug

[issue45699] AttributeError: 'list' object has no attribute 'find'

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

[issue45710] Junction/symbolic folder access error on Windows 11

2021-11-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Eryk, does this or does this not look to you like a bug in CPython? I don't know enough to tell. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/is

[issue45711] Simplify the interpreter's (type, val, tb) exception representation

2021-11-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Would there be any change at the Python level? -- nosy: +terry.reedy type: -> performance ___ Python tracker <https://bugs.python.org/issu

[issue45721] Improve error message for OS command entered at >>> prompt

2021-11-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Agreed. 'pip ...' not working is a recurring question on stackoverflow, usually from an IDLE user. 'python' is much rarer. Note that IDLE's shell may be a beginner's only exposure to the word 'shell'. The stand

[issue45722] documentation missing information on objects in submodules

2021-11-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://docs.python.org/3/reference/import.html#submodules The point of the section is that even though the names 'for' and 'bar' are not directly importing into 'spam', they get attached to 'spam' any way as indirec

[issue45728] SharedMemory documentation: System V vs Posix

2021-11-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'System V' is in the first line of the second paragraph of https://docs.python.org/3/library/multiprocessing.shared_memory.html Davin, git blame says you wrote this in Feb 2019. -- nosy: +davin, pitrou, terry.reedy versions: -

[issue40051] Give proper link in help(idlelib/turtledemo/tkinter.sub/test_*/?)

2021-11-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR-29419 solves the issue in #45717 of not giving a link for _* modules with no doc. It does not solve this issue of giving the proper link for module that need non-standard links, which typically need a '#' suffix, as in '.../library/2

[issue40139] mimetypes module racy

2021-11-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Without assurance that the problem exists in current python, let alone a reproducing code, there is nothing we can do. If this or a related problem occurs again, this can be reopened, or a new issue started. -- resolution: -> out of date st

[issue37824] IDLE: Handle Shell input SyntaxWarning & DeprecationWarning

2021-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Might want to special case running certain console commands in Shell, such as 'pip install'. https://stackoverflow.com/questions/69936921/packages-not-installing-in-idle-shell SyntaxError: invalid syntax. Perhaps you forg

[issue45732] Make python.org Windows and macOS installers use Tk 8.6.12

2021-11-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Update python.org Windows and macOS installers to use Tk 8.6.12 -> Make python.org Windows and macOS installers use Tk 8.6.12 ___ Python tracker <https://bugs.python.org/issu

[issue45742] python -h can't find -R option

2021-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Victor, A sentence about hash randomization you wrote for #32329 in PR-4873 is not currently correct. Change code or doc? -- nosy: +terry.reedy, vstinner ___ Python tracker <https://bugs.python.org/issue45

[issue45752] copy module doc wrongly says it doesn't copy arrays

2021-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Should we just remove ' array,' from things that cannot be copied, or does this need more discussion? -- keywords: +easy, newcomer friendly nosy: +lukasz.langa, terry.reedy versions: -Python 3.6, Python 3.7,

[issue45761] recursive ProcessPoolExecutor invoke unable to return result

2021-11-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +bquinlan, pitrou ___ Python tracker <https://bugs.python.org/issue45761> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45762] Missing `list` symbols in the object inventory

2021-11-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +eric.araujo, ezio.melotti, mdk, willingc versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue45

[issue45764] Parse error improvement forgetting ( after def

2021-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Pablo, did you intend to backport to 3.10 or should this be closed? -- nosy: +pablogsal, terry.reedy type: -> enhancement versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/issu

[issue45772] socket.socket should be a class instead of a function

2021-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Filter, map, and zip are documented as functions to allow other interpreters to implement them as such, with generator functions. That does not apply here, but maybe there is another reason for socket being called a 'function. Antoine, git blame cr

[issue45775] Implementation of colorsys.rgb_to_yuv and vice versa

2021-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: A link to an authoritative reference with the formulas would be necessary to merge this. I inquired of pydev list whether improvement is allowed. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.

[issue45781] Deleting __debug__ should be an SyntaxError

2021-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: For comparison: True = 0 SyntaxError: cannot assign to True del True SyntaxError: cannot delete True It almost seems like __debug__ is a hidden keyword value, but with a startup-dependent value -- components: +Interpreter Core nosy: +pablogsal

[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows, I believe the correct sentence would be "On Windows, they are in prefix/Lib and prefix/include". Ned, how to complete "On macOS, they are in ?." Victor, with recent file movement, is "while the platform independent

[issue45781] Deleting __debug__ should be an SyntaxError

2021-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Verified in IDLE also. Thanks for doing the test I should have done. -- resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, I like your idea. In particular, link to sysconfig.get_paths for how prefix is used on a particular machine to define installation paths. Sidenote: https://docs.python.org/3/library/sysconfig.html#installation-paths says "Python currently sup

[issue45775] Implementation of colorsys.rgb_to_yuv and vice versa

2021-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: On pydev, Guido said "There was talk of deprecating colorsys, but PEP 594 now lists it under "modules to keep". Victor, do you know enough to review? -- ___ Python tracker <https://bugs.pyt

[issue45804] IDLE - faster shell writing

2021-11-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you Roger. Good to hear from you. https://stackoverflow.com/questions/66286367/why-is-my-function-faster-than-pythons-print-function-in-idle, Feb 2021, was about this issue. In my answer I verified the claim and then showed in further experiments

[issue45742] python -h can't find -R option

2021-11-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you two agree on an exact wording, I can make the PR and backport. -- ___ Python tracker <https://bugs.python.org/issue45

[issue25381] Update doc of three C exception values.

2021-11-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 0320cf1a250b025f2ef25637851384bf8b61d207 by Miss Islington (bot) in branch '3.10': bpo-25381: Update explanation of exceptions in C. (GH-26838) (GH-29568) https://github.com/python/cpython/commit/0320cf1a250b025f2ef25637851384

[issue25381] Update doc of three C exception values.

2021-11-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b0bdc093c2c15c352c5bede060117790705f5db0 by Miss Islington (bot) in branch '3.9': bpo-25381: Update explanation of exceptions in C. (GH-26838) (GH-29569) https://github.com/python/cpython/commit/b0bdc093c2c15c352c5bede0601177

[issue25381] Update doc of three C exception values.

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

[issue45817] Build Windows and macOS installers with Tcl/Tk 8.6.12

2021-11-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: terry.reedy -> resolution: -> duplicate superseder: -> Make python.org Windows and macOS installers use Tk 8.6.12 ___ Python tracker <https://bugs.python.or

[issue45817] Build Windows and macOS installers with Tcl/Tk 8.6.12

2021-11-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the link. E.Paine's report for this 2021-09-21 (bug)[033886] Win: hang in font loading (e-paine,vogel) was the result of #45103, based on an IDLE user's SO question. -- ___ Python track

[issue45732] Make python.org Windows and macOS installers use Tk 8.6.12

2021-11-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steve, thank you for patching all current versions. Previous policy has been to freeze tcl/tk x.y.z in python x.y because tk x.y.z may include a few enhancements among the bug fixes and hence indirectly add new features to tkinter in python x.y.z. However

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

2021-11-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: This has been (supposedly) fixed in tcl/tk 8.6.12, included with all our Windows installers starting with 3.9.9. Thank you for investigating reporting to tcl/tk. Bugfix list at https://github.com/tcltk/tk/blob/8baf7d337ca0aab7fafb0e670927ab2c0200e80a

[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

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

[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 4575c01b750cd26377e803247c38d65dad15e26a by Terry Jan Reedy in branch 'main': bpo-45788: Link sys.prefix doc to 'Installation paths' (#29606) https://github.com/python/cpython/commit/4575c01b750cd26377e8

[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c06c7c489a82b2db023bb947f0c4d21ad93b8308 by Miss Islington (bot) in branch '3.9': [3.9] bpo-45788: Link sys.prefix doc to 'Installation paths' (GH-29606) (GH-29632) https://github.com/p

[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

2021-11-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 2a630e716e488ac420d308736568829f76e388a3 by Miss Islington (bot) in branch '3.10': [3.10] bpo-45788: Link sys.prefix doc to 'Installation paths' (GH-29606) https://github.com/python/cpython/commit/2a630e716e488ac420d3

[issue45788] Doc sys.prefix lib & include directories on Windows and Mac

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

[issue45841] IDLE fails to save files in macOS 12.0.1 Monterey

2021-11-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Your OS and screenshot are identical to the one attached to #44828. #45641 is another duplicate. The fix should be in current 3.11, 3.10, and 3.9 mac installers. -- assignee: terry.reedy -> components: +macOS nosy: +ned.deily, ronaldousso

[issue45841] IDLE fails to save files in macOS 12.0.1 Monterey

2021-11-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: -IDLE ___ Python tracker <https://bugs.python.org/issue45841> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45811] Improve error message when source code contains invisible control characters

2021-11-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue45811> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45811] Improve error message when source code contains invisible control characters

2021-11-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue45811> ___ ___ Python-bugs-list mailin

[issue45813] Importing asyncio after deleting a coroutine object and before cleaning it up leads to crashing on Python3.11

2021-11-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: No crash on Windows running in CommandPrompt (using -i to ensure that python survives running the test code): C:\Users\Terry>py -3.10 -i f:/dev/tem/tem.py f:\dev\tem\tem.py:5: RuntimeWarning: coroutine 'f' was never awaited del f RuntimeWa

[issue45813] Importing asyncio after deleting a coroutine object and before cleaning it up leads to crashing on Python3.11

2021-11-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: On 3.11, both of the last two lines are required for the crash and restart. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45823] python stopped working

2021-11-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: phyton stopped working -> python stopped working ___ Python tracker <https://bugs.python.org/issue45823> ___ ___ Python-

[issue44844] The command line of launching Edge on Linux hangs

2021-11-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch nosy: +terry.reedy nosy_count: 2.0 -> 3.0 pull_requests: +27889 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29651 ___ Python tracker <https://bugs.python.org/i

[issue44845] Allow keyword arguments in code.__new__

2021-11-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +terry.reedy nosy_count: 2.0 -> 3.0 pull_requests: +27890 pull_request: https://github.com/python/cpython/pull/29651 ___ Python tracker <https://bugs.python.org/issu

[issue44844] The command line of launching Edge on Linux hangs

2021-11-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -27889 ___ Python tracker <https://bugs.python.org/issue44844> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44844] The command line of launching Edge on Linux hangs

2021-11-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +27892 pull_request: https://github.com/python/cpython/pull/29651 ___ Python tracker <https://bugs.python.org/issue44

[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch nosy: +terry.reedy nosy_count: 2.0 -> 3.0 pull_requests: +27891 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29651 ___ Python tracker <https://bugs.python.org/i

[issue44845] Allow keyword arguments in code.__new__

2021-11-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -27890 ___ Python tracker <https://bugs.python.org/issue44845> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45846] Incorrect name capitalisation in faq/programming

2021-11-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From Guido's page: 'But when my last name is used alone to refer to me, it is >capitalized, for example: "As usual, Van Rossum ..."' and similar usage on >wiki page. -- nosy: +terry.reedy

[issue45846] Incorrect name capitalisation in faq/programming

2021-11-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.11, Python 3.9 ___ Python tracker <https://bugs.python.org/issue45846> ___ ___ Python-bugs-list mailin

[issue45846] Incorrect name capitalisation in faq/programming

2021-11-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +27894 pull_request: https://github.com/python/cpython/pull/29653 ___ Python tracker <https://bugs.python.org/issue45

[issue45846] Incorrect name capitalisation in faq/programming

2021-11-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +27894, 27895 pull_request: https://github.com/python/cpython/pull/29653 ___ Python tracker <https://bugs.python.org/issue45

[issue45846] Incorrect name capitalisation in faq/programming

2021-11-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -27895 ___ Python tracker <https://bugs.python.org/issue45846> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.11, Python 3.9 ___ Python tracker <https://bugs.python.org/issue45845> ___ ___ Python-bugs-list mailin

[issue44844] The command line of launching Edge on Linux hangs

2021-11-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 985233914504c73f14a23af1c68a3709079e6913 by Terry Jan Reedy in branch 'main': bpo-44844: Remove unresponsive web link (GH-29651) https://github.com/python/cpython/commit/985233914504c73f14a23af1c68a37

[issue44844] The command line of launching Edge on Linux hangs

2021-11-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -27892 ___ Python tracker <https://bugs.python.org/issue44844> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44844] The command line of launching Edge on Linux hangs

2021-11-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -27912 ___ Python tracker <https://bugs.python.org/issue44844> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44844] The command line of launching Edge on Linux hangs

2021-11-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -27913 ___ Python tracker <https://bugs.python.org/issue44844> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset edabf3904619e6be97d12e41d30402845b3ec8b8 by Miss Islington (bot) in branch '3.10': bpo-45845: Remove unresponsive web link (GH-29651) (GH-29674) https://github.com/python/cpython/commit/edabf3904619e6be97d12e41d30402

[issue44844] The command line of launching Edge on Linux hangs

2021-11-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg406680 ___ Python tracker <https://bugs.python.org/issue44844> ___ ___ Python-bug

[issue44844] The command line of launching Edge on Linux hangs

2021-11-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg406684 ___ Python tracker <https://bugs.python.org/issue44844> ___ ___ Python-bug

[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

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

[issue45813] Importing asyncio after deleting a coroutine object and before cleaning it up leads to crashing on Python3.11

2021-11-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: The crash in IDLE could be in tcl or any of the extra modules imported by IDLE, such as tkinter and socket. It should be retested on Windows once this appears fixed otherwise. -- ___ Python tracker <ht

[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +27917 pull_request: https://github.com/python/cpython/pull/29675 ___ Python tracker <https://bugs.python.org/issue45

[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 123a3527ddd7774e8db325c778927e49172e01d4 by Terry Jan Reedy in branch 'main': bpo-45845: Change link for pyserial (GH-29675) https://github.com/python/cpython/commit/123a3527ddd7774e8db325c778927e

[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 3528df12581e8ccf3fae6d25bd9687ae55424398 by Miss Islington (bot) in branch '3.10': [3.10] bpo-45845: Change link for pyserial (GH-29675) https://github.com/python/cpython/commit/3528df12581e8ccf3fae6d25bd9687

[issue45845] Dead link 'pythoncraft.com/OSCON2001' in faq/library

2021-11-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e81e1d7f8116e9bf905ca378b0bec3ca5131bc29 by Miss Islington (bot) in branch '3.9': [3.9] bpo-45845: Change link for pyserial (GH-29675) https://github.com/python/cpython/commit/e81e1d7f8116e9bf905ca378b0bec3

[issue45845] Fix bad links in faqs

2021-11-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the reports. -- title: Dead link 'pythoncraft.com/OSCON2001' in faq/library -> Fix bad links in faqs ___ Python tracker <https://bugs.pytho

[issue33489] Newer externals for windows do not always trigger rebuild

2021-11-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Apparently so, which makes this irrelevant. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45860] UnboundLocalError leads to Illegal instruction crashing CPython

2021-11-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +lukasz.langa ___ Python tracker <https://bugs.python.org/issue45860> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you Eryk for the info. As a bug report, this should be closed as '3rd party'. As an enhancement request, it needs to be specified more and should perhaps be discussed on python-ideas. -- nosy: +t

[issue45872] Turtle: invalid example for write doc

2021-11-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Doc for turtle.write missing the tuple part of the font param in 3.10+ type: -> behavior versions: +Python 3.11 ___

[issue45397] turtle.write doc missing tuple parens for font default in 3.10+

2021-11-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Closed #45872 as duplicate. Éric, any idea for a local fix? I verified with Sphinx 3.2.1. I tried both escaping with '\' and doubling parens, without success. -- nosy: +terry.reedy title: Doc for turtle.write missing the tuple part o

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: What specific sentences would you like where in which doc. (Please link as 'cmd doc' is too vague.) -- ___ Python tracker <https://bugs.python.o

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sorry, you obviously mean https://docs.python.org/3/library/cmd.html#module-cmd What to add where still applies. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Guido and Raymond, you are the two active coredevs that have contributed the most lines to cmd module. What do either of you think? -- nosy: +gvanrossum, rhettinger ___ Python tracker <https://bugs.python.

[issue45721] Improve error message for OS command entered at >>> prompt

2021-11-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Attempt to give better errors for pip commands typed into the REPL ___ Python tracker <https://bugs.python

[issue28140] Give better errors for OS commands, like 'pip', in REPL, script

2021-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #45721, which has additional comments, as a duplicate of this. 'print foo' now results in "SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?" -- components: +Interpreter Core nos

[issue45451] IDLE - modify text frame and widget borders

2021-11-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue applies to both Shell, with the prompt sidebar, and editor windows, with line number sidebars. I looked carefully at Windows Notepad++ editor tabs. They have a tab border, separate from the window border, that encompasses the line numbers, text

[issue45914] Very first multiprocessing example not working on Windows 11

2021-12-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think something should be said right after the example. But the 20 line note seems a bit too much at this location. Perhaps insert (For reasons given _below_, this will raise error if enter interactively.) with _below_, say, linked to the 20 line note

[issue45916] documentation link error

2021-12-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 257eea55860c5f35acce49c062c5823c7a3a1317 by Miss Islington (bot) in branch '3.9': bpo-45916: Use HTTPS link for The Perils of Floating Point (GH-29896) https://github.com/python/cpython/commit/257eea55860c5f35acce49c062c582

[issue45916] documentation link error

2021-12-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Zach, I presume you wanted the last backport merged and issue closed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45922] Make more methods, functions, built-ins ... clickable

2021-12-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am generally in favor of adding more links. PR-29633, covering one doc file, has more than enough changes for one PR. Please read the original patch, the comments, and the subsequent changes. I plan to do the same. -- nosy: +terry.reedy title

[issue45971] calendar module does not recognize switch to Gregorian

2021-12-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Library (Lib) -Extension Modules resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> calendar bug related to September 2-14, 1752 title: calendar module issue -> calendar module does not reco

[issue45436] test_tk.test_configure_type() fails with Tcl/Tk 8.6.11

2021-12-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: import tkinter as tk tk.Menu(type='') crashes on current Windows 3.9-11 with 8.6.12 -- ___ Python tracker <https://bugs.python.o

[issue13548] line number when tracing an implicit return

2021-12-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: This seems to be fixed. On 3.11.0a2 installed on Windows and fresh build of .0a2+, I see return on line 11, which is correct. f:\dev\3x>python ../tem/tem.py Running Debug|x64 interpreter... f:\dev\tem\tem.py 7 call f:\dev\tem\tem.py 8 line f:\dev\tem\tem

[issue45957] _tkinter.TclError: expected boolean value but got ""

2021-12-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Or use python.org installer ;-). -- ___ Python tracker <https://bugs.python.org/issue45957> ___ ___ Python-bugs-list mailin

[issue13548] line number when tracing an implicit return

2021-12-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: The attached badlineevent.py with print updated. -- ___ Python tracker <https://bugs.python.org/issue13548> ___ ___ Python-bug

[issue38669] patch.object should raise another error when first argument is a str

2019-11-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: This enhancement request (no backports) is about the unittest.mock patch.object. https://docs.python.org/3/library/unittest.mock.html#unittest.mock.patch.object -- nosy: +terry.reedy type: -> enhancement versions: -Python 3.5, Python 3.6, Python

[issue38672] mimetypes.init() fails if no access to one of known files

2019-11-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: An exception report is a failure to finish but not a crash as meant here. The current code requires all known files and any file explicitly passes to be readable. The proposed simple change would make it OK if none of them are. But is this really OK? Is

[issue38675] Improve scope example in Tutorial, chapter 9

2019-11-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Sug. for the scope example in TPT Chapter 9 -> Improve scope example in Tutorial, chapter 9 ___ Python tracker <https://bugs.python.org/issu

[issue38675] Improve scope example in Tutorial, chapter 9

2019-11-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: To me, this is a plausible addition -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue38675> ___ ___ Pytho

[issue38673] REPL shows continuation prompt (...) when comment or space entered

2019-11-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Entering 'pass' or a completely blank line results in a new primary prompt, at least on Windows. The Windows REPL otherwise prints ... even for effectively blank lines. IDLE usually prints a new prompt for effectively blank lines. >>&

<    23   24   25   26   27   28   29   30   31   32   >