[New-bugs-announce] [issue17490] Use converter functions to implement ast.literal_eval

Nick Coghlan report at bugs.python.org
Wed Mar 20 03:34:35 CET 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue17490>
_______________________________________


More information about the New-bugs-announce mailing list