For the implementation of Implement PEP [PEP]3102 - Keyword Only
Argument, it would be nice to have a (abstract) data structure
representing the signature of a function. Currently, the code object
only has # of arguments, # of default values, so if we want to allow
something like,
def foo(a,b=10,*,c,d):
...
or,
def foo(a,b=10,*,c,d=20):
...
and signature data structure will be very helpful.
Signature data structure is roughly described in
http://mail.python.org/pipermail/python-3000/2006-April/001249.html ,
but has anyone got detailed idea or implemented it (doesn't matter how
naive the implementation is) ? Brett, is that document most recent one
describing signature data structure?
-Jiwon
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com