[issue21233] Add *Calloc functions to CPython memory allocation API

Charles-François Natali report at bugs.python.org
Sun Apr 27 19:48:44 CEST 2014


Charles-François Natali added the comment:

> And your test.py produces the same result. Are you sure you don't have a ulimit set on address space?

Yep, I'm sure:
$  ulimit -v
unlimited

It's probably due to the exponential over-allocation used by the array
(to guarantee amortized constant cost).

How about:
python -c "b = bytes('x' * <large>)"

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21233>
_______________________________________


More information about the Python-bugs-list mailing list