[issue31778] ast.literal_eval supports non-literals in Python 3

2017-10-13 Thread David Bieber
David Bieber added the comment: # Replies > Rolling back previous enhancements would break existing code. I sympathize completely with the need to maintain backward compatibility. And if this is the reason that this issue gets treated only as a documentation issue, rather than as a behav

[issue31778] ast.literal_eval supports non-literals in Python 3

2017-10-12 Thread David Bieber
Change by David Bieber : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue31778> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue31778] ast.literal_eval supports non-literals in Python 3

2017-10-12 Thread David Bieber
New submission from David Bieber : # Overview ast.literal_eval supports some non-literals in Python 3. The behavior of this function runs contrary to the documented behavior. # The Issue The [documentation](https://docs.python.org/3/library/ast.html#ast.literal_eval) says of the function &qu