Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0023a2f8
Commit
0023a2f8
authored
Feb 27, 2006
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finish removal of CO_GENERATOR_ALLOWED.
parent
1d519e46
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Lib/__future__.py
Lib/__future__.py
+1
-1
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/__future__.py
View file @
0023a2f8
...
...
@@ -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
=
0
x1000
# generators
CO_GENERATOR_ALLOWED
=
0
# generators (obsolete, was 0x1000)
CO_FUTURE_DIVISION
=
0x2000
# division
class
_Feature
:
...
...
Misc/NEWS
View file @
0023a2f8
...
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment