Detecting __future__ features

Lawrence Oluyede raims at
Mon Jul 30 08:17:58 EDT 2007

Steven D'Aprano <steve at> wrote:
> Is there any general mechanism? 

I'd just use the expected future feature and if the result is not what I
expect (or Python raises any kind of exception, like using a keyword not
present) I'd think I'm in the past :-)

Lawrence, -
"It is difficult to get a man to understand 
something when his salary depends on not
understanding it" - Upton Sinclair

More information about the Python-list mailing list