[issue25733] Code and IDLE should catch all compile errors.

Serhiy Storchaka report at bugs.python.org
Sat Jun 11 00:38:12 EDT 2016


Serhiy Storchaka added the comment:

SystemError is serious bug. Please open separate issue for this.

> Why does compile not support null bytes in the first place?

Due to implementation detail of CPython tokenizer. I uses NUL-terminated C strings.

Yet one possible exception: MemoryError. I agree that the long tuple should be replaced by Exception.

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list