On 11/24/06, Tony Lownds <[EMAIL PROTECTED]> wrote:

> Obviously signature objects would grow support for annotations, but I
> still need the information to be carried on the code object to
> incorporate into signature objects.
>

Signature objects still need a way to know the nested parameters, right?


They already handle them.

How about a co_argnames attribute? eg for

def f((x, y), z): pass

f.func_code.co_argnames would be (('x', 'y'), 'z')


That's fine, but the compiler would need to change if it were to use this.
Plus I am still hoping to make nested parameters disappear in Py3K (I won't
be pushing for it any sooner than PyCon, though).

I need to implement something like this to properly build
func_annotations
inside MAKE_FUNCTION.



I don't quite follow.  Don't you already have support in MAKE_FUNCTION when
the object is created?

-Brett
_______________________________________________
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