<s> """<STR_LIT>""" <EOL> from nuitka . PythonVersions import python_version <EOL> from nuitka . utils . InstanceCounters import counted_del , counted_init <EOL> _future_division_default = python_version >= <NUM_LIT> <EOL> _future_absolute_import_default = python_version >= <NUM_LIT> <EOL> _future_generator_stop_default = python_version >= <NUM_LIT> <EOL> class FutureSpec : <EOL> @ counted_init <EOL> def __init__ ( self ) : <EOL> self . future_division = _future_division_default <EOL> self . unicode_literals = False <EOL> self . absolute_import = _future_absolute_import_default <EOL> self . future_print = False <EOL> self . barry_bdfl = False <EOL> self . generator_stop = _future_generator_stop_default <EOL> __del__ = counted_del ( ) <EOL> def clone ( self ) : <EOL> result = FutureSpec ( ) <EOL> result . future_division = self . future_division <EOL> result . unicode_literals = self . unicode_literals <EOL> result . absolute_import = self . absolute_import <EOL> result . future_print = self . future_print <EOL> result . barry_bdfl = self . barry_bdfl <EOL> return result <EOL> def isFutureDivision ( self ) : <EOL> return self . future_division <EOL> def enableFutureDivision ( self ) : <EOL> self . future_division = True <EOL> def enableFuturePrint ( self ) : <EOL> self . future_print = True <EOL> def enableUnicodeLiterals ( self ) : <EOL> self . unicode_literals = True <EOL> def enableAbsoluteImport ( self ) : <EOL> self . absolute_import = True <EOL> def enableBarry ( self ) : <EOL> self . barry_bdfl = True <EOL> def enableGeneratorStop ( self ) : <EOL> self . generator_stop = True <EOL> def isAbsoluteImport ( self ) : <EOL> return self . absolute_import <EOL> def isGeneratorStop ( self ) : <EOL> return self . generator_stop <EOL> def asFlags ( self ) : <EOL> """<STR_LIT>""" <EOL> result = [ ] <EOL> if self . future_division and python_version < <NUM_LIT> : <EOL> result . append ( "<STR_LIT>" ) <EOL> if self . unicode_literals : <EOL> result . append ( "<STR_LIT>" ) <EOL> if self . absolute_import and python_version < <NUM_LIT> : <EOL> result . append ( "<STR_LIT>" ) <EOL> if self . future_print and python_version < <NUM_LIT> : <EOL> result . append ( "<STR_LIT>" ) <EOL> if self . barry_bdfl and python_version >= <NUM_LIT> : <EOL> result . append ( "<STR_LIT>" ) <EOL> if self . generator_stop and python_version >= <NUM_LIT> : <EOL> result . append ( "<STR_LIT>" ) <EOL> return tuple ( result ) </s>
