[issue37788] fix for bpo-36402 (threading._shutdown() race condition) causes reference leak

2021-03-29 Thread Zhipeng Xie
Zhipeng Xie <775350...@qq.com> added the comment: ping I also encountered this problem. Is there a fix now? -- nosy: +Zhipeng Xie ___ Python tracker <https://bugs.python.org/i

[issue39146] too much memory consumption in re.compile unicode

2019-12-31 Thread Zhipeng Xie
Zhipeng Xie <775350...@qq.com> added the comment: > but range() was here before ebd48b4f650d. before ebd48b4f650d, _optimize_unicode use xrange. So python2.7.8 is ok and python2.7.9 consume much memory in my test case. > Obviously there are other causes of the difference between

[issue39146] too much memory consumption in re.compile unicode

2019-12-30 Thread Zhipeng Xie
Zhipeng Xie <775350...@qq.com> added the comment: Hi, I tracked it down and found that this problem was introduced in python2.7.9 by following commit: https://hg.python.org/cpython/rev/ebd48b4f650d -- nosy: +serhiy.storchaka ___ Python t

[issue39146] too much memory consumption in re.compile unicode

2019-12-28 Thread Zhipeng Xie
Change by Zhipeng Xie <775350...@qq.com>: -- title: to much memory consumption in re.compile unicode -> too much memory consumption in re.compile unicode ___ Python tracker <https://bugs.python.or

[issue39146] to much memory consumption in re.compile unicode

2019-12-28 Thread Zhipeng Xie
New submission from Zhipeng Xie <775350...@qq.com>: when running the following script, we found python2 comsume a lot memory while python3 does not have the issue. import re import time NON_PRINTABLE = re.compile(u'[^\U0001-\U0010]') time.sleep( 30 ) python2: PID USER

[issue38575] Child process deadlock in subprocess.Popen

2019-10-24 Thread Zhipeng Xie
New submission from Zhipeng Xie <775350...@qq.com>: Hi, we had a child process deadlock on _disabling_gc_lock in subprocess.Popen. It seems that after https://github.com/python/cpython/commit/5e8e371364ee58dadb9a4e4e51c7e9cf6bedbfae, subprocess.Popen no longer support to be