Home | History | Annotate | Download | only in Modules

Lines Matching refs:Python

62  * This file should remain backward compatible with Python 2.1, but see PEP
65 * http://www.python.org/peps/pep-0291.html
97 #include <Python.h>
112 #if (PY_VERSION_HEX < 0x02060000) /* really: before python trunk r63675 */
114 * These #defines map to their equivalent on earlier python versions. */
135 /* These are for when calling Python --> C */
139 /* and these are for calling C --> Python */
210 #error "Python 2.1 or later required"
216 #define DEFAULT_CURSOR_SET_RETURNS_NONE 1 /* 0 in pybsddb < 4.2, python < 2.4 */
219 /* See comment in Python 2.6 "object.h" */
235 /* for compatibility with Python 2.5 and earlier */
385 /* Create a DBT structure (containing key and data values) from Python
920 /* keep a reference to our python DBEnv object */
1614 /* PyEval_InitThreads is called here due to a quirk in python 1.5
2291 but does not hold python references to them or prevent
2293 python to crash when things are done in the wrong order. */
5686 ** Calculate size. Python C API
10210 /* Since Python 2.5, PyErr_NewException() accepts a tuple, to be able to
10211 ** derive from several classes. We use this new API only for Python 3.0,
10284 ** Capsules exist from Python 2.7 and 3.1.
10285 ** We don't support Python 3.0 anymore, so...
10338 * and imported on top of python >= 2.3 that includes its own older