At 10:00 AM 11/23/2006 -0800, Tony Lownds wrote:
>I have a working optional argument syntax implementation, I'm hoping
>to get some direction on
>the implementation decisions so far.... please see below.

Why not just have the generated bytecode construct the annotation 
dictionary directly and assign it to the returned function's 
func_annotations, and the same for func_return if needed?  Then there'd be 
no need to change the MAKE_FUNCTION opcode.  Mightn't that make it easier 
to e.g. backport to the 2.x line, since it'd only be a compiler change, not 
an interpreter or function type change?

_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to