annotate Include/pydebug.h @ 54294:dba767bc3155 legacy-trunk

remove mention of old ctypes version
author Benjamin Peterson <benjamin@python.org>
date Sat, 23 May 2009 20:59:09 +0000
parents 1a2dbc84bdfc
children 6b7704fe1be1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3577
6ec7df20697d Debug related variable/function definitions go here.
Guido van Rossum <guido@python.org>
parents:
diff changeset
1
6ec7df20697d Debug related variable/function definitions go here.
Guido van Rossum <guido@python.org>
parents:
diff changeset
2 #ifndef Py_PYDEBUG_H
6ec7df20697d Debug related variable/function definitions go here.
Guido van Rossum <guido@python.org>
parents:
diff changeset
3 #define Py_PYDEBUG_H
6ec7df20697d Debug related variable/function definitions go here.
Guido van Rossum <guido@python.org>
parents:
diff changeset
4 #ifdef __cplusplus
6ec7df20697d Debug related variable/function definitions go here.
Guido van Rossum <guido@python.org>
parents:
diff changeset
5 extern "C" {
6ec7df20697d Debug related variable/function definitions go here.
Guido van Rossum <guido@python.org>
parents:
diff changeset
6 #endif
6ec7df20697d Debug related variable/function definitions go here.
Guido van Rossum <guido@python.org>
parents:
diff changeset
7
24420
36e2fd3f08f7 Excise DL_IMPORT/EXPORT from object.h, and related files. This patch
Mark Hammond <mhammond@skippinet.com.au>
parents: 24155
diff changeset
8 PyAPI_DATA(int) Py_DebugFlag;
36e2fd3f08f7 Excise DL_IMPORT/EXPORT from object.h, and related files. This patch
Mark Hammond <mhammond@skippinet.com.au>
parents: 24155
diff changeset
9 PyAPI_DATA(int) Py_VerboseFlag;
36e2fd3f08f7 Excise DL_IMPORT/EXPORT from object.h, and related files. This patch
Mark Hammond <mhammond@skippinet.com.au>
parents: 24155
diff changeset
10 PyAPI_DATA(int) Py_InteractiveFlag;
41043
728c60e85efa Variant of patch #697613: don't exit the interpreter on a SystemExit
Georg Brandl <georg@python.org>
parents: 27229
diff changeset
11 PyAPI_DATA(int) Py_InspectFlag;
24420
36e2fd3f08f7 Excise DL_IMPORT/EXPORT from object.h, and related files. This patch
Mark Hammond <mhammond@skippinet.com.au>
parents: 24155
diff changeset
12 PyAPI_DATA(int) Py_OptimizeFlag;
36e2fd3f08f7 Excise DL_IMPORT/EXPORT from object.h, and related files. This patch
Mark Hammond <mhammond@skippinet.com.au>
parents: 24155
diff changeset
13 PyAPI_DATA(int) Py_NoSiteFlag;
46107
5341b30b1812 Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 via svnmerge from
Christian Heimes <christian@cheimes.de>
parents: 44566
diff changeset
14 PyAPI_DATA(int) Py_BytesWarningFlag;
24420
36e2fd3f08f7 Excise DL_IMPORT/EXPORT from object.h, and related files. This patch
Mark Hammond <mhammond@skippinet.com.au>
parents: 24155
diff changeset
15 PyAPI_DATA(int) Py_UseClassExceptionsFlag;
36e2fd3f08f7 Excise DL_IMPORT/EXPORT from object.h, and related files. This patch
Mark Hammond <mhammond@skippinet.com.au>
parents: 24155
diff changeset
16 PyAPI_DATA(int) Py_FrozenFlag;
36e2fd3f08f7 Excise DL_IMPORT/EXPORT from object.h, and related files. This patch
Mark Hammond <mhammond@skippinet.com.au>
parents: 24155
diff changeset
17 PyAPI_DATA(int) Py_TabcheckFlag;
36e2fd3f08f7 Excise DL_IMPORT/EXPORT from object.h, and related files. This patch
Mark Hammond <mhammond@skippinet.com.au>
parents: 24155
diff changeset
18 PyAPI_DATA(int) Py_UnicodeFlag;
36e2fd3f08f7 Excise DL_IMPORT/EXPORT from object.h, and related files. This patch
Mark Hammond <mhammond@skippinet.com.au>
parents: 24155
diff changeset
19 PyAPI_DATA(int) Py_IgnoreEnvironmentFlag;
36e2fd3f08f7 Excise DL_IMPORT/EXPORT from object.h, and related files. This patch
Mark Hammond <mhammond@skippinet.com.au>
parents: 24155
diff changeset
20 PyAPI_DATA(int) Py_DivisionWarningFlag;
44566
599f22a349a2 Patch #602345 by Neal Norwitz and me: add -B option and PYTHONDONTWRITEBYTECODE envvar to skip writing bytecode.
Georg Brandl <georg@python.org>
parents: 41832
diff changeset
21 PyAPI_DATA(int) Py_DontWriteBytecodeFlag;
46698
1a2dbc84bdfc Implemented PEP 370
Christian Heimes <christian@cheimes.de>
parents: 46107
diff changeset
22 PyAPI_DATA(int) Py_NoUserSiteDirectory;
27229
f34c28650f14 Update comment, QnewFlag will go away in 3.0, not 2.3
Neal Norwitz <nnorwitz@gmail.com>
parents: 24420
diff changeset
23 /* _XXX Py_QnewFlag should go away in 3.0. It's true iff -Qnew is passed,
21251
45e1177424e1 SF bug #488514: -Qnew needs work
Tim Peters <tim.peters@gmail.com>
parents: 19633
diff changeset
24 on the command line, and is used in 2.2 by ceval.c to make all "/" divisions
27229
f34c28650f14 Update comment, QnewFlag will go away in 3.0, not 2.3
Neal Norwitz <nnorwitz@gmail.com>
parents: 24420
diff changeset
25 true divisions (which they will be in 3.0). */
24420
36e2fd3f08f7 Excise DL_IMPORT/EXPORT from object.h, and related files. This patch
Mark Hammond <mhammond@skippinet.com.au>
parents: 24155
diff changeset
26 PyAPI_DATA(int) _Py_QnewFlag;
41832
a0ee3b2ba361 Add -3 option to the interpreter to warn about features that are
Neal Norwitz <nnorwitz@gmail.com>
parents: 41043
diff changeset
27 /* Warn about 3.x issues */
a0ee3b2ba361 Add -3 option to the interpreter to warn about features that are
Neal Norwitz <nnorwitz@gmail.com>
parents: 41043
diff changeset
28 PyAPI_DATA(int) Py_Py3kWarningFlag;
18808
a8b1acc7a21f Add -E command line switch (ignore environment variables like PYTHONHOME
Neil Schemenauer <nascheme@enme.ucalgary.ca>
parents: 14375
diff changeset
29
18809
81315b6f9469 Fix typo in comment.
Neil Schemenauer <nascheme@enme.ucalgary.ca>
parents: 18808
diff changeset
30 /* this is a wrapper around getenv() that pays attention to
18808
a8b1acc7a21f Add -E command line switch (ignore environment variables like PYTHONHOME
Neil Schemenauer <nascheme@enme.ucalgary.ca>
parents: 14375
diff changeset
31 Py_IgnoreEnvironmentFlag. It should be used for getting variables like
a8b1acc7a21f Add -E command line switch (ignore environment variables like PYTHONHOME
Neil Schemenauer <nascheme@enme.ucalgary.ca>
parents: 14375
diff changeset
32 PYTHONPATH and PYTHONHOME from the environment */
a8b1acc7a21f Add -E command line switch (ignore environment variables like PYTHONHOME
Neil Schemenauer <nascheme@enme.ucalgary.ca>
parents: 14375
diff changeset
33 #define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s))
3577
6ec7df20697d Debug related variable/function definitions go here.
Guido van Rossum <guido@python.org>
parents:
diff changeset
34
24420
36e2fd3f08f7 Excise DL_IMPORT/EXPORT from object.h, and related files. This patch
Mark Hammond <mhammond@skippinet.com.au>
parents: 24155
diff changeset
35 PyAPI_FUNC(void) Py_FatalError(const char *message);
3577
6ec7df20697d Debug related variable/function definitions go here.
Guido van Rossum <guido@python.org>
parents:
diff changeset
36
6ec7df20697d Debug related variable/function definitions go here.
Guido van Rossum <guido@python.org>
parents:
diff changeset
37 #ifdef __cplusplus
6ec7df20697d Debug related variable/function definitions go here.
Guido van Rossum <guido@python.org>
parents:
diff changeset
38 }
6ec7df20697d Debug related variable/function definitions go here.
Guido van Rossum <guido@python.org>
parents:
diff changeset
39 #endif
6ec7df20697d Debug related variable/function definitions go here.
Guido van Rossum <guido@python.org>
parents:
diff changeset
40 #endif /* !Py_PYDEBUG_H */