New submission from Nick Coghlan: Currently, ast.literal_eval uses a long if/elif chain to implement the limited parsing of the AST. This issue proposes changing the implementation to make it easy to extend to cover some of the implementation details of PEP 436 (Argument Clinic).
---------- files: ast_literal_eval_converter_functions.diff keywords: patch messages: 184722 nosy: ncoghlan priority: normal severity: normal stage: patch review status: open title: Use converter functions to implement ast.literal_eval type: enhancement Added file: http://bugs.python.org/file29496/ast_literal_eval_converter_functions.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17490> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com