New submission from Larry Hastings:

ast.literal_eval() supports all Python operators, yes?  No.  It doesn't support 
"if/else", Python's ternary operator.

Is there a reason it does not?  I think it probably should.

----------
messages: 242760
nosy: benjamin.peterson, georg.brandl, larry
priority: normal
severity: normal
stage: needs patch
status: open
title: ast.literal_eval doesn't support the Python ternary operator
type: behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24146>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to