/
opt
/
alt
/
python34
/
include
/
python3.4m
/
/opt/alt/python34/include/python3.4m
mkdir
upload
Name
Size
Mode
Actions
abstract.h
43078
0644
edit
dl
rm
accu.h
1016
0644
edit
dl
rm
asdl.h
1184
0644
edit
dl
rm
ast.h
477
0644
edit
dl
rm
bitset.h
792
0644
edit
dl
rm
bltinmodule.h
264
0644
edit
dl
rm
boolobject.h
886
0644
edit
dl
rm
bytearrayobject.h
2114
0644
edit
dl
rm
bytesobject.h
4922
0644
edit
dl
rm
bytes_methods.h
2025
0644
edit
dl
rm
cellobject.h
701
0644
edit
dl
rm
ceval.h
7200
0644
edit
dl
rm
classobject.h
1666
0644
edit
dl
rm
code.h
4227
0644
edit
dl
rm
codecs.h
6552
0644
edit
dl
rm
compile.h
2117
0644
edit
dl
rm
complexobject.h
1954
0644
edit
dl
rm
datetime.h
8542
0644
edit
dl
rm
descrobject.h
2913
0644
edit
dl
rm
dictobject.h
5178
0644
edit
dl
rm
dtoa.h
458
0644
edit
dl
rm
dynamic_annotations.h
22469
0644
edit
dl
rm
enumobject.h
253
0644
edit
dl
rm
errcode.h
1497
0644
edit
dl
rm
eval.h
597
0644
edit
dl
rm
fileobject.h
1862
0644
edit
dl
rm
fileutils.h
1501
0644
edit
dl
rm
floatobject.h
4641
0644
edit
dl
rm
frameobject.h
3558
0644
edit
dl
rm
funcobject.h
3771
0644
edit
dl
rm
genobject.h
1131
0644
edit
dl
rm
graminit.h
1873
0644
edit
dl
rm
grammar.h
2045
0644
edit
dl
rm
import.h
3901
0644
edit
dl
rm
intrcheck.h
460
0644
edit
dl
rm
iterobject.h
567
0644
edit
dl
rm
listobject.h
2836
0644
edit
dl
rm
longintrepr.h
3997
0644
edit
dl
rm
longobject.h
8174
0644
edit
dl
rm
marshal.h
803
0644
edit
dl
rm
memoryobject.h
2861
0644
edit
dl
rm
metagrammar.h
253
0644
edit
dl
rm
methodobject.h
3307
0644
edit
dl
rm
modsupport.h
4897
0644
edit
dl
rm
moduleobject.h
1615
0644
edit
dl
rm
namespaceobject.h
297
0644
edit
dl
rm
node.h
1008
0644
edit
dl
rm
object.h
38522
0644
edit
dl
rm
objimpl.h
13848
0644
edit
dl
rm
opcode.h
5211
0644
edit
dl
rm
osdefs.h
848
0644
edit
dl
rm
parsetok.h
2885
0644
edit
dl
rm
patchlevel.h
1130
0644
edit
dl
rm
pgen.h
253
0644
edit
dl
rm
pgenheaders.h
1144
0644
edit
dl
rm
pyarena.h
2744
0644
edit
dl
rm
pyatomic.h
5944
0644
edit
dl
rm
pycapsule.h
1726
0644
edit
dl
rm
pyconfig-64.h
43349
0644
edit
dl
rm
pyconfig.h
162
0644
edit
dl
rm
pyctype.h
1320
0644
edit
dl
rm
pydebug.h
1019
0644
edit
dl
rm
pyerrors.h
16023
0644
edit
dl
rm
pyexpat.h
2450
0644
edit
dl
rm
pyfpe.h
8489
0644
edit
dl
rm
pygetopt.h
388
0644
edit
dl
rm
pyhash.h
4274
0644
edit
dl
rm
pymacconfig.h
2988
0644
edit
dl
rm
pymacro.h
2821
0644
edit
dl
rm
pymath.h
7218
0644
edit
dl
rm
pymem.h
6782
0644
edit
dl
rm
pyport.h
30874
0644
edit
dl
rm
pystate.h
9124
0644
edit
dl
rm
pystrcmp.h
436
0644
edit
dl
rm
pystrtod.h
1276
0644
edit
dl
rm
Python-ast.h
19489
0644
edit
dl
rm
Python.h
2856
0644
edit
dl
rm
pythonrun.h
10184
0644
edit
dl
rm
pythread.h
3036
0644
edit
dl
rm
pytime.h
2914
0644
edit
dl
rm
py_curses.h
4175
0644
edit
dl
rm
rangeobject.h
629
0644
edit
dl
rm
setobject.h
3301
0644
edit
dl
rm
sliceobject.h
1590
0644
edit
dl
rm
structmember.h
2068
0644
edit
dl
rm
structseq.h
1353
0644
edit
dl
rm
symtable.h
5099
0644
edit
dl
rm
sysmodule.h
1355
0644
edit
dl
rm
token.h
1888
0644
edit
dl
rm
traceback.h
2213
0644
edit
dl
rm
tupleobject.h
2444
0644
edit
dl
rm
typeslots.h
1997
0644
edit
dl
rm
ucnhash.h
1057
0644
edit
dl
rm
unicodeobject.h
78133
0644
edit
dl
rm
warnings.h
1426
0644
edit
dl
rm
weakrefobject.h
2866
0644
edit
dl
rm
Edit:
/opt/alt/python34/include/python3.4m/symtable.h
(5099B)
#ifndef Py_LIMITED_API #ifndef Py_SYMTABLE_H #define Py_SYMTABLE_H #ifdef __cplusplus extern "C" { #endif /* XXX(ncoghlan): This is a weird mix of public names and interpreter internal * names. */ typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock } _Py_block_ty; struct _symtable_entry; struct symtable { PyObject *st_filename; /* name of file being compiled, decoded from the filesystem encoding */ struct _symtable_entry *st_cur; /* current symbol table entry */ struct _symtable_entry *st_top; /* symbol table entry for module */ PyObject *st_blocks; /* dict: map AST node addresses * to symbol table entries */ PyObject *st_stack; /* list: stack of namespace info */ PyObject *st_global; /* borrowed ref to st_top->ste_symbols */ int st_nblocks; /* number of blocks used. kept for consistency with the corresponding compiler structure */ PyObject *st_private; /* name of current class or NULL */ PyFutureFeatures *st_future; /* module's future features that affect the symbol table */ int recursion_depth; /* current recursion depth */ int recursion_limit; /* recursion limit */ }; typedef struct _symtable_entry { PyObject_HEAD PyObject *ste_id; /* int: key in ste_table->st_blocks */ PyObject *ste_symbols; /* dict: variable names to flags */ PyObject *ste_name; /* string: name of current block */ PyObject *ste_varnames; /* list of function parameters */ PyObject *ste_children; /* list of child blocks */ PyObject *ste_directives;/* locations of global and nonlocal statements */ _Py_block_ty ste_type; /* module, class, or function */ int ste_unoptimized; /* false if namespace is optimized */ int ste_nested; /* true if block is nested */ unsigned ste_free : 1; /* true if block has free variables */ unsigned ste_child_free : 1; /* true if a child block has free vars, including free refs to globals */ unsigned ste_generator : 1; /* true if namespace is a generator */ unsigned ste_varargs : 1; /* true if block has varargs */ unsigned ste_varkeywords : 1; /* true if block has varkeywords */ unsigned ste_returns_value : 1; /* true if namespace uses return with an argument */ unsigned ste_needs_class_closure : 1; /* for class scopes, true if a closure over __class__ should be created */ int ste_lineno; /* first line of block */ int ste_col_offset; /* offset of first line of block */ int ste_opt_lineno; /* lineno of last exec or import * */ int ste_opt_col_offset; /* offset of last exec or import * */ int ste_tmpname; /* counter for listcomp temp vars */ struct symtable *ste_table; } PySTEntryObject; PyAPI_DATA(PyTypeObject) PySTEntry_Type; #define PySTEntry_Check(op) (Py_TYPE(op) == &PySTEntry_Type) PyAPI_FUNC(int) PyST_GetScope(PySTEntryObject *, PyObject *); PyAPI_FUNC(struct symtable *) PySymtable_Build( mod_ty mod, const char *filename, /* decoded from the filesystem encoding */ PyFutureFeatures *future); PyAPI_FUNC(struct symtable *) PySymtable_BuildObject( mod_ty mod, PyObject *filename, PyFutureFeatures *future); PyAPI_FUNC(PySTEntryObject *) PySymtable_Lookup(struct symtable *, void *); PyAPI_FUNC(void) PySymtable_Free(struct symtable *); /* Flags for def-use information */ #define DEF_GLOBAL 1 /* global stmt */ #define DEF_LOCAL 2 /* assignment in code block */ #define DEF_PARAM 2<<1 /* formal parameter */ #define DEF_NONLOCAL 2<<2 /* nonlocal stmt */ #define USE 2<<3 /* name is used */ #define DEF_FREE 2<<4 /* name used but not defined in nested block */ #define DEF_FREE_CLASS 2<<5 /* free variable from class's method */ #define DEF_IMPORT 2<<6 /* assignment occurred via import */ #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT) /* GLOBAL_EXPLICIT and GLOBAL_IMPLICIT are used internally by the symbol table. GLOBAL is returned from PyST_GetScope() for either of them. It is stored in ste_symbols at bits 12-15. */ #define SCOPE_OFFSET 11 #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL) #define LOCAL 1 #define GLOBAL_EXPLICIT 2 #define GLOBAL_IMPLICIT 3 #define FREE 4 #define CELL 5 /* The following two names are used for the ste_unoptimized bit field */ #define OPT_IMPORT_STAR 1 #define OPT_TOPLEVEL 2 /* top-level names, including eval and exec */ #define GENERATOR 1 #define GENERATOR_EXPRESSION 2 #ifdef __cplusplus } #endif #endif /* !Py_SYMTABLE_H */ #endif /* Py_LIMITED_API */
Save
cmd:
run