[issue42471] Slowdown in socket tests noticed since Py3.8

2020-11-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Should this be closed as 'not a bug'? -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue42471> ___ __

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-11-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +22451 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23570 ___ Python tracker <https://bugs.python.org/issu

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-11-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e41bfd15dd148627b4f39c2a5837bddd8894d345 by Terry Jan Reedy in branch 'master': bpo-42508: Remove bogus idlelib.pyshell.ModifiedInterpreter attribute (GH-23570) https://github.com/python/cpython/commit/e41bfd15dd148627b4f39c2a5837bd

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-11-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue exposed and is affected by an existing system and version independent bug. With that fixed as in PR 23570, running a file with "print('output')" with the new 3.9.1rc1 universal binary results in the following. output =

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-11-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: After hours of failure to understand crazy 'impossible' behavior, I went back to 'timing issue' and this code. def run_module_event(self, event): if macosx.isCocoaTk(): # Tk-Cocoa in MacOSX is broken until at le

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-11-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ff51e5ec26168574761e128cc607b879d4d5aa50 by Miss Islington (bot) in branch '3.9': bpo-42508: Remove bogus idlelib.pyshell.ModifiedInterpreter attribute (GH-23570) (GH-23571) https://github.com/python/cpyt

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-11-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +22456 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23577 ___ Python tracker <https://bugs.python.org/issu

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-11-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR 23577 makes fix suggested above for easier review. -- stage: patch review -> ___ Python tracker <https://bugs.python.org/issu

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-12-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> patch review ___ Python tracker <https://bugs.python.org/issue42508> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue14111] IDLE Debugger should handle interrupts

2020-12-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mark, since you are working on redoing the debugger gui, do you have any opinion on this? The basic idea is that ^C when debugging should just interrupt the remote process, not end it, just as when there is no debugger. I agree. I just updated the PR to

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-12-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The new tk/tkinter bug in the macOS11 U2 build, other than those reported in #42507 and #42541, is that pressing F5 causes the corresponding pseudoevent handler, run_module_event, to be called twice. (Its code is above.) The interval between calls is

[issue42507] test_ttk_guionly test failures on macOS with Tcl/Tk 8.6.10

2020-12-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: It might be the tk/tkinter build, not the tests, that is at fault. That is my current conclusion for #42508 (regarding IDLE as a test). -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.

[issue42555] math function sqrt() not working in 3.9

2020-12-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mike, please ask questions on question forums such as python-list (mail.python.org) or stackoverflow.com, where other beginners can see the answer. Also, IDLE is not Python. In particular, python's response to code you send to python usually has no

[issue42507] test_ttk_guionly test failures on macOS with Tcl/Tk 8.6.10

2020-12-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: The test may be correctly detecting a change in widget behavior. This is less surprising to me than some keypresses acting like two keypresses a millesecond apart. -- ___ Python tracker <https://bugs.python.

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2020-12-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: The new commit to PR 23577 works around the double run_module_event call. Removing the delay changed timings, so I instead measured the time between closing the errorbox and the 2nd call. The allowed difference had to be increased to .015, so I selected

[issue42433] mailbox.mbox fails on non ASCII characters

2020-12-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.7 only gets security fixes. If and when someone merges something, that person will decide whether to backport. -- versions: -Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.

[issue42592] TypedDict: total=False but still key required

2020-12-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Some notes on needed TypedDict doc fixes. https://docs.python.org/3/library/typing.html#typing.TypedDict "class typing.TypedDict(dict)" The actual signature from inspect.signature is "(typename, fields=None, /, *, total=True, **kwargs)"

[issue40652] Test test_locale failed when running cpython test on Windows 10 x64 for version 3.9.0a6+

2020-12-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> [Windows] locale.getdefaultlocale() issues on Windows: test_locale.test_getsetlocale_issue1813() ___ Python tra

[issue31636] test_locale failure on OpenBSD

2020-12-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -8617 ___ Python tracker <https://bugs.python.org/issue31636> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31636] test_locale failure on OpenBSD

2020-12-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR-9178 was for #31608. I corrected the PR and unlinked it from here. This is a duplicate of #25191, with proposed patch. #37945 is the same issue for Windows, with extensive discussion. -- nosy: +terry.reedy resolution: -> duplicate stage: pa

[issue25191] test_getsetlocale_issue1813 failed on OpenBSD

2020-12-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: The problem with this patch is that the second assert is the point of the test. Do get/set_locale work in the TR locale? Although this issue came first, I am closing it as a duplicate of #37945 as the latter has extensive, but to date inconclusive

[issue37945] test_locale.TestMiscellaneous.test_getsetlocale_issue1813() fails

2020-12-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: This seemingly useless test is the only test failure for me with installed 3.9.1. Why keep it, at least on Windows. The failure with "locale.Error: unsupported locale setting" is not limited to Windows. #25191 and duplicate #31636 report the sam

[issue41910] Document that object.__eq__ implements `a is b`

2020-12-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +22562 pull_request: https://github.com/python/cpython/pull/23695 ___ Python tracker <https://bugs.python.org/issue41

[issue41910] Document that object.__eq__ implements `a is b`

2020-12-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 4aa67853cc7d6ed4f9ebb726ceaa2c89f9feabda by Terry Jan Reedy in branch 'master': bpo-41910: move news entry (GH-23695) https://github.com/python/cpython/commit/4aa67853cc7d6ed4f9ebb726ceaa2c

[issue41910] Document that object.__eq__ implements `a is b`

2020-12-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +22564 pull_request: https://github.com/python/cpython/pull/23697 ___ Python tracker <https://bugs.python.org/issue41

[issue41910] Document that object.__eq__ implements `a is b`

2020-12-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +22565 pull_request: https://github.com/python/cpython/pull/23698 ___ Python tracker <https://bugs.python.org/issue41

[issue41910] Document that object.__eq__ implements `a is b`

2020-12-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b947b305a6833cc059214d5bdd2065edd65024c4 by Terry Jan Reedy in branch '3.8': [3.8] bpo-41910: move news entry (GH-23698) https://github.com/python/cpython/commit/b947b305a6833cc059214d5bdd2065

[issue41910] Document that object.__eq__ implements `a is b`

2020-12-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a3a4bf3b8dc79e4ec4f24f59bd1e9e2a75229112 by Terry Jan Reedy in branch '3.9': [3.9] bpo-41910: move news entry (GH-23697) https://github.com/python/cpython/commit/a3a4bf3b8dc79e4ec4f24f59bd1e9e

[issue42621] Python IDLE no longer opens after clicking on its icon

2020-12-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://docs.python.org/3/library/idle.html#startup-failure says "A common cause of failure is a user-written file with the same name as a standard library module, such as random.py and tkinter.py. When such a file is located in the same directory as a

[issue42575] Suggest to add an LinkedList data structure to python

2020-12-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: The opening claim (no linked list structures in Python) is flawed. Abstractly, a linked list is a binary tree with right items of nodes restricted to being a linked list or None. If the left items are restricted to being non-lists values, then the linked

[issue42603] Tkinter: pkg-config is not used to get location of tcl and tk headers/libraries

2020-12-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Correctly prefixed, issue 42541 and #42541 are links. And thanks for doing CLA first. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue42

[issue42611] PEP 594 Removing dead batteries from stdlib

2020-12-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Until a pep is approved, discussion of its ideas belong elsewhere; an issue is only needed for a proposed implementation Is PR 23728 purely for discussion leading to possible approval of the PEP, or for merging regardless of the PEP fate? -- nosy

[issue42623] IDLE: Syntax Error showing pointer in wrong location

2020-12-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Current IDLE indicates the SyntaxError position given by Python by highlighting the character, as in the editor. No more caret. End of problem. There is no fixed-width Unicode font. I revised the font sample in part to let people see which alphabets

[issue42623] IDLE: Syntax Error showing pointer in wrong location

2020-12-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: "Your message to 1051...@student.auhsd.us has been blocked. ... This email has been rejected because it is directed outside the AUHSD domain." Makes no sense unless the link back here was an issue. Oh wel

[issue42638] IDLE: Context lines not working correctly

2020-12-14 Thread Terry J. Reedy
New submission from Terry J. Reedy : Test: open editor.py in editor. Turn on Code context with large max lines. Scroll down to body of _sphinx_version (after line 37). Nothing appears. Scroll down to line 82 in EditorWindow.__init__. 'def _sphinx_version' appears. Scroll up (

[issue33610] IDLE: Make multiple improvements to CodeContext

2020-12-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: E4. Max context lines = 0 is treated as infinity. For depth 0, "self.info[-self.context_depth:]" is whole slice. I don't remember if this is intended (if one does not want context, don't toggle it on), but it is not documented in

[issue42638] IDLE: Context lines not working correctly

2020-12-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is a false report due to a brain glitch. -- resolution: -> not a bug stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33610] IDLE: Make multiple improvements to CodeContext

2020-12-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Delete E6. No bug. I do have a couple of internal edits. -- dependencies: -IDLE: Context lines not working correctly ___ Python tracker <https://bugs.python.org/issue33

[issue33610] IDLE: Make multiple improvements to CodeContext

2020-12-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +22629 pull_request: https://github.com/python/cpython/pull/23773 ___ Python tracker <https://bugs.python.org/issue33

[issue33610] IDLE: Make multiple improvements to CodeContext

2020-12-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 6f79e60b66dacefca147bdaa80eb37f936a72991 by Terry Jan Reedy in branch 'master': bpo-33610: Edit idlelib.codecontext (GH-23773) https://github.com/python/cpython/commit/6f79e60b66dacefca147bdaa80eb37

[issue33610] IDLE: Make multiple improvements to CodeContext

2020-12-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 99d37a0ee82c16f30a874c9b583d59a3844dc9c9 by Miss Islington (bot) in branch '3.9': bpo-33610: Edit idlelib.codecontext (GH-23773) (GH-23775) https://github.com/python/cpython/commit/99d37a0ee82c16f30a874c9b583d59

[issue14935] PEP 384 Refactoring applied to _csv module

2020-12-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.4 ___ Python tracker <https://bugs.python.org/issue14935> ___ ___ Python-bugs-list mailin

[issue42624] sqlite3 package document mistake

2020-12-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: The doc is the same in 3.10. What OS and exact Python release? Can you post minimal code that verifies your claim? (Someone what have to verify with 3.10 also.) This would strike me as an error in the code. We can fix 'wrong Exception' in

[issue42633] Wave documentation doesn't mention signed/unsigned requirements

2020-12-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I not sure about 'very useful'. One has to know a lot more than the sample width in bytes, which can be 1 to 4 (according to the code), not just 1 to 2 (as implied by https://en.wikipedia.org/wiki/WAV), to effectively use the module. Such thi

[issue42649] RecursionError when parsing unwieldy expression (regression from 2.7 -> 3.x)

2020-12-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: One can use sys.setrecursionlimit to increase allowed recursion depth. But... When I ran code from 3.10.0a3 IDLE editor, something hung. Without touching recursion limit, when I split statement apart into ex = compile("""<300 lines>&

[issue42672] tkinter/__init__.py raises a NameError if NoDefaultRoot()

2020-12-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue42672> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42691] macOS 11.1 + Homebrew 2.6.2 + Python 3.9.1 = "IDLE" crash

2020-12-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is a 'ancient, buggy tcl/tk 8.5.9 on OS11' issue, not an IDLE issue. Only 8.6.10 has a chance with OS11, and even that is a bit flakey. But I have no issues so far running 3.9.1 and IDLE with the Universal2 OS11 build from python.org on Moh

[issue42691] macOS 11.1 + Homebrew 2.6.2 + Python 3.9.1 = "IDLE" crash

2020-12-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: To use tkinter and hence IDLE and turtle on macOS, get the Mac Python installer on python.org. -- ___ Python tracker <https://bugs.python.org/issue42

[issue38946] IDLE on macOS 10.15 Catalina does not open double-clicked files if app already launched

2020-12-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Tkinter ___ Python tracker <https://bugs.python.org/issue38946> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42721] Using of simple dialogs without default root window

2020-12-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: The does not affect IDLE, as the two ask... calls pass parent. (And I may someday replace them with query.Query subclasses.) But I do prefer that tkinter act consistently and sensibly for others. The PR's initial commit message adds this justific

[issue42685] Improve placing of simple query windows.

2020-12-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I took a look at the somewhat messy popup placement in IDLE. The query.Query subclasses are centered over their parent. Some others are over the window but up and to the left. Maybe they have a custom geometry setting that I should delete. Search and

[issue42687] tokenize module does not recognize Barry as FLUFL

2020-12-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: I strongly disagree. '<>' is not a legal operator any more. It is a parse-time syntax error. Whatever historical artifact is left in the CPython tokenizer, recognizing '<>' is not exposed to Python code. >>> p = a

[issue42716] Segmentation fault in running ast.parse() with large expression size.

2020-12-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Segmentation fault in running ast.literal_eval() with large expression size. ___ Python tracker <https://bugs.python

[issue42715] Segmentation fault in running exec() with large expression size.

2020-12-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Segmentation fault in running ast.literal_eval() with large expression size. ___ Python tracker <https://bugs.python

[issue42714] Segmentation fault in running compile() with large expression size.

2020-12-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Segmentation fault in running ast.literal_eval() with large expression size. ___ Python tracker <https://bugs.python

[issue42713] Segmentation fault in running eval() with large expression size.

2020-12-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Segmentation fault in running ast.literal_eval() with large expression size. ___ Python tracker <https://bugs.python

[issue42733] io's r+ mode truncate(0)

2020-12-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: "Enhancements" (non-bugfix feature changes) can only be applied to future versions. However, you are asking for the reversion of an intentional feature change made in a 'bugfix' release# for (I believe) 3.1. Before the change, as I rem

[issue42735] "trace_at_recursion_limit.py" should be removed from "Python/Lib/test/crashers"

2020-12-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +serhiy.storchaka versions: -Python 3.7 ___ Python tracker <https://bugs.python.org/issue42735> ___ ___ Python-bugs-list m

[issue26407] csv.writer.writerows masks exceptions from __iter__

2020-12-31 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: patch review -> commit review versions: -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issu

[issue42804] Unable to compile the cpython code x86 windows

2021-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From the evidence presented, the problem building 3.8 on Win 10 is not with >our build code. I therefore believe that this should be closed as '3rd-party' >and that Sunny should inquire on python-list about the permission problem. >

[issue32631] IDLE: revise zzdummy.py

2021-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e40e2a2cc94c554e7e245a8ca5a7432d31a95766 by Cheryl Sabella in branch 'master': bpo-32631: IDLE: Enable zzdummy example extension module (GH-14491) https://github.com/python/cpython/commit/e40e2a2cc94c554e7e245a8ca5a743

[issue32631] IDLE: revise zzdummy.py

2021-01-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +22944 pull_request: https://github.com/python/cpython/pull/24114 ___ Python tracker <https://bugs.python.org/issue32

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2021-01-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d05b470d6ad6dfe0d4933ffc3c5c1e2c03b390bd by Miss Islington (bot) in branch '3.8': bpo-42508: Keep IDLE running on macOS (GH-23577) (#23670) https://github.com/python/cpython/commit/d05b470d6ad6dfe0d4933ffc3c5c1e

[issue42508] macOS IDLE with Tk 8.6.10 in 3.9.1rc1 universal2 installer fails smoke test

2021-01-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe that this issue is done. Please open a new one if more is needed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32631] IDLE: revise zzdummy.py

2021-01-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d82392facefe0564dd55aa2adf04bf21c704858d by Terry Jan Reedy in branch '3.9': [3.9] bpo-32631: IDLE: Enable zzdummy example extension module (GH-14491) https://github.com/python/cpython/commit/d82392facefe0564dd55aa2adf04bf

[issue32631] IDLE: revise zzdummy.py

2021-01-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +22945 pull_request: https://github.com/python/cpython/pull/24115 ___ Python tracker <https://bugs.python.org/issue32

[issue32631] IDLE: revise zzdummy.py

2021-01-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://stackoverflow.com/questions/65567057/how-can-i-get-started-developing-extensions-for-python-idle prompted me to finish this enough to merge it. My intention was that in the absence of a selection, all lines should be prefixed, not just the current

[issue32631] IDLE: revise zzdummy.py

2021-01-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a087a97438e922fcace357ff4c29806ff65838d8 by Terry Jan Reedy in branch '3.8': [3.8] bpo-32631: IDLE: Enable zzdummy example extension module (GH-14491) https://github.com/python/cpython/commit/a087a97438e922fcace357ff4c2980

[issue32631] IDLE: revise zzdummy.py

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

[issue42831] IDLE fix colours for MacOS dark mode

2021-01-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: This might be related to #7949, about KDE/GTK dark themes. In general, IDLE only controls colors for Shell and editor windows, leaving dialogs to system default. This appears to be true for the settings and search dialogs. 'About' is unusual in h

[issue42746] python3.7.3 - ssl.SSLContext() - "Killed"

2021-01-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.7.3 is an old release of an old version. It has already been patched a few times. If you cannot upgrade to at least the last bugfix release of 3.7, you are somewhat on your own. The word 'Killed' in not in the ssl module, so I presume it come

[issue42712] Segmentation fault in running ast.literal_eval() with large expression size.

2021-01-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed the following by Xinmeng as duplicates of this: #42713 eval(...) #42714 compile(...) #42715 exec(...) #42716 ast.parse(...) This is probably a duplicate of #42609, and should likely be closed also. -- nosy: +terry.reedy

[issue42807] smtplib send_message should gives more clear exception if the msg is None

2021-01-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am not familiar with either smtp or email, but I can make some general comments. 1. "AttributeError: 'NoneType' object has no attribute 'get_all'" seems pretty straightforward to me. Hard to debug? Depends on knowledge and

[issue42812] @overload-ing method of parent class without actual implementation

2021-01-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +gvanrossum, levkivskyi ___ Python tracker <https://bugs.python.org/issue42812> ___ ___ Python-bugs-list mailing list Unsub

[issue42820] Sphinx conf.py needs_version entry is outdated

2021-01-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +mdk ___ Python tracker <https://bugs.python.org/issue42820> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42825] Build libraries with "/OPT:REF" linker optimization on Windows

2021-01-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: The PR says that this deletes "uncalled code". I imagine that this is safe for a .exe. But for a .dll? As i understand it, one can, from python code, access any function via ctypes, so it seems to me that there is no way for the linker to

[issue42820] Sphinx conf.py needs_version entry is outdated

2021-01-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is related to #42843, which is about deciding what the min sphinx should be. Since the alternative to 3.2 is some 2.x, 1,8 is certainly wrong. -- nosy: +terry.reedy ___ Python tracker <ht

[issue42849] pool worker can't be terminated

2021-01-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.7 has not gotten bug fixes for a couple of years. This needs to be verified on a current release. -- nosy: +davin, pitrou, terry.reedy ___ Python tracker <https://bugs.python.org/issue42

[issue9673] Entry Widget Not Editable under Windows XP with dialog call.

2021-01-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: My testing was inadequate. From #42867, it appears that 0. the bug is limited to Windows; 1. opening a canned dialog or message box is part of getting the buggy behavior; 2. timing is involved; 3. the bug can be exhibited on Windows directly with wish/tk

[issue42867] Entry Widget not editable on Windows 10, but is on Linux Ubuntu 16.04

2021-01-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I added this note to #9673 after rereading the posts and the 2010 tkinter list thread. "My testing was inadequate. From #42867, it appears that 0. the bug is limited to Windows; 1. opening a canned dialog or message box is part of getting the

[issue42867] Entry Widget not editable on Windows 10, but is on Linux Ubuntu 16.04

2021-01-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: No problem. While your failing example was 'too long', you *did* search and find the appropriate previous issue, with my inadequate response and incorrect resolution, even though closed. I appreciate having my understanding fixed. IDLE uses sev

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2021-01-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Phillipe: I was the first to comment, but had no futher involvement with this issue until now. Multiple people, including coredevs, considered the old behavior to be buggy and multiple people, including coredevs, contributed to the fix. You are unlikely

[issue33065] IDLE debugger: failure stepping through module loading

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

[issue33065] IDLE debugger: failure stepping through module loading

2021-01-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am reluctant to make changes without adding tests, and until I focused again on how to do so, because of your ping, I had no idea how to do so. The added test results in the same error, "AttributeError: 'BinData' object has no attribute &#

[issue33065] IDLE debugger: failure stepping through module loading

2021-01-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 81f87bbf9f65702062021a78abd9b8f82c98a414 by Terry Jan Reedy in branch 'master': bpo-33065: Fix problem debugging user classes with __repr__ method (GH-24183) https://github.com/python/cpython/commit/81f87bbf9f65702062021a78abd9b8

[issue33065] IDLE debugger: failure stepping through module loading

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

[issue42867] Entry Widget not editable on Windows 10, but is on Linux Ubuntu 16.04

2021-01-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: With a truly minimal but reproducible example, I was able to understand and experiment. As is, widget creation is done without the event loop running. Displaying the message box shifts grabs the internal focus but also displays the unfocused tk window

[issue42827] pegen parser: Multiline eval with assignment to function call: assertion failed

2021-01-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows, Victor's one liner failed on repository debug builds with Windows' process error popup. I have seen this mysterious failure at least once when testing IDLE Shell running on the repository build. After the patch, my debug build

[issue42827] pegen parser: Multiline eval with assignment to function call: assertion failed

2021-01-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: In order to test code.InteractiveCompiler (used by IDLE) and codeop._maybe_compile (which IC calls), which calls compile() 3 times with mode 'single', I entered the example as 2 or 3 lines in Shell. >>> [file for str(file) in [] # Er

[issue42885] Regex performance problem with ^ aka AT_BEGINNING

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

[issue42888] Not installed “libgcc_s.so.1” causes exit crash.

2021-01-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +C API -Interpreter Core title: Not installed “libgcc_s.so.1” causes parser crash. -> Not installed “libgcc_s.so.1” causes exit crash. ___ Python tracker <https://bugs.python.org/issu

[issue42887] 100000 assignments of .__sizeof__ cause a segfault on del

2021-01-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Xinmeng, to verify Ronald's explanation, run this instead mystr = "hello123" for x in range(100): mystr = mystr.__sizeof__() input('>') # Hit Enter to continue. del mystr # Expect crash here. input('<'

[issue42889] Incorrect behavior after ast node visits

2021-01-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: The parser is not involved here. The transformed code is *not* equivalent to "1=2; print(1)" because you replace 'a' with the string '1', not the int 1. The result is to transform "globals()['a']=2; print(g

[issue42916] Support for DICOM image file format in imghdr module

2021-01-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can you submit a patch, or post here an test_dicom function? -- nosy: +terry.reedy stage: -> needs patch ___ Python tracker <https://bugs.python.org/issu

[issue42887] 100000 assignments of .__sizeof__ cause a segfault on del

2021-01-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mark, would your proposal in PEP-651 fix this case? -- nosy: +Mark.Shannon ___ Python tracker <https://bugs.python.org/issue42

[issue33289] tkinter askcolor returning floats for r, g, b values instead of ints

2021-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://www.tcl.tk/man/tcl8.6/TkCmd/winfo.htm says "winfo rgb window color Returns a list containing three decimal values in the range 0 to 65535, which are the red, green, and blue intensities that correspond to color in the window given by w

[issue33289] tkinter askcolor returning floats for r, g, b values instead of ints

2021-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: 65535 = 35536 - 1 = 256 * 256 - 1 == 255 * 257 On Windows, each r, g, b value is n * 257 for n in range(256) (see attached file). The precision loss happens when colors are stored, before the division in winfo_rgb. Perhaps 8 bits/channel (including alpha

[issue33289] tkinter askcolor returning floats for r, g, b values instead of ints

2021-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Your Linux result is the same as on Windows. Given strings 'abc' or 'abcd', ignore 'c' or 'cd' and expand 'ab' to 'abab', making value 0xabab. Is your computer Ubuntu (implying that personal U

[issue42447] robotsparser deny all with some rules

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

[issue40304] Classes created using type() don't need to explicitly inherit from object

2021-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 644d52818a6391535e5838fd57d58ffcb1163056 by Борис Верховский in branch 'master': bpo-40304: Correct type(name, bases, dict) doc (GH-19553) https://github.com/python/cpython/commit/644d52818a6391535e5838fd57d58ffcb1163056 -

<    29   30   31   32   33   34   35   36   37   38   >