[Python-Dev] yield without future statement?

Samuele Pedroni Samuele Pedroni <pedroni@inf.ethz.ch>
Mon, 13 Aug 2001 18:29:37 +0200 (MET DST)


[Jeremy Hylton]
> I does seem almost comical that the introduction of yield as a keyword
> requires a future statement but the descr branch changes do not.  Talk
> about silent failures -- dir() no longers work, method resolution for
> multiple inheritance changes, changes to the str names of types.  Why
> don't these require a future statement?
> 
About dir, in Jython it already worked like it works now in CPython,
so that's was just an implemenation detail :-).

regards.