Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(26840)

Side by Side Diff: Include/Python.h

Issue 11863: Enforce PEP 11 - remove support for legacy systems
Patch Set: Created 8 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « configure.in ('k') | PC/pyconfig.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef Py_PYTHON_H 1 #ifndef Py_PYTHON_H
2 #define Py_PYTHON_H 2 #define Py_PYTHON_H
3 /* Since this is a "meta-include" file, no #ifdef __cplusplus / extern "C" { */ 3 /* Since this is a "meta-include" file, no #ifdef __cplusplus / extern "C" { */
4 4
5 /* Include nearly all Python header files */ 5 /* Include nearly all Python header files */
6 6
7 #include "patchlevel.h" 7 #include "patchlevel.h"
8 #include "pyconfig.h" 8 #include "pyconfig.h"
9 #include "pymacconfig.h" 9 #include "pymacconfig.h"
10 10
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 /* Argument must be a char or an int in [-128, 127] or [0, 255]. */ 143 /* Argument must be a char or an int in [-128, 127] or [0, 255]. */
144 #define Py_CHARMASK(c) ((unsigned char)((c) & 0xff)) 144 #define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
145 145
146 #include "pyfpe.h" 146 #include "pyfpe.h"
147 147
148 /* These definitions must match corresponding definitions in graminit.h. 148 /* These definitions must match corresponding definitions in graminit.h.
149 There's code in compile.c that checks that they are the same. */ 149 There's code in compile.c that checks that they are the same. */
150 #define Py_single_input 256 150 #define Py_single_input 256
151 #define Py_file_input 257 151 #define Py_file_input 257
152 #define Py_eval_input 258 152 #define Py_eval_input 258
153
154 #ifdef HAVE_PTH
155 /* GNU pth user-space thread support */
156 #include <pth.h>
157 #endif
158 153
159 /* Define macros for inline documentation. */ 154 /* Define macros for inline documentation. */
160 #define PyDoc_VAR(name) static char name[] 155 #define PyDoc_VAR(name) static char name[]
161 #define PyDoc_STRVAR(name,str) PyDoc_VAR(name) = PyDoc_STR(str) 156 #define PyDoc_STRVAR(name,str) PyDoc_VAR(name) = PyDoc_STR(str)
162 #ifdef WITH_DOC_STRINGS 157 #ifdef WITH_DOC_STRINGS
163 #define PyDoc_STR(str) str 158 #define PyDoc_STR(str) str
164 #else 159 #else
165 #define PyDoc_STR(str) "" 160 #define PyDoc_STR(str) ""
166 #endif 161 #endif
167 162
168 #endif /* !Py_PYTHON_H */ 163 #endif /* !Py_PYTHON_H */
OLDNEW
« no previous file with comments | « configure.in ('k') | PC/pyconfig.h » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+