Should __future__ statements ever be phased out?
Moshe Zadka
moshez at zadka.site.co.il
Tue Mar 20 12:37:37 EST 2001
On Tue, 20 Mar 2001, <hamish_lawson at yahoo.co.uk> wrote:
> The __future__ proposal envisages that future statements in a piece of
> code will be phased out once the language change becomes standard.
> (Many of the alternative proposals also envisage this.) Does this not
> pose possible problems with running post-change-aware code on an
> pre-change version of the interpreter?
Yes. That is what is meant when saying "it breaks backwards compatability".
Just like your hypothetical friend can't compile Python, because his
C compile only supports K&R C, not ANSI C.
--
"I'll be ex-DPL soon anyway so I'm |LUKE: Is Perl better than Python?
looking for someplace else to grab power."|YODA: No...no... no. Quicker,
-- Wichert Akkerman (on debian-private)| easier, more seductive.
For public key, finger moshez at debian.org |http://www.{python,debian,gnu}.org
More information about the Python-list
mailing list