[New-bugs-announce] [issue43260] Never release buffer when MemoryError in prtin()
Ramin Farajpour Cami
report at bugs.python.org
Fri Feb 19 00:27:20 EST 2021
New submission from Ramin Farajpour Cami <ramin.blackhat at gmail.com>:
Hi,
When we use "a"*10000000000 in print("a"*10000000000) function, Show "MemoryError",Again i use print("1") again display "MemoryError", I think memory not release for use again,
>>> print("a"*1000000000)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
MemoryError
>>> print("1")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
MemoryError
When i exit() python interpeter, and again print("1") it's work.
And I test in linux its' work:
>>> print("a"*1000000000)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
MemoryError
>>> print("1")
1
>>> print("a")
a
>>>
Thanks.
Ramin
----------
components: Windows
messages: 387282
nosy: Ramin Farajpour Cami, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Never release buffer when MemoryError in prtin()
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43260>
_______________________________________
More information about the New-bugs-announce
mailing list