16 Jul
2019
16 Jul
'19
3:59 a.m.
On Tue, Jul 16, 2019 at 12:30 PM Christopher Barker
What about __future__?
Nope: that isn’t really an import.
Actually it is, and the __future__ module is the best way to find out what future directives there are and which versions they're needed in.
import __future__ __future__.all_feature_names ['nested_scopes', 'generators', 'division', 'absolute_import', 'with_statement', 'print_function', 'unicode_literals', 'barry_as_FLUFL', 'generator_stop', 'annotations'] __future__.generator_stop _Feature((3, 5, 0, 'beta', 1), (3, 7, 0, 'alpha', 0), 524288)
So IMO it *should* be in this sort of collection. ChrisA