Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

This is a change I implemented and is explicitly deactivated in the reprl:

https://github.com/python/cpython/blob/master/Parser/pegen.c#L1191

The problem here is that when you call compile() there is no way to know if you 
are doing it to simulate a reprl() or not.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<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