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

2012-04-29 Thread Roundup Robot

Roundup Robot devn...@psf.upfronthosting.co.za added the comment:

New changeset 9f57d66689ca by Mark Dickinson in branch '3.2':
Issue #9154:  Fix parser module to understand function annotations.
http://hg.python.org/cpython/rev/9f57d66689ca

New changeset cee5cb877631 by Mark Dickinson in branch 'default':
Issue #9154: Merge fix from 3.2.
http://hg.python.org/cpython/rev/cee5cb877631

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9154
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2012-04-29 Thread Mark Dickinson

Changes by Mark Dickinson dicki...@gmail.com:


--
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9154
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2012-03-10 Thread Mark Dickinson

Changes by Mark Dickinson dicki...@gmail.com:


--
versions: +Python 3.3 -Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9154
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-07-22 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc amaur...@gmail.com added the comment:

The extra space in Grammar was already removed in r82624.
The remaining part of the patch looks good to me.
The lambda thing is not important, if you get an error when trying to compile 
the resulting st.

--
nosy: +amaury.forgeotdarc

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9154
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-07-06 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

Patch fixing validation of function annotations and keyword-only arguments.

There's still the issue of false positives:  annotations on lambda arguments 
should raise an exception, but don't.

--
keywords: +patch
Added file: http://bugs.python.org/file17880/parser_annotations_kwonly.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9154
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-07-06 Thread Mark Dickinson

Changes by Mark Dickinson dicki...@gmail.com:


--
stage: unit test needed - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9154
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-07-04 Thread Mark Dickinson

New submission from Mark Dickinson dicki...@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 rep...@bugs.python.org
http://bugs.python.org/issue9154
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com