PEP 3107 and stronger typing (note: probably a newbie question)

BJörn Lindqvist bjourne at gmail.com
Wed Jul 4 19:05:29 EDT 2007


On 6/22/07, Eduardo EdCrypt O. Padoan <eopadoan at altavix.com> 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.

-- 
mvh Björn



More information about the Python-list mailing list