[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

[issue43163] code.interact() unexpectedly raises exception when there may be more code

2021-02-08 Thread Xie Jingyi
Change by Xie Jingyi : -- title: code.interact() unexpected raises exception when there may be more code -> code.interact() unexpectedly raises exception when there may be more code ___ Python tracker <https://bugs.python.org/issu

[issue43163] code.interact() unexpected raises exception when there may be more code

2021-02-08 Thread Xie Jingyi
Change by Xie Jingyi : -- assignee: -> terry.reedy components: +IDLE, Library (Lib) nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issu

[issue43163] code.interact() unexpected raises exception when there may be more code

2021-02-08 Thread Xie Jingyi
New submission from Xie Jingyi : In Python3.10.0a5, `code.interact()` will raise unexpected SyntaxError even if there should be more code. ``` Python 3.10.0a5 (default, Feb 7 2021, 20:14:10) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or

[issue43163] code.interact() unexpected raises exception when there may be more code

2021-02-08 Thread Xie Jingyi
Change by Xie Jingyi : -- nosy: hsfzxjy priority: normal severity: normal status: open title: code.interact() unexpected raises exception when there may be more code type: behavior versions: Python 3.10 ___ Python tracker <https://bugs.python.

[issue40475] json.JSONEncoder override default method

2020-05-02 Thread xie
xie added the comment: I got it,Thank you! -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40475] json.JSONEncoder override default method

2020-05-01 Thread xie
New submission from xie : I see an example from here:https://docs.python.org/3/library/json.html --It is about custom method from python object to json string:- import json class ComplexEncoder(json.JSONEncoder): def default(self, obj): print("hi") if isin

[issue40354] problem when using yield

2020-04-21 Thread xie
xie added the comment: Okay,I agree with you.I did not get the priority. -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue40354] problem when using yield

2020-04-21 Thread xie
New submission from xie : --version1:-- def func1(): a=0 b=10 for i in range(4): result = yield a+100 if b>100 else (yield a) print(result) f1 = func1() print("value:%s" % next(f1)) print("--") print("

[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

[issue37297] function changed when pickle bound method object

2019-06-16 Thread George Xie
Change by George Xie : -- keywords: +patch Added file: https://bugs.python.org/file48424/0001-fix-bound-method-__reduce__-bug.patch ___ Python tracker <https://bugs.python.org/issue37

[issue37297] function changed when pickle bound method object

2019-06-15 Thread George Xie
New submission from George Xie : if we create a bound method object `f` with function object `A.f` and instance object `B()`, when pickling this bound method object: import pickle class A(): def f(self): pass class B(): def f

[issue2206] critical memory leak in hashlib.md5

2008-02-28 Thread Xie Bengui
Changes by Xie Bengui: -- nosy: -agateriver __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2206 __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue2206] critical memory leak in hashlib.md5

2008-02-28 Thread Xie Bengui
Xie Bengui added the comment: I am sorry for submitting this fake issue! Thank Benjamin Peterson! -- nosy: +agateriver __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2206