Using python 2.6.5, I can use the with statement without calling from __future__ import with_statement. How can I tell which version of Python supports with without specifically importing it from __future__?
Using python 2.6.5, I can use the with statement without calling from __future__ import
Share
__future__features are self-documenting. Try this:These respectively indicate the first release supporting
from __future__ import with_statementand the first release to support it without usingfrom __future__.Also, read this: