eric smith nvmkmhkiwaqodtruebladecom guido van rossum wrote cool live current __future__ statements still valid 30 believe yes ill double check thu mar 20 2008 555 pm eric smith wrote guido van rossum wrote really though 2to3 supposed remove __future__ imports convinced christian pointed statement httpdocspythonorglibmodulefuturehtml feature description ever deleted __future__ admittedly implemented minimum required since future statements absolute_import with_statement etc py3k figured would make sense print_function behave way want remove __future__ imports py3k obvious anyway extract thu mar 20 2008 402 pm ericsmith wrote author ericsmith date fri mar 21 000208 2008 new revision 61682 modified pythonbranchespy3kincludecodeh pythonbranchespy3kincludecompileh pythonbranchespy3klib__future__py pythonbranchespy3klibtesttest_printpy pythonbranchespy3kpythonfuturec log add __future__ import print_function noop 30 needs syntax error closes issue 2436 modified pythonbranchespy3kincludecodeh pythonbranchespy3kincludecodeh original pythonbranchespy3kincludecodeh fri mar 21 000208 2008 486 487 define co_future_division 0x2000 define co_future_absolute_import 0x4000 absolute imports default define co_future_with_statement 0x8000 define co_future_print_function 0x10000 endif defined future statement modifies syntax modified pythonbranchespy3kincludecompileh pythonbranchespy3kincludecompileh original pythonbranchespy3kincludecompileh fri mar 21 000208 2008 246 247 define future_division division define future_absolute_import absolute_import define future_with_statement with_statement define future_print_function print_function struct _mod declare existence type pyapi_funcpycodeobject pyast_compilestruct _mod const char modified pythonbranchespy3klib__future__py pythonbranchespy3klib__future__py original pythonbranchespy3klib__future__py fri mar 21 000208 2008 536 537 division absolute_import with_statement print_function __all__ all_feature_names all_feature_names 666 677 co_future_division 0x2000 division co_future_absolute_import 0x4000 perform absolute imports default co_future_with_statement 0x8000 statement co_future_print_function 0x10000 print function class _feature def __init__self optionalrelease mandatoryrelease compiler_flag 1143 1167 with_statement _feature2 5 0 alpha 1 2 6 0 alpha 0 co_future_with_statement print_function _feature2 6 0 alpha 2 3 0 0 alpha 0 co_future_print_function modified pythonbranchespy3klibtesttest_printpy pythonbranchespy3klibtesttest_printpy original pythonbranchespy3klibtesttest_printpy fri mar 21 000208 2008 16 18 test correct operation print function __future__ import print_function import unittest test import test_support 986 10011 xn classwith__str__ xabc 1n classwith__str__abc 1 2x unicode tests xu1 2n 1 u2 xuu1234n uu1234 xu abc 1n classwith__str__uabc 1 errors selfassertraisestypeerror print sep3 selfassertraisestypeerror print end3 modified pythonbranchespy3kpythonfuturec pythonbranchespy3kpythonfuturec original pythonbranchespy3kpythonfuturec fri mar 21 000208 2008 336 338 continue else strcmpfeature future_with_statement 0 continue else strcmpfeature future_print_function 0 continue else strcmpfeature braces 0 pyerr_setstringpyexc_syntaxerror chance _______________________________________________ python3000checkins mailing list oijgrn5170yclfwgoipythonorg httpmailpythonorgmailmanlistinfopython3000checkins _______________________________________________ python3000 mailing list smsbmo9552pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom wed 06 aug 2008 135839 0400 python3000 python3000checkins r61682 pythonbranchespy3k includecodeh includecompileh lib__future__py libtesttest_printpy pythonfuturec