PNG  IHDR  8] PLTE S =tRNS   PNG  IHDR  8] PLTE S =tRNS   REDROOM
PHP 7.4.33
Preview: Python.h Size: 4.27 KB
/opt/alt/python27/include/python2.7/Python.h

#ifndef Py_PYTHON_H
#define Py_PYTHON_H
/* Since this is a "meta-include" file, no #ifdef __cplusplus / extern "C" { */

/* Include nearly all Python header files */

#include "patchlevel.h"
#include "pyconfig.h"
#include "pymacconfig.h"

/* Cyclic gc is always enabled, starting with release 2.3a1.  Supply the
 * old symbol for the benefit of extension modules written before then
 * that may be conditionalizing on it.  The core doesn't use it anymore.
 */
#ifndef WITH_CYCLE_GC
#define WITH_CYCLE_GC 1
#endif

#include <limits.h>

#ifndef UCHAR_MAX
#error "Something's broken.  UCHAR_MAX should be defined in limits.h."
#endif

#if UCHAR_MAX != 255
#error "Python's source code assumes C's unsigned char is an 8-bit type."
#endif

#if defined(__sgi) && defined(WITH_THREAD) && !defined(_SGI_MP_SOURCE)
#define _SGI_MP_SOURCE
#endif

#include <stdio.h>
#ifndef NULL
#   error "Python.h requires that stdio.h define NULL."
#endif

#include <string.h>
#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_CRYPT_H
#include <crypt.h>
#endif

/* For size_t? */
#ifdef HAVE_STDDEF_H
#include <stddef.h>
#endif

/* CAUTION:  Build setups should ensure that NDEBUG is defined on the
 * compiler command line when building Python in release mode; else
 * assert() calls won't be removed.
 */
#include <assert.h>

#include "pyport.h"

/* pyconfig.h or pyport.h may or may not define DL_IMPORT */
#ifndef DL_IMPORT	/* declarations for DLL import/export */
#define DL_IMPORT(RTYPE) RTYPE
#endif
#ifndef DL_EXPORT	/* declarations for DLL import/export */
#define DL_EXPORT(RTYPE) RTYPE
#endif

/* Debug-mode build with pymalloc implies PYMALLOC_DEBUG.
 *  PYMALLOC_DEBUG is in error if pymalloc is not in use.
 */
#if defined(Py_DEBUG) && defined(WITH_PYMALLOC) && !defined(PYMALLOC_DEBUG)
#define PYMALLOC_DEBUG
#endif
#if defined(PYMALLOC_DEBUG) && !defined(WITH_PYMALLOC)
#error "PYMALLOC_DEBUG requires WITH_PYMALLOC"
#endif
#include "pymath.h"
#include "pymem.h"

#include "object.h"
#include "objimpl.h"

#include "pydebug.h"

#include "unicodeobject.h"
#include "intobject.h"
#include "boolobject.h"
#include "longobject.h"
#include "floatobject.h"
#ifndef WITHOUT_COMPLEX
#include "complexobject.h"
#endif
#include "rangeobject.h"
#include "stringobject.h"
#include "memoryobject.h"
#include "bufferobject.h"
#include "bytesobject.h"
#include "bytearrayobject.h"
#include "tupleobject.h"
#include "listobject.h"
#include "dictobject.h"
#include "enumobject.h"
#include "setobject.h"
#include "methodobject.h"
#include "moduleobject.h"
#include "funcobject.h"
#include "classobject.h"
#include "fileobject.h"
#include "cobject.h"
#include "pycapsule.h"
#include "traceback.h"
#include "sliceobject.h"
#include "cellobject.h"
#include "iterobject.h"
#include "genobject.h"
#include "descrobject.h"
#include "warnings.h"
#include "weakrefobject.h"

#include "codecs.h"
#include "pyerrors.h"

#include "pystate.h"

#include "pyarena.h"
#include "modsupport.h"
#include "pythonrun.h"
#include "ceval.h"
#include "sysmodule.h"
#include "intrcheck.h"
#include "import.h"

#include "abstract.h"

#include "compile.h"
#include "eval.h"

#include "pyctype.h"
#include "pystrtod.h"
#include "pystrcmp.h"
#include "dtoa.h"

/* _Py_Mangle is defined in compile.c */
PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name);

/* PyArg_GetInt is deprecated and should not be used, use PyArg_Parse(). */
#define PyArg_GetInt(v, a)	PyArg_Parse((v), "i", (a))

/* PyArg_NoArgs should not be necessary.
   Set ml_flags in the PyMethodDef to METH_NOARGS. */
#define PyArg_NoArgs(v)		PyArg_Parse(v, "")

/* Argument must be a char or an int in [-128, 127] or [0, 255]. */
#define Py_CHARMASK(c)		((unsigned char)((c) & 0xff))

#include "pyfpe.h"

/* These definitions must match corresponding definitions in graminit.h.
   There's code in compile.c that checks that they are the same. */
#define Py_single_input 256
#define Py_file_input 257
#define Py_eval_input 258

#ifdef HAVE_PTH
/* GNU pth user-space thread support */
#include <pth.h>
#endif

/* Define macros for inline documentation. */
#define PyDoc_VAR(name) static char name[]
#define PyDoc_STRVAR(name,str) PyDoc_VAR(name) = PyDoc_STR(str)
#ifdef WITH_DOC_STRINGS
#define PyDoc_STR(str) str
#else
#define PyDoc_STR(str) ""
#endif

#endif /* !Py_PYTHON_H */

Directory Contents

Dirs: 0 × Files: 93

Name Size Perms Modified Actions
44.17 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
1.07 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
230 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
792 B lrw-r--r-- 2025-01-08 10:54:08
Edit Download
912 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
922 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
1.90 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
1.13 KB lrw-r--r-- 2025-01-08 10:54:08
Edit Download
2.74 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
651 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
4.94 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
2.93 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
2.86 KB lrw-r--r-- 2025-01-08 10:54:08
Edit Download
4.30 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
6.03 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
1.04 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
1.81 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
1.96 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
8.12 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
2.42 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
6.73 KB lrw-r--r-- 2025-01-08 10:54:08
Edit Download
338 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
253 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
1.37 KB lrw-r--r-- 2025-01-08 10:54:08
Edit Download
557 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
3.58 KB lrw-r--r-- 2025-01-08 10:54:08
Edit Download
5.49 KB lrw-r--r-- 2025-01-08 10:54:08
Edit Download
3.18 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
2.92 KB lrw-r--r-- 2025-01-08 10:54:08
Edit Download
891 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
1.87 KB lrw-r--r-- 2025-01-08 10:54:08
Edit Download
2.00 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
2.17 KB lrw-r--r-- 2025-01-08 10:54:08
Edit Download
2.91 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
274 B lrw-r--r-- 2025-01-08 10:54:08
Edit Download
522 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
2.51 KB lrw-r--r-- 2025-01-08 10:54:08
Edit Download
3.82 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
5.67 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
713 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
2.76 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
253 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
3.28 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
4.91 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
609 B lrw-r--r-- 2025-01-08 10:54:08
Edit Download
938 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
39.12 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
14.00 KB lrw-r--r-- 2025-01-08 10:54:08
Edit Download
4.70 KB lrw-r--r-- 2025-01-08 10:54:08
Edit Download
1.03 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
1.74 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
1.42 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
253 B lrw-r--r-- 2025-01-08 10:54:08
Edit Download
1.15 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
2.63 KB lrw-r--r-- 2025-01-08 10:54:08
Edit Download
1.64 KB lrw-r--r-- 2025-01-08 10:54:08
Edit Download
36.94 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
162 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
1.24 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
1.29 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
11.47 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
2.07 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
8.27 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
348 B lrw-r--r-- 2025-01-08 10:54:08
Edit Download
2.92 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
8.43 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
7.16 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
4.60 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
31.79 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
6.25 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
463 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
1.54 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
20.62 KB lrw-r--r-- 2025-01-08 10:54:08
Edit Download
4.27 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
7.06 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
1.13 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
4.17 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
646 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
3.00 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
1.64 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
7.79 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
2.83 KB lrw-r--r-- 2025-01-08 10:54:08
Edit Download
862 B lrw-r--r-- 2025-01-08 10:54:08
Edit Download
3.64 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
865 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
541 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
1.76 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
697 B lrw-r--r-- 2025-01-08 10:54:08
Edit Download
2.12 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
924 B lrw-r--r-- 2025-01-08 10:54:07
Edit Download
51.00 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download
635 B lrw-r--r-- 2025-01-08 10:54:08
Edit Download
2.74 KB lrw-r--r-- 2025-01-08 10:54:07
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).
 !"#$%&'(()*+,-./00123456789 t\ wIDATx ]ys  47Y ƒ -  "  Rv  < f{Ɛ $k l L > L  ~h^ 1  [  r G t& h  l F z3O Y ! p A(_g̷ E8 )S 8 c  Kb"z ~ 5 J xAL WU <  *  5 m;W a pB h ~P J 2 3 6 ҙ .Ƹ P i  4g F R L P ΪK/D  M v (a3 k J Œ4N5* SH ` SdJ z  O J Xՠ V>u ߱ BE&L b2 ?2` tX+  c CB A$ i b C ĀMB E : /  # Dx &l =q Ty  0 \p I ( L Ǎ { e 4k ;`u^ヲ eP!( d {  )T A 8 O;Ě n >;s6 !  :Nx `[S D HU ~ q›J F} a g*D 49 / pn k h (t 8NxƐF _!r չ7 ZR R׷ q/5") Ӎ NY 0 x sZ!   o  fu  ,  K"$ ? pg  㕣=  1» {h " fh7    y  } € +7  $ y " X —ą - G P u 4 m >J 5 L =V ' ^@I p ?MS xЌ XV P ! h "C NS9B8̢ ]!K  e   zA , ӏkbY  !< XQ ٿyS| *" f { w  4@[S <  # 0 ! js [m  =,~ o "ݎ DHf Wo $ g ! Vԅ t mB /y Wf V4񺍸 c+@x?  B ~u " xUN e 0 BĂ) ~J pz! 7y6]l Ԥ@ P a< O /DHC `≻  N m"$  0ObB }{ x AO FCG D R ^ "B  { WDH  UR l@ T #  +"d T ; 0 i  D}. 7 ` ' ] w rE &S i ƕiTD EL P _ u h $ Ա FG wVD G L R Zf ' .!] J /ZR oGЍs Mr Ĥ ʬ 3 Q [3 cL ` ^ p + ( F;# B 5 '  2Y f [  ϶R0e }  E 7 6M aۮ H <& n % L] E}Up x紉, Uw' Q  Ǯշo k ވۙ 0N94 VX5 xEDE l D #֤ } C o )W :  ^ s 9  bRf iX5u ཱི 4 :[  T 1. | [E 2ؽ Iy\ : o x K G 5 ylP ' uK E ftb/i[3 .g _  [3M n G, #NwQ5~  ؚ) | n =Ц"x qg gB ` 듘 ~ x w ? ? R~  _ u. &VQ K˻   H C ( TN˄+ `C dA nB׭ D 3"Z G ê ^k H_ /- ~ " R_  .8 Z_ 6@ o  xg  uP ? 3լ @7AM!  E7^ - =V L  x  g-D0  CtmW 7  O  G _ WD0 g C  w1 r d w : a | \  *" f nֳ ^ H# f L ` Z ۽hV  }S F r0Ù Bć5r] @! NL iQ]{s^=4 d  WD  "  "   M; t" 8 5 e dL| "-*st" ) SWD ?R[S e ooF  20.D ? bo =) A i o d ģ ZҰaO @E =) i D a &ܟa CϞ y6 ,<%{^x%{f8? `iw^ ?/ M * IEND B`