[issue9154] Parser module doesn't understand function annotations.

Mark Dickinson report at bugs.python.org
Sun Jul 4 21:03:24 CEST 2010


New submission from Mark Dickinson <dickinsm at gmail.com>:

Python 3.2a0 (py3k:82529M, Jul  4 2010, 17:35:10) 
[GCC 4.2.1 (Apple Inc. build 5659)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import parser
[38213 refs]
>>> parser.sequence2st(parser.suite("def f(a:int) -> int: pass").totuple())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
parser.ParserError: VALIDATION FAILURE: report this to the maintainer!
[38264 refs]

----------
assignee: mark.dickinson
components: Extension Modules
messages: 109256
nosy: mark.dickinson
priority: normal
severity: normal
stage: unit test needed
status: open
title: Parser module doesn't understand function annotations.
type: behavior
versions: Python 3.1, Python 3.2

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


More information about the Python-bugs-list mailing list