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
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
Change by Xie Jingyi :
--
assignee: -> terry.reedy
components: +IDLE, Library (Lib)
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issu
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
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.
xie added the comment:
I got it,Thank you!
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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("
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
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
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
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
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 cal
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
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
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/
Changes by Xie Bengui:
--
nosy: -agateriver
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2206>
__
___
Python-bugs-list mailing list
Unsubs
New submission from Xie Bengui:
I write a pieces of code below to find my lost password:
import hashlib
for i in range(,):
m=hashlib.md5(str(i)).hexdigest()
if m=="21e83200cfd4845fd5e07ee151d70caf":
print "password is: ", i
Changes by Xie Bengui:
--
files: md5.txt
nosy: agateriver
severity: normal
status: open
title: critical memory leak in hashlib.md5
type: resource usage
versions: Python 2.6
Added file: http://bugs.python.org/file9569/md5.txt
__
Tracker <[EMAIL PROTEC
20 matches
Mail list logo