Detecting __future__ features
Carsten Haese
carsten at uniqsys.com
Mon Jul 30 10:40:15 EDT 2007
On Mon, 2007-07-30 at 14:10 +0000, Neil Cerutti wrote:
> On 2007-07-30, Diez B. Roggisch <deets at nospam.web.de> wrote:
> > Making the switch between different parser-implementations on
> > the fly isn't technically impossible - but really, really,
> > really complicated. But then, if it's lameness sucks so much,
> > you might wanna take a stab at it?
>
> I was considering the following specific quote:
>
> What if you are designing a module meant to be imported, and
> used by other programs over which you have no control? You
> can't use "from __future__ import" in your module."
>
> If that were true, I think it would indeed be lame. Of course, it
> isn't true, right?
Correct, the statement you're referring to is not true. See my earlier
reply on this thread for details.
--
Carsten Haese
http://informixdb.sourceforge.net
More information about the Python-list
mailing list