On 7/4/07, BJörn Lindqvist <[EMAIL PROTECTED]> wrote:
> On 6/22/07, Eduardo EdCrypt O. Padoan <[EMAIL PROTECTED]> wrote:
> > Remember that pure CPython has no different "compile time" and
> > runtiime. But Psyco and ShedSkin could use the annotations the way
> > they want.
> .....
> > def compile(source: "something compilable",
> >            filename: "where the compilable thing comes from",
> >            mode: "is this a single statement or a suite?"):
>
> I think the above would make an annotation-enhanced Psyco or ShedSkin
> very confused.

This example was to show that annotations are for documentation too,
not only type checking or optimization. It is from the PEP.


----
EduardoOPadoan (eopadoan->altavix::com)
Bookmarks: http://del.icio.us/edcrypt
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to