[issue44254] Change turtledemo button colors

2021-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I picked a bluish green that works on both white and black on Windows. Test is you can and wish. -- ___ Python tracker <https://bugs.python.org/issue44

[issue44254] Change turtledemo button colors

2021-05-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset af5a324843de395cecc562cb0c757b3768f2077f by Terry Jan Reedy in branch 'main': bpo-44254: On Mac, remove disfunctional colors from turtledemo buttons (GH-26448) https://github.com/python/cpython/commit/af5a324843de395cecc562cb0c757b

[issue44254] Change turtledemo button colors

2021-05-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset addd32986f703e692463828ac0014023a901010f by Miss Islington (bot) in branch '3.10': bpo-44254: On Mac, remove disfunctional colors from turtledemo buttons (GH-26448) https://github.com/python/cpyt

[issue44254] Change turtledemo button colors

2021-05-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 9bcb76c24f6d3f01e596a439c1521f9099e3fe80 by Miss Islington (bot) in branch '3.9': bpo-44254: On Mac, remove disfunctional colors from turtledemo buttons (GH-26448) https://github.com/python/cpyt

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Followup to PR-26404, which added the tests. -- ___ Python tracker <https://bugs.python.org/issue44282> ___ ___ Python-bug

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-01 Thread Terry J. Reedy
New submission from Terry J. Reedy : idlelib.idle_test.test_colordelagator.ColorDelegatorTest.test_incremental_editing has failed on at least on the following machines. Pip32 CI Pipelines Win32 Gen3x https://buildbot.python.org/all/#/builders/464 x86 Gentoo Installed with X 3.x GenPR

[issue43654] IDLE: Fix tab completion after settings and some keys

2021-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Currently, the keys that define certain pseudoevents and invoke the associated event handlers are fixed: tab, '.', and within strings, '/' and '\' for completions, '(' and ')' for calltip open and close, and

[issue41611] IDLE: problems with completions on Mac

2021-06-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -25083 ___ Python tracker <https://bugs.python.org/issue41611> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

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

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The confusion is my fault: PR-26404 is where I first saw this failure, for the previously added tests, not where the test was added. I unlinked the erroneous message. Running 12 duplicate tests in parallel on Windows on a 6 core (12 CPU) machine with f

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

2021-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The other thing I thought is parameterizing the decorator to pass in a delay only for this test, but that require another layer of wrapping, which I cannot do right now. So I think we should just add skiptest for now. In fact, we only need to run it when

[issue44282] IDLE: ColorDelegatorTest test_incremental_editing failures

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

[issue31552] IDLE: Convert browswers to use ttk.Treeview

2021-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Concrete reason 3. Treewidget does not work on high-res monitors. The #37041 quick Treeview test worked for Andre Roberge -- nosy: +aroberge versions: +Python 3.11 -Python 3.7, Python 3.8 ___ Python tracker

[issue44266] AttributeError: module 'sys' has no attribute 'original_stdout'

2021-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you intend to import the stdlib sys and succeed, the original stdout is called '__stdout__'. See https://docs.python.org/3/library/sys.html#sys.__stdin__, including the note that it may be None on Windows. Also peruse that doc to see what

[issue44275] Is there a mojibake problem rendering interactive help in the REPL on Windows?

2021-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Jesse or Andre, please test interactive help in IDLE as pydoc then knows that it is *not* talking to Windows console. It then does not use more.com but prints the entire text at once. It should send it 'as is' and should ignore the console la

[issue44276] Replace if-elif-else structure with match-case (PEP634)

2021-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: To me, Raymond's flattening is a plausible replacement, especially ater a future speedup. However, I would re-order the patterns to None, False, True, str(), int(), ..., _. These independent conditions, other than _ (or else in the if chain), c

[issue44301] Is there a way to provide destructor for module written using C API?

2021-06-04 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/issue44301> ___ ___ Python-bugs-list m

[issue44304] segmentation fault appeared in python 3.10.0b2

2021-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Coredevs are likely to assume that the problem is in greenlets, especially if it has any C code (I don't know). I suggest you first try to find the commit between releases that resulted in the problem. If it is not deterministicly reproducible, you l

[issue44307] date.today() is half as fast as datetime.now().date()

2021-06-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: date.today() is 2x slower than datetime.now().date() -> date.today() is half as fast as datetime.now().date() ___ Python tracker <https://bugs.python.org/issu

[issue44309] Add support for yescrypt in crypt.

2021-06-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +jafo ___ Python tracker <https://bugs.python.org/issue44309> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44310] lru_cache memory leak

2021-06-04 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/issue44310> ___ ___ Python-bugs-list m

[issue44265] Create an MSI Package

2021-06-04 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/issue44265> ___ ___ Python-bugs-list m

[issue44322] Document SyntaxError args and interpretation for f-string fields

2021-06-06 Thread Terry J. Reedy
New submission from Terry J. Reedy : Document that SyntaxError args[1] is a tuple of the other attributes and how the meaning of the attributes is adjusted when the syntax error is in an f-string field replacement expression. Also add compile() to the list of builtins that can raise

[issue44322] Document SyntaxError args and interpretation for f-string fields

2021-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +25151 pull_request: https://github.com/python/cpython/pull/26562 ___ Python tracker <https://bugs.python.org/issue44

[issue43610] Ctrl C makes interpreter exit

2021-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified that sndhdr.what(0) calls "with open(0, rb)" so that Eryk's comment applies. (On Windows, handle 0 is invalid, so the call errors immediately instead of hanging.) -- nosy: +terry.reedy resolution: -> not a bug stage:

[issue44325] IDLE: Fix shell comment anomalies

2021-06-06 Thread Terry J. Reedy
New submission from Terry J. Reedy : Spinoff from #38673, about standard REPL, msg356271 (me) and msg356348 (Guido). In the following interactions, no blank lines were entered. 3.9 behavior >>> #a >>> # a >>> #a >>> # a >>> Mystery 1: why the

[issue44325] IDLE: Fix shell comment anomalies

2021-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I added debug prints to _maybe_compile and confirmed 1) trailing whitespace (' ' and '\t' at least) is removed before this function is called. I presume in IDLE rather than code.II, but cannot find where. It is not with .rstrip. (

[issue44330] IDLE: Colorizer test hangs on macOS

2021-06-06 Thread Terry J. Reedy
New submission from Terry J. Reedy : Ned, have you seen or heard anything about tkinter/tk8.6.11 freezing on macOS? It is happening in many places. On my MacBook, python3.9 -m test -ugui -v test_idle runs OK in about 10 seconds. With installed python3.10.0b2, it runs test_colorizer

[issue44330] IDLE: Colorizer and output tests hang on macOS

2021-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: IDLE: Colorizer test hangs on macOS -> IDLE: Colorizer and output tests hang on macOS ___ Python tracker <https://bugs.python.org/issu

[issue44322] Document SyntaxError args and interpretation for f-string fields

2021-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 67dfa6f2a508c325715625fe442f2ce20270a8b3 by Terry Jan Reedy in branch 'main': bpo-44322: Document more SyntaxError details. (GH-26562) https://github.com/python/cpython/commit/67dfa6f2a508c325715625fe442f2c

[issue44322] Document SyntaxError args and interpretation for f-string fields

2021-06-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +25160 pull_request: https://github.com/python/cpython/pull/26570 ___ Python tracker <https://bugs.python.org/issue44

[issue44322] Document SyntaxError args and interpretation for f-string fields

2021-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 2af690fdb26d0312de056b54ddb113d3c44dee8c by Miss Islington (bot) in branch '3.10': bpo-44322: Document more SyntaxError details. (GH-26562) https://github.com/python/cpython/commit/2af690fdb26d0312de056b54ddb113

[issue44322] Document SyntaxError args and interpretation for f-string fields

2021-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d5f8bd60e1203a41996b3ee370d6f09389070627 by Terry Jan Reedy in branch '3.9': [3.9] bpo-44322: Document more SyntaxError details. (GH-26562) https://github.com/python/cpython/commit/d5f8bd60e1203a41996b3ee370d6f0

[issue44322] Document SyntaxError args and interpretation for f-string fields

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

[issue44334] Use bytearray in urllib.unquote_to_bytes

2021-06-07 Thread Terry J. Reedy
New submission from Terry J. Reedy : 'eng' claimed in original title that "urllib.parse.parse_qsl cannot parse large data". On original PR, said problem with 6-7 millions bytes. Claim should be backed up by a generated example that fails with original code and su

[issue44330] IDLE: Colorizer and output tests hang on macOS

2021-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, I have the 'old' 3.9.5. In IDLE, ^C does not break the hang, but Restart Shell does. As I expected, I had to skip test_outwin's test_write and test_writelines to stop that test hanging. Next failure: test_sidebar.LineNumber

[issue40468] IDLE: configdialog tab rearrange

2021-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are two immediate issues. 2. Issues are blocked because of lack of room on the General pane. The Windows Preferences frame is about as large as the Editor and Shell frame together. Splitting that way will leave room for enough more options for quite

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +25177 pull_request: https://github.com/python/cpython/pull/26593 ___ Python tracker <https://bugs.python.org/issue40

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: The new PR moves the helplist. The extensions page looks much better. Not all of the helplist height is recovered. I believe this is because the Font/Tabs page and in particular the overly large indentation setting now determines height. (The other

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ab36b9f83424a020fbd672f218612e6f19257a32 by Terry Jan Reedy in branch 'main': bpo-40468: Move IDLE helplist settings to extensions page of dialog. (GH-26593) https://github.com/python/cpython/commit/ab36b9f83424a020fbd672f218612e

[issue44350] IDLE: support Command-click on window title on macOS

2021-06-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +macOS nosy: +ned.deily, ronaldoussoren title: Make IDLE support Command-click on window title on macOS -> IDLE: support Command-click on window title on macOS versions: +Python 3.11 ___ Python trac

[issue44350] IDLE: support Command-click on window title on macOS

2021-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Documented as macOS specific at https://www.tcl.tk/man/tcl8.6/TkCmd/wm.htm. But I would not know about C-click from "Specifies the path of the file referenced as the window proxy icon (which can be dragged and dropped in lieu of the file's f

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c03f0ab259dc6d1447d47e845c6465b59f9a032c by Miss Islington (bot) in branch '3.9': bpo-40468: Move IDLE helplist settings to extensions page of dialog. (GH-26593) https://github.com/python/cpython/commit/c03f0ab259dc6d1447d47e845c6465

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +25202 pull_request: https://github.com/python/cpython/pull/26618 ___ Python tracker <https://bugs.python.org/issue40

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR-26618 wraps the extension functions in a new class, ExtPage, and then moves the new class after GenPage. I verified that replacing the indent slider with a spinbox results in the dialog being shorter by the full height of the helplist frame. I will do

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5571cabf1b3385087aba2c7c10289bba77494e08 by Terry Jan Reedy in branch 'main': bpo-40468: Factor out class ExtPage in idlelib.configdialog (GH-26618) https://github.com/python/cpython/commit/5571cabf1b3385087aba2c7c10289b

[issue40468] IDLE: configdialog tab rearrange

2021-06-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +25205 pull_request: https://github.com/python/cpython/pull/26621 ___ Python tracker <https://bugs.python.org/issue40

[issue40468] IDLE: configdialog tab rearrange

2021-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 275d5f7957dbb56a6d5e1248addff210ee2e7270 by Terry Jan Reedy in branch 'main': bpo-40468: Split IDLE settings General tab (GH-26621) https://github.com/python/cpython/commit/275d5f7957dbb56a6d5e1248addff2

[issue33051] IDLE: Create new tab for editor options in configdialog

2021-06-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> IDLE: configdialog tab rearrange ___ Python tracker <https://bugs.python

[issue40468] IDLE: configdialog tab rearrange

2021-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Along with the spinbox PR for #33962, I believe everything discussed here is done. There are still issues to improve specific pages. -- resolution: -> fixed stage: patch review -> resolved status: open -&g

[issue33962] IDLE: use ttk.spinbox with configdialog

2021-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 42d5a4fc3b35e45cdd237d56a04e98894d0a31f5 by Mark Roseman in branch 'main': bpo-33962: Use ttk spinbox for IDLE indent space config (GH-22954) https://github.com/python/cpython/commit/42d5a4fc3b35e45cdd237d56a04e98

[issue44384] test_ttk_guionly: 2 tests fail once each on Pipelines Ubuntu

2021-06-10 Thread Terry J. Reedy
New submission from Terry J. Reedy : 3.10 Pipelines Ubuntu CI (like #42370) Each passed on 3.11 and 3.9 and all other CI tests and my machine. FIRST RUN - FAIL: test_heading_callback (tkinter.test.test_ttk.test_widgets.TreeviewTest

[issue33962] IDLE: use ttk.spinbox with configdialog

2021-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 540ebc4a8874f94152980be7778f3f793b65f111 by Miss Islington (bot) in branch '3.10': bpo-33962: Use ttk spinbox for IDLE indent space config (GH-22954) https://github.com/python/cpython/commit/540ebc4a8874f94152980be7778f3f

[issue33962] IDLE: use ttk.spinbox with configdialog

2021-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mark, I am not sure what last comment meant, but we generally only test IDLE with 3.x with the 8.6.y that comes with 3.x. Ned Deily sometimes runs gui tests with various tcl/tk versions and builds to select one for the installer, but he knows about

[issue44379] Pickling recursion error, did not import pickle

2021-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 'while pickling' part of the message is specific to running in IDLE, as Serhiy explained, but the recursion error itself is due to writing a program with infinite recursion. The program switches the last two items back and forth indefinitely.

[issue32761] Create IDLE Modern Mac keyset

2021-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: #18444 is about revising macOS keysets and/or making a new one. This is about the latter. So closing as duplicate. -- resolution: -> duplicate stage: -> needs patch status: open -> closed superseder: -> IDLE: Revise Mac OS X

[issue18444] IDLE: Revise macOS key bindings, make new one.

2021-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #32761 about new macOS keyset, in favor of this one. There is a bit more discussion there to consider. I agree that a chart of <> down side and keyset across top would be a good start. -- nosy: -Todd.Rovito title: IDLE: Revise Ma

[issue18444] IDLE: Revise macOS key bindings, make new one.

2021-06-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +macOS ___ Python tracker <https://bugs.python.org/issue18444> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21359] IDLE macOS: Some Command shortcuts do not work correctly

2021-06-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: test needed -> resolved status: open -> closed superseder: -> IDLE: Revise macOS key bindings, make new one. ___ Python tracker <https://bugs.python

[issue18444] IDLE: Revise macOS key bindings, make new one.

2021-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I also closed #21359, which has more comment from Ned about bindings not working. -- ___ Python tracker <https://bugs.python.org/issue18

[issue31930] IDLE: Pressing "Home" on Windows places cursor before ">>>"

2021-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE Classic Windows currently works correctly. A custom keyset with <> badly rebound does not. So maybe I was using the latter when I open this. Anyway, this is moot in 3.10 with prompt removed, and I intend to backpart the

[issue24781] Improve UX of IDLE Highlighting configuration tab

2021-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since uipreferences.py was written, in 2015, configdialog uses ttk widgets, including Notebook. We have factored out a class for each notebook pane plus one for help sources and one for traced variables. I have in mind something like highlight3.png and

[issue44398] IDLE: On macOS, cntl-space/backslash display as ^S/^B

2021-06-11 Thread Terry J. Reedy
New submission from Terry J. Reedy : (Related to the more general macOS hotkey issue 18444.) 'Edit => Show completions' invokes pseudoevent <>. In all built-in keysets, the latter is bound to Control-space. This includes on macOS, as can be seen on the Settings Keys tab.

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

2021-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: With 3.10.0b2 on my MacBook Air, completions work as far as I tested, with Edit => Show completions, Tab, and ^-Space. i i<^-Space> int.(configered pause) int.<^-Space, after dismissing box with Esc key> 3.9.5, without the patch, remains bugg

[issue44398] IDLE: On macOS, cntl-space/backslash display as ^S/^B

2021-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: ^B would work as an alternate binding for <> as it is not used otherwise, but I prefer not to have to do this. These are the only named keys other than the 'F#'s. -- ___ Python tracker <http

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

2021-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 3ec3ee7d2e9b45b586e486e429b412d6d0ca530f by Kaustubh J in branch 'main': bpo-40128: Fix IDLE autocomplete on macOS (GH-26672) https://github.com/python/cpython/commit/3ec3ee7d2e9b45b586e486e429b412

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

2021-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b441e99d89a3f05210cc36ade57699384986ca00 by Miss Islington (bot) in branch '3.10': bpo-40128: Fix IDLE autocomplete on macOS (GH-26672) https://github.com/python/cpython/commit/b441e99d89a3f05210cc36ade57699

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

2021-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a9e20cf7bbf3ba39260fca112938f95e4f317efc by Miss Islington (bot) in branch '3.9': bpo-40128: Fix IDLE autocomplete on macOS (GH-26672) https://github.com/python/cpython/commit/a9e20cf7bbf3ba39260fca112938f9

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

2021-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the fix. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue44316] Support preserving path meaning in os.path.normpath() and abspath()

2021-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think you should propose this for discussion on python-ideas list to try for more support. If you can, say more about why reconsider. -- nosy: +terry.reedy versions: +Python 3.11 ___ Python tracker <ht

[issue44323] install module fail on windows 10

2021-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: This tracker is for patching Python doc and CPython implementation. As near as I can tell, you are not reporting a CPython bug. If so, this issue should be closed as 'not a bug'. Questions about using Python should go to more appropriate place

[issue44328] time.monotonic() should use a different clock source on Windows

2021-06-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +belopolsky, p-ganssle, vstinner versions: -Python 3.10, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue44

[issue41611] IDLE: problems with completions on Mac

2021-06-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: #40128, which inserted update_idletasks in a different place, fixed completions for me in installed 3.9.5. They already worked fine for me in installed 3.10.0b2. #41859 is another report by Raymond of a 'random' ValueError connected with c

[issue41611] IDLE: problems with completions on Mac

2021-06-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue41611> ___ ___

[issue44405] add program passed as string to dis module.

2021-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I checked https://docs.python.org/3/library/dis.html and there is no mention of dis having a command-line interface. This suggests that _test is likely present only for testing the module, not for using it. This was common a couple of decades ago before

[issue44405] add program passed as string to dis module.

2021-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: What is unusual, I think, for a CLI test function is that it requires a passed in argument. As a sanity-check test, 'python -m dis' could (should) disassemble itself. Perhaps there once were some true tests that were moved to unittests. (I st

[issue20115] NUL bytes in commented lines

2021-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://docs.python.org/3/reference/toplevel_components.html#file-input says that file input and exec input (should) have the same grammar. This implies that the divergence is a bug. -- nosy: +gvanrossum

[issue23316] Incorrect evaluation order of function arguments with *args

2021-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: The particular example of left-to-right function evaluation in https://docs.python.org/3/reference/expressions.html#evaluation-order is "expr1(expr2, expr3, *expr4, **expr5)". Joshua's claim, without evidence, that "'f(*a(), b=b())&#

[issue23316] Incorrect evaluation order of function arguments with *args

2021-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: The following does not consider keyword-only args with or without defaults. My understanding is the the compiler does not know or considered the signature of the function when evaluating the args. from dis import dis from itertools import permutations as

[issue23316] Incorrect evaluation order of function arguments with *args

2021-06-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue23316> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23316] Incorrect evaluation order of function arguments with *args

2021-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: (The nosy list change was an accident of my local copy not being complete refreshed before posting.) If (b=b, *c) were evaluated in order, then the byte code for b=b and any subsequent keyword arguments would have to be put aside, such as in a separate

[issue23316] Incorrect evaluation order of function arguments with *args

2021-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was pointing out what to me is a second related contradiction in the doc, between one sentence and the next. -- ___ Python tracker <https://bugs.python.org/issue23

[issue44404] tkinter's after() AttributeError with functools.partial (no attribute __name__)

2021-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: The docstring for .after says the 2nd argument must be a 'function'. Whether this issue is a bugfix or enhancement request depends whether one interprets 'function' as 'callable' or something narrower that only includes

[issue44413] OverflowError: mktime argument out of range after 2019

2021-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: An exception is not a 'crash', as defined for this tracker. 3.8 only gets security fixes. A 3.9 or 3.10 test is needed and Windows does not have pytz. -- nosy: +belopolsky, lemburg, p-ganssle, terry.reedy type: crash -

[issue6029] FAIL: test_longdouble (ctypes.test.test_callbacks.Callbacks) [SPARC/64-bit]

2021-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 2014 patch to our copies of libffi eefd521f19ce included patches from 2009 forward, including at least one about long double alignment on sparc. If there are any problems now on current Solaris, they are likely to be different, and someone will find

[issue44229] test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI

2021-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: See #44237 for another repeatedly failing (false positive) ssl test. These and other randomly failing tests should be skipped for routine CI regression testing of PRs. -- nosy: +terry.reedy ___ Python tracker

[issue43476] Enabling access to showsyntaxerror for IDLE's shell

2021-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: The comment should be "# For 3rd party use. See issue 43476." Updates to the pypi url, now https://pypi.org/project/friendly/ should be recorded here on this issue. The undocumented name 'cache' is excluded from linecache.__all__ an

[issue43476] Enabling access to showsyntaxerror for IDLE's shell

2021-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: What I am proposing that pseudofile have one line representing a tuple with all the exception information, *including the filename* for the code with the error. In Shell, the filename will usually be another pseudofile name, . The latter are set with

[issue25381] Doc: Use of old description of raise in Python3

2021-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Irit, it is unclear why you unchecked 'patch'. Because no PR? The keyword includes a patch file attached to an issue. Someone can convert it to a PR. From the tracker doc: "patch There is a patch or pull request attached to the issue.&qu

[issue13814] Document why generators don't support the context management protocol

2021-06-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +25416 pull_request: https://github.com/python/cpython/pull/26835 ___ Python tracker <https://bugs.python.org/issue13

[issue13814] Document why generators don't support the context management protocol

2021-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I added a simplified answer after a similar question about assignment and CMs. -- keywords: -easy ___ Python tracker <https://bugs.python.org/issue13

[issue13814] Document why generators don't support the context management protocol

2021-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 51f45d085dad3b708f6fe166af517aba69e7e9f7 by Terry Jan Reedy in branch 'main': bpo-13814: Explain why generators are not context managers (GH-26835) https://github.com/python/cpython/commit/51f45d085dad3b708f6fe166af517a

[issue25381] Doc: Use of old description of raise in Python3

2021-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: On 2007 Aug 15, extending.rst was merged into master (early 2.6 alpha) and early 3.0 alpha. The only change to this paragraph since the initial 2.6 version was Serhiy changing "*NULL*" to "``NULL``" in 3.x on 2019 Oct 30. I will p

[issue25381] Doc: Use of old description of raise in Python3

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

[issue13814] Document why generators don't support the context management protocol

2021-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d881002fbdf12ddbd93db3e182dc5cdeb1f90386 by Miss Islington (bot) in branch '3.9': bpo-13814: Explain why generators are not context managers (GH-26835) https://github.com/python/cpython/commit/d881002fbdf12ddbd93db3e182dc5c

[issue13814] Document why generators don't support the context management protocol

2021-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 1e16217204c0e8e595c4d1e869c81899bfe3376b by Miss Islington (bot) in branch '3.10': bpo-13814: Explain why generators are not context managers (GH-26835) https://github.com/python/cpython/commit/1e16217204c0e8e595c4d1e869c818

[issue13814] Document why generators don't support the context management protocol

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

[issue25381] Update doc of three C exception values.

2021-06-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: patch review -> needs patch title: Doc: Use of old description of raise in Python3 -> Update doc of three C exception values. ___ Python tracker <https://bugs.python.org/i

[issue25381] Update doc of three C exception values.

2021-06-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue25381> ___ ___ Python-bugs-list mai

[issue41621] Document collections.defaultdict parameter default_factory

2021-06-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: defaultdict miss behave when using default_factory passed as kwargs -> Document collections.defaultdict parameter default_factory versions: +Python 3.11 -Python 3.8 ___ Python tracker <https://bugs.pyth

<    19   20   21   22   23   24   25   26   27   28   >