New submission from Yilei Yang :
When Python is built and linked with tcmalloc, using ProcessPoolExecutor may
deadlock. Here is a reproducible example:
$ cat t.py
from concurrent import futures
import sys
def work(iteration, item):
sys.stdout.write(f'working: iteration={iteration},
New submission from Yilei Yang :
Examples:
>>> datetime.datetime(, 1, 1, microsecond=99).timestamp()
7952371200.99
>>> datetime.datetime(, 1, 1, microsecond=99).timestamp()
43012195201.0
>>> datetime.datetime(2567, 1, 1, microsecond=98).timest
New submission from Yilei Yang :
The libexpat 2.4.1 upgrade from https://bugs.python.org/issue44394 introduced
the following new exported symbols:
testingAccountingGetCountBytesDirect
testingAccountingGetCountBytesIndirect
unsignedCharToPrintable
Change by Yilei Yang :
--
keywords: +patch
pull_requests: +29540
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31397
___
Python tracker
<https://bugs.python.org/issu
New submission from Yilei Yang :
The uid & gid variable from
https://github.com/python/cpython/blob/9833bb91e4d5c2606421d9ec2085f5c2dfb6f72c/Modules/_posixsubprocess.c#L737-L738
can be passed to the `do_fork_exec` call below uninitialized and cause msan to
report use-of-uninitialized-v
New submission from Yilei Yang :
Because unittest adds a `default` filter before tests run, other warnings
filters are overridden if added before.
Ideally, unittest should not make the warnings less serious, e.g. if there is
already an 'error' filter that raises exception, it
Yilei Yang added the comment:
Here is a minimal example:
main.py:
from pkg_a import lib_a
pkg_a/__init__.py
pkg_a/lib_a.py
import logging
import sys
import pkg_a # This is important
handler = logging.StreamHandler(sys.stderr)
It does not happen in Python 3 though (3.5.3