[issue46133] Unclear whether one can (or how to) provide source to exec-generated code

Irit Katriel report at bugs.python.org
Fri Jan 14 13:54:23 EST 2022


Irit Katriel <iritkatriel at gmail.com> added the comment:

The source code is read from a file. If there is no file you get OSError, as the docstring states.

----------
nosy: +iritkatriel
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46133>
_______________________________________


More information about the Python-bugs-list mailing list