[New-bugs-announce] [issue16592] stringlib_bytes_join doesn't raise MemoryError on allocation failure
Antoine Pitrou
report at bugs.python.org
Sun Dec 2 02:27:30 CET 2012
New submission from Antoine Pitrou:
>>> l = [b''] * (100*1024*1024)
[104918914 refs]
>>> d = b''.join(l)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
SystemError: error return without exception set
(you'll have to adjust the list size based on your system memory size)
----------
components: Interpreter Core
keywords: easy
messages: 176767
nosy: pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: stringlib_bytes_join doesn't raise MemoryError on allocation failure
type: behavior
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16592>
_______________________________________
More information about the New-bugs-announce
mailing list