[issue27695] Compilation doesnt' end
Franco Costantini
report at bugs.python.org
Fri Aug 5 13:39:36 EDT 2016
New submission from Franco Costantini:
Hi, we currently are fuzzing Python programs to find valid code that fails to compile. We found this program never finishes its compilation.
$ echo "raise ValueError ; 2 ** 12345678912345" > inf.py
$ python -m py_compile inf.py
We realize the computation is a large one and takes a very long time, in this case the compiler consumes more and more memory over time. Perhaps the compiler shouldn't try to calculate this indefinitely and just return an error.
Regards
----------
messages: 272046
nosy: fcostantini
priority: normal
severity: normal
status: open
title: Compilation doesnt' end
type: compile error
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27695>
_______________________________________
More information about the Python-bugs-list
mailing list