[issue45234] copy_file raises FileNotFoundError when src is a directory

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

[issue45296] IDLE: Better document close and exit.

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

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

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

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

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

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

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

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

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

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

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

[issue45303] ast module classes missing __text_signature__ attribute

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

[issue45341] Update "Python Package Index" in Docs

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

[issue45341] Update "Python Package Index" in Docs

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

[issue45341] Update "Python Package Index" in Docs

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

[issue45341] Update "Python Package Index" in Docs

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

[issue45341] Update "Python Package Index" in Docs

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

[issue19290] Clarify compile and eval interaction.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[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

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

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

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

[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

[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

[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/380c44087505d0d560f97e325028f2

[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

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

[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

[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', '

[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

[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

[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

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

[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

[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

[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

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

[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/4ecd119b007cb766b8bede2dc78b70

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

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

[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

[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

[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

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

[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/42ac06dcd2

[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

[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

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

[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

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

[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

[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 know abo

[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

[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

[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

[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

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

[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

[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

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

[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

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

[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

[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

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

[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

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

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

[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

[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

[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

[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

[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

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

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

[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

[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

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

[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

[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

[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

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

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

[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

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