[issue43944] Processes in Python 3.9 exiting with code 1 when It's created inside a ThreadPoolExecutor

2021-04-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +davin, pitrou ___ Python tracker <https://bugs.python.org/issue43944> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43948] sysconfig's osx_framework_user puts headers in different locations from distutils

2021-04-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: sysconfig’s osx_framework_user puts headers in different locations from distutils -> sysconfig's osx_framework_user puts headers in different locations from distutils versions: -Python 3.11, Python 3.6, Python 3.7, Python 3.8, Py

[issue43950] Include column offsets for bytecode instructions

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Specific examples of current messages and proposed improvements would help focus discussion. If you are willing to only handle code lines up to 256 chars, only 2 bytes should be needed. (0,0) or (255,255) could mean 'somewhere beyond the 256th

[issue43969] "bad magic number" when Python 2's pyc file exists without py file

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unless you find documentation that says otherwise, this an enhancement proposal for 3.11. If no core developer (other than me) jumps on this, you might use git blame to fine out who committed code in the area you proposed changing. -- nosy

[issue43928] Fix the typo in documentation

2021-04-30 Thread Terry J. Reedy
New submission from Terry J. Reedy : New changeset e08c67372d62236409da296353827985a3202e8a by JT in branch 'master': bpo-43928: Fix 'succesfully' typo in document (GH-25569) https://github.com/python/cpython/commit/e08c67372d62236409da296353827985a3202e8a -

[issue43935] Fix typo in Turtle.back docstring

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e377ecf3b496c7719e6dffe3ebf3d0ef512cfb5b by Miss Islington (bot) in branch '3.8': bpo-43935: Fix typo in Turtle.back() docstring (GH-25581) https://github.com/python/cpython/commit/e377ecf3b496c7719e6dffe3ebf3d0

[issue43935] Fix typo in Turtle.back docstring

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

[issue43928] Fix the typo in documentation

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Merge conflict in 3.9. Skipping backports. -- resolution: not a bug -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.8 ___ Python tracker <https://bug

[issue43971] documentation: no spacing around default args in annotated function

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From PEP 8: right:label: str = '' wrong:result: int=0 # No spaces around equality sign current doc: quantity_on_hand: int=0): -- assignee: docs@python -> terry.reedy nosy: +terry.reedy versions: -Python

[issue43976] Allow Python distributors to add custom site install schemes

2021-04-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Introduce mechanism to allow Python distributors to add custom site install schemes -> Allow Python distributors to add custom site install schemes ___ Python tracker <https://bugs.python.org/issu

[issue43983] Can't install Python v3.9.4 / 0x80070643 / windows 10 64bit

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: The error message suggests somethng else is using something in an existing 3.9 directory, and that you should close everything and reboot your machine and try again without running anything else. -- nosy: +terry.reedy

[issue43971] documentation: no spacing around default args in annotated function

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e726a902b7c73a7056b7421d801e47255873 by Mohamed Moselhy in branch 'master': bpo-43971: Add spaces around annotated arg default '=' (GH-25702) https://github.com/python/cpython/commit/e726a902b7c73a7056b7

[issue43971] documentation: no spacing around default args in annotated function

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e48405a9be067d50d6d0d83dc22013fc68f15657 by Miss Islington (bot) in branch '3.9': bpo-43971: Add spaces around annotated arg default '=' (GH-25702) https://github.com/python/cpython/commit/e48405a9be067d50d6d0

[issue43971] documentation: no spacing around default args in annotated function

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 606bb1c77c66eca081d03374ad4b53d9e603dd9d by Miss Islington (bot) in branch '3.8': bpo-43971: Add spaces around annotated arg default '=' (GH-25702) https://github.com/python/cpython/commit/606bb1c77c66eca081d0

[issue43950] Include column offsets for bytecode instructions

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Marking what expression evaluated to None would be extremely helpful. So would marking the 0 denominator when there is more than one candidate: "e = a/b + c/d". It should be easy to revise IDLE Shell's print_exception to tag the span. In

[issue37903] IDLE Shell sidebar.

2021-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is also a 'copy only code' option. Like 'copy', these two new options require a selection. They appear on the context menu when right-clicking either on the sidebar or within the selection. Like the format region commands, these

[issue43913] unittest module cleanup functions not run unless tearDownModule() is defined

2021-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: No apology needed. I don't know what has been added to the devguide, but most OPs never submit a PR unless they either do so or say they will when opening an issue. In any case, a week is more than a c

[issue32891] Add 'Integer' as synonym for 'Integral' in numbers module.

2021-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Guido, Integer as synonym for Integral was your idea, or at least your endorsement prompted me to file the issue. Other core devs don't think the change is worth the trouble; I don't much care. Speak up if you want to revive it. -

[issue44010] IDLE: highlight soft keywords

2021-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Soft keywords are a huge nuisance for syntax highlighting as they need special case regexes and tests. Hard keywords are matched against complete words, regardless of whether the context is syntactically valid or not. If 'for' and 'else

[issue37903] IDLE Shell sidebar.

2021-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b43cc31a270d0dacbc69e35d6c6fbdb5edd7e711 by Tal Einat in branch 'master': bpo-37903: IDLE: add shell sidebar mouse interactions (GH-25708) https://github.com/python/cpython/commit/b43cc31a270d0dacbc69e35d6c6fbd

[issue44010] IDLE: highlight soft keywords

2021-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: My plan for the next day or two is to submit followup issue for Shell and formally code what I wrote. The only way to handle soft keywords correctly is with a custom re. I don't expect them to become common. They are different from builtins because

[issue44010] IDLE: highlight soft keywords

2021-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with getting this in soon. A related request is to to syntax highlight field expressions in f strings. I don't think there is an existing issue. Apparently, at least some alternatives to IDLE do this. I am not sure I would really want it, b

[issue44020] test_ssl fails in the macos CI

2021-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: This person, mohansai, seems to be misbehaving on the tracker and should be stopped or at least educated. mohansai just reassigned a closed issue about Windows extensions to IDLE, #43710, thus assigning it to me and wasting my time. (I reverted the

[issue43710] Access violations in C extension modules on Python 3.9.3

2021-05-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Extension Modules, Windows -IDLE ___ Python tracker <https://bugs.python.org/issue43710> ___ ___ Python-bugs-list m

[issue43710] Access violations in C extension modules on Python 3.9.3

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

[issue44025] Match doc: Clarify '_' as a soft keyword

2021-05-03 Thread Terry J. Reedy
New submission from Terry J. Reedy : In #44010, we are trying, as best as is possible with comprehensible REs, to identify in which circumstances occurrences of 'match', 'case' and '_' are keywords, and should be marked as such. I was initially unsure and even

[issue44025] Match doc: Clarify '_' as a soft keyword

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

[issue44026] IDLE doesn't offer "Did you mean?" for AttributeError and NameError

2021-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am surprised for 2 reasons. First, I have seen other improved messages in IDLE, though maybe only for syntax errors. Second, code entered through IDLE is executed by Python, 'same' in this respect as code entered through the REPL. In more de

[issue44030] Markup with_traceback code example

2021-05-04 Thread Terry J. Reedy
New submission from Terry J. Reedy : .../Doc/library/exceptions.rst, lines 99-105 has original ``SomeException`` had we allowed it to propagate to the caller. try: ... except SomeException: tb = sys.exc_info()[2] raise

[issue44026] IDLE doesn't offer "Did you mean?" for AttributeError and NameError

2021-05-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: (Shreyan, the fake filenames are not relevant.) By default, sys.excepthook is sys.__excepthook is . So by default IDLE runcode calls print_exception, which call cleanup_traceback for each traceback printed. This function makes two important changes to

[issue37605] CI should not depend on gmane response

2021-05-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: nntp.rst, line 23, has already been updated to "s = NNTP('news.gmane.io'). But that also occasionally fails to respond. I have not seen any test failures recently, so maybe something else has changes. Should this be closed pending c

[issue44025] Match doc: Clarify '_' as a soft keyword

2021-05-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: bedevere-bot malfunctioned. Lukasz merged PR 25873 into main, and I verified the change on the main branch. But the PR is listed above as closed, not merged, and commit 3b200b2aa648fcc8a2673871807c1463afe00195 is not listed. -- nosy: +Mariatta

[issue44026] IDLE doesn't offer "Did you mean?" for AttributeError and NameError

2021-05-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I realized after posting that looking for close matching is a performance issue and does not need to be done unless the exception is going to be displayed. But it is a shame to keep such great work away from many users. What would you think of either 1

[issue44026] IDLE: print "Did you mean?" for AttributeError and NameError

2021-05-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Pablo, unless you are suggesting rewriting IDLE's custom exception handing in C, I don't see how making it a single function would be an improvement. As long as it is Python code, the problem is accessing the message supplement. After reading yo

[issue25094] [EASY][Windows] test_tools fails on Windows when passing

2021-05-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -24577 ___ Python tracker <https://bugs.python.org/issue25094> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37903] IDLE Shell sidebar.

2021-05-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: As described above in msg392163, the other fix is to put the prompt on a line by itself. I hoped to get a switch between fixes into b1 but ran out of time and energy. I intend to have in in the next, along with other improvements

[issue44026] IDLE: print "Did you mean?" for AttributeError and NameError

2021-05-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is only backported to 3.10 and not 3.9 because the fix recommendations were only added in 3.10. If the code difference became a problem, this could be backported because the roundabout method for name and attribute errors would work in 3.9

[issue37892] IDLE Shell: isolate user code input

2021-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR 25678 merged on top of the sidebar patch results in using space indents with the sidebar. An additional patch is needed to have the mode with '>>>' on a line by itself instead of having a sidebar. The shell prompt_last_line attribute

[issue44026] IDLE: print "Did you mean?" for AttributeError and NameError

2021-05-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +24631 pull_request: https://github.com/python/cpython/pull/25975 ___ Python tracker <https://bugs.python.org/issue44

[issue44026] IDLE: print "Did you mean?" for AttributeError and NameError

2021-05-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5a5237c6d08ed97458b0903d6836624168df0b51 by Miss Islington (bot) in branch '3.10': bpo-44026: Idle - display interpreter's 'did you mean' hints (GH-25912) https://github.com/python/cpython/commit/5a5237c6d08ed97

[issue44026] IDLE: print "Did you mean?" for AttributeError and NameError

2021-05-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Merged to 3.11.0a0 first, bot forget to post it. Dennis, thank you for the analysis and then the suggestion as to how to access the not directly accessible. It would likely have been awhile before I stumbled from 'cannot' to 'can with wor

[issue44026] IDLE: print "Did you mean?" for AttributeError and NameError

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

[issue44028] Request for locals().update() to work, it is

2021-05-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: When quoting, please include the source, preferably a direct link. In Python 1 and 2, there were two function local namespace *implementations* -- array index by number or dictionary indexed by name. The implementation, and hence the lookup mode, was fixed

[issue37903] IDLE Shell sidebar.

2021-05-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, lets discuss actual problems and various possible solutions. Raymond's example is incomplete as it omits multiline statements, which is where the real problems lie and the reason a fix was sorely needed. This has been more or less agreed on sin

[issue39228] traceback.FrameSummary does not handle exceptions from `repr()`

2021-05-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -terry.reedy versions: +Python 3.11 -Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue39

[issue13657] IDLE doesn't recognize resetting sys.ps1.

2021-05-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Starting with 3.10.0b1, Shell is being reworked in ways that make this issue, as formulated, out of date. Solving the indent problems means that prompt must be removed from the first line of interactive input. #37892. The initial solution is to put

[issue31753] Unnecessary closure in ast.literal_eval

2021-05-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> rejected ___ Python tracker <https://bugs.python.org/issue31753> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue42109] Use hypothesis for testing the standard library, falling back to stubs

2021-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue confuses two different testing issues. First is selection of test data before the test versus generation while testing (usually 'randomly') Second is how the function is tested. All tests test some property of the inputs and functi

[issue44072] Doc: power operator (`**`) present for numbers.Complex, not added in numbers.Integral

2021-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, complex ** complex works fine, and "TypeError: pow() 3rd argument not allowed unless all arguments are integers". -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.o

[issue44078] Output relative path when using PurePath.relative_to

2021-05-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> pathlib's relative_to should behave like os.path.relpath ___ Python tracker <https://bugs.p

[issue40358] pathlib's relative_to should behave like os.path.relpath

2021-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: On #44078 (closed as duplicate), Mark Hammond made a similar request. -- nosy: +terry.reedy versions: +Python 3.11 -Python 3.10 ___ Python tracker <https://bugs.python.org/issue40

[issue44081] ast.unparse: dont use redundant space separator for lambdas with no parameters

2021-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Agreed. unparse is already correct if there is a parameter. >>> ast.unparse(ast.parse("lambda x: 'hey!'")) "lambda x: 'hey!'" -- nosy: +terry.reedy ___ Py

[issue44107] HTTPServer can't close http client completely

2021-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.8 only gets security fixes. Please verify issue on a current release. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue44

[issue44072] Doc: power operator (`**`) present for numbers.Complex, not added in numbers.Integral

2021-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the report and clean patch. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue13498] os.makedirs exist_ok documentation is incorrect, as is some of the behavior

2021-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue was really two issues: fix doc of existing behavior; change behavior (which would be an enhancement). The first has been done; the second not. I think this should be closed and if anyone still proposes the second, open a new enhancement issue

[issue24964] Add tunnel CONNECT response headers to httplib / http.client

2021-05-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.11 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue24964> ___ ___ Python-bugs-list mailin

[issue24964] Add tunnel CONNECT response headers to httplib / http.client

2021-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Alexey, to repeat what I said to Thomas above: please sign a contributor agreement for your patches to be considered. https://www.python.org/psf/contrib/ https://www.python.org/psf/contrib/contrib-form

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2021-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy: what do you know of tcl finalization? Tal: why does your patch only expose the option that you said crashes ubuntu. Spacekiwigames: if you have a cpython fork and local repository, you could try the patch on your linux mint. -- nosy

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2021-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tal: cancel comment above. I was confused because FinalizeThread is exposed as just finalize. On Windows, PR fixes issue whether Shell or editor is closed last. -- ___ Python tracker <https://bugs.python.

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2021-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can we backport? The change to _tkinter, not directly exposed in tkinter, could be considered an enhancement, but is necessary to fix what I consider a real bug in tkinter, and hence in IDLE. Pablo, would you allow the _tkinter change in .0b2? If we

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2021-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: As Tal notes on the PR, the _tkinter patch is the minimum needed to fix the problem for IDLE, not the undetermined patch to tkinter that should be done to properly expose the fix to all tkinter users. If the tcl function were exposed with a presumably

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2021-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tcl_Finalize can be called more than once, says the tcl doc. It also says it, or T_FThread should be called when unloading. If the tcl implementation on some system does not match the doc, then there is a bug that should be reported. If the registration is

[issue44163] IDLE ValueError in HyperParser

2021-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the report. Which 3.9.? hyperparser has not changed in a year, but some of the calltip logic has. This occurred when you typed a '(' and IDLE tried to open a calltip but failed, and you did not notice its absence. Easy when not l

[issue44163] IDLE ValueError in HyperParser

2021-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: So, consider both possibilities where relevant. In the future, I will assume that you are running standard, up-to-date, Mac build unless you say otherwise. I presume you start IDLE from terminal and check it before shutting down. I have wondered whether

[issue44163] IDLE ValueError in HyperParser

2021-05-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: For now, I want to just improve the error message and then close. -- ___ Python tracker <https://bugs.python.org/issue44

[issue44069] pathlib.Path.glob's generator is not a real generator

2021-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that from the outside is seems slightly bizarre to make an internal list to implement a function documented as returning an iterator. However, list(scandir) was added by Serhiy in #26032 with the comment that it made globbing 1.5-4 times faster

[issue44038] In documentation Section 8.6, the definition of parameter_list need correcting

2021-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I *think* that another bracket pair is needed, changing "," "/" to ["," "/"] -- nosy: +pablogsal, terry.reedy versions: +Python 3.11 -Python 3.9 ___ Python trac

[issue43927] Remove IOError references from the tutorial

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

[issue43927] Remove IOError references from the tutorial

2021-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: IOError is a back-compatibility synonym for OSError. I will eliminate the last use from all 3 versions. The change to the previous example was done by 2 people who did not backport to 3.9 and I will not bother with that. Future versions are already fixed

[issue44038] In documentation Section 8.6, the definition of parameter_list need correcting

2021-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: After mentally reparsing and translating to English, I think you are right. -- ___ Python tracker <https://bugs.python.org/issue44

[issue43927] Remove IOError references from the tutorial

2021-05-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

[issue44190] Dictionary assignment shorthand

2021-05-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue44190> ___ ___

[issue44217] Tkinter/IDLE: literal astral char discombobulates text editing

2021-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is fundamentally a tk text widget issue. Prior to fall 2019, attempts to insert an astral (non-BMP) chars in tkinter widgets raised a unicode decode exception. Then Serhiy fixed tkinter so that such chars could be displayed, either as the actual chars

[issue42109] Use hypothesis for testing the standard library, falling back to stubs

2021-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: In order to understand what Paul is concretely proposing, I read and partly reviewed his PR. I thought about maintainability. Part A adds test.support.hypothesis_helper, similar in purpose to other specialized xyz_helper modules. Hypothesis_helper imports

[issue37903] IDLE Shell sidebar.

2021-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I will link to an IDLE shell followup issue later. Discussions about other IDLE issues should be on pre-existing issues (use the tracker search with Components: IDLE), new issues, or without an issue, on the idle-dev list. -- resolution: -> fi

[issue44243] tkinter button colors on Mac

2021-05-26 Thread Terry J. Reedy
New submission from Terry J. Reedy : Mac Mohave, 3.9 with 8.6.8 and 3.10 with 8.6.11 import tkinter as tk r = tk.Tk() b = tk.Button(r, text='START', fg='white', bg='red') # Or '#f00'. b.pack() r.mainloop() On Windows, white on red button, as expecte

[issue44243] tkinter button colors on Mac

2021-05-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue44243> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41611] IDLE: problems with completions on Mac

2021-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: With 3.10.0b1 on Mac I am getting attribute completion freezes. I had to turn them off. I am tempted to disable completions until there is a Mac IDLE developer to dig into issues like this. -- nosy: +taleinat

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The completion freeze fix is easily backported to non-Windows installations. 1. Run IDLE 2. File => Open Module, enter 'idlelib.autocomplete_w', OK. 3. Goto line 247 (3.9) or 250 (3.10) with "acw.update". 4. Add # in from of above to

[issue44243] tkinter button colors on Mac

2021-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: "The configure and cget subcommands can still manipulate the values, but do not cause any variation to the look of the widget." is wrong. Setting the foreground color *does* change the unpressed foreground color, so that 'white' bec

[issue44254] Change turtledemo button colors

2021-05-27 Thread Terry J. Reedy
New submission from Terry J. Reedy : [Following up on #44243.] tk/tkinter-based turtledemo buttons are currently white on something. On Mac, configured foreground button colors are honored (while the button is unpressed), while background colors are ignored. Given that the unpressed

[issue44243] tkinter button colors on Mac

2021-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: #44254 is a followup to change turtledemo unpressed button colors to something on white. -- ___ Python tracker <https://bugs.python.org/issue44

[issue31790] double free or corruption (while using smem)

2021-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: pydev core has not touched 2.7 in a year. Anyone else maintaining 2.7 has had a chance to grab 2.7 issues. So all 2.7 issues should be closed unless obviously relevant to current issues (and even then have 2.7 removed). I agree that the later does not

[issue23937] IDLE: revise window size, placement startup options

2021-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: When I changed the title, I intended to broaden the issue beyond 'start maximized'. Even for that, there are two possibilities. 1. Configure option (default as now). 2. Save 'current' position, which helps non-maximizers also. So

[issue44243] tkinter button colors on Mac

2021-05-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> third party stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue43654] IDLE: Applying settings disables tab completion

2021-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tal, I think you had the right solution the first time. To me, tab is (should be) a fixed key, and the event added just once, like the other fixed keys. I am quite surprised that it isn't. Please revise or make a new patch to remove it from

[issue44211] Duplicate '.bmp' key in mimetypes.py, maps to both 'image/bmp' and 'image/x-ms-bmp'

2021-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: David and Steve merged the seemingly conflicting PRs. -- nosy: +r.david.murray, steve.dower, terry.reedy versions: +Python 3.11 -Python 3.8 ___ Python tracker <https://bugs.python.org/issue44

[issue44225] stop() on a stopped loop inhibits the next run_forever

2021-05-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue44225> ___ ___ Python-bugs-list m

[issue44215] help() module listing displays import warnings from deprecated package modules

2021-05-28 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/issue44215> ___ ___ Python-bugs-list m

[issue44249] Readme typo fix

2021-05-28 Thread Terry J. Reedy
New submission from Terry J. Reedy : New changeset acac6c71ff370413374c6aca1df808c426e8a30c by Ayush Parikh in branch 'main': bpo-44249: Fix 3 README.rst typos (GH-26385) https://github.com/python/cpython/commit/acac6c71ff370413374c6aca1df808c426e8a30c -- nosy: +t

[issue44249] Readme typo fix

2021-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8f8f2ea832949fd9cd76c7a7924f346b316fb610 by Miss Islington (bot) in branch '3.9': bpo-44249: Fix 3 README.rst typos (GH-26385) https://github.com/python/cpython/commit/8f8f2ea832949fd9cd76c7a7924f34

[issue44249] Readme typo fix

2021-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 7261b29fa90d22f6cb5f3c94a3dbbf7978c6f448 by Miss Islington (bot) in branch '3.10': bpo-44249: Fix 3 README.rst typos (GH-26385) https://github.com/python/cpython/commit/7261b29fa90d22f6cb5f3c94a3dbbf

[issue44249] Readme typo fix

2021-05-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: enhancement -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 ___ Python tracker <https://bugs.python

[issue44259] lib2to3 does not accept "exec" as name

2021-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'exec' was a keyword in 2.x, but that should not matter in 3.9. What OS? Did you get an actual crash (core dump on *nix), or a python exception and traceback (not a crash)? If the latter, copy and paste it. -- nosy: +t

[issue30495] IDLE: modernize textview module

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

[issue44254] Change turtledemo button colors

2021-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am going to disable color config on darwin (and hope it gets into b2). The default should always work. -- ___ Python tracker <https://bugs.python.org/issue44

[issue44254] Change turtledemo button colors

2021-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, could you check the darwin osascript in turtledemo.__main__, lines 138-149 is current (both needed and correct)? subprocess.run( [ 'osascript', '-e'

[issue44254] Change turtledemo button colors

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

[issue44254] Change turtledemo button colors

2021-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume you tested pr_26448. If default colors do not work, that is on tcl/tk. I suspect 8.6.11 is not prepared for dark theme. The underlying bug is ignoring the tk/user setting and deferring to the system for background only. In the meanwhile, I will

[issue44254] Change turtledemo button colors

2021-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Of course, I cannot set the background on my Mac, so I will test on Windows and let you verify on dark theme mac -- ___ Python tracker <https://bugs.python.org/issue44

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