Steven D'Aprano <steve+pyt...@pearwood.info> added the comment:
I'm not sure we should be so quick to close this. At the very least, I think the documentation could be improved. It does seem desirable to have the invariant: `expression` == `eval("expression")` apply in any environment. Was the change in behaviour between 2 and 3 intentional, or just a side-effect of the change in implementation? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37646> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com