[pypy-svn] r47972 - pypy/branch/dist-future-fixing/lib-python/modified-2.4.1

jacob at codespeak.net jacob at codespeak.net
Thu Oct 25 19:51:18 CEST 2007


Author: jacob
Date: Thu Oct 25 19:51:18 2007
New Revision: 47972

Modified:
   pypy/branch/dist-future-fixing/lib-python/modified-2.4.1/__future__.py
Log:
Restored the CO_GENERATOR_ALLOWED constant to its proper value.

Modified: pypy/branch/dist-future-fixing/lib-python/modified-2.4.1/__future__.py
==============================================================================
--- pypy/branch/dist-future-fixing/lib-python/modified-2.4.1/__future__.py	(original)
+++ pypy/branch/dist-future-fixing/lib-python/modified-2.4.1/__future__.py	Thu Oct 25 19:51:18 2007
@@ -62,7 +62,7 @@
 # they're not exported in __all__, because they don't really belong to
 # this module.
 CO_NESTED            = 0x0010   # nested_scopes
-CO_GENERATOR_ALLOWED = 0        # generators (obsolete, was 0x1000)
+CO_GENERATOR_ALLOWED = 0x0100   # generators
 CO_FUTURE_DIVISION   = 0x2000   # division
 CO_FUTURE_ABSIMPORT  = 0x4000   # absolute_import
 CO_FUTURE_WITH_STATEMENT  = 0x8000   # with statement



More information about the Pypy-commit mailing list