102 items
NAME ↑ SIZE MODIFIED PERMS ACTIONS
.. / Parent Directory
cpython — dir
2026-06-04 04:18 · rwxr-xr-x
2026-06-04 04:18 rwxr-xr-x
internal — dir
2026-06-04 04:18 · rwxr-xr-x
2026-06-04 04:18 rwxr-xr-x
abstract.h — 29.76 KB
2025-10-31 18:40 · rw-r--r--
29.76 KB 2025-10-31 18:40 rw-r--r--
asdl.h — 1.2 KB
2025-10-31 18:40 · rw-r--r--
1.2 KB 2025-10-31 18:40 rw-r--r--
ast.h — 947 B
2025-10-31 18:40 · rw-r--r--
947 B 2025-10-31 18:40 rw-r--r--
bitset.h — 468 B
2025-10-31 18:40 · rw-r--r--
468 B 2025-10-31 18:40 rw-r--r--
bltinmodule.h — 264 B
2025-10-31 18:40 · rw-r--r--
264 B 2025-10-31 18:40 rw-r--r--
boolobject.h — 885 B
2025-10-31 18:40 · rw-r--r--
885 B 2025-10-31 18:40 rw-r--r--
bytearrayobject.h — 1.45 KB
2025-10-31 18:40 · rw-r--r--
1.45 KB 2025-10-31 18:40 rw-r--r--
bytesobject.h — 2.98 KB
2025-10-31 18:40 · rw-r--r--
2.98 KB 2025-10-31 18:40 rw-r--r--
cellobject.h — 712 B
2025-10-31 18:40 · rw-r--r--
712 B 2025-10-31 18:40 rw-r--r--
ceval.h — 5.81 KB
2025-10-31 18:40 · rw-r--r--
5.81 KB 2025-10-31 18:40 rw-r--r--
classobject.h — 1.62 KB
2025-10-31 18:40 · rw-r--r--
1.62 KB 2025-10-31 18:40 rw-r--r--
code.h — 318 B
2025-10-31 18:40 · rw-r--r--
318 B 2025-10-31 18:40 rw-r--r--
codecs.h — 6.63 KB
2025-10-31 18:40 · rw-r--r--
6.63 KB 2025-10-31 18:40 rw-r--r--
compile.h — 3.69 KB
2025-10-31 18:40 · rw-r--r--
3.69 KB 2025-10-31 18:40 rw-r--r--
complexobject.h — 1.76 KB
2025-10-31 18:40 · rw-r--r--
1.76 KB 2025-10-31 18:40 rw-r--r--
context.h — 1.92 KB
2025-10-31 18:40 · rw-r--r--
1.92 KB 2025-10-31 18:40 rw-r--r--
datetime.h — 9.04 KB
2025-10-31 18:40 · rw-r--r--
9.04 KB 2025-10-31 18:40 rw-r--r--
descrobject.h — 2.95 KB
2025-10-31 18:40 · rw-r--r--
2.95 KB 2025-10-31 18:40 rw-r--r--
dictobject.h — 3.63 KB
2025-10-31 18:40 · rw-r--r--
3.63 KB 2025-10-31 18:40 rw-r--r--
dynamic_annotations.h — 21.94 KB
2025-10-31 18:40 · rw-r--r--
21.94 KB 2025-10-31 18:40 rw-r--r--
enumobject.h — 253 B
2025-10-31 18:40 · rw-r--r--
253 B 2025-10-31 18:40 rw-r--r--
errcode.h — 1.59 KB
2025-10-31 18:40 · rw-r--r--
1.59 KB 2025-10-31 18:40 rw-r--r--
eval.h — 1.18 KB
2025-10-31 18:40 · rw-r--r--
1.18 KB 2025-10-31 18:40 rw-r--r--
exports.h — 1.07 KB
2025-10-31 18:40 · rw-r--r--
1.07 KB 2025-10-31 18:40 rw-r--r--
fileobject.h — 1.53 KB
2025-10-31 18:40 · rw-r--r--
1.53 KB 2025-10-31 18:40 rw-r--r--
fileutils.h — 597 B
2025-10-31 18:40 · rw-r--r--
597 B 2025-10-31 18:40 rw-r--r--
floatobject.h — 4.26 KB
2025-10-31 18:40 · rw-r--r--
4.26 KB 2025-10-31 18:40 rw-r--r--
frameobject.h — 337 B
2025-10-31 18:40 · rw-r--r--
337 B 2025-10-31 18:40 rw-r--r--
funcobject.h — 3.96 KB
2025-10-31 18:40 · rw-r--r--
3.96 KB 2025-10-31 18:40 rw-r--r--
genericaliasobject.h — 334 B
2025-10-31 18:40 · rw-r--r--
334 B 2025-10-31 18:40 rw-r--r--
genobject.h — 3.44 KB
2025-10-31 18:40 · rw-r--r--
3.44 KB 2025-10-31 18:40 rw-r--r--
graminit.h — 2.07 KB
2025-10-31 18:40 · rw-r--r--
2.07 KB 2025-10-31 18:40 rw-r--r--
grammar.h — 1.78 KB
2025-10-31 18:40 · rw-r--r--
1.78 KB 2025-10-31 18:40 rw-r--r--
import.h — 2.96 KB
2025-10-31 18:40 · rw-r--r--
2.96 KB 2025-10-31 18:40 rw-r--r--
interpreteridobject.h — 334 B
2025-10-31 18:40 · rw-r--r--
334 B 2025-10-31 18:40 rw-r--r--
intrcheck.h — 861 B
2025-10-31 18:40 · rw-r--r--
861 B 2025-10-31 18:40 rw-r--r--
iterobject.h — 521 B
2025-10-31 18:40 · rw-r--r--
521 B 2025-10-31 18:40 rw-r--r--
listobject.h — 1.74 KB
2025-10-31 18:40 · rw-r--r--
1.74 KB 2025-10-31 18:40 rw-r--r--
longintrepr.h — 3.71 KB
2025-10-31 18:40 · rw-r--r--
3.71 KB 2025-10-31 18:40 rw-r--r--
longobject.h — 9.29 KB
2025-10-31 18:40 · rw-r--r--
9.29 KB 2025-10-31 18:40 rw-r--r--
marshal.h — 803 B
2025-10-31 18:40 · rw-r--r--
803 B 2025-10-31 18:40 rw-r--r--
memoryobject.h — 2.7 KB
2025-10-31 18:40 · rw-r--r--
2.7 KB 2025-10-31 18:40 rw-r--r--
methodobject.h — 3.69 KB
2025-10-31 18:40 · rw-r--r--
3.69 KB 2025-10-31 18:40 rw-r--r--
modsupport.h — 10.21 KB
2026-04-27 17:28 · rw-r--r--
10.21 KB 2026-04-27 17:28 rw-r--r--
moduleobject.h — 2.31 KB
2025-10-31 18:40 · rw-r--r--
2.31 KB 2025-10-31 18:40 rw-r--r--
namespaceobject.h — 349 B
2025-10-31 18:40 · rw-r--r--
349 B 2025-10-31 18:40 rw-r--r--
node.h — 1.25 KB
2025-10-31 18:40 · rw-r--r--
1.25 KB 2025-10-31 18:40 rw-r--r--
object.h — 24.05 KB
2025-10-31 18:40 · rw-r--r--
24.05 KB 2025-10-31 18:40 rw-r--r--
objimpl.h — 8.23 KB
2025-10-31 18:40 · rw-r--r--
8.23 KB 2025-10-31 18:40 rw-r--r--
odictobject.h — 1.27 KB
2025-10-31 18:40 · rw-r--r--
1.27 KB 2025-10-31 18:40 rw-r--r--
opcode.h — 4.79 KB
2025-10-31 18:40 · rw-r--r--
4.79 KB 2025-10-31 18:40 rw-r--r--
osdefs.h — 737 B
2025-10-31 18:40 · rw-r--r--
737 B 2025-10-31 18:40 rw-r--r--
osmodule.h — 291 B
2025-10-31 18:40 · rw-r--r--
291 B 2025-10-31 18:40 rw-r--r--
parsetok.h — 2.89 KB
2025-10-31 18:40 · rw-r--r--
2.89 KB 2025-10-31 18:40 rw-r--r--
patchlevel.h — 1.27 KB
2025-10-31 18:40 · rw-r--r--
1.27 KB 2025-10-31 18:40 rw-r--r--
picklebufobject.h — 846 B
2025-10-31 18:40 · rw-r--r--
846 B 2025-10-31 18:40 rw-r--r--
py_curses.h — 2.42 KB
2025-10-31 18:40 · rw-r--r--
2.42 KB 2025-10-31 18:40 rw-r--r--
pyarena.h — 2.68 KB
2025-10-31 18:40 · rw-r--r--
2.68 KB 2025-10-31 18:40 rw-r--r--
pycapsule.h — 1.68 KB
2025-10-31 18:40 · rw-r--r--
1.68 KB 2025-10-31 18:40 rw-r--r--
pyconfig-64.h — 46.85 KB
2026-04-27 17:30 · rw-r--r--
46.85 KB 2026-04-27 17:30 rw-r--r--
pyconfig.h — 162 B
2026-04-27 17:39 · rw-r--r--
162 B 2026-04-27 17:39 rw-r--r--
pyctype.h — 1.35 KB
2025-10-31 18:40 · rw-r--r--
1.35 KB 2025-10-31 18:40 rw-r--r--
pydebug.h — 1.07 KB
2025-10-31 18:40 · rw-r--r--
1.07 KB 2025-10-31 18:40 rw-r--r--
pydtrace.h — 2.36 KB
2025-10-31 18:40 · rw-r--r--
2.36 KB 2025-10-31 18:40 rw-r--r--
pyerrors.h — 12.14 KB
2025-10-31 18:40 · rw-r--r--
12.14 KB 2025-10-31 18:40 rw-r--r--
pyexpat.h — 2.51 KB
2025-10-31 18:40 · rw-r--r--
2.51 KB 2025-10-31 18:40 rw-r--r--
pyfpe.h — 444 B
2025-10-31 18:40 · rw-r--r--
444 B 2025-10-31 18:40 rw-r--r--
pyframe.h — 466 B
2025-10-31 18:40 · rw-r--r--
466 B 2025-10-31 18:40 rw-r--r--
pyhash.h — 4.16 KB
2025-10-31 18:40 · rw-r--r--
4.16 KB 2025-10-31 18:40 rw-r--r--
pylifecycle.h — 2.09 KB
2025-10-31 18:40 · rw-r--r--
2.09 KB 2025-10-31 18:40 rw-r--r--
pymacconfig.h — 2.92 KB
2025-10-31 18:40 · rw-r--r--
2.92 KB 2025-10-31 18:40 rw-r--r--
pymacro.h — 4.8 KB
2025-10-31 18:40 · rw-r--r--
4.8 KB 2025-10-31 18:40 rw-r--r--
pymath.h — 8.38 KB
2025-10-31 18:40 · rw-r--r--
8.38 KB 2025-10-31 18:40 rw-r--r--
pymem.h — 4.3 KB
2025-10-31 18:40 · rw-r--r--
4.3 KB 2025-10-31 18:40 rw-r--r--
pyport.h — 30.54 KB
2025-10-31 18:40 · rw-r--r--
30.54 KB 2025-10-31 18:40 rw-r--r--
pystate.h — 5.13 KB
2025-10-31 18:40 · rw-r--r--
5.13 KB 2025-10-31 18:40 rw-r--r--
pystrcmp.h — 436 B
2025-10-31 18:40 · rw-r--r--
436 B 2025-10-31 18:40 rw-r--r--
pystrhex.h — 849 B
2025-10-31 18:40 · rw-r--r--
849 B 2025-10-31 18:40 rw-r--r--
pystrtod.h — 1.45 KB
2025-10-31 18:40 · rw-r--r--
1.45 KB 2025-10-31 18:40 rw-r--r--
Python-ast.h — 25.58 KB
2025-10-31 18:40 · rw-r--r--
25.58 KB 2025-10-31 18:40 rw-r--r--
Python.h — 3.45 KB
2025-10-31 18:40 · rw-r--r--
3.45 KB 2025-10-31 18:40 rw-r--r--
pythonrun.h — 7.49 KB
2025-10-31 18:40 · rw-r--r--
7.49 KB 2025-10-31 18:40 rw-r--r--
pythread.h — 5.8 KB
2025-10-31 18:40 · rw-r--r--
5.8 KB 2025-10-31 18:40 rw-r--r--
pytime.h — 8.72 KB
2025-10-31 18:40 · rw-r--r--
8.72 KB 2025-10-31 18:40 rw-r--r--
rangeobject.h — 628 B
2025-10-31 18:40 · rw-r--r--
628 B 2025-10-31 18:40 rw-r--r--
setobject.h — 3.25 KB
2025-10-31 18:40 · rw-r--r--
3.25 KB 2025-10-31 18:40 rw-r--r--
sliceobject.h — 2.46 KB
2025-10-31 18:40 · rw-r--r--
2.46 KB 2025-10-31 18:40 rw-r--r--
structmember.h — 1.98 KB
2025-10-31 18:40 · rw-r--r--
1.98 KB 2025-10-31 18:40 rw-r--r--
structseq.h — 1.36 KB
2025-10-31 18:40 · rw-r--r--
1.36 KB 2025-10-31 18:40 rw-r--r--
symtable.h — 5.18 KB
2025-10-31 18:40 · rw-r--r--
5.18 KB 2025-10-31 18:40 rw-r--r--
sysmodule.h — 1.21 KB
2025-10-31 18:40 · rw-r--r--
1.21 KB 2025-10-31 18:40 rw-r--r--
token.h — 2.58 KB
2025-10-31 18:40 · rw-r--r--
2.58 KB 2025-10-31 18:40 rw-r--r--
traceback.h — 584 B
2025-10-31 18:40 · rw-r--r--
584 B 2025-10-31 18:40 rw-r--r--
tracemalloc.h — 1.09 KB
2025-10-31 18:40 · rw-r--r--
1.09 KB 2025-10-31 18:40 rw-r--r--
tupleobject.h — 1.58 KB
2025-10-31 18:40 · rw-r--r--
1.58 KB 2025-10-31 18:40 rw-r--r--
typeslots.h — 2.29 KB
2025-10-31 18:40 · rw-r--r--
2.29 KB 2025-10-31 18:40 rw-r--r--
ucnhash.h — 1.03 KB
2025-10-31 18:40 · rw-r--r--
1.03 KB 2025-10-31 18:40 rw-r--r--
unicodeobject.h — 34.6 KB
2025-10-31 18:40 · rw-r--r--
34.6 KB 2025-10-31 18:40 rw-r--r--
warnings.h — 1.73 KB
2025-10-31 18:40 · rw-r--r--
1.73 KB 2025-10-31 18:40 rw-r--r--
weakrefobject.h — 2.8 KB
2025-10-31 18:40 · rw-r--r--
2.8 KB 2025-10-31 18:40 rw-r--r--
ONLINE
python3.9
102 items
17:37:22
TERMINAL FM
Edit
Preview
Download
Rename
Copy
Chmod
Delete
#ifndef Py_LIMITED_API #ifndef Py_SYMTABLE_H #define Py_SYMTABLE_H #ifdef __cplusplus extern "C" { #endif #include "Python-ast.h" /* mod_ty */ /* 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_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_coroutine : 1; /* true if namespace is a coroutine */ unsigned ste_comprehension : 1; /* true if namespace is a list comprehension */ 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 */ unsigned ste_comp_iter_target : 1; /* true if visiting comprehension target */ int ste_comp_iter_expr; /* non-zero if visiting a comprehension range expression */ 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 * */ struct symtable *ste_table; } PySTEntryObject; PyAPI_DATA(PyTypeObject) PySTEntry_Type; #define PySTEntry_Check(op) Py_IS_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_ANNOT 2<<7 /* this name is annotated */ #define DEF_COMP_ITER 2<<8 /* this name is a comprehension iteration variable */ #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 #define GENERATOR 1 #define GENERATOR_EXPRESSION 2 #ifdef __cplusplus } #endif #endif /* !Py_SYMTABLE_H */ #endif /* !Py_LIMITED_API */