1 Mar
2001
1 Mar
'01
1:57 p.m.
Guido wrote:
There's one downside to the "directive" syntax: other tools that parse Python will have to be adapted. The __future__ hack doesn't need that.
also: - "from __future__" gives a clear indication that you're using a non-standard feature. "directive" is too generic. - everyone knows how to mentally parse from-import state- ments, and that they may have side effects. nobody knows what "directive" does. - pragmas suck. we need much more discussion (and calender time) before adding a pragma-like directive to Python. - "from __future__" makes me smile. "directive" doesn't. -1, for now. Cheers /F