[issue40218] sys.executable is a false path if python is executed from gdb

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I shortened the title so that 'gdb' shows. I have never used gdb, but I am curious what *is* the path to the python running the python code after 'python'? Is it part of or included with gdb? If so, this seems a gdb bug, as it is the responsibility of the

[issue39481] Implement PEP 585 (Type Hinting Generics In Standard Collections)

2020-04-10 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 nosy_count: 5.0 -> 6.0 pull_requests: +18824 pull_request: https://github.com/python/cpython/pull/19469 ___ Python tracker ___ ___

[issue40219] ttk LabeledScale: label covered by hidden element

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.6 only get security fixes, but your nice minimal, complete verifiable example let me verify easily on 3.9a5 with tk 8.6.9 and 3.6 with 8.6.6 and 2.7.17 with 8.5.19. The hidden element appears to be something like'||' with only part visible, depending on th

[issue40208] Remove deprecated symtable.SymbolTable.has_exec

2020-04-10 Thread Guido van Rossum
Guido van Rossum added the comment: Yeah, this seems safe to remove. If somebody's code breaks, that will just help them remove some dead code. -- ___ Python tracker ___

[issue30140] Binary arithmetic does not always call subclasses first

2020-04-10 Thread Guido van Rossum
Guido van Rossum added the comment: Let's give up on this one. -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue40246] Different error messages for same error - invalid string prefixes

2020-04-10 Thread Guido van Rossum
Guido van Rossum added the comment: But that is the tokenize.py module. It does not have 100% the same behavior as the builtin tokenizer.c module. In this case it probably doesn't. -- ___ Python tracker ___

[issue25680] Selector.select() hangs when there is nothing to select

2020-04-10 Thread Guido van Rossum
Guido van Rossum added the comment: That may well be correct. Do you want to submit a PR to fix it? -- ___ Python tracker ___ ___ P

[issue40244] AIX: build: _PyObject_GC_TRACK Asstertion failure

2020-04-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +BTaskaya, pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue40235] confusing documentation for IOBase.__exit__

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please post or attach *minimal* and complete (runnable as is) code that does not do what you expect. -- nosy: +terry.reedy ___ Python tracker __

[issue40066] Enum._convert should change __repr__ and/or __str__ to use module name instead of class name

2020-04-10 Thread Vedran Čačić
Vedran Čačić added the comment: > _in some cases when enum instances are exposed as module globals_ Yes. And repr should be inverse of eval, but it's probably too late for that. :-/ -- nosy: +veky ___ Python tracker

[issue40199] Invalid escape sequence DeprecationWarnings don't trigger by default

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: OK, verified issue with installed 3.9.0a5, which must have different warning settings. >From a file, 1 warning. :1: DeprecationWarning: invalid escape sequence \d Interactively, no warning. >>> compile("'\d'", "", "eval") at 0x0263842DFC90, file "", li

<    1   2