Terry J. Reedy <[email protected]> added the comment:

Add compile(..., mode='repl')?
"If mode is 'repl', compile returns None to indicate that the code is 
incomplete as is but might become valid if more lines (or maybe just more code) 
were added"

Deprecate _maybe_compile (and stop trying to patch it).

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43366>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to