[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

[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

[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

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

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

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

[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

[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

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

[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, Python 3.8

[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

[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

[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 forgot a comma

[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

[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/2to3.html#module

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

[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 indirect effect of 'from'. 'Foo' and 'Bar

[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 standard Windows shell is the Command Prompt

[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

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

[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

[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

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

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

[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

[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 bottom. In any case, I don't

[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: autoexpand.py, line 20, wordchars 'wordchars' is correct here since words beginning with digits can be expanded. >>> s = '0x4f334' >>> 0x4f334 # Hit alt-/ after 0 and enter 324404 Used in line 89 in method getprevword while

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

2021-11-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: There have been occasional discussions about IDLE not being properly unicode aware in some of its functions. Discussions have foundered on these facts and no fix made. 1. The direct replacement string, your 'identcontchars', seems too big. We have

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

2021-11-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I checked for other possible ascii only problems and only found config_key.py: 14: ALPHANUM_KEYS = tuple(string.ascii_lowercase + string.digits) config_key.py: 39: if 'Shift' in modifiers and key in string.ascii_lowercase: config_key.py: 15

[issue45669] An 'ascii_alphanumerics' variable is missing in the 'strings' lib

2021-11-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, thanks for the list. I can see it as either justifying or refuting the proposal. So +-1 for the moment. (I opened #45692 to eliminate the duplication in idlelib.) -- nosy: +terry.reedy ___ Python tracker

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

2021-11-02 Thread Terry J. Reedy
New submission from Terry J. Reedy : IDLE currently defines the same set of chars in 5 places with 5 names. (Listed by Serhiy Storchaka in #45669.) Lib/idlelib/autoexpand.py:20:wordchars = string.ascii_letters + string.digits + "_" Lib/idlelib/undo.py:254:al

[issue45647] "expression" is erroneous in the doc

2021-11-02 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/issue45647> ___ ___ Python-bugs-list m

[issue45646] Star expression in comprehension wrongly indicates to use or_expression after the star

2021-11-02 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/issue45646> ___ ___ Python-bugs-list m

[issue45638] Does ccbench still require 2.6 compatibility?

2021-11-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: By 'it' I meant the comment and 2.6 compatibility you asked about. -- ___ Python tracker <https://bugs.python.org/issue45

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

2021-11-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: terry.reedy -> components: +Tkinter, macOS -IDLE status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue45584] Clarifying truncating in documentation

2021-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, revise and retest your branch and push it. -- ___ Python tracker <https://bugs.python.org/issue45584> ___ ___ Python-bug

[issue45638] Does ccbench still require 2.6 compatibility?

2021-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Lukasz, is 'delete it' the no-brainer it seems to be? -- nosy: +lukasz.langa, terry.reedy ___ Python tracker <https://bugs.python.org/issue45

[issue45625] Add support for top-level await

2021-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Python has async frameworks other than anyncio. At least one is much older than asyncio. I think that this proposal to run one by default, on startup, should be rejected. >My script must be able to run properly without any special setup. Then wr

[issue45602] The grammar misses links that are present everywhere else

2021-11-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +lukasz.langa, pablogsal stage: -> test needed versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issu

[issue45589] webbrowser does not handle opens under Windows WSL properly

2021-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Windows people, do we support running on WSL? Is there a buildbot running it? -- nosy: +terry.reedy stage: -> test needed versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/issu

[issue45584] Clarifying truncating in documentation

2021-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Current docs: math.ceil(x) Return the ceiling of x, the smallest integer greater than or equal to x. If x is not a float, delegates to x.__ceil__(), which should return an Integral value. math.floor(x) Return the floor of x, the largest integer

[issue45681] tkinter breaks on high resolution screen after ctypes SetProcessDPIAware()

2021-11-01 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

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

2021-10-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: terry.reedy -> resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> tkinter.filedialog linked with Tk 8.6.11 crashes on macOS 12 Monterey, breaking IDLE saves title: Error In opening a file throug

[issue45466] Simple curl/wget-like download functionality in urllib (like http offers server)

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

[issue45569] Drop support for 15-bit PyLong digits?

2021-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: How about: create a fake test file test/test_xintperf with test case and test method(s) that run timeit with a suite of int operations and print report. Create 'draft' PRs for main and 3.10 (and 3.9?). Run just this test on buildbots. (I believe I have

[issue45511] Batch-mode input() limited to 4095 characters on *NIX

2021-10-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed title: input() method limited to 4095 characters on *NIX -> Batch-mode input() limited to 4095 characters on *NIX versions: +Python 3.11 -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Pytho

[issue45560] sys.last_* not set for SyntaxErrors with IDLE

2021-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: #43476 is clearly an enhancement request. It proposes to stash info in the GUI process in a way that lets it be into from the other process by non-standard means. This is closer to a bugfix request in that successive lines have a different response

[issue45560] sys.last_* not set for SyntaxErrors with IDLE

2021-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: The method to run just code in userspace, without involving the debugger or history list, is runcommand. It needs a code string. The hard part is the code needed to recreate the exception instance in the user space. It will be different for SyntaxError

[issue45560] sys.last_* not set for SyntaxErrors with IDLE

2021-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is most likely an oversight. It affects both normal and -n mode. The three sys attributes can be written. Given the error instance e caught in the IDLE process, we need to execute, *in the user namespace*, sys.last_type, sys.last_value

[issue1353344] python.desktop

2021-10-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: patch review -> needs patch versions: +Python 3.11 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker <https://bugs.python.org/issue1

[issue15996] pow() for complex numbers is rough around the edges

2021-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: In Windows, I now get the Mark's macOS result instead of the Z.D.Error. >>> (1.0+0j)**(float('inf') + 0j) (nan+nanj) Has there been a revision of complex ** on another issue such that this one is

[issue18056] Document importlib._bootstrap.NamespaceLoader

2021-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: _bootstrap_external also appears to be undocumented. It does has _NamespaceLoader among its 77 entries. -- ___ Python tracker <https://bugs.python.org/issue18

[issue5120] Change _tkinter initialization for new versions of Aqua Tk on OS X

2021-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Or should this be marked for 3.11? -- versions: -Python 2.7 ___ Python tracker <https://bugs.python.org/issue5120> ___ ___

[issue5120] Change _tkinter initialization for new versions of Aqua Tk on OS X

2021-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can we close this? I expect that if crashes were still happening from this cause, there would be a newer issue. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue5

[issue18331] Doc that runpy.run_path and run_module copy module globals

2021-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Nick, is this issue still needed? -- nosy: +terry.reedy title: Document that runpy.run_path and run_module copy the module globals -> Doc that runpy.run_path and run_module copy module globals versions: +Python 3.11 -Python 2.7, Python 3.3, Pyt

[issue18056] Document importlib._bootstrap.NamespaceLoader

2021-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Close this? As near as I can tell, there is currectly no doc for importlib._bootstrap ('_bootstrap' neither in Index nor importlib doc). Also, it does not currently contain NamespaceLoader (not in dir(importlib._bootstrap). -- nosy: +terry.reedy

[issue43678] TypeError: get() got an unexpected keyword argument 'vars'

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

[issue43678] TypeError: get() got an unexpected keyword argument 'vars'

2021-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume something like this: >>> {}.get(vars=1) Traceback (most recent call last): File "", line 1, in {}.get(vars=1) TypeError: get() takes no keyword arguments # 3.8+ Report is 3.7. -- nosy: +terry.reedy resolution: re

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

2021-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: As the title suggested, this is a generic help(module) issue that involves several library modules, including idlelib. It just happened to be reported for 2to3. For example, the generated text for import idlelib; help(idlelib) includes MODULE

[issue45543] IDLE shell Windows EOL

2021-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: The current behavior is documented in Help => IDLE Help "User output in Shell". -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://b

[issue45464] TypeError when inheriting from both OSError and AttributeError

2021-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: More specific would be "Inheriting from multiple exceptions may fail due to instance layout conflicts. Such conflicts may depend on the Python version." This would effectively say "Don't bother reporting layout conflicts -- we k

[issue45436] test_tk.test_configure_type() failed on x86 Gentoo Non-Debug with X 3.x

2021-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: EP, do you have any insight into these issues? Why does 8.6.11 result in test failures? Bug in our test or in tk? -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue45

[issue45436] test_tk.test_configure_type() failed on x86 Gentoo Non-Debug with X 3.x

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

[issue34708] Odd crashes/freezes when sys.stdout.shell.console is typed

2021-10-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unfortunately, no. The standard stream replacements were renamed to StdOutputFile, etc, and slightly revised, but the buggy behavior remains. The worst is that shell restart does not completely restart the shell. It has to be closed instead. I would

[issue26143] Ensure that IDLE's stdlib imports are from the stdlib

2021-10-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe standard interpreter only adds '' to path after its startup. But it might be vulnerable to shadowing of delayed imports. -- ___ Python tracker <https://bugs.python.org/issue26

[issue26143] Ensure that IDLE's stdlib imports are from the stdlib

2021-10-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was CC-ed on a response to a user who reported module shadowing as a security issue. If it is disabled by default, we could add an option to enable for intentional experiments. See idle.py. -- ___ Python

[issue45495] IDLE: Add match and case to completions

2021-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I emailed the OP reporting the fix, which will be in the next releases of 3.10 and 3.11. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bug

[issue45495] IDLE: Add match and case to completions

2021-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 42ac06dcd234bdda989dcfe854ac5173337024c9 by Terry Jan Reedy in branch 'main': bpo-45495: Add 'case' and 'match' to IDLE completions list. (GH-29000) https://github.com/python/cpython/commit/42ac06dcd234bdda989dcfe854ac5173337024c9

[issue45495] IDLE: Add match and case to completions

2021-10-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +27282 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/29000 ___ Python tracker <https://bugs.python.org/issu

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

2021-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: We can add the mac change once it is manually tested on some system. I may try on my macbook. Windows will be another PR or even issue. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45495] IDLE: Add match and case to completions

2021-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: That is because they are not keywords in keyword.kwlist. But we can add them to the completion list. Thanks for transferring the report. -- stage: -> test needed type: -> behavior ___ Python tracker

[issue45495] IDLE: Add match and case to completions

2021-10-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: IDLE: Add match and case -> IDLE: Add match and case to completions ___ Python tracker <https://bugs.python.org/issu

[issue45463] Document that # of identifiers allowed in global stmt is plural

2021-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the ready-to-go patch. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45463] Document that # of identifiers allowed in global stmt is plural

2021-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 855d6247adb39d4e38b698b89e519587318abd80 by Miss Islington (bot) in branch '3.10': [3.10]bpo-45463: Clarify that global statements allows multiple names (GH-28851) (GH-28989) https://github.com/python/cpython/commit

[issue45463] Document that # of identifiers allowed in global stmt is plural

2021-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ac1b7a3319f268487c310ac7449703193f5eddad by Miss Islington (bot) in branch '3.9': [3.9]bpo-45463: Clarify that global statements allows multiple names (GH-28851) (GH-28990) https://github.com/python/cpython/commit

[issue45463] Document that # of identifiers allowed in global stmt is plural

2021-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 4ecd119b007cb766b8bede2dc78b70d29cd932dd by Luca Chiodini in branch 'main': bpo-45463: Clarify that global statements allows multiple names (GH-28851) https://github.com/python/cpython/commit/4ecd119b007cb766b8bede2dc78b70d29cd932dd

[issue45489] ForwardRef does not support | operator

2021-10-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +gvanrossum, kj ___ Python tracker <https://bugs.python.org/issue45489> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45466] Simple curl/wget-like download functionality in urllib (like http offers server)

2021-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Posting the idea to python-ideas list might generate interest and ideas. -- nosy: +terry.reedy stage: -> test needed versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/issu

[issue45464] TypeError when inheriting from both OSError and AttributeError

2021-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Suggestion: At the end of https://docs.python.org/3/bugs.html, add "Creating a subclass that inherits from multiple exceptions may not work and the potential conflicts may change in new versions." -- assignee: -> docs@pyth

[issue45463] Document that # of identifiers allowed in global stmt is plural

2021-10-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> patch review title: Documentation inconsistency on the number of identifiers allowed in global stmt -> Document that # of identifiers allowed in global stmt is plural versions: +Python 3.10, Python 3.11, Pyth

[issue45450] Improve syntax error for parenthesized arguments

2021-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I suggest "Lambda expression parameters ...". Keep "Function parameters ..." for the other. Note that the first error is adding invalid outer parens, whereas the second is adding inner parens for sublist. -

[issue45425] There is an error in the Chinese documentation of contextlib.AbstractContextManager

2021-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe that translation errors should be reported elsewhere, but I do not see anything in https://docs.python.org/3/bugs.html. Adding something to the English version of that doc would be covered here. Julien? -- nosy: +mdk, terry.reedy

[issue45420] Python 3.10 final installation failure

2021-10-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Did you delete the old installation in the old location first? -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue45

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

2021-10-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steve, how do we make it so that "Edit with IDLE" appears when right-clicking on a .pyi file in Windows explorer? As easy as on mac (see Ronald's answer above)? -- nosy: +steve.dower ___ Python track

[issue43139] test_ttk test_compound, test_tk test_type fail with Tk 8.6.11.1

2021-10-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: In Paine's failing color test, the returned tuple is The returned tuple is (0x4a48, 0x3c27, 0x8c91) versus (0x4a4a, 0x3c3c, 0x8c91), which is to say, nearly correct. Since the tested call is self._getints(self.tk.call('winfo', 'rgb', self._w, color

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

2021-10-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes. After this issue is done, we should open a new issue and nosy Steve Dower, who is in charge of that for Windows, and Ned Deily, in case anything should be done on mac. -- ___ Python tracker <ht

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

2021-10-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am going to call the file util.py and will work on a PR. -- ___ Python tracker <https://bugs.python.org/issue45447> ___ ___

[issue20692] Tutorial and FAQ: how to call a method on an int

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

[issue20692] Tutorial and FAQ: how to call a method on an int

2021-10-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 380c44087505d0d560f97e325028f27393551164 by Terry Jan Reedy in branch 'main': bpo-20692: Add Programming FAQ entry for 1.__class__ error. (GH-28918) https://github.com/python/cpython/commit/380c44087505d0d560f97e325028f27393551164

[issue20692] Tutorial and FAQ: how to call a method on an int

2021-10-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +27209 pull_request: https://github.com/python/cpython/pull/28918 ___ Python tracker <https://bugs.python.org/issue20

[issue45451] IDLE Shell GUI - remove window border

2021-10-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Whereas to me, 'not shaded' is easily the worst. Users can customize the sidebar colors, but since the default is the same at the text, I would not want to deliver IDLE with a scheme that I think is awful. On Windows, I agree that the light theme border

[issue45451] IDLE Shell GUI - remove window border

2021-10-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +taleinat ___ Python tracker <https://bugs.python.org/issue45451> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2021-10-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for doing the research. I have been thinking about adding a file containing idlelib 'leaf' objects, those with no idlelib dependencies, which are needed in more than one file. would be to reduce the complexity of the idlelib dependency graph

[issue20692] Tutorial and FAQ: how to call a method on an int

2021-10-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: No. The last version did not properly incorporate my suggestion, so I will make a PR that I am willing to merge. -- assignee: docs@python -> terry.reedy ___ Python tracker <https://bugs.python.org/issu

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

2021-10-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: It should be fairly easy to recognize x.pyi as a python file. Just have to find the place. Something like def f(i:int) -> int: ... would have 'def' and 'int' highlighted. -- ___ Python tracker <

[issue43139] test_ttk test_compound, test_tk test_type fail with Tk 8.6.11.1

2021-10-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: test_ttk test_compound and test_tk test_type fails with Tk 8.6.11.1 -> test_ttk test_compound, test_tk test_type fail with Tk 8.6.11.1 ___ Python tracker <https://bugs.python.org/issu

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

2021-10-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: commit review -> resolved ___ Python tracker <https://bugs.python.org/issue45353> ___ ___ Python-bugs-list mailing list Un

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