Finish removal of CO_GENERATOR_ALLOWED.

This commit is contained in:
Neal Norwitz 2006-02-27 23:24:48 +00:00
parent 1d519e4625
commit 0023a2f858
2 changed files with 4 additions and 1 deletions

View File

@ -60,7 +60,7 @@ __all__ = ["all_feature_names"] + all_feature_names
# they're not exported in __all__, because they don't really belong to
# this module.
CO_NESTED = 0x0010 # nested_scopes
CO_GENERATOR_ALLOWED = 0x1000 # generators
CO_GENERATOR_ALLOWED = 0 # generators (obsolete, was 0x1000)
CO_FUTURE_DIVISION = 0x2000 # division
class _Feature:

View File

@ -12,6 +12,9 @@ What's New in Python 2.5 alpha 1?
Core and builtins
-----------------
- CO_GENERATOR_ALLOWED is no longer defined, this behavior is the default.
The name was removed from Include/code.h.
- PEP 308: conditional expressions were added (x if cond else y).
- Patch 1433928: