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

Side by Side Diff: Include/pydebug.h

Issue 13704: Random number generator in Python core
Patch Set: Created 8 years 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 | « no previous file | Include/pyhash.h » ('j') | Include/pyrandom.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef Py_LIMITED_API 1 #ifndef Py_LIMITED_API
2 #ifndef Py_PYDEBUG_H 2 #ifndef Py_PYDEBUG_H
3 #define Py_PYDEBUG_H 3 #define Py_PYDEBUG_H
4 #ifdef __cplusplus 4 #ifdef __cplusplus
5 extern "C" { 5 extern "C" {
6 #endif 6 #endif
7 7
8 PyAPI_DATA(int) Py_DebugFlag; 8 PyAPI_DATA(int) Py_DebugFlag;
9 PyAPI_DATA(int) Py_VerboseFlag; 9 PyAPI_DATA(int) Py_VerboseFlag;
10 PyAPI_DATA(int) Py_QuietFlag; 10 PyAPI_DATA(int) Py_QuietFlag;
11 PyAPI_DATA(int) Py_InteractiveFlag; 11 PyAPI_DATA(int) Py_InteractiveFlag;
12 PyAPI_DATA(int) Py_InspectFlag; 12 PyAPI_DATA(int) Py_InspectFlag;
13 PyAPI_DATA(int) Py_OptimizeFlag; 13 PyAPI_DATA(int) Py_OptimizeFlag;
14 PyAPI_DATA(int) Py_NoSiteFlag; 14 PyAPI_DATA(int) Py_NoSiteFlag;
15 PyAPI_DATA(int) Py_BytesWarningFlag; 15 PyAPI_DATA(int) Py_BytesWarningFlag;
16 PyAPI_DATA(int) Py_UseClassExceptionsFlag; 16 PyAPI_DATA(int) Py_UseClassExceptionsFlag;
17 PyAPI_DATA(int) Py_FrozenFlag; 17 PyAPI_DATA(int) Py_FrozenFlag;
18 PyAPI_DATA(int) Py_IgnoreEnvironmentFlag; 18 PyAPI_DATA(int) Py_IgnoreEnvironmentFlag;
19 PyAPI_DATA(int) Py_DontWriteBytecodeFlag; 19 PyAPI_DATA(int) Py_DontWriteBytecodeFlag;
20 PyAPI_DATA(int) Py_NoUserSiteDirectory; 20 PyAPI_DATA(int) Py_NoUserSiteDirectory;
21 PyAPI_DATA(int) Py_UnbufferedStdioFlag; 21 PyAPI_DATA(int) Py_UnbufferedStdioFlag;
22 PyAPI_DATA(int) Py_NoRandomHashFlag;
22 23
23 /* this is a wrapper around getenv() that pays attention to 24 /* this is a wrapper around getenv() that pays attention to
24 Py_IgnoreEnvironmentFlag. It should be used for getting variables like 25 Py_IgnoreEnvironmentFlag. It should be used for getting variables like
25 PYTHONPATH and PYTHONHOME from the environment */ 26 PYTHONPATH and PYTHONHOME from the environment */
26 #define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s)) 27 #define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s))
27 28
28 #ifdef __cplusplus 29 #ifdef __cplusplus
29 } 30 }
30 #endif 31 #endif
31 #endif /* !Py_PYDEBUG_H */ 32 #endif /* !Py_PYDEBUG_H */
32 #endif /* Py_LIMITED_API */ 33 #endif /* Py_LIMITED_API */
OLDNEW
« no previous file with comments | « no previous file | Include/pyhash.h » ('j') | Include/pyrandom.h » ('J')

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