Armin Rigo <[email protected]> added the comment:

It could be the case that `platform.architecture()` reports a bogus result.  Try
to print `sys.maxint`.  If you get 2147483647 --- i.e. a number smaller than
2**31 --- then you have a 32-bit CPython and it will not try to constant-fold
`b"x"*(2**31)`.  Another way to see the problem is to try instead to
constant-fold `b"x"*(2**30)`, which should explode the memory everywhere (but
only to 1GB).

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1721>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to