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
11d2c8fe
Commit
11d2c8fe
authored
Feb 25, 2006
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Per discussion on python-dev, remove CO_GENERATOR_ALLOWED. Leave comment about not removing yet.
parent
a75d2f6e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
Include/code.h
Include/code.h
+4
-1
Include/pythonrun.h
Include/pythonrun.h
+1
-1
No files found.
Include/code.h
View file @
11d2c8fe
...
@@ -40,7 +40,10 @@ typedef struct {
...
@@ -40,7 +40,10 @@ typedef struct {
*/
*/
#define CO_NOFREE 0x0040
#define CO_NOFREE 0x0040
#define CO_GENERATOR_ALLOWED 0x1000
/* no longer used in an essential way */
#if 0
/* This is no longer used. Stopped defining in 2.5, do not re-use. */
#define CO_GENERATOR_ALLOWED 0x1000
#endif
#define CO_FUTURE_DIVISION 0x2000
#define CO_FUTURE_DIVISION 0x2000
#define CO_MAXBLOCKS 20
/* Max static block nesting within a function */
#define CO_MAXBLOCKS 20
/* Max static block nesting within a function */
...
...
Include/pythonrun.h
View file @
11d2c8fe
...
@@ -8,7 +8,7 @@ extern "C" {
...
@@ -8,7 +8,7 @@ extern "C" {
#endif
#endif
#define PyCF_MASK (CO_FUTURE_DIVISION)
#define PyCF_MASK (CO_FUTURE_DIVISION)
#define PyCF_MASK_OBSOLETE (CO_
GENERATOR_ALLOWED | CO_
NESTED)
#define PyCF_MASK_OBSOLETE (CO_NESTED)
#define PyCF_SOURCE_IS_UTF8 0x0100
#define PyCF_SOURCE_IS_UTF8 0x0100
#define PyCF_DONT_IMPLY_DEDENT 0x0200
#define PyCF_DONT_IMPLY_DEDENT 0x0200
...
...
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