On 06/09/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>    > I haven't read it, but it seems very similar to the new annotations
>    > capability in py3k (pep 3107).  Will that not suffice?
>
> Which I notice has a "Requires: 362" field.  Perhaps you're good to go. ;-)

Apparently not (yet, at least).

>\Apps\Python30\python.exe
Python 3.0a1 (py3k:57844, Aug 31 2007, 16:54:27) [MSC v.1310 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> def f(): pass
...
>>> f.__signature__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'function' object has no attribute '__signature__'
>>> signature(f)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'signature' is not defined

Paul.
_______________________________________________
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