[issue43652] Upgrade Windows tcl/tk to 8.6.11

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

[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Did you use revision 0, and in 8.6.11.0, or a later one? As I mentioned in #43719, I cannot currently build master, but I will upload a PR (with .0) for CI to test. -- ___ Python tracker <https://bugs.python.

[issue43679] ttk.Sizegrip disappears under Windows 10 UI Scaling, with dpiAware set true and >1 scaling

2021-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: In issue 33656, we determined that tcl/tk *is* dpi aware and that telling Windows so is needed for proper text display. IDLE now issues the same Windows command (idlelib.pyshell, line 20). This perhaps should be done by Python itself, but that is not my

[issue41969] ttk.RadioButtons mis-sized under Windows 10 UI Scaling, with dpiAware set true

2021-04-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.org/issue41969> ___ ___ Python-bugs-

[issue43719] Master build failure on Windows getting file system encoding

2021-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Re ""f:\dev\3x\PC\validate_ucrtbase.py" ucrtbased" exited with co de -1073741819." f:\dev\3x>py -3.10 PC\validate_ucrtbase.py ucrtbased C:\WINDOWS\SYSTEM32\ucrtbased.DLL is version 10.0.14393.33 so the failur

[issue43719] Master build failure on Windows getting file system encoding

2021-04-03 Thread Terry J. Reedy
New submission from Terry J. Reedy : After a fresh update from upstream > PCbuild\build.bat -D (or without -D) on my machine ends with python.vcxproj -> f:\dev\3x\PCbuild\amd64\python_d.pdb (Full PDB) Python path configuration: PYTHONHOME = (not set) PYTHONPATH = 'f:\dev\

[issue43716] curses.pair_number() function incorrect value under Windows

2021-04-03 Thread Peter J. Farley III
New submission from Peter J. Farley III : curses.pair_number() result under Windows (console or Terminal window) value must be shifted by 16 bits to be valid to use as input to the curses.pair_content() function. If the pair number result is not shifted, the call to curses.pair_content

[issue43715] curses inch() and scrbkgd() documentation ommissions

2021-04-03 Thread Peter J. Farley III
New submission from Peter J. Farley III : The documentation for the result values of curses functions inch() and scrbkgd() or how to use those result values are omitted entirely. Documentation should at least describe how to use the result values of these functions without necessarily

[issue43689] difflib: mention other "problematic" characters in documentation

2021-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: After 3+ years of Github I did not remember that B diffs use lines with change position markers and in particular that at they (often? always?) start with ?s. IDLE also uses color to mark positions (for syntax errors). The following would have been clearer

[issue43699] ERROR: Could not find a version that satisfies the requirement MetaTrader5

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Andre', direct issue like this to discussion forums like python-list. -- nosy: +terry.reedy stage: -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.org/i

[issue43689] difflib: mention other "problematic" characters in documentation

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The quote is in the following section. https://docs.python.org/3/library/difflib.html#difflib.Differ I do not really understand the previous line "Lines beginning with ‘?’ attempt to guide the eye to intraline differences, and were not present in either

[issue43684] Add combined opcodes

2021-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue43684> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43671] segfault when using pygame for ~5 minutes

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would not be surprised if using the gui features of both tkinter and pygame together did cause a crash, as both would be competing for the screen. Ditto if both were handling key and mouse events. That might be closed instead as "won'

[issue43671] segfault when using pygame for ~5 minutes

2021-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: segfault when using tkinter + pygame for ~5 minutes -> segfault when using pygame for ~5 minutes ___ Python tracker <https://bugs.python.org/issu

[issue43671] segfault when using tkinter + pygame for ~5 minutes

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

[issue43656] StackSummary.format fails if str(value) fails

2021-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue43656> ___ ___ Python-bugs-list mailin

[issue43634] Extensions build does not respect --jobs setting

2021-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +ncoghlan, petr.viktorin ___ Python tracker <https://bugs.python.org/issue43634> ___ ___ Python-bugs-list mailing list Unsub

[issue43705] [docs] Document that SyntaxError's offsets are 1-indexed

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Should we mention that the 4 attributes are also available as a 4-tuple that is the 2nd item of the args tuple, after the message? Doing so will help when illustrating the following. For syntax errors in f-string fields, the expanded doc is still

[issue19080] Enrich SyntaxError with additional information

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing because 2 of your 3 examples (and many others) have had the messages changed in an effort to be more informative. But Pablo can reverse this if he wants. In 3.10: >>> * 2 SyntaxError: can't use starred expression here +2 and -2

[issue43154] code.InteractiveConsole can crash if sys.excepthook is broken

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: code.InteractiveInterpreter handles SyntaxErrors separately in showsyntaxerror rather than showtraceback. The same problem arises with a bad excepthook in line 129. -- ___ Python tracker <ht

[issue37945] [Windows] test_locale.TestMiscellaneous.test_getsetlocale_issue1813() fails

2021-03-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Great! For the first time in over 2 years, the test suite passes on a Windows repository build on my machine. I will test installed 3.10 after the next alpha release. (3.10.0a7 has other failures as well

[issue42225] Tkinter hangs or crashes when displaying astral chars

2021-03-31 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.org/issue42225> ___ ___ Python-bugs-list mailin

[issue42225] Tkinter hangs or crashes when displaying astral chars

2021-03-31 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42225] Tkinter hangs or crashes when displaying astral chars

2021-03-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: On macOS with 3.10.0a, 8.6.11 appears to fix this issue. >>> chr(128516) "" For IDLE, I am adding a paragraph to the doc. I will then close this issue as 'fixed' (insofar as we can for what is a 3rd party failure). -- stage: p

[issue42225] Tkinter hangs or crashes when displaying astral chars

2021-03-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 1b4a9c7956d5dc64f8002f62bf0faae2d1892f90 by Terry Jan Reedy in branch 'master': bpo-42225: IDLE - document two unix-related problems. (#25078) https://github.com/python/cpython/commit/1b4a9c7956d5dc64f8002f62bf0faae2d1892f90

[issue43654] IDLE: Applying settings disables tab completion

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Investigation of this issue is complicated by the fact that the editor test widgets are wrapped by multicall.MulticallCreator. It intercepts bind and event method calls (other than event_generate) for user pseudoevents. It keeps its own map of pseudoevent

[issue42225] Tkinter hangs or crashes when displaying astral chars

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

[issue42225] Tkinter hangs or crashes when displaying astral chars

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: No, seems strictly a matter of complicated color, which is perhaps becoming more common. Firefox colors the checkbox (white checkmark on green field in a largish black square) but not the (smaller) pencil. I did not recognize either the FF or tk Windows

[issue43647] Sudden crash displaying certain characters in tk widget

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for reporting. While I may have had tab not work after the dialog, I had never connected the two. Nor, AFAIK, was there an existing report. I verified, investigated more, and opened #43654

[issue43654] IDLE: Applying settings disables tab completion

2021-03-29 Thread Terry J. Reedy
New submission from Terry J. Reedy : (Original report by Mikhail on #43647, running 3.9 on Linux; verified and extended by me running 3.10 on Windows.) Normally, "i" brings up a completion window with 'id', 'if', 'import', etc. Opening a Settings windows with Options => C

[issue42225] Tkinter hangs or crashes when displaying astral chars

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #43647 as a duplicate of this. It reported that BMP chars can fail also. For instance, with "Noto Sans Mono", but not 'Dejavu Mono', the following crash. >>> '\u2705' '✅' >>> '\u270f' '✏' Unfortunately, as lea

[issue43647] Sudden crash displaying certain characters in tk widget

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Closing as a duplicate. What's new here is that BMP chars can be affected also. I opened #43652 to upgrade Windows installer to 8.6.11 (though not needed for this) but I guess Linux users have to bug their distributor or learn to upgrade themselves

[issue39107] Upgrade Windows tcl/tk to 8.6.10

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: #43652 is for 8.6.11. -- ___ Python tracker <https://bugs.python.org/issue39107> ___ ___ Python-bugs-list mailing list Unsub

[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-03-29 Thread Terry J. Reedy
New submission from Terry J. Reedy : #39017, PR 22405 was too late for 3.9, but the new Mac installer is already using 8.6.11. Serhiy, do you know any reason not to upgrade the Windows installer to 8.6.11 also? Steve, should a new PR with '10' replaced with '11, where '9' was replaced

[issue37945] [Windows] test_locale.TestMiscellaneous.test_getsetlocale_issue1813() fails

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: So, can we delete it? PR 19781 is for #43510 and is listed here above only because this issue is mentioned. -- ___ Python tracker <https://bugs.python.org/issue37

[issue43647] Sudden crash displaying certain characters in tk widget

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is actually a tk and tkinter issue rather than IDLE issue as such. Python code can only catch Python exceptions, and I believe that the Xserver crash does not result in one. These crashes were reported on a different issue and the conclusion

[issue39231] Mistaken notion in tutorial

2021-03-27 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.8, Python 3.9 ___ Python tracker <https://bugs.python

[issue39231] Mistaken notion in tutorial

2021-03-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a53e9a7cf5912a44c5143e353912e44cfcfca7dc by Irit Katriel in branch 'master': bpo-39231: correct tutorial annotations section (GH-25029) https://github.com/python/cpython/commit/a53e9a7cf5912a44c5143e353912e44cfcfca7dc

[issue43606] tkinter: initial huge window & no widgets visible

2021-03-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -paul.moore, steve.dower, tim.golden, zach.ware title: PySimpleGUI: initial huge window & no widgets visible -> tkinter: initial huge window & no widgets visible ___ Python tracker <https://b

[issue43605] Eval/exec and comprehension scopes unclear in documentation

2021-03-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is not an execution bug. https://docs.python.org/3/reference/expressions.html#displays-for-lists-sets-and-dictionaries "However, aside from the iterable expression in the leftmost for clause, the comprehension is executed in a separate implicitly n

[issue43594] Subclass of both `ABC` and `ABCMeta` breaks on `__subclasscheck__`

2021-03-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Verified on Win10 for 3.8-3.10. 3.6 only gets security fixes. Guido, is the above a bug? (There is no listed abc or 'metaclass' expert and I don't know.) -- nosy: +gvanrossum, terry.reedy title: A metaclass that inherits both `ABC` and `ABCMeta

[issue43585] perf_counter() returns computers uptime

2021-03-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Eryk, if I understand correctly, this should be closed as 'not a bug'. Correct? -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue43

[issue43576] python3.6.4 os.environ error when write chinese to file

2021-03-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.6 only gets security patches. You or someone needs to show an unfixed bug in master. Your code runs for me on Windows, whereas you appear to be using *nix. Replacing job_name.encode() should have the same behavior. Do you see the same with job_name=&qu

[issue43568] Drop support for Mac OS X < 10.3 module linking

2021-03-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue43568> ___ ___ Pytho

[issue43565] PyUnicode_KIND macro does not has specified return type

2021-03-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +benjamin.peterson, ezio.melotti, lemburg ___ Python tracker <https://bugs.python.org/issue43565> ___ ___ Python-bugs-list m

[issue43564] ftp tests in test_urllib2net should skip on unreachable network

2021-03-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: ftp tests in test_urllib2net fail instead of skipping on unreachable network -> ftp tests in test_urllib2net should skip on unreachable network ___ Python tracker <https://bugs.python.org/issu

[issue43564] ftp tests in test_urllib2net fail instead of skipping on unreachable network

2021-03-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +giampaolo.rodola, orsenthil ___ Python tracker <https://bugs.python.org/issue43564> ___ ___ Python-bugs-list mailin

[issue43481] PyEval_EvalCode() namespace issue not observed in Python 2.7.

2021-03-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Perhaps both. If you want more discussion, please post to python-list. -- ___ Python tracker <https://bugs.python.org/issue43

[issue1634034] Show "expected" token on syntax error

2021-03-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think that this issue should be closed as 'out of date' as it was pretty open-ended and it is unclear what request remains. For the specific case "for a in (8,9)", the suggested "expected ':'" has been added on anot

[issue20608] 'SyntaxError: invalid token' is unfriendly

2021-03-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Fixed elsewhere. >>> 04208 File "", line 1 04208 ^ SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers >>> 0o38 File "", line 1 0o38

[issue25130] Make tests more PyPy compatible

2021-03-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: With 2.7 EOL, is this still relevant? -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue25130> ___ ___

[issue41064] Specialise syntax error of **dict in f-string field

2021-03-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Cressey noted both a compile and IDLE Shell issue. They must be handled separately by different people in separate bpo issues. The first is about the helpful versus less helpful SyntaxError messages in the following (master compiled today). >>&

[issue43600] IDLE: fix highlight locationfor f-string field errors

2021-03-22 Thread Terry J. Reedy
New submission from Terry J. Reedy : Spinoff from #41064. In current python, the f'{*x}' traceback ends with (*x) ^ SyntaxError: f-string: can't use starred expression here. For f'{**x}', the message is "f-string: invalid syntax" and the ^ is also under the 2nd

[issue10572] Move test sub-packages to Lib/test

2021-03-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I added idlelib.idletest in May 2013 with the concurrence of Nick Coughlin, who also suggested 'idle_test' rather than just 'test'. It currently has 72 files (66 test_xyz files for idlelib modules). Foord's opening justification for moving package tests

[issue43555] Location of SyntaxError with new parser missing (after continuation character)

2021-03-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Before the patch, IDLE highlighted the \n endline with a red background, which tk displays as red background from the blank space after the 4 to the right edge of the text widget, including in 3.8.8. The 3.8 result, different from REPL, is due

[issue40813] Line number of SyntaxError

2021-03-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Whatever the situation was last May, current 3.10 now results in a correct and improved traceback ending in File "F:\Python\a\tem4.py", line 2 print("hello world" ^ SyntaxError: '(' was never closed Same if \n or addi

[issue43535] Make str.join auto-convert inputs to strings.

2021-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I read all the responses as of this timestamp. They left me more persuaded that joining objects with a string (or bytes) is explicit enough that the objects *must* be coerced to strings. A problem with coercion in "1 + '2'" is that there i

[issue43481] PyEval_EvalCode() namespace issue not observed in Python 2.7.

2021-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Foolish me. Commenting out the first exec results in the 2nd exec raising. Commenting out the 2nd exec also results in the class code raising, which is what I expected. The point of the class code is to partially explain the exception, which is not a bug

[issue43544] mimetype default list make a wrong guess for illustrator file

2021-03-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue43544> ___ ___ Python-bugs-list mailin

[issue43535] Make str.join auto-convert inputs to strings.

2021-03-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am sympathetic to the 'hiding bugs' argument in general, but what bugs would this proposal hide? What bugs does print hide by auto-converting non-strings to strings? I recently had the same thought as Raymond's: "it would be nice if str.join conv

[issue43526] Programmatic management of BytesWarning doesn't work for native triggers.

2021-03-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue43526> ___ ___ Python-bugs-list m

[issue43520] Make Fraction(string) handle non-ascii slashes

2021-03-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with Raymond, at least for now. I would expect the string argument to Fraction to be quoted legal Python code. Without a lot of thought and discussion leading to a change in python design with respect to unicode and operators, this limits

[issue43518] textwrap.shorten does not always respect word boundaries

2021-03-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Verified in 3.10.0a6 that change is at 3 !s. I agree that is is a bug relative to the doc. The issue is that 'world!!!' is 8 chars, and by default, wrap splits that into 'w' and 'orld!!!' and add ' w' to 'hello'. >>> sh('hello world!!!', width=7)

[issue43504] Site linked in docs, effbot.org, down

2021-03-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> docs@python components: +Documentation nosy: +docs@python stage: -> needs patch title: effbot.org down -> Site linked in docs, effbot.org, down versions: +Python 3.10, Python 3.8, Python 3.9 _

[issue43494] Minor changes to Objects/lnotab_notes.txt

2021-03-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Skip, if you do not make a backport, you can close this. -- ___ Python tracker <https://bugs.python.org/issue43494> ___ ___

[issue43494] Minor changes to Objects/lnotab_notes.txt

2021-03-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 7cb033c423b65def1632d6c3c747111543b342a2 by Skip Montanaro in branch 'master': bpo-43494: Make some minor changes to lnotab notes (GH-24861) https://github.com/python/cpython/commit/7cb033c423b65def1632d6c3c747111543b342a2 -- nosy

[issue43490] IDLE freezes at random

2021-03-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: How are you starting IDLE? How are you using the turtle module? What does "can't get the window open" mean exactly? Does the menu item Shell => Restart Shell work? -- nosy: +terry.reedy ___ P

[issue43487] Rename __unicode__ methods to __str__ in 2to3 conversion

2021-03-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue43487> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43484] valid datetimes can become invalid if the timezone is changed

2021-03-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: This tracker is for patching CPython, including the docs. Questions for discussion should be posted to python-list. Perhaps such a discussion would lead to a concrete change proposal. In the meanwhile, I think that this should be closed as 'not a bug

[issue43481] PyEval_EvalCode() namespace issue not observed in Python 2.7.

2021-03-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I cannot reproduce in Python with either 3.8 or 3.10. (Please try with latter if you can.) I thought the issue might possibly be passing two different dicts, which results in the code being executed as if in a class statement, but it is not. code

[issue43531] Turtle module does not work

2021-03-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: For next time, the turtle module is not part of IDLE. -- assignee: terry.reedy -> components: +Library (Lib) -IDLE ___ Python tracker <https://bugs.python.org/issu

[issue43477] from x import * behavior inconsistent between module types.

2021-03-16 Thread Thomas J. Gallen
Thomas J. Gallen added the comment: Given the previous example, in test.py, replace: ``` print(test_module.test_submodule) ``` ...with: ``` assert(not hasattr(test_module, "test_submodule")) ``` ...because the issue is only the bottom half of `_find_and_load_unlocked`. Sp

[issue43477] from x import * behavior inconsistent between module types.

2021-03-15 Thread Thomas J. Gallen
Thomas J. Gallen added the comment: parent module* rather. Just saw that typo. -- ___ Python tracker <https://bugs.python.org/issue43477> ___ ___ Python-bug

[issue43477] from x import * behavior inconsistent between module types.

2021-03-15 Thread Thomas J. Gallen
Thomas J. Gallen added the comment: Yes, a package. There isn't actually that much in the txz. Most of the files are ostensibly empty. As an example, let's say we have the following files: test.py test_module/__init__.py test_module/test_submodule.py test.py contains: ```python import

[issue43496] macOS tkinter Save As doesn't accept keyboard shortcuts

2021-03-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you, EP, for being 'someone'. I should remember that you are the one who can current do these tests. I presume the reproducible 'this' is the non-response to cmd-A, cmd-Z, and so on. So closing as 3rd party, tcl/tk, issue. I comfirmed that Jacob's

[issue43496] Save As dialog in IDLE doesn't accept keyboard shortcuts on MacOS

2021-03-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: The menu items and Windows shortcuts work on Windows 10. Several shortcuts and some menu items do not work on macOS. The latter is true for the undo and clipboard items at the top of the Edit menu. The shortcuts do cause 'Edit' to flash, indicating

[issue43199] FAQ about goto lacks answer

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

[issue43199] FAQ about goto lacks answer

2021-03-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5e29021a5eb10baa9147fd977cab82fa3f652bf0 by Terry Jan Reedy in branch 'master': bpo-43199: Briefly explain why no goto (GH-24852) https://github.com/python/cpython/commit/5e29021a5eb10baa9147fd977cab82fa3f652bf0

[issue43422] Revert _decimal C API changes

2021-03-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: OK. I see no structural difference between his page and yours, https://bugs.python.org/user2040. No 'Roles' field, no 'User' entry, on either page, nor on mine. So you must be an admin who sees extra info. In any case, the last part of my comment stands

[issue18232] running a suite with no tests is not an error

2021-03-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: With more experience, I agree that 0/0 tests passing should not be a pass. -- ___ Python tracker <https://bugs.python.org/issue18

[issue43199] FAQ about goto lacks answer

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

[issue43411] wm_manage fails with ttk.Frame

2021-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: As an IDLE maintainer, I am a tkinter user also and that is my involvement in tkinter changes. One of my projects for IDLE has been to switch to ttk widgets, including ttk.Frame, wherever possible, for the reasons you gave. It is known the tkinter docs we

[issue43473] Junks in difflib

2021-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Currently return tuple (i, j, n), means that a[i:i+n] == b[j:j+n], where both matching blocks are the same length. https://docs.python.org/3/library/difflib.html#difflib.SequenceMatcher.get_matching_blocks This would not be the case if a has an ignored space

[issue43462] canvas.bbox returns None on 'hidden' items while coords doesn't

2021-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: (You don't use coords('tunnel') above because it only reports on the 'first' tagged object.) tkinter widget methods are generally thin wrappers around tk functions that translate between python objects and tk strings. I believe that this should be closed

[issue43461] Tottime column for cprofile output does not add up

2021-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: An actual example might help get an answer. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue43

[issue43425] test_peg_generator.test_c_parser emits DeprecationWarning due to distutils

2021-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steve, PEP 632 lacks a reference to the SC acceptance thereof. Could you add one? https://mail.python.org/archives/list/python-...@python.org/thread/TXU6TVOMBLQU3SV57DMMOA5Y2E67AW7P/ And can you verify my interpretation below? The warning is correct

[issue43422] Revert _decimal C API changes

2021-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: skrah is still a bpo user with an CLA-signed account linked to his github account. So he can post here and, I believe, open a PR as a contributor. But if, under the current circumstances, he feels more comfortable using Antoine as a go between, then I

[issue43420] Optimize rational arithmetics

2021-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: A possible resolution to this issue might be augmenting https://docs.python.org/3/library/fractions.html#module-fractions with a short paragraph or section on alternative implementations noting that there is a tradeoff between speed and complexity

[issue43418] FTPLib error when server returns byte message instead of string

2021-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: An exception exit is not a 'crash' for this tracker. The latter is an indefinite hang or a no-exception stackoverflow or the Windows equivalent error box (or worse). The linked issue appears to show an exception exit. -- title: FTPLib module

[issue43418] FTPLib module crashes when server returns byte message instead of string

2021-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.7 only gets security fixes. Please verify that this is an issue with 3.10, or at least 3.9, and give a reproducible test case. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue43

[issue43412] object.h -Wcast-qual warning

2021-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Victor, the apparent 3.10 regression is from your commit. -- nosy: +terry.reedy, vstinner ___ Python tracker <https://bugs.python.org/issue43

[issue43411] wm_manage fails with ttk.Frame

2021-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: You are confusing the widget path component, an arbitrary string of chars other than the separator '.', with the English word 'frame', which is also a tk command. In tk docs, 'a *frame*' is a widget (tk window) created with the 'frame' command. By default

[issue43198] One operation on sets < 1/100th as efficient in 3.9 than before

2021-03-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Operations on sets more than hundred times less efficient with python3.9 than with previous versions -> One operation on sets < 1/100th as efficient in 3.9 than before ___ Python tracker

[issue1207613] Idle Editor: Bottom Scroll Bar

2021-03-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Request in #43467 closed as duplicate of this. -- ___ Python tracker <https://bugs.python.org/issue1207613> ___ ___ Python-bug

[issue43467] IDLE: horizontal scrollbar

2021-03-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: This has been debated for 15 years see #1207613. The current patch, which only displays a scrollbar when needed, 'works', but in a way that is not visually acceptable. -- resolution: -> duplicate stage: -> resolved status: open -&g

[issue43379] Pasting multiple lines in the REPL is broken since 3.9

2021-03-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for retesting with the python.org installer. Since this is Homebrew specific, please open an issue with them, with the updated debug information. -- resolution: -> third party stage: -> resolved status: open -&g

[issue43366] Unclosed bracket bug in code.interact prevents identifying syntax errors

2021-03-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Add compile(..., mode='repl')? "If mode is 'repl', compile returns None to indicate that the code is incomplete as is but might become valid if more lines (or maybe just more code) were added" Deprecate _maybe_compile (and stop tryin

[issue43407] time.monotonic(): Docs imply comparing call N and call N+M is invalid for M>1

2021-03-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.or

[issue43407] time.monotonic(): Docs imply comparing call N and call N+M is invalid for M>1

2021-03-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ff5f05934db241dfafc604989b2de3487b09ca82 by Alex Willmer in branch 'master': bpo-43407: Clarify comparisons of time.monotonic() et al results (GH-24757) https://github.com/python/cpython/commit/ff5f05934db241dfafc604989b2de3487b09ca82

[issue43387] Enable pydoc to run as background job

2021-03-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed type: behavior -> enhancement versions: -Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/i

<    5   6   7   8   9   10   11   12   13   14   >