[issue43709] Windows Tools\buildbot\clean.bat misses some needed pyc/pyo removal

2021-04-02 Thread David Bolen
Change by David Bolen : -- keywords: +patch pull_requests: +23904 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25157 ___ Python tracker ___

[issue29672] `catch_warnings` context manager causes all warnings to be printed every time, even after exiting

2021-04-02 Thread Tom Aldcroft
Tom Aldcroft added the comment: I encountered this issue today and want to +1 getting some attention on this. The disconnected nature of this issue makes it especially difficult to understand -- any package in the stack can change this hidden global variable `_filters_version` in the warning

[issue43684] Add combined opcodes

2021-04-02 Thread Tim Peters
Tim Peters added the comment: """ My philosophy here (which I learned from Tim Peters in the early 2000s) is that even though each individual improvement has no measurable effect on a general benchmark (as shown in the same comment), the combined effect of a number of tiny improvements can be

[issue43684] Add combined opcodes

2021-04-02 Thread Guido van Rossum
Guido van Rossum added the comment: Statically, in the stdlib, about 1 in a 1000 opcodes is an ADD_INT candidate. I'll have to do some more work to come up with a dynamic count. -- ___ Python tracker __

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

2021-04-02 Thread miss-islington
miss-islington added the comment: New changeset 63c69440c7adb0de1d191a8d3d100b335d5c2f81 by Miss Islington (bot) in branch '3.9': bpo-43705: Document that SyntaxError's offsets are 1-indexed (GH-25153) https://github.com/python/cpython/commit/63c69440c7adb0de1d191a8d3d100b335d5c2f81 ---

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

2021-04-02 Thread miss-islington
miss-islington added the comment: New changeset 06653f8d15a8a84ee0f43f739704a9a63c27de54 by Miss Islington (bot) in branch '3.8': bpo-43705: Document that SyntaxError's offsets are 1-indexed (GH-25153) https://github.com/python/cpython/commit/06653f8d15a8a84ee0f43f739704a9a63c27de54 ---

[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

[issue43684] Add combined opcodes

2021-04-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Statically, in the stdlib, about 1 in a 1000 opcodes > is an ADD_INT candidate. I would expect that ADD_INT would typically occur in loops, so even if it is a rare opcode statically, it will really count when it used. -- nosy: +rhettinger

[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 are also valid

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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe:

[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 ___ ___ Python-bugs-list mailing list Unsubscrib

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

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

[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't fix" -- n

[issue43684] Add combined opcodes

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

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

[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

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

2021-04-02 Thread Tim Peters
Tim Peters added the comment: Lines beginning with "?" are entirely synthetic: they were not present in either input. So that's what that part means. I'm not clear on what else could be materially clearer without greatly bloating the text. For example, >>> d = difflib.Differ() >>> for L in

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

2021-04-02 Thread Christoph Gohlke
New submission from Christoph Gohlke : First reported at https://github.com/numpy/numpy/issues/18720 After upgrading to Python 3.9.3, 32-bit on Windows, importing numpy (installed via `pip install numpy`) crashes: ``` Microsoft Windows [Version 10.0.19041.906] C:\Python39-32>python -X dev Pyt

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

2021-04-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +Mark.Shannon, lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list U

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

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: After 3+ years of Github I did not remember that B&W 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

<    1   2