This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tonylownds
Recipients
Date 2006-12-20.18:04:52
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I'll work on code formatting and the error checking and other cleanup. Open to other names than tname and
vname, I created those non-terminals in order to use the same code for processing "def" and "lambda". Terminals 
are caps IIUC. 

I did add a test for the multi-paren situation. 2.5 had that bug too.

Re: no changes to ceval, I tried generating the func_annotations dictionary using 
bytecodes. That doesn't change the ceval loop but was more code and was slower. 
So there is a way to avoid ceval changes.

Re: deciding if lambda was going to require parens around the arguments,
I don't think there was any decision, and yes annotations would be easily supportable.
Happy to change if there is support, it's backwards incompatible.

Re: return type syntax, I have only seen the -> syntax (vs a keyword 'as') on Guido's blog.

Thanks for the comments!
History
Date User Action Args
2007-08-23 15:55:32adminlinkissue1607548 messages
2007-08-23 15:55:32admincreate