Hi Alexandre,

I can reproduce the Segmentation Fault. But this is not really a bug, it's just a stack overflow in the parser. You can just allow more memory for python:

$ ulimit -s unlimited
$ python out.py
142913828922

The default on my system is 8192 kByte, 16384 kByte suffice to make it work.

I would not consider this a bug in python. To fix this, one would need another approach for parsing which avoid recursion on the system stack.
That would probably be much slower and error prone.

BTW: The Ruby error message looks like Ruby starts evaluation without parsing the code in full.

Greetings, Torsten




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to