[issue17490] Use converter functions to implement ast.literal_eval

Nick Coghlan report at bugs.python.org
Thu Mar 21 02:56:31 CET 2013


Nick Coghlan added the comment:

Now that I've actually implemented it, I'm fairly sure it's not a good idea. It might be better if we remove the recursive behaviour.

As it is, Larry's fairly happy with what he is already doing (calling ast.parse and walking the tree) and I think that's actually simpler than using this API would be.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17490>
_______________________________________


More information about the Python-bugs-list mailing list