[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-18 Thread Christian Heimes


Change by Christian Heimes :


--
pull_requests: +22252
pull_request: https://github.com/python/cpython/pull/23359

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-18 Thread Christian Heimes


Change by Christian Heimes :


--
pull_requests: +22253
pull_request: https://github.com/python/cpython/pull/23360

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-18 Thread Christian Heimes


Christian Heimes  added the comment:

$ grep -l -R PyModule_Create . | sort
./_asynciomodule.c
./cjkcodecs/cjkcodecs.h
./cjkcodecs/multibytecodec.c
./_csv.c
./_ctypes/_ctypes.c
./_cursesmodule.c
./_datetimemodule.c
./_decimal/_decimal.c
./_elementtree.c
./gcmodule.c
./grpmodule.c  [*]
./_hashopenssl.c  [*]
./_io/_iomodule.c
./_multiprocessing/posixshmem.c
./ossaudiodev.c
./_pickle.c
./_posixsubprocess.c
./pwdmodule.c  [*]
./pyexpat.c  [*]
./_queuemodule.c
./_randommodule.c
./readline.c
./selectmodule.c
./socketmodule.c
./spwdmodule.c
./_sqlite/module.c
./_sre.c
./_ssl.c  [*]
./_struct.c
./symtablemodule.c
./_testbuffer.c
./_testcapimodule.c
./_testimportmultiple.c
./_testinternalcapi.c
./_threadmodule.c
./_tkinter.c
./_tracemalloc.c
./_xxsubinterpretersmodule.c
./_xxtestfuzz/_xxtestfuzz.c

[*] == open PR

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-18 Thread Erlend Egeberg Aasland


Erlend Egeberg Aasland  added the comment:

For sqlite3, see bpo-42064

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42372] A crash in do_richcompare

2020-11-18 Thread Alexander Kurakin


Alexander Kurakin  added the comment:

Ok, close.

--
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42202] Optimize function annotation

2020-11-18 Thread Yurii Karabas


Yurii Karabas <1998uri...@gmail.com> added the comment:

> func.__annotations__ =  ('x', 'int', 'z', 'float', 'return', 'Hoge') is much 
> better because:

Inada, I totally agree with you. Sorry, I didn't realize all pitfalls with 
extra field to codeobject.

New implementation with annotations representation as a single tuple doesn't 
require a lot to change to the existing codebase. And I have already done it.

I rerun all benchmarks and there is no performance degradation in a case when 
the function doesn't have annotations and it's more than 2 times faster when 
the function has annotations.

Benchmark results:
```
def f(x: int, /, y, *, z: float) -> int: pass

Python 3.8.3
500 loops, best of 5: 209 nsec per loop
Python 3.9.0
500 loops, best of 5: 232 nsec per loop
Python 3.10.0a2+
500 loops, best of 5: 138 nsec per loop
Python 3.10.0a2+ with compact representation
500 loops, best of 5: 56.1 nsec per loop

def f(a: int, /, b: int, *, c: int) -> None: pass

Python 3.8.3
500 loops, best of 5: 241 nsec per loop
Python 3.9.0
500 loops, best of 5: 274 nsec per loop
Python 3.10.0a2+
500 loops, best of 5: 158 nsec per loop
Python 3.10.0a2+ with compact representation
500 loops, best of 5: 58.8 nsec per loop

def f(a: int, /, b: int, *, c: int, **d: int) -> None: pass

Python 3.8.3
500 loops, best of 5: 256 nsec per loop
Python 3.9.0
500 loops, best of 5: 326 nsec per loop
Python 3.10.0a2+
500 loops, best of 5: 264 nsec per loop
Python 3.10.0a2+ with compact representation
500 loops, best of 5: 87.1 nsec per loop

def f(a: int, b: str) -> None: pass

Python 3.6.8
500 loops, best of 3: 0.215 usec per loop
Python 3.7.6
500 loops, best of 5: 201 nsec per loop
Python 3.8.3
500 loops, best of 5: 204 nsec per loop
Python 3.9.0
500 loops, best of 5: 204 nsec per loop
Python 3.10.0a2+
500 loops, best of 5: 137 nsec per loop
Python 3.10.0a2+ with compact representation
500 loops, best of 5: 55.8 nsec per loop

def f(a: int, *, b: int) -> None: pass

Python 3.6.8
500 loops, best of 3: 0.186 usec per loop
Python 3.7.6
500 loops, best of 5: 181 nsec per loop
Python 3.8.3
500 loops, best of 5: 166 nsec per loop
Python 3.9.0
500 loops, best of 5: 189 nsec per loop
Python 3.10.0a2+
500 loops, best of 5: 138 nsec per loop
Python 3.10.0a2+ with compact representation
500 loops, best of 5: 64.7 nsec per loop

def f(a, /, b, *, c) -> None: pass

Python 3.8.3
500 loops, best of 5: 96 nsec per loop
Python 3.9.0
500 loops, best of 5: 102 nsec per loop
Python 3.10.0a2+
500 loops, best of 5: 98.7 nsec per loop
Python 3.10.0a2+ with compact representation
500 loops, best of 5: 57.4 nsec per loop

def f(a, /, b, *, c, **d) -> None: pass

Python 3.8.3
500 loops, best of 5: 97.8 nsec per loop
Python 3.9.0
500 loops, best of 5: 105 nsec per loop
Python 3.10.0a2+
500 loops, best of 5: 96.8 nsec per loop
Python 3.10.0a2+ with compact representation
500 loops, best of 5: 58.3 nsec per loop

def f(a, b) -> None: pass

Python 3.6.8
500 loops, best of 3: 0.107 usec per loop
Python 3.7.6
500 loops, best of 5: 99.7 nsec per loop
Python 3.8.3
500 loops, best of 5: 97.5 nsec per loop
Python 3.9.0
500 loops, best of 5: 103 nsec per loop
Python 3.10.0a2+
500 loops, best of 5: 100 nsec per loop
Python 3.10.0a2+ with compact representation
500 loops, best of 5: 57.5 nsec per loop

def f(a, *, b) -> None: pass

Python 3.6.8
500 loops, best of 3: 0.105 usec per loop
Python 3.7.6
500 loops, best of 5: 99.4 nsec per loop
Python 3.8.3
500 loops, best of 5: 95.5 nsec per loop
Python 3.9.0
500 loops, best of 5: 103 nsec per loop
Python 3.10.0a2+
500 loops, best of 5: 94.9 nsec per loop
Python 3.10.0a2+ with compact representation
500 loops, best of 5: 59.2 nsec per loop

def f(): pass

Python 3.6.8
500 loops, best of 3: 0.0542 usec per loop
Python 3.7.6
500 loops, best of 5: 51.2 nsec per loop
Python 3.8.3
500 loops, best of 5: 52.3 nsec per loop
Python 3.9.0
500 loops, best of 5: 52.1 nsec per loop
Python 3.10.0a2+
500 loops, best of 5: 60.8 nsec per loop
Python 3.10.0a2+ with compact representation
500 loops, best of 5: 59.8 nsec per loop

def f(a, /, b, *, c): pass

Python 3.8.3
500 loops, best of 5: 56.1 nsec per loop
Python 3.9.0
500 loops, best of 5: 59.8 nsec per loop
Python 3.10.0a2+
500 loops, best of 5: 64 nsec per loop
Python 3.10.0a2+ with compact representation
500 loops, best of 5: 60.6 nsec per loop

def f(a, /, b, *, c, **d): pass

Python 3.8.3
500 loops, best of 5: 53.6 nsec per loop
Python 3.9.0
500 loops, best of 5: 50.7 nsec per loop
Python 3.10.0a2+
500 loops, best of 5: 54.1 nsec per loop
Python 3.10.0a2+ with compact representation
500 loops, best of 5: 53.9 nsec per loop

def f(a, b): pass

Python 3.6.8
500 loops, best of 3: 0.054 usec per loop
Python 3.7.6
500 loops, best of 5: 53.9 nsec per loop

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-18 Thread Christian Heimes


Change by Christian Heimes :


--
pull_requests: +22254
pull_request: https://github.com/python/cpython/pull/23361

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37009] Threading and THREAD_SAFE for AIX

2020-11-18 Thread Christian Heimes


Change by Christian Heimes :


--
versions: +Python 3.10, Python 3.9 -Python 2.7, Python 3.5, Python 3.6, Python 
3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37733] Fail to build _curses module of Python 3.7.4 on AIX 7.1 using gcc

2020-11-18 Thread Christian Heimes


Christian Heimes  added the comment:

Closing

As Kevin explained 3.7 only receives security fixes.

--
nosy: +christian.heimes
resolution:  -> out of date
stage:  -> resolved
status: open -> closed
type:  -> compile error

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24132] Direct sub-classing of pathlib.Path

2020-11-18 Thread qb-cea


qb-cea  added the comment:

Hi,

Thanks for reviving this! Feel free to reuse any code I wrote in my PR (or the 
whole PR itself), I do not think I will ever get around to finishing this work 
myself.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42397] lstrip 处理出现bug

2020-11-18 Thread sagewang

New submission from sagewang <786607...@qq.com>:

>>> "prefix_prj_t_suffix".strip().lstrip('prefix_prj_').rstrip('_suffix')
't'
>>> "data_prj_t_suffix".strip().lstrip('data_prj_').rstrip('_suffix')
''

--
components: Extension Modules
messages: 381323
nosy: wsqat
priority: normal
severity: normal
status: open
title: lstrip 处理出现bug
type: behavior
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42397] lstrip 处理出现bug

2020-11-18 Thread Christian Heimes


Christian Heimes  added the comment:

The methods works as designed and documented. The arguments to str.strip, 
lstrip, and rstrip methods are not prefixes / suffixes. They are sets of 
characters.

>>> "bad".lstrip("ab")
'd'

https://docs.python.org/3/library/stdtypes.html?highlight=lstrip#str.lstrip

--
nosy: +christian.heimes
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23987] docs about containers membership testing wrong for broken objects

2020-11-18 Thread Peter Nowee


Change by Peter Nowee :


--
nosy: +peternowee

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42398] Race condition in "make regen-all" when running jobs in parallel

2020-11-18 Thread STINNER Victor


New submission from STINNER Victor :

When building the Fedora package of Python 3.10, *sometimes* the "make 
regen-all" fail to build with errors like:

/builddir/build/BUILD/Python-3.9.0/Modules/_weakref.c:131:5: error: 
'_WEAKREF_GETWEAKREFCOUNT_METHODDEF' undeclared here (not in a function)
  131 | _WEAKREF_GETWEAKREFCOUNT_METHODDEF
  | ^~
/builddir/build/BUILD/Python-3.9.0/Modules/_weakref.c:132:5: error: expected 
'}' before '_WEAKREF__REMOVE_DEAD_WEAKREF_METHODDEF'
  132 | _WEAKREF__REMOVE_DEAD_WEAKREF_METHODDEF
  | ^~~


Example: https://src.fedoraproject.org/rpms/python3.9/pull-request/40

The _WEAKREF_GETWEAKREFCOUNT_METHODDEF macro is defined by 
Modules/clinic/_weakref.c.h which is included by Modules/_weakref.c (at line 
13).

It seems like while Modules/_weakref.o was being built, 
Modules/clinic/_weakref.c.h was being generated "at the same time".

The "make regen-all" command runs "make clinic" and "make regen-importlib" 
targets:

* "make regen-importlib" builds Modules/_weakref.o from Modules/_weakref.c and  
Modules/clinic/_weakref.c.h

* "make clinic" always rewrites "Modules/clinic/_weakref.c.h" file


On Fedora, packages are built using MAKEFLAGS="-j" where  is a number, 
like "-j4". Since there is no dependency between "clinic" and "regen-importlib" 
targets, these two targets *can* be run in parallel.

It seems like "make clinic" always rewrites *all* generated files and the half 
of writes are *not* atomic.


Attached PR makes all writes of clinic.py atomic *and* also avoids modifying 
the file modification file if the content does not change, as done in other 
"make regen-all" targets (using Tools/scripts/update_file.py).

--
components: Build
messages: 381325
nosy: vstinner
priority: normal
severity: normal
status: open
title: Race condition in "make regen-all" when running jobs in parallel
versions: Python 3.10, Python 3.8, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42398] Race condition in "make regen-all" when running jobs in parallel

2020-11-18 Thread STINNER Victor


Change by STINNER Victor :


--
keywords: +patch
pull_requests: +22255
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/23362

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15479] Allow MAX_STRING_LENGTH limits to be changed at runtime

2020-11-18 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15860] Use TestCase assertion methods in unittest.mock.assert* to make them easier to read

2020-11-18 Thread Irit Katriel


Change by Irit Katriel :


--
type:  -> enhancement
versions: +Python 3.10, Python 3.9 -Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15263] Guard against invalid file handles in os functions

2020-11-18 Thread Irit Katriel


Irit Katriel  added the comment:

I don't see any _Py_VerifyFd in the code, is this out of date?

--
nosy: +iritkatriel

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41625] Add splice() to the os module

2020-11-18 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:

Thanks a lot Victor

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-11-18 Thread Christian Heimes


Christian Heimes  added the comment:


New changeset ce04e7105bc396c32667a22b928a712ba0778a3f by Christian Heimes in 
branch 'master':
bpo-41561: skip test_min_max_version_mismatch (GH-22308)
https://github.com/python/cpython/commit/ce04e7105bc396c32667a22b928a712ba0778a3f


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-11-18 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 6.0 -> 7.0
pull_requests: +22256
pull_request: https://github.com/python/cpython/pull/23363

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-11-18 Thread miss-islington


Change by miss-islington :


--
pull_requests: +22257
pull_request: https://github.com/python/cpython/pull/23364

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42392] remove the 'loop' parameter from __init__ in all classes in asyncio.locks

2020-11-18 Thread Andrew Svetlov


Andrew Svetlov  added the comment:

My initial thought was protecting the Lock (and other primitives) creation when 
a loop is not running.

Yuri insists that Lock can be created without a loop. Technically it is 
possible, sure.
But the lock is tightly coupled with a loop instance. In other words, the loop 
belongs to the loop.
The lock cannot be used after the loop dies (stopped and closed).

Thus, the global scoped lock object still looks suspicious in my eyes.
The lock's lifecycle should be closer than the lifecycle of the loop, isn't it? 
I know, asyncio.Lock() can safely live after the loop closing but should we 
encourage this style? There are many other asyncio objects like HTTP clients 
and DB drivers that should be closed before the loop finishing for graceful 
closing TCP transports etc.

Another thing to consider is: whether to cache a loop inside a lock;  whether 
to add a check when the lock is used by two loops?

I think for the last question the answer is "yes". I recall many questions and 
bug reports on StackOverflow and aiohttp bug tracker when people use the 
multithreaded model for some reason and tries to get access to a shared object 
from different threads that executes each own loop.

The check becomes extremely important for synchronization primitives like 
asyncio.Lock class; threading.Lock is supposed to be shared between threads and 
users can apply the same pattern for asyncio.Lock by oversight.
Also, supporting global asyncio.Lock instances increase the chance that the 
lock is used by different loops.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15860] Use TestCase assertion methods in unittest.mock.assert* to make them easier to read

2020-11-18 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

See also https://bugs.python.org/issue28054

--
nosy: +xtreak

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-11-18 Thread miss-islington


miss-islington  added the comment:


New changeset 73e02ff0d47c37cf2a8f137cfbea0b36d26c48bb by Miss Islington (bot) 
in branch '3.8':
bpo-41561: skip test_min_max_version_mismatch (GH-22308)
https://github.com/python/cpython/commit/73e02ff0d47c37cf2a8f137cfbea0b36d26c48bb


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40998] Compiler warnings in ubsan builds

2020-11-18 Thread Christian Heimes

Christian Heimes  added the comment:

I see more warnings and a new leak detection on latest master:

gcc -pthread -c -fsanitize=undefined -fsanitize=address -fno-omit-frame-pointer 
 -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall-std=c99 
-Wextra -Wno-unused-result -Wno-unused-parameter 
-Wno-missing-field-initializers -Werror=implicit-function-declaration 
-fvisibility=hidden  -I./Include/internal  -I. -I./Include-DPy_BUILD_CORE 
-o Objects/codeobject.o Objects/codeobject.c
In function ‘emit_pair’,
inlined from ‘emit_delta’ at Objects/codeobject.c:423:14,
inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:18:
Objects/codeobject.c:414:15: warning: writing 1 byte into a region of size 0 
[-Wstringop-overflow=]
  414 | *lnotab++ = b;
  | ~~^~~
In function ‘emit_pair’,
inlined from ‘emit_delta’ at Objects/codeobject.c:436:14,
inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:18:
Objects/codeobject.c:414:15: warning: writing 1 byte into a region of size 0 
[-Wstringop-overflow=]
  414 | *lnotab++ = b;
  | ~~^~~
In function ‘emit_pair’,
inlined from ‘emit_delta’ at Objects/codeobject.c:429:14,
inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:18:
Objects/codeobject.c:414:15: warning: writing 1 byte into a region of size 0 
[-Wstringop-overflow=]
  414 | *lnotab++ = b;
  | ~~^~~
gcc -pthread -c -fsanitize=undefined -fsanitize=address -fno-omit-frame-pointer 
 -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall-std=c99 
-Wextra -Wno-unused-result -Wno-unused-parameter 
-Wno-missing-field-initializers -Werror=implicit-function-declaration 
-fvisibility=hidden  -I./Include/internal  -I. -I./Include-DPy_BUILD_CORE 
-o Python/compile.o Python/compile.c
In function ‘assemble_emit_linetable_pair’,
inlined from ‘assemble_line_range’ at Python/compile.c:5614:18:
Python/compile.c:5586:15: warning: writing 1 byte into a region of size 0 
[-Wstringop-overflow=]
 5586 | *lnotab++ = ldelta;
  | ~~^~~~
In function ‘assemble_emit_linetable_pair’,
inlined from ‘assemble_line_range’ at Python/compile.c:5608:18:
Python/compile.c:5586:15: warning: writing 1 byte into a region of size 0 
[-Wstringop-overflow=]
 5586 | *lnotab++ = ldelta;
  | ~~^~~~
In function ‘assemble_emit_linetable_pair’,
inlined from ‘assemble’ at Python/compile.c:6011:10:
Python/compile.c:5586:15: warning: writing 1 byte into a region of size 0 
[-Wstringop-overflow=]
 5586 | *lnotab++ = ldelta;
  | ~~^~~~


==669952==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 57 byte(s) in 1 object(s) allocated from:
#0 0x7fa6397cc667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x777579 in PyUnicode_New Objects/unicodeobject.c:1459
#2 0x86aa4e in unicode_decode_utf8 Objects/unicodeobject.c:5129
#3 0x8b6050 in PyUnicode_DecodeUTF8Stateful Objects/unicodeobject.c:5259
#4 0x8b6050 in PyUnicode_FromString Objects/unicodeobject.c:2311
#5 0x8b6050 in PyUnicode_InternFromString Objects/unicodeobject.c:15788
#6 0x8f1e0b in create_filter Python/_warnings.c:67
#7 0x8f1e0b in init_filters Python/_warnings.c:95
#8 0x8f1e0b in _PyWarnings_InitState Python/_warnings.c:123
#9 0xa52178 in pycore_init_types Python/pylifecycle.c:704
#10 0xa52178 in pycore_interp_init Python/pylifecycle.c:760
#11 0xa5eab1 in pyinit_config Python/pylifecycle.c:807
#12 0xa5eab1 in pyinit_core Python/pylifecycle.c:970
#13 0xa60037 in Py_InitializeFromConfig Python/pylifecycle.c:1155
#14 0x47a842 in pymain_init Modules/main.c:66
#15 0x4802a2 in pymain_main Modules/main.c:698
#16 0x4802a2 in Py_BytesMain Modules/main.c:731
#17 0x7fa638a5b041 in __libc_start_main (/lib64/libc.so.6+0x27041)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-11-18 Thread miss-islington


miss-islington  added the comment:


New changeset 802ff7c0d339376a1b974e57d2caca898310de3d by Miss Islington (bot) 
in branch '3.9':
[3.9] bpo-41561: skip test_min_max_version_mismatch (GH-22308) (GH-23363)
https://github.com/python/cpython/commit/802ff7c0d339376a1b974e57d2caca898310de3d


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40998] Compiler warnings in ubsan builds

2020-11-18 Thread Christian Heimes


Christian Heimes  added the comment:

The reference leak was introduced in 86ea58149c3 / GH-13159 / bpo-36737. PR 
GH-20929 fixes it, too.

--
nosy: +eric.smith

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-11-18 Thread Christian Heimes


Change by Christian Heimes :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-11-18 Thread Christian Heimes


Change by Christian Heimes :


--
resolution: fixed -> 
stage: resolved -> commit review
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40998] Compiler warnings in ubsan builds

2020-11-18 Thread Eric V. Smith


Change by Eric V. Smith :


--
nosy: +eric.snow

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40998] Compiler warnings in ubsan builds

2020-11-18 Thread Christian Heimes


Christian Heimes  added the comment:

Sorry, I meant to add Eric S. :)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40998] Compiler warnings in ubsan builds

2020-11-18 Thread Eric V. Smith


Eric V. Smith  added the comment:

Too many Eric S's!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2020-11-18 Thread Miro Hrončok

Miro Hrončok  added the comment:

Another batch of broken projects:

PyPAM https://bugzilla.redhat.com/show_bug.cgi?id=1897264
bitarray https://bugzilla.redhat.com/show_bug.cgi?id=1897536
boost https://bugzilla.redhat.com/show_bug.cgi?id=1896382
duplicity https://bugzilla.redhat.com/show_bug.cgi?id=1896684
gobject-introspection https://bugzilla.redhat.com/show_bug.cgi?id=1893194
mercurial https://bugzilla.redhat.com/show_bug.cgi?id=1897178
pybluez https://bugzilla.redhat.com/show_bug.cgi?id=1897256
pygobject3 https://bugzilla.redhat.com/show_bug.cgi?id=1894522
pylibacl https://bugzilla.redhat.com/show_bug.cgi?id=1897529
pyside2 https://bugzilla.redhat.com/show_bug.cgi?id=1898974
rdiff-backup https://bugzilla.redhat.com/show_bug.cgi?id=1898980



Those are just the initial set of packages we have discovered so far. I think 
there will be more.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40998] Compiler warnings in ubsan builds

2020-11-18 Thread STINNER Victor


STINNER Victor  added the comment:

> The reference leak was introduced in 86ea58149c3 / GH-13159 / bpo-36737. PR 
> GH-20929 fixes it, too.

Usually, it's not that the subinterpreter work introduces new leak, but makes 
old leak suddenly visible.

The create_filter() leak was introduced way earlier:

commit 9b99747386b690007027c3be2a5d7cfe3d3634f5
Author: Nick Coghlan 
Date:   Mon Jan 8 12:45:02 2018 +1000

bpo-31975 (PEP 565): Show DeprecationWarning in __main__ (GH-4458)

It's a minor leak since the create_filter() function is called exactly 5 times 
at startup. It's a leak of 5 strong references, it's not a big deal :-)

--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40998] Compiler warnings in ubsan builds

2020-11-18 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +22258
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/23365

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2020-11-18 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +22259
pull_request: https://github.com/python/cpython/pull/23366

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42399] Error upon pip usage.

2020-11-18 Thread Alex


New submission from Alex :

MacOS catalina 10.15.6
Python -version 3.9 although experienced on 3.8 too.
pip -version 20.2.4

Any time I send a command using pip including; pip install, pip freeze, pip 
list etc. I get this error.



Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/bin/pip", line 8, in 

sys.exit(main())
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/main.py",
 line 73, in main
command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/commands/__init__.py",
 line 104, in create_command
module = importlib.import_module(module_path)
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/__init__.py",
 line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
  File "", line 1014, in _gcd_import
  File "", line 991, in _find_and_load
  File "", line 975, in _find_and_load_unlocked
  File "", line 671, in _load_unlocked
  File "", line 783, in exec_module
  File "", line 219, in _call_with_frames_removed
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/commands/list.py",
 line 9, in 
from pip._internal.cli.req_command import IndexGroupCommand
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/req_command.py",
 line 22, in 
from pip._internal.req.constructors import (
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/req/__init__.py",
 line 10, in 
from .req_install import InstallRequirement
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/req/req_install.py",
 line 10, in 
import uuid
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/uuid.py", line 
57, in 
_AIX = platform.system() == 'AIX'
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/platform.py", 
line 891, in system
return uname().system
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/platform.py", 
line 857, in uname
processor = _syscmd_uname('-p', '')
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/platform.py", 
line 613, in _syscmd_uname
output = subprocess.check_output(('uname', option),
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py",
 line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/run/__init__.py",
 line 145, in __new__
process = cls.create_process(command, stdin, cwd=cwd, env=env, shell=shell)
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/run/__init__.py",
 line 121, in create_process
shlex.split(command),
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/shlex.py", 
line 311, in split
return list(lex)
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/shlex.py", 
line 300, in __next__
token = self.get_token()
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/shlex.py", 
line 109, in get_token
raw = self.read_token()
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/shlex.py", 
line 140, in read_token
nextchar = self.instream.read(1)
AttributeError: 'tuple' object has no attribute 'read'

--
components: Library (Lib)
messages: 381339
nosy: alki284
priority: normal
severity: normal
status: open
title: Error upon pip usage.
type: crash
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15263] Guard against invalid file handles in os functions

2020-11-18 Thread Eryk Sun


Eryk Sun  added the comment:

> I don't see any _Py_VerifyFd in the code, is this out of date?

Yes, this issue is out of date. The underlying issue is that the C runtime in 
Windows automatically checks various parameters and calls a registered handler 
for invalid parameters, for which the default handler terminates the process. 
Python 3.5+ uses a new C runtime (ucrt), which supports setting a handler for 
just the current thread, so this issue is addressed more generally nowadays by 
the macros _Py_BEGIN_SUPPRESS_IPH and _Py_END_SUPPRESS_IPH.

--
nosy: +eryksun
resolution:  -> out of date
stage: needs patch -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42399] Error upon pip usage.

2020-11-18 Thread Alex


Alex  added the comment:

I tried contacting the pip team and they said it is likely a python issue due 
to the stdlib stuff being opened.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42399] Error upon pip usage.

2020-11-18 Thread Christian Heimes


Christian Heimes  added the comment:

"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/run/__init__.py"
 looks suspicious. It's a 3rd party package that is somehow injected into the 
code.

--
nosy: +christian.heimes

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42399] Error upon pip usage.

2020-11-18 Thread Christian Heimes


Christian Heimes  added the comment:

Upon closer investigation something or someone has replaces and monkey patched 
the stdlib function subprocess.run() with code from the 3rd party library 
"run". The "run" package is not part of Python's stdlib.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42397] lstrip 处理出现bug

2020-11-18 Thread Eryk Sun


Eryk Sun  added the comment:

Python 3.9 added str.removeprefix() and str.removesuffix() [1]:

>>> "data_prj_t_suffix".removeprefix('data_prj_').removesuffix('_suffix')
't'

[1] https://docs.python.org/3/library/stdtypes.html#str.removeprefix

--
nosy: +eryksun

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2020-11-18 Thread STINNER Victor

STINNER Victor  added the comment:

I wrote PR 23366 to revert the Py_TYPE() and Py_SIZE() changes: convert them 
back to macros to allow again "Py_TYPE(obj) = type;" and "Py_SIZE(obj) = size;" 
syntaxes.


Miro Hrončok:
> Another batch of broken projects:
> PyPAM https://bugzilla.redhat.com/show_bug.cgi?id=1897264

"Py_TYPE="

> bitarray https://bugzilla.redhat.com/show_bug.cgi?id=1897536

"Py_TYPE=/Py_SIZE="

> boost https://bugzilla.redhat.com/show_bug.cgi?id=1896382

"Py_TYPE="

> duplicity https://bugzilla.redhat.com/show_bug.cgi?id=1896684

"Py_TYPE="

> gobject-introspection https://bugzilla.redhat.com/show_bug.cgi?id=1893194

"Py_TYPE="

> mercurial https://bugzilla.redhat.com/show_bug.cgi?id=1897178

"Py_TYPE=/Py_SIZE="

> pybluez https://bugzilla.redhat.com/show_bug.cgi?id=1897256

"Py_TYPE="

> pygobject3 https://bugzilla.redhat.com/show_bug.cgi?id=1894522

"Py_TYPE="

> pylibacl https://bugzilla.redhat.com/show_bug.cgi?id=1897529

"Py_TYPE="

> pyside2 https://bugzilla.redhat.com/show_bug.cgi?id=1898974

"Py_TYPE="

> rdiff-backup https://bugzilla.redhat.com/show_bug.cgi?id=1898980

"Py_TYPE="



> Those are just the initial set of packages we have discovered so far. I think 
> there will be more.

Well, since the PEP 620 is not accepted, I prefer to revert the Py_TYPE() and 
the Py_SIZE() changes for now. We should have a wider discussion on how to 
introduce incompatible changes into the C API before being able to push more 
incompatible changes which impact a so wide range of C extension modules.

One practical problem is how to estimate the number of broken Python projects 
to decide if an incompatible change can be introduced or not. When I did early 
experiment before merging the PR 20290, it seems like only a minority of C 
extensions rely on "Py_TYPE(obj) = type;" syntax. It's a common pattern to 
define a type statically. Pseudo-code:

---
PyTypeObject MyType = {...};

PyInit_MyExtension(...)
{
   Py_TYPE(&MyType) = ...;
   PyType_Ready(&MyType);
   ...
}
---

"Py_TYPE(&MyType) = ...;" is required since some C compilers don't support 
setting ob_type directly in the MyType static declaration. The type must be set 
at runtime.

Also I considered that the change is trivial enough to be accepable. Well, I 
was wrong, and that's why I'm not proposing to revert thes changes.

About the rationale for introducing C API incompatible changes, see the PEP 620.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42399] Error upon pip usage.

2020-11-18 Thread Alex


Alex  added the comment:

What would you recommend to fix this? removing the package? I have a suspicion 
on which package it is.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42398] Race condition in "make regen-all" when running jobs in parallel

2020-11-18 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 8fba9523cf08029dc2e280d9f48fdd57ab178c9d by Victor Stinner in 
branch 'master':
bpo-42398: Fix "make regen-all" race condition (GH-23362)
https://github.com/python/cpython/commit/8fba9523cf08029dc2e280d9f48fdd57ab178c9d


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42398] Race condition in "make regen-all" when running jobs in parallel

2020-11-18 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +22260
pull_request: https://github.com/python/cpython/pull/23367

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32218] add __iter__ to enum.Flag members

2020-11-18 Thread hongweipeng


Change by hongweipeng :


--
nosy: +hongweipeng
nosy_count: 5.0 -> 6.0
pull_requests: +22261
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/23368

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40998] Compiler warnings in ubsan builds

2020-11-18 Thread miss-islington


miss-islington  added the comment:


New changeset d1e38d4023aa29e7ed64d4f8eb9c1e4a3c86a2e5 by Victor Stinner in 
branch 'master':
bpo-40998: Fix a refleak in create_filter() (GH-23365)
https://github.com/python/cpython/commit/d1e38d4023aa29e7ed64d4f8eb9c1e4a3c86a2e5


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42399] Error upon pip usage.

2020-11-18 Thread Alex


Alex  added the comment:

Uninstalled 3.8 and installed straight to 3.9 using home brew, this fixed the 
issue.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42399] Error upon pip usage.

2020-11-18 Thread Alex


Change by Alex :


--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40998] Compiler warnings in ubsan builds

2020-11-18 Thread Christian Heimes


Change by Christian Heimes :


--
pull_requests: +22262
pull_request: https://github.com/python/cpython/pull/23369

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-18 Thread miss-islington


miss-islington  added the comment:


New changeset c7011012fac91a30923e39dbce7611f1b3ca8506 by Christian Heimes in 
branch 'master':
bpo-1635741: Port symtable module to multiphase initialization (GH-23361)
https://github.com/python/cpython/commit/c7011012fac91a30923e39dbce7611f1b3ca8506


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-18 Thread Christian Heimes


Christian Heimes  added the comment:


New changeset 46f59ebd01e22cc6a56fd0691217318c1d801a49 by Christian Heimes in 
branch 'master':
bpo-1635741: Port _hashlib to multiphase initialization (GH-23358)
https://github.com/python/cpython/commit/46f59ebd01e22cc6a56fd0691217318c1d801a49


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40998] Compiler warnings in ubsan builds

2020-11-18 Thread miss-islington


miss-islington  added the comment:


New changeset 07f2adedf0940b06d136208ec386d69b7d2d5b43 by Christian Heimes in 
branch 'master':
bpo-40998: Address compiler warnings found by ubsan (GH-20929)
https://github.com/python/cpython/commit/07f2adedf0940b06d136208ec386d69b7d2d5b43


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40998] Compiler warnings in ubsan builds

2020-11-18 Thread miss-islington


Change by miss-islington :


--
pull_requests: +22263
pull_request: https://github.com/python/cpython/pull/23370

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40998] Compiler warnings in ubsan builds

2020-11-18 Thread miss-islington


miss-islington  added the comment:


New changeset 994c68f586441cee755508e9357e6e03e2b7a887 by Miss Islington (bot) 
in branch '3.9':
bpo-40998: Address compiler warnings found by ubsan (GH-20929)
https://github.com/python/cpython/commit/994c68f586441cee755508e9357e6e03e2b7a887


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42398] Race condition in "make regen-all" when running jobs in parallel

2020-11-18 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset c53c3f400050a7edc92ccb7285a6d7eeb4c37fd2 by Victor Stinner in 
branch '3.9':
bpo-42398: Fix "make regen-all" race condition (GH-23362) (GH-23367)
https://github.com/python/cpython/commit/c53c3f400050a7edc92ccb7285a6d7eeb4c37fd2


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42398] Race condition in "make regen-all" when running jobs in parallel

2020-11-18 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 1.0 -> 2.0
pull_requests: +22264
pull_request: https://github.com/python/cpython/pull/23371

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42398] Race condition in "make regen-all" when running jobs in parallel

2020-11-18 Thread miss-islington


miss-islington  added the comment:


New changeset 66dd5338a1ca98921c8e6c51228541ef8ed8076a by Miss Islington (bot) 
in branch '3.8':
bpo-42398: Fix "make regen-all" race condition (GH-23362) (GH-23367)
https://github.com/python/cpython/commit/66dd5338a1ca98921c8e6c51228541ef8ed8076a


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42400] Ubuntu tests hangs on test_ttk_guionly and test_heading_callback

2020-11-18 Thread Christian Heimes


New submission from Christian Heimes :

The Ubuntu test runner on Azure have been blocked and eventually failed by an 
issue related to tkinter tests. My PRs ran into the issue at least three times 
today.

Example: 
https://github.com/python/cpython/pull/23360/checks?check_run_id=1418826919

0:19:06 load avg: 0.00 running: test_ttk_guionly (19 min 1 sec)
0:19:36 load avg: 0.00 running: test_ttk_guionly (19 min 31 sec)
0:20:05 load avg: 0.00 [425/425/1] test_ttk_guionly crashed (Exit code 1)
Timeout (0:20:00)!
Thread 0x7f7b8751d080 (most recent call first):
  File "/home/runner/work/cpython/cpython/Lib/tkinter/__init__.py", line 696 in 
wait_visibility
  File 
"/home/runner/work/cpython/cpython/Lib/tkinter/test/test_ttk/test_widgets.py", 
line 1539 in test_heading_callback
  File "/home/runner/work/cpython/cpython/Lib/unittest/case.py", line 549 in 
_callTestMethod
  File "/home/runner/work/cpython/cpython/Lib/unittest/case.py", line 592 in run
  File "/home/runner/work/cpython/cpython/Lib/unittest/case.py", line 652 in 
__call__
  File "/home/runner/work/cpython/cpython/Lib/unittest/suite.py", line 122 in 
run
  File "/home/runner/work/cpython/cpython/Lib/unittest/suite.py", line 84 in 
__call__
  File "/home/runner/work/cpython/cpython/Lib/unittest/suite.py", line 122 in 
run
  File "/home/runner/work/cpython/cpython/Lib/unittest/suite.py", line 84 in 
__call__
  File "/home/runner/work/cpython/cpython/Lib/unittest/runner.py", line 176 in 
run
  File "/home/runner/work/cpython/cpython/Lib/test/support/__init__.py", line 
959 in _run_suite
  File "/home/runner/work/cpython/cpython/Lib/test/support/__init__.py", line 
1082 in run_unittest
  File "/home/runner/work/cpython/cpython/Lib/test/test_ttk_guionly.py", line 
31 in test_main
  File "/home/runner/work/cpython/cpython/Lib/test/libregrtest/runtest.py", 
line 236 in _runtest_inner2
  File "/home/runner/work/cpython/cpython/Lib/test/libregrtest/runtest.py", 
line 272 in _runtest_inner
  File "/home/runner/work/cpython/cpython/Lib/test/libregrtest/runtest.py", 
line 142 in _runtest
  File "/home/runner/work/cpython/cpython/Lib/test/libregrtest/runtest.py", 
line 195 in runtest
  File "/home/runner/work/cpython/cpython/Lib/test/libregrtest/runtest_mp.py", 
line 81 in run_tests_worker
  File "/home/runner/work/cpython/cpython/Lib/test/libregrtest/main.py", line 
659 in _main
  File "/home/runner/work/cpython/cpython/Lib/test/libregrtest/main.py", line 
639 in main
  File "/home/runner/work/cpython/cpython/Lib/test/libregrtest/main.py", line 
717 in main
  File "/home/runner/work/cpython/cpython/Lib/test/regrtest.py", line 43 in 
_main
  File "/home/runner/work/cpython/cpython/Lib/test/regrtest.py", line 47 in 

  File "/home/runner/work/cpython/cpython/Lib/runpy.py", line 87 in _run_code
  File "/home/runner/work/cpython/cpython/Lib/runpy.py", line 197 in 
_run_module_as_main
...

test_heading_callback (tkinter.test.test_ttk.test_widgets.TreeviewTest) ... 
Timeout (0:20:00)!
Thread 0x7f0461140080 (most recent call first):
  File "/home/runner/work/cpython/cpython/Lib/tkinter/__init__.py", line 696 in 
wait_visibility
  File 
"/home/runner/work/cpython/cpython/Lib/tkinter/test/test_ttk/test_widgets.py", 
line 1539 in test_heading_callback
  File "/home/runner/work/cpython/cpython/Lib/unittest/case.py", line 549 in 
_callTestMethod
  File "/home/runner/work/cpython/cpython/Lib/unittest/case.py", line 592 in run
  File "/home/runner/work/cpython/cpython/Lib/unittest/case.py", line 652 in 
__call__
  File "/home/runner/work/cpython/cpython/Lib/unittest/suite.py", line 122 in 
run
  File "/home/runner/work/cpython/cpython/Lib/unittest/suite.py", line 84 in 
__call__
  File "/home/runner/work/cpython/cpython/Lib/unittest/suite.py", line 122 in 
run
  File "/home/runner/work/cpython/cpython/Lib/unittest/suite.py", line 84 in 
__call__
  File "/home/runner/work/cpython/cpython/Lib/unittest/runner.py", line 176 in 
run
  File "/home/runner/work/cpython/cpython/Lib/test/support/__init__.py", line 
959 in _run_suite
  File "/home/runner/work/cpython/cpython/Lib/test/support/__init__.py", line 
1082 in run_unittest
  File "/home/runner/work/cpython/cpython/Lib/test/test_ttk_guionly.py", line 
31 in test_main
  File "/home/runner/work/cpython/cpython/Lib/test/libregrtest/runtest.py", 
line 236 in _runtest_inner2
  File "/home/runner/work/cpython/cpython/Lib/test/libregrtest/runtest.py", 
line 272 in _runtest_inner
  File "/home/runner/work/cpython/cpython/Lib/test/libregrtest/runtest.py", 
line 155 in _runtest
  File "/home/runner/work/cpython/cpython/Lib/test/libregrtest/runtest.py", 
line 195 in runtest
  File "/home/runner/work/cpython/cpython/Lib/test/libregrtest/main.py", line 
319 in rerun_failed_tests
  File "/home/runner/work/cpython/cpython/Lib/test/libregrtest/main.py", line 
696 in _main
  File "/home/runner/work/cpython/cpython/Lib/test/libregrtest/main.py", line 
639 in main
  File "/home/runner/work/cpython/cpython/Lib/test/libregrtest/main.py", 

[issue42400] Ubuntu tests hangs on test_ttk_guionly and test_heading_callback

2020-11-18 Thread E. Paine


E. Paine  added the comment:

Issue 42142 covers this problem. I want to get PR-23156 merged which will 
(until a better fix is found) skip tests on Ubuntu which use `wait_visibility`.

However, this is becoming more of an issue and I am worried now about the 
general stability of the tkinter graphical tests on the bots. For example, 
Victor reported issue 42370 which caused the Github Ubuntu action to fail due 
to a random ttk Spinbox problem.

--
nosy: +epaine, vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42400] Ubuntu tests hangs on test_ttk_guionly and test_heading_callback

2020-11-18 Thread Christian Heimes


Christian Heimes  added the comment:

Thanks, I searched for test_heading_callback and didn't look for any bug with 
"guionly".

--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> test_ttk timeout: FAIL tkinter ttk LabeledScale test_resize, 
and more

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42398] Race condition in "make regen-all" when running jobs in parallel

2020-11-18 Thread STINNER Victor


Change by STINNER Victor :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42336] Make PCbuild/build.bat build x64 by default

2020-11-18 Thread Steve Dower


Steve Dower  added the comment:


New changeset 2156d964a12285280c533af1c96eb273c58451e6 by Steve Dower in branch 
'master':
bpo-42336: Improve PCbuild batch files (GH-23275)
https://github.com/python/cpython/commit/2156d964a12285280c533af1c96eb273c58451e6


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42336] Make PCbuild/build.bat build x64 by default

2020-11-18 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 5.0 -> 6.0
pull_requests: +22265
pull_request: https://github.com/python/cpython/pull/23372

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42336] Make PCbuild/build.bat build x64 by default

2020-11-18 Thread Steve Dower


Steve Dower  added the comment:


New changeset 8b1f4cc4644869812ff7f210a7fcbe872d88846e by Steve Dower in branch 
'3.8':
bpo-42336: Improve PCbuild batch files (GH-23325)
https://github.com/python/cpython/commit/8b1f4cc4644869812ff7f210a7fcbe872d88846e


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42336] Make PCbuild/build.bat build x64 by default

2020-11-18 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +22266
pull_request: https://github.com/python/cpython/pull/23373

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40998] Compiler warnings in ubsan builds

2020-11-18 Thread miss-islington


miss-islington  added the comment:


New changeset 35bf8ea7bef7151a420a67638e88d6a1fd81d1a0 by Christian Heimes in 
branch '3.9':
[3.9] bpo-40998: Fix a refleak in create_filter() (GH-23365) (GH-23369)
https://github.com/python/cpython/commit/35bf8ea7bef7151a420a67638e88d6a1fd81d1a0


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42336] Make PCbuild/build.bat build x64 by default

2020-11-18 Thread miss-islington


miss-islington  added the comment:


New changeset 37f6fe2c935a57cd1bd42c773aba255d8134cb61 by Miss Islington (bot) 
in branch '3.9':
bpo-42336: Improve PCbuild batch files (GH-23275)
https://github.com/python/cpython/commit/37f6fe2c935a57cd1bd42c773aba255d8134cb61


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42142] test_ttk timeout: FAIL tkinter ttk LabeledScale test_resize, and more

2020-11-18 Thread STINNER Victor


STINNER Victor  added the comment:

bpo-42400 has been marked as a duplicate of this issue.

--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2020-11-18 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 0e2ac21dd4960574e89561243763eabba685296a by Victor Stinner in 
branch 'master':
bpo-39573: Convert Py_TYPE() and Py_SIZE() back to macros (GH-23366)
https://github.com/python/cpython/commit/0e2ac21dd4960574e89561243763eabba685296a


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42142] test_ttk timeout: FAIL tkinter ttk LabeledScale test_resize, and more

2020-11-18 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Could that bot be configured to run tests with -u-gui? Tests on Linux I can run 
manually.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42336] Make PCbuild/build.bat build x64 by default

2020-11-18 Thread Ned Deily


Ned Deily  added the comment:


New changeset 9ae1742bdf85dc78788ae2d68ab5b02f67f69eb3 by Steve Dower in branch 
'3.7':
[3.7] bpo-42336: Improve PCbuild batch files (GH-23325) (GH-23373)
https://github.com/python/cpython/commit/9ae1742bdf85dc78788ae2d68ab5b02f67f69eb3


--
nosy: +ned.deily

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32218] add __iter__ to enum.Flag members

2020-11-18 Thread Henk-Jaap Wagenaar


Henk-Jaap Wagenaar  added the comment:

What does aenum do and has there been any feedback on it?

To me I would see what you suggest as surprising but I don't use enums often (I 
should use them more!) so take that with a grain of salt, and also surprising 
!= wrong/not good.

--
nosy: +cryvate

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42085] Add dedicated slot for sending values

2020-11-18 Thread Vladimir Matveev


Change by Vladimir Matveev :


--
pull_requests: +22267
pull_request: https://github.com/python/cpython/pull/23374

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2020-11-18 Thread Miro Hrončok

Change by Miro Hrončok :


--
pull_requests: +22268
pull_request: https://github.com/python/cpython/pull/23375

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42085] Add dedicated slot for sending values

2020-11-18 Thread miss-islington


miss-islington  added the comment:


New changeset 7c9487ded487f304c2906698c52f0815b92cbeb6 by Vladimir Matveev in 
branch 'master':
bpo-42085: Add documentation for Py_TPFLAGS_HAVE_AM_SEND (GH-23374)
https://github.com/python/cpython/commit/7c9487ded487f304c2906698c52f0815b92cbeb6


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-18 Thread Christian Heimes


Change by Christian Heimes :


--
pull_requests: +22269
pull_request: https://github.com/python/cpython/pull/23376

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12684] profile does not dump stats on exception like cProfile does

2020-11-18 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> c/profile refactoring

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42392] remove the 'loop' parameter from __init__ in all classes in asyncio.locks

2020-11-18 Thread Yury Selivanov


Yury Selivanov  added the comment:

Yeah, I follow the reasoning.

My use case:

   class Something:
  def __init__(self):
  self._lock = asyncio.Lock()

  async def do_something():
  async with self._lock:
  ...

And `Something` won't be created in a coroutine. So now I have to jump through 
the hoops to implement lazy lock instantiation.


> But the lock is tightly coupled with a loop instance. In other words, the 
> loop belongs to the loop.
>The lock cannot be used after the loop dies (stopped and closed).

I agree. Maybe the solution should be this then:


class asyncio.Lock:

   def _get_loop(self):
   loop = asyncio.get_running_loop()
   if self._loop is None:
self._loop = loop
   if loop is not self._loop: raise
   if not loop.is_running(): raise

   async def acquire(self):
   loop = self._get_loop()
   ...

This is what would guarantee all protections you want and would also allow to 
instantiate `asyncio.Lock` in class constructors, simplifying code.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42142] test_ttk timeout: FAIL tkinter ttk LabeledScale test_resize, and more

2020-11-18 Thread E. Paine


E. Paine  added the comment:

> Could that bot be configured to run tests with -u-gui?

This has been found to not just affect one machine: it is both Azure and Github 
Ubuntu. Therefore, the only Ubuntu bot still running gui tests would be Travis.

It could be done (with a very small patch) but:
1. I not sure about disabling all tkinter gui tests when most appear to be fine 
still
2. Would this not also stop a number of IDLE tests? (Terry?)
3. Would you intend for this to be temporary or more permanent?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42392] remove the 'loop' parameter from __init__ in all classes in asyncio.locks

2020-11-18 Thread Andrew Svetlov


Andrew Svetlov  added the comment:

Despite the fact that asyncio.get_running_loop() never returns None but raises 
RuntimeError (and maybe other tiny cleanups), 
I can live with the proposal.

It doesn't make a system worse at least and backward compatible.
We can return to the idea of raising a warning from the constructor later, on 
collecting more feedback.

P.S.
There is a subtle non-deterministic behavior in the proposal: if the lock is 
accessed from a concurrent thread, the exception about wrong usage will be 
raised later at an arbitrary code point.
This is a well-known problem of the lazy initialization pattern and maybe we 
should do nothing with it. The programming is a compromise always.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-18 Thread Christian Heimes


Change by Christian Heimes :


--
pull_requests: +22270
pull_request: https://github.com/python/cpython/pull/23377

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1374063] Broader iterable support for xmlrpclib

2020-11-18 Thread Irit Katriel


Irit Katriel  added the comment:

Skip has abandoned this (removed himself from nosy list) so I'm closing it.

--
nosy: +iritkatriel
resolution: remind -> wont fix
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1525806] Tkdnd mouse cursor handling patch

2020-11-18 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.9 -Python 3.2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-18 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +22271
pull_request: https://github.com/python/cpython/pull/23378

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42085] Add dedicated slot for sending values

2020-11-18 Thread STINNER Victor


Change by STINNER Victor :


--
nosy:  -vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2020-11-18 Thread STINNER Victor

STINNER Victor  added the comment:


New changeset e0251787d85950538cf2490c2c73cc680b153940 by Miro Hrončok in 
branch 'master':
bpo-39573: Remove What's new entry for Py_SIZE() (GH-23375)
https://github.com/python/cpython/commit/e0251787d85950538cf2490c2c73cc680b153940


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42085] Add dedicated slot for sending values

2020-11-18 Thread Andrew Svetlov


Andrew Svetlov  added the comment:

Is anything left to do?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-18 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 622307142130d36a30644233441333247838af38 by Victor Stinner in 
branch 'master':
bpo-1635741: Convert _imp to multi-phase init (GH-23378)
https://github.com/python/cpython/commit/622307142130d36a30644233441333247838af38


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38320] Clarify unittest expectedFailure behaviour in the documentation

2020-11-18 Thread miss-islington


miss-islington  added the comment:


New changeset f9fa920c30326050a7096c5cb3594465d1e75ff2 by Miss Islington (bot) 
in branch '3.9':
[3.9] bpo-38320: Clarify that expectedFailure is satisfied by either failure or 
error of the test. (GH-22740) (GH-22783)
https://github.com/python/cpython/commit/f9fa920c30326050a7096c5cb3594465d1e75ff2


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38320] Clarify unittest expectedFailure behaviour in the documentation

2020-11-18 Thread miss-islington


miss-islington  added the comment:


New changeset 5f463e501b9667d1059a1e916d59d19cdd6addf7 by Miss Islington (bot) 
in branch '3.8':
[3.8] bpo-38320: Clarify that expectedFailure is satisfied by either failure or 
error of the test. (GH-22740) (GH-22782)
https://github.com/python/cpython/commit/5f463e501b9667d1059a1e916d59d19cdd6addf7


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38320] Clarify unittest expectedFailure behaviour in the documentation

2020-11-18 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-18 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +22272
pull_request: https://github.com/python/cpython/pull/23379

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21070] test_xmlrpc waits forever instead of reporting failure

2020-11-18 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.2, Python 3.3, Python 
3.4, Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-18 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +22273
pull_request: https://github.com/python/cpython/pull/23381

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42390] Other Python implementations may not expose the module name in datetime type names

2020-11-18 Thread Jakub Stasiak


Change by Jakub Stasiak :


--
nosy: +jstasiak

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-18 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 6f4635fe20457a7c513050bb117c2f0511cd4e44 by Victor Stinner in 
branch 'master':
bpo-1635741: Port _warnings to the multi-phase init (GH-23379)
https://github.com/python/cpython/commit/6f4635fe20457a7c513050bb117c2f0511cd4e44


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1744] readline module - set/get quote delimiters

2020-11-18 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.9 -Python 3.2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >