[issue15245] ast.literal_eval fails on some literals

Éric Araujo report at bugs.python.org
Fri Jul 6 02:21:05 CEST 2012


Éric Araujo <merwok at netwok.org> added the comment:

Thanks for the patch.  It looks good to me, but I think that adding support for Ellipsis and adding a new parameter to allow extra names are two different requests, but someone more knowledgeable than me about AST may judge differently.  My rationale is that supporting Ellipsis literals is a no-brainer addition, whereas adding an argument to support things that are not actual Python literals may be rejected.  You don’t have to split your patch in two anyway, it’s easy to do if the dev who will commit wants to.

Each change would also need a doc update.

----------
stage: test needed -> patch review

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


More information about the Python-bugs-list mailing list