New submission from Scott Turner:

import ast
  ast.literal_eval("+3")
  Traceback (most recent call last):
  [...]
  ValueError: malformed string

----------
messages: 252476
nosy: Scott Turner
priority: normal
severity: normal
status: open
title: ast.literal_eval fails to parse numbers with leading "+"
type: behavior
versions: Python 2.7

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

Reply via email to