Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/python2....
File: Python.h
#ifndef Py_PYTHON_H
[0] Fix | Delete
#define Py_PYTHON_H
[1] Fix | Delete
/* Since this is a "meta-include" file, no #ifdef __cplusplus / extern "C" { */
[2] Fix | Delete
[3] Fix | Delete
/* Include nearly all Python header files */
[4] Fix | Delete
[5] Fix | Delete
#include "patchlevel.h"
[6] Fix | Delete
#include "pyconfig.h"
[7] Fix | Delete
#include "pymacconfig.h"
[8] Fix | Delete
[9] Fix | Delete
/* Cyclic gc is always enabled, starting with release 2.3a1. Supply the
[10] Fix | Delete
* old symbol for the benefit of extension modules written before then
[11] Fix | Delete
* that may be conditionalizing on it. The core doesn't use it anymore.
[12] Fix | Delete
*/
[13] Fix | Delete
#ifndef WITH_CYCLE_GC
[14] Fix | Delete
#define WITH_CYCLE_GC 1
[15] Fix | Delete
#endif
[16] Fix | Delete
[17] Fix | Delete
#include <limits.h>
[18] Fix | Delete
[19] Fix | Delete
#ifndef UCHAR_MAX
[20] Fix | Delete
#error "Something's broken. UCHAR_MAX should be defined in limits.h."
[21] Fix | Delete
#endif
[22] Fix | Delete
[23] Fix | Delete
#if UCHAR_MAX != 255
[24] Fix | Delete
#error "Python's source code assumes C's unsigned char is an 8-bit type."
[25] Fix | Delete
#endif
[26] Fix | Delete
[27] Fix | Delete
#if defined(__sgi) && defined(WITH_THREAD) && !defined(_SGI_MP_SOURCE)
[28] Fix | Delete
#define _SGI_MP_SOURCE
[29] Fix | Delete
#endif
[30] Fix | Delete
[31] Fix | Delete
#include <stdio.h>
[32] Fix | Delete
#ifndef NULL
[33] Fix | Delete
# error "Python.h requires that stdio.h define NULL."
[34] Fix | Delete
#endif
[35] Fix | Delete
[36] Fix | Delete
#include <string.h>
[37] Fix | Delete
#ifdef HAVE_ERRNO_H
[38] Fix | Delete
#include <errno.h>
[39] Fix | Delete
#endif
[40] Fix | Delete
#include <stdlib.h>
[41] Fix | Delete
#ifdef HAVE_UNISTD_H
[42] Fix | Delete
#include <unistd.h>
[43] Fix | Delete
#endif
[44] Fix | Delete
#ifdef HAVE_CRYPT_H
[45] Fix | Delete
#include <crypt.h>
[46] Fix | Delete
#endif
[47] Fix | Delete
[48] Fix | Delete
/* For size_t? */
[49] Fix | Delete
#ifdef HAVE_STDDEF_H
[50] Fix | Delete
#include <stddef.h>
[51] Fix | Delete
#endif
[52] Fix | Delete
[53] Fix | Delete
/* CAUTION: Build setups should ensure that NDEBUG is defined on the
[54] Fix | Delete
* compiler command line when building Python in release mode; else
[55] Fix | Delete
* assert() calls won't be removed.
[56] Fix | Delete
*/
[57] Fix | Delete
#include <assert.h>
[58] Fix | Delete
[59] Fix | Delete
#include "pyport.h"
[60] Fix | Delete
[61] Fix | Delete
/* pyconfig.h or pyport.h may or may not define DL_IMPORT */
[62] Fix | Delete
#ifndef DL_IMPORT /* declarations for DLL import/export */
[63] Fix | Delete
#define DL_IMPORT(RTYPE) RTYPE
[64] Fix | Delete
#endif
[65] Fix | Delete
#ifndef DL_EXPORT /* declarations for DLL import/export */
[66] Fix | Delete
#define DL_EXPORT(RTYPE) RTYPE
[67] Fix | Delete
#endif
[68] Fix | Delete
[69] Fix | Delete
/* Debug-mode build with pymalloc implies PYMALLOC_DEBUG.
[70] Fix | Delete
* PYMALLOC_DEBUG is in error if pymalloc is not in use.
[71] Fix | Delete
*/
[72] Fix | Delete
#if defined(Py_DEBUG) && defined(WITH_PYMALLOC) && !defined(PYMALLOC_DEBUG)
[73] Fix | Delete
#define PYMALLOC_DEBUG
[74] Fix | Delete
#endif
[75] Fix | Delete
#if defined(PYMALLOC_DEBUG) && !defined(WITH_PYMALLOC)
[76] Fix | Delete
#error "PYMALLOC_DEBUG requires WITH_PYMALLOC"
[77] Fix | Delete
#endif
[78] Fix | Delete
#include "pymath.h"
[79] Fix | Delete
#include "pymem.h"
[80] Fix | Delete
[81] Fix | Delete
#include "object.h"
[82] Fix | Delete
#include "objimpl.h"
[83] Fix | Delete
[84] Fix | Delete
#include "pydebug.h"
[85] Fix | Delete
[86] Fix | Delete
#include "unicodeobject.h"
[87] Fix | Delete
#include "intobject.h"
[88] Fix | Delete
#include "boolobject.h"
[89] Fix | Delete
#include "longobject.h"
[90] Fix | Delete
#include "floatobject.h"
[91] Fix | Delete
#ifndef WITHOUT_COMPLEX
[92] Fix | Delete
#include "complexobject.h"
[93] Fix | Delete
#endif
[94] Fix | Delete
#include "rangeobject.h"
[95] Fix | Delete
#include "stringobject.h"
[96] Fix | Delete
#include "memoryobject.h"
[97] Fix | Delete
#include "bufferobject.h"
[98] Fix | Delete
#include "bytesobject.h"
[99] Fix | Delete
#include "bytearrayobject.h"
[100] Fix | Delete
#include "tupleobject.h"
[101] Fix | Delete
#include "listobject.h"
[102] Fix | Delete
#include "dictobject.h"
[103] Fix | Delete
#include "enumobject.h"
[104] Fix | Delete
#include "setobject.h"
[105] Fix | Delete
#include "methodobject.h"
[106] Fix | Delete
#include "moduleobject.h"
[107] Fix | Delete
#include "funcobject.h"
[108] Fix | Delete
#include "classobject.h"
[109] Fix | Delete
#include "fileobject.h"
[110] Fix | Delete
#include "cobject.h"
[111] Fix | Delete
#include "pycapsule.h"
[112] Fix | Delete
#include "traceback.h"
[113] Fix | Delete
#include "sliceobject.h"
[114] Fix | Delete
#include "cellobject.h"
[115] Fix | Delete
#include "iterobject.h"
[116] Fix | Delete
#include "genobject.h"
[117] Fix | Delete
#include "descrobject.h"
[118] Fix | Delete
#include "warnings.h"
[119] Fix | Delete
#include "weakrefobject.h"
[120] Fix | Delete
[121] Fix | Delete
#include "codecs.h"
[122] Fix | Delete
#include "pyerrors.h"
[123] Fix | Delete
[124] Fix | Delete
#include "pystate.h"
[125] Fix | Delete
[126] Fix | Delete
#include "pyarena.h"
[127] Fix | Delete
#include "modsupport.h"
[128] Fix | Delete
#include "pythonrun.h"
[129] Fix | Delete
#include "ceval.h"
[130] Fix | Delete
#include "sysmodule.h"
[131] Fix | Delete
#include "intrcheck.h"
[132] Fix | Delete
#include "import.h"
[133] Fix | Delete
[134] Fix | Delete
#include "abstract.h"
[135] Fix | Delete
[136] Fix | Delete
#include "compile.h"
[137] Fix | Delete
#include "eval.h"
[138] Fix | Delete
[139] Fix | Delete
#include "pyctype.h"
[140] Fix | Delete
#include "pystrtod.h"
[141] Fix | Delete
#include "pystrcmp.h"
[142] Fix | Delete
#include "dtoa.h"
[143] Fix | Delete
[144] Fix | Delete
/* _Py_Mangle is defined in compile.c */
[145] Fix | Delete
PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name);
[146] Fix | Delete
[147] Fix | Delete
/* PyArg_GetInt is deprecated and should not be used, use PyArg_Parse(). */
[148] Fix | Delete
#define PyArg_GetInt(v, a) PyArg_Parse((v), "i", (a))
[149] Fix | Delete
[150] Fix | Delete
/* PyArg_NoArgs should not be necessary.
[151] Fix | Delete
Set ml_flags in the PyMethodDef to METH_NOARGS. */
[152] Fix | Delete
#define PyArg_NoArgs(v) PyArg_Parse(v, "")
[153] Fix | Delete
[154] Fix | Delete
/* Argument must be a char or an int in [-128, 127] or [0, 255]. */
[155] Fix | Delete
#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
[156] Fix | Delete
[157] Fix | Delete
#include "pyfpe.h"
[158] Fix | Delete
[159] Fix | Delete
/* These definitions must match corresponding definitions in graminit.h.
[160] Fix | Delete
There's code in compile.c that checks that they are the same. */
[161] Fix | Delete
#define Py_single_input 256
[162] Fix | Delete
#define Py_file_input 257
[163] Fix | Delete
#define Py_eval_input 258
[164] Fix | Delete
[165] Fix | Delete
#ifdef HAVE_PTH
[166] Fix | Delete
/* GNU pth user-space thread support */
[167] Fix | Delete
#include <pth.h>
[168] Fix | Delete
#endif
[169] Fix | Delete
[170] Fix | Delete
/* Define macros for inline documentation. */
[171] Fix | Delete
#define PyDoc_VAR(name) static char name[]
[172] Fix | Delete
#define PyDoc_STRVAR(name,str) PyDoc_VAR(name) = PyDoc_STR(str)
[173] Fix | Delete
#ifdef WITH_DOC_STRINGS
[174] Fix | Delete
#define PyDoc_STR(str) str
[175] Fix | Delete
#else
[176] Fix | Delete
#define PyDoc_STR(str) ""
[177] Fix | Delete
#endif
[178] Fix | Delete
[179] Fix | Delete
#endif /* !Py_PYTHON_H */
[180] Fix | Delete
[181] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function