Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/2to3Added+5
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/2to3-3.9Added+5
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/idle3Added+5
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/idle3.9Added+5
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/pydocAdded+5
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/pydoc3Added+5
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/pydoc3.9Added+5
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/python3-configAdded+116
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/python3.9-configAdded+116
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/compiler_compat/READMEAdded+2
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/Python.hAdded+158
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/asdl.hAdded+46
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/ast.hAdded+35
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/bitset.hAdded+23
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/bltinmodule.hAdded+14
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/boolobject.hAdded+34
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/bytearrayobject.hAdded+46
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/bytesobject.hAdded+82
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/cellobject.hAdded+29
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/ceval.hAdded+166
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/classobject.hAdded+57
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/code.hAdded+20
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/compile.hAdded+116
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/complexobject.hAdded+69
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/context.hAdded+81
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/descrobject.hAdded+108
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/dictobject.hAdded+94
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/enumobject.hAdded+17
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/errcode.hAdded+37
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/eval.hAdded+37
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/exports.hAdded+30
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/fileobject.hAdded+49
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/fileutils.hAdded+30
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/floatobject.hAdded+118
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/frameobject.hAdded+20
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/funcobject.hAdded+98
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/genericaliasobject.hAdded+14
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/genobject.hAdded+102
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/graminit.hAdded+94
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/grammar.hAdded+77
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/import.hAdded+98
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/interpreteridobject.hAdded+17
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/intrcheck.hAdded+33
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/iterobject.hAdded+24
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/listobject.hAdded+52
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/longintrepr.hAdded+99
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/marshal.hAdded+28
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/memoryobject.hAdded+72
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/methodobject.hAdded+110
- docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/moduleobject.hAdded+90
12345#!/opt/conda/conda-bld/python-split_1654083059479/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/bin/python3.9import sysfrom lib2to3.main import main
sys.exit(main("lib2to3.fixes"))12345#!/opt/conda/conda-bld/python-split_1654083059479/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/bin/python3.9import sysfrom lib2to3.main import main
sys.exit(main("lib2to3.fixes"))12345#!/opt/conda/conda-bld/python-split_1654083059479/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/bin/python3.9
from idlelib.pyshell import mainif __name__ == '__main__': main()12345#!/opt/conda/conda-bld/python-split_1654083059479/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/bin/python3.9
from idlelib.pyshell import mainif __name__ == '__main__': main()12345#!/opt/conda/conda-bld/python-split_1654083059479/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/bin/python3.9
import pydocif __name__ == '__main__': pydoc.cli()12345#!/opt/conda/conda-bld/python-split_1654083059479/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/bin/python3.9
import pydocif __name__ == '__main__': pydoc.cli()12345#!/opt/conda/conda-bld/python-split_1654083059479/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/bin/python3.9
import pydocif __name__ == '__main__': pydoc.cli()123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116#!/bin/sh
# Keep this script in sync with python-config.in
exit_with_usage (){ echo "Usage: $0 --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--abiflags|--configdir|--embed" exit $1}
if [ "$1" = "" ] ; then exit_with_usage 1fi
# Returns the actual prefix where this script was installed to.installed_prefix (){ RESULT=$(dirname $(cd $(dirname "$1") && pwd -P)) if which readlink >/dev/null 2>&1 ; then if readlink -f "$RESULT" >/dev/null 2>&1; then RESULT=$(readlink -f "$RESULT") fi fi echo $RESULT}
prefix_real=$(installed_prefix "$0")
# Use sed to fix paths from their built-to locations to their installed-to# locations. Keep prefix & exec_prefix using their original values in case# they are referenced in other configure variables, to prevent double# substitution, issue #22140.prefix="/opt/conda/conda-bld/python-split_1654083059479/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_"exec_prefix="${prefix}"exec_prefix_real=${prefix_real}includedir=$(echo "${prefix}/include" | sed "s#$prefix#$prefix_real#")libdir=$(echo "${exec_prefix}/lib" | sed "s#$prefix#$prefix_real#")CFLAGS=$(echo "-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -ffunction-sections -pipe -isystem /opt/conda/conda-bld/python-split_1654083059479/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include -fdebug-prefix-map=/opt/conda/conda-bld/python-split_1654083059479/work=/usr/local/src/conda/python-3.9.12 -fdebug-prefix-map=/opt/conda/conda-bld/python-split_1654083059479/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_=/usr/local/src/conda-prefix -I/opt/conda/conda-bld/python-split_1654083059479/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include" | sed "s#$prefix#$prefix_real#")VERSION="3.9"LIBM="-lm"LIBC=""SYSLIBS="$LIBM $LIBC"ABIFLAGS=""LIBS=" -lcrypt -lpthread -ldl -lutil -lm $SYSLIBS"LIBS_EMBED="-lpython${VERSION}${ABIFLAGS} -lcrypt -lpthread -ldl -lutil -lm $SYSLIBS"BASECFLAGS=" -Wno-unused-result -Wsign-compare"LDLIBRARY="libpython${VERSION}${ABIFLAGS}.a"OPT="-DNDEBUG -O3 -Wall"PY_ENABLE_SHARED="0"LDVERSION="${VERSION}${ABIFLAGS}"LIBDEST=${prefix_real}/lib/python${VERSION}LIBPL=$(echo "${prefix}/lib/python3.9/config-${VERSION}${ABIFLAGS}-x86_64-linux-gnu" | sed "s#$prefix#$prefix_real#")SO=".cpython-39-x86_64-linux-gnu.so"PYTHONFRAMEWORK=""INCDIR="-I$includedir/python${VERSION}${ABIFLAGS}"PLATINCDIR="-I$includedir/python${VERSION}${ABIFLAGS}"PY_EMBED=0
# Scan for --help or unknown argument.for ARG in $*do case $ARG in --help) exit_with_usage 0 ;; --embed) PY_EMBED=1 ;; --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--abiflags|--configdir) ;; *) exit_with_usage 1 ;; esacdone
if [ $PY_EMBED = 1 ] ; then LIBS="$LIBS_EMBED"fi
for ARG in "$@"do case "$ARG" in --prefix) echo "$prefix_real" ;; --exec-prefix) echo "$exec_prefix_real" ;; --includes) echo "$INCDIR $PLATINCDIR" ;; --cflags) echo "$INCDIR $PLATINCDIR $BASECFLAGS $CFLAGS $OPT" ;; --libs) echo "$LIBS" ;; --ldflags) LIBPLUSED= if [ "$PY_ENABLE_SHARED" = "0" ] ; then LIBPLUSED="-L$LIBPL" fi echo "$LIBPLUSED -L$libdir $LIBS" ;; --extension-suffix) echo "$SO" ;; --abiflags) echo "$ABIFLAGS" ;; --configdir) echo "$LIBPL" ;;esacdone123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116#!/bin/sh
# Keep this script in sync with python-config.in
exit_with_usage (){ echo "Usage: $0 --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--abiflags|--configdir|--embed" exit $1}
if [ "$1" = "" ] ; then exit_with_usage 1fi
# Returns the actual prefix where this script was installed to.installed_prefix (){ RESULT=$(dirname $(cd $(dirname "$1") && pwd -P)) if which readlink >/dev/null 2>&1 ; then if readlink -f "$RESULT" >/dev/null 2>&1; then RESULT=$(readlink -f "$RESULT") fi fi echo $RESULT}
prefix_real=$(installed_prefix "$0")
# Use sed to fix paths from their built-to locations to their installed-to# locations. Keep prefix & exec_prefix using their original values in case# they are referenced in other configure variables, to prevent double# substitution, issue #22140.prefix="/opt/conda/conda-bld/python-split_1654083059479/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_"exec_prefix="${prefix}"exec_prefix_real=${prefix_real}includedir=$(echo "${prefix}/include" | sed "s#$prefix#$prefix_real#")libdir=$(echo "${exec_prefix}/lib" | sed "s#$prefix#$prefix_real#")CFLAGS=$(echo "-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -ffunction-sections -pipe -isystem /opt/conda/conda-bld/python-split_1654083059479/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include -fdebug-prefix-map=/opt/conda/conda-bld/python-split_1654083059479/work=/usr/local/src/conda/python-3.9.12 -fdebug-prefix-map=/opt/conda/conda-bld/python-split_1654083059479/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_=/usr/local/src/conda-prefix -I/opt/conda/conda-bld/python-split_1654083059479/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include" | sed "s#$prefix#$prefix_real#")VERSION="3.9"LIBM="-lm"LIBC=""SYSLIBS="$LIBM $LIBC"ABIFLAGS=""LIBS=" -lcrypt -lpthread -ldl -lutil -lm $SYSLIBS"LIBS_EMBED="-lpython${VERSION}${ABIFLAGS} -lcrypt -lpthread -ldl -lutil -lm $SYSLIBS"BASECFLAGS=" -Wno-unused-result -Wsign-compare"LDLIBRARY="libpython${VERSION}${ABIFLAGS}.a"OPT="-DNDEBUG -O3 -Wall"PY_ENABLE_SHARED="0"LDVERSION="${VERSION}${ABIFLAGS}"LIBDEST=${prefix_real}/lib/python${VERSION}LIBPL=$(echo "${prefix}/lib/python3.9/config-${VERSION}${ABIFLAGS}-x86_64-linux-gnu" | sed "s#$prefix#$prefix_real#")SO=".cpython-39-x86_64-linux-gnu.so"PYTHONFRAMEWORK=""INCDIR="-I$includedir/python${VERSION}${ABIFLAGS}"PLATINCDIR="-I$includedir/python${VERSION}${ABIFLAGS}"PY_EMBED=0
# Scan for --help or unknown argument.for ARG in $*do case $ARG in --help) exit_with_usage 0 ;; --embed) PY_EMBED=1 ;; --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--abiflags|--configdir) ;; *) exit_with_usage 1 ;; esacdone
if [ $PY_EMBED = 1 ] ; then LIBS="$LIBS_EMBED"fi
for ARG in "$@"do case "$ARG" in --prefix) echo "$prefix_real" ;; --exec-prefix) echo "$exec_prefix_real" ;; --includes) echo "$INCDIR $PLATINCDIR" ;; --cflags) echo "$INCDIR $PLATINCDIR $BASECFLAGS $CFLAGS $OPT" ;; --libs) echo "$LIBS" ;; --ldflags) LIBPLUSED= if [ "$PY_ENABLE_SHARED" = "0" ] ; then LIBPLUSED="-L$LIBPL" fi echo "$LIBPLUSED -L$libdir $LIBS" ;; --extension-suffix) echo "$SO" ;; --abiflags) echo "$ABIFLAGS" ;; --configdir) echo "$LIBPL" ;;esacdone12Files in this folder are to enhance backwards compatibility of anaconda software with older compilers.See: https://github.com/conda/conda/issues/6030 for more information.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158#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"
#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(_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>#ifndef MS_WINDOWS#include <unistd.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"#include "pymacro.h"
/* A convenient way for code to know if sanitizers are enabled. */#if defined(__has_feature)# if __has_feature(memory_sanitizer)# if !defined(_Py_MEMORY_SANITIZER)# define _Py_MEMORY_SANITIZER# endif# endif# if __has_feature(address_sanitizer)# if !defined(_Py_ADDRESS_SANITIZER)# define _Py_ADDRESS_SANITIZER# endif# endif#elif defined(__GNUC__)# if defined(__SANITIZE_ADDRESS__)# define _Py_ADDRESS_SANITIZER# endif#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 "pytime.h"#include "pymem.h"
#include "object.h"#include "objimpl.h"#include "typeslots.h"#include "pyhash.h"
#include "pydebug.h"
#include "bytearrayobject.h"#include "bytesobject.h"#include "unicodeobject.h"#include "longobject.h"#include "longintrepr.h"#include "boolobject.h"#include "floatobject.h"#include "complexobject.h"#include "rangeobject.h"#include "memoryobject.h"#include "tupleobject.h"#include "listobject.h"#include "dictobject.h"#include "odictobject.h"#include "enumobject.h"#include "setobject.h"#include "methodobject.h"#include "moduleobject.h"#include "funcobject.h"#include "classobject.h"#include "fileobject.h"#include "pycapsule.h"#include "code.h"#include "pyframe.h"#include "traceback.h"#include "sliceobject.h"#include "cellobject.h"#include "iterobject.h"#include "cpython/initconfig.h"#include "genobject.h"#include "descrobject.h"#include "genericaliasobject.h"#include "warnings.h"#include "weakrefobject.h"#include "structseq.h"#include "namespaceobject.h"#include "picklebufobject.h"
#include "codecs.h"#include "pyerrors.h"#include "pythread.h"#include "pystate.h"#include "context.h"
#include "pyarena.h"#include "modsupport.h"#include "compile.h"#include "pythonrun.h"#include "pylifecycle.h"#include "ceval.h"#include "sysmodule.h"#include "osmodule.h"#include "intrcheck.h"#include "import.h"
#include "abstract.h"#include "bltinmodule.h"
#include "eval.h"
#include "pyctype.h"#include "pystrtod.h"#include "pystrcmp.h"#include "fileutils.h"#include "pyfpe.h"#include "tracemalloc.h"
#endif /* !Py_PYTHON_H */12345678910111213141516171819202122232425262728293031323334353637383940414243444546#ifndef Py_LIMITED_API#ifndef Py_ASDL_H#define Py_ASDL_H
typedef PyObject * identifier;typedef PyObject * string;typedef PyObject * object;typedef PyObject * constant;
/* It would be nice if the code generated by asdl_c.py was completely independent of Python, but it is a goal the requires too much work at this stage. So, for example, I'll represent identifiers as interned Python strings.*/
/* XXX A sequence should be typed so that its use can be typechecked. */
typedef struct { Py_ssize_t size; void *elements[1];} asdl_seq;
typedef struct { Py_ssize_t size; int elements[1];} asdl_int_seq;
asdl_seq *_Py_asdl_seq_new(Py_ssize_t size, PyArena *arena);asdl_int_seq *_Py_asdl_int_seq_new(Py_ssize_t size, PyArena *arena);
#define asdl_seq_GET(S, I) (S)->elements[(I)]#define asdl_seq_LEN(S) ((S) == NULL ? 0 : (S)->size)#ifdef Py_DEBUG#define asdl_seq_SET(S, I, V) \ do { \ Py_ssize_t _asdl_i = (I); \ assert((S) != NULL); \ assert(0 <= _asdl_i && _asdl_i < (S)->size); \ (S)->elements[_asdl_i] = (V); \ } while (0)#else#define asdl_seq_SET(S, I, V) (S)->elements[I] = (V)#endif
#endif /* !Py_ASDL_H */#endif /* Py_LIMITED_API */1234567891011121314151617181920212223242526272829303132333435#ifndef Py_LIMITED_API#ifndef Py_AST_H#define Py_AST_H#ifdef __cplusplusextern "C" {#endif
#include "Python-ast.h" /* mod_ty */#include "node.h" /* node */
PyAPI_FUNC(int) PyAST_Validate(mod_ty);PyAPI_FUNC(mod_ty) PyAST_FromNode( const node *n, PyCompilerFlags *flags, const char *filename, /* decoded from the filesystem encoding */ PyArena *arena);PyAPI_FUNC(mod_ty) PyAST_FromNodeObject( const node *n, PyCompilerFlags *flags, PyObject *filename, PyArena *arena);
/* _PyAST_ExprAsUnicode is defined in ast_unparse.c */PyAPI_FUNC(PyObject *) _PyAST_ExprAsUnicode(expr_ty);
/* Return the borrowed reference to the first literal string in the sequence of statements or NULL if it doesn't start from a literal string. Doesn't set exception. */PyAPI_FUNC(PyObject *) _PyAST_GetDocString(asdl_seq *);
#ifdef __cplusplus}#endif#endif /* !Py_AST_H */#endif /* !Py_LIMITED_API */1234567891011121314151617181920212223
#ifndef Py_BITSET_H#define Py_BITSET_H#ifdef __cplusplusextern "C" {#endif
/* Bitset interface */
#define BYTE chartypedef BYTE *bitset;
#define testbit(ss, ibit) (((ss)[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0)
#define BITSPERBYTE (8*sizeof(BYTE))#define BIT2BYTE(ibit) ((ibit) / BITSPERBYTE)#define BIT2SHIFT(ibit) ((ibit) % BITSPERBYTE)#define BIT2MASK(ibit) (1 << BIT2SHIFT(ibit))
#ifdef __cplusplus}#endif#endif /* !Py_BITSET_H */1234567891011121314#ifndef Py_BLTINMODULE_H#define Py_BLTINMODULE_H#ifdef __cplusplusextern "C" {#endif
PyAPI_DATA(PyTypeObject) PyFilter_Type;PyAPI_DATA(PyTypeObject) PyMap_Type;PyAPI_DATA(PyTypeObject) PyZip_Type;
#ifdef __cplusplus}#endif#endif /* !Py_BLTINMODULE_H */12345678910111213141516171819202122232425262728293031323334/* Boolean object interface */
#ifndef Py_BOOLOBJECT_H#define Py_BOOLOBJECT_H#ifdef __cplusplusextern "C" {#endif
PyAPI_DATA(PyTypeObject) PyBool_Type;
#define PyBool_Check(x) Py_IS_TYPE(x, &PyBool_Type)
/* Py_False and Py_True are the only two bools in existence.Don't forget to apply Py_INCREF() when returning either!!! */
/* Don't use these directly */PyAPI_DATA(struct _longobject) _Py_FalseStruct, _Py_TrueStruct;
/* Use these macros */#define Py_False ((PyObject *) &_Py_FalseStruct)#define Py_True ((PyObject *) &_Py_TrueStruct)
/* Macros for returning Py_True or Py_False, respectively */#define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True#define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False
/* Function to return a bool from a C long */PyAPI_FUNC(PyObject *) PyBool_FromLong(long);
#ifdef __cplusplus}#endif#endif /* !Py_BOOLOBJECT_H */12345678910111213141516171819202122232425262728293031323334353637383940414243444546/* ByteArray object interface */
#ifndef Py_BYTEARRAYOBJECT_H#define Py_BYTEARRAYOBJECT_H#ifdef __cplusplusextern "C" {#endif
#include <stdarg.h>
/* Type PyByteArrayObject represents a mutable array of bytes. * The Python API is that of a sequence; * the bytes are mapped to ints in [0, 256). * Bytes are not characters; they may be used to encode characters. * The only way to go between bytes and str/unicode is via encoding * and decoding. * For the convenience of C programmers, the bytes type is considered * to contain a char pointer, not an unsigned char pointer. */
/* Type object */PyAPI_DATA(PyTypeObject) PyByteArray_Type;PyAPI_DATA(PyTypeObject) PyByteArrayIter_Type;
/* Type check macros */#define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type)#define PyByteArray_CheckExact(self) Py_IS_TYPE(self, &PyByteArray_Type)
/* Direct API functions */PyAPI_FUNC(PyObject *) PyByteArray_FromObject(PyObject *);PyAPI_FUNC(PyObject *) PyByteArray_Concat(PyObject *, PyObject *);PyAPI_FUNC(PyObject *) PyByteArray_FromStringAndSize(const char *, Py_ssize_t);PyAPI_FUNC(Py_ssize_t) PyByteArray_Size(PyObject *);PyAPI_FUNC(char *) PyByteArray_AsString(PyObject *);PyAPI_FUNC(int) PyByteArray_Resize(PyObject *, Py_ssize_t);
#ifndef Py_LIMITED_API# define Py_CPYTHON_BYTEARRAYOBJECT_H# include "cpython/bytearrayobject.h"# undef Py_CPYTHON_BYTEARRAYOBJECT_H#endif
#ifdef __cplusplus}#endif#endif /* !Py_BYTEARRAYOBJECT_H */12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
/* Bytes (String) object interface */
#ifndef Py_BYTESOBJECT_H#define Py_BYTESOBJECT_H#ifdef __cplusplusextern "C" {#endif
#include <stdarg.h>
/*Type PyBytesObject represents a character string. An extra zero byte isreserved at the end to ensure it is zero-terminated, but a size ispresent so strings with null bytes in them can be represented. Thisis an immutable object type.
There are functions to create new string objects, to testan object for string-ness, and to get thestring value. The latter function returns a null pointerif the object is not of the proper type.There is a variant that takes an explicit size as well as avariant that assumes a zero-terminated string. Note that none of thefunctions should be applied to nil objects.*/
/* Caching the hash (ob_shash) saves recalculation of a string's hash value. This significantly speeds up dict lookups. */
PyAPI_DATA(PyTypeObject) PyBytes_Type;PyAPI_DATA(PyTypeObject) PyBytesIter_Type;
#define PyBytes_Check(op) \ PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)#define PyBytes_CheckExact(op) Py_IS_TYPE(op, &PyBytes_Type)
PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);PyAPI_FUNC(PyObject *) PyBytes_FromString(const char *);PyAPI_FUNC(PyObject *) PyBytes_FromObject(PyObject *);PyAPI_FUNC(PyObject *) PyBytes_FromFormatV(const char*, va_list) Py_GCC_ATTRIBUTE((format(printf, 1, 0)));PyAPI_FUNC(PyObject *) PyBytes_FromFormat(const char*, ...) Py_GCC_ATTRIBUTE((format(printf, 1, 2)));PyAPI_FUNC(Py_ssize_t) PyBytes_Size(PyObject *);PyAPI_FUNC(char *) PyBytes_AsString(PyObject *);PyAPI_FUNC(PyObject *) PyBytes_Repr(PyObject *, int);PyAPI_FUNC(void) PyBytes_Concat(PyObject **, PyObject *);PyAPI_FUNC(void) PyBytes_ConcatAndDel(PyObject **, PyObject *);PyAPI_FUNC(PyObject *) PyBytes_DecodeEscape(const char *, Py_ssize_t, const char *, Py_ssize_t, const char *);
/* Provides access to the internal data buffer and size of a string object or the default encoded version of a Unicode object. Passing NULL as *len parameter will force the string buffer to be 0-terminated (passing a string with embedded NULL characters will cause an exception). */PyAPI_FUNC(int) PyBytes_AsStringAndSize( PyObject *obj, /* string or Unicode object */ char **s, /* pointer to buffer variable */ Py_ssize_t *len /* pointer to length variable or NULL (only possible for 0-terminated strings) */ );
/* Flags used by string formatting */#define F_LJUST (1<<0)#define F_SIGN (1<<1)#define F_BLANK (1<<2)#define F_ALT (1<<3)#define F_ZERO (1<<4)
#ifndef Py_LIMITED_API# define Py_CPYTHON_BYTESOBJECT_H# include "cpython/bytesobject.h"# undef Py_CPYTHON_BYTESOBJECT_H#endif
#ifdef __cplusplus}#endif#endif /* !Py_BYTESOBJECT_H */1234567891011121314151617181920212223242526272829/* Cell object interface */#ifndef Py_LIMITED_API#ifndef Py_CELLOBJECT_H#define Py_CELLOBJECT_H#ifdef __cplusplusextern "C" {#endif
typedef struct { PyObject_HEAD PyObject *ob_ref; /* Content of the cell or NULL when empty */} PyCellObject;
PyAPI_DATA(PyTypeObject) PyCell_Type;
#define PyCell_Check(op) Py_IS_TYPE(op, &PyCell_Type)
PyAPI_FUNC(PyObject *) PyCell_New(PyObject *);PyAPI_FUNC(PyObject *) PyCell_Get(PyObject *);PyAPI_FUNC(int) PyCell_Set(PyObject *, PyObject *);
#define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref)#define PyCell_SET(op, v) (((PyCellObject *)(op))->ob_ref = v)
#ifdef __cplusplus}#endif#endif /* !Py_TUPLEOBJECT_H */#endif /* Py_LIMITED_API */123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166#ifndef Py_CEVAL_H#define Py_CEVAL_H#ifdef __cplusplusextern "C" {#endif
/* Interface to random parts in ceval.c */
/* PyEval_CallObjectWithKeywords(), PyEval_CallObject(), PyEval_CallFunction * and PyEval_CallMethod are deprecated. Since they are officially part of the * stable ABI (PEP 384), they must be kept for backward compatibility. * PyObject_Call(), PyObject_CallFunction() and PyObject_CallMethod() are * recommended to call a callable object. */
Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( PyObject *callable, PyObject *args, PyObject *kwargs);
/* Deprecated since PyEval_CallObjectWithKeywords is deprecated */#define PyEval_CallObject(callable, arg) \ PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallFunction( PyObject *callable, const char *format, ...);Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallMethod( PyObject *obj, const char *name, const char *format, ...);
PyAPI_FUNC(PyObject *) PyEval_GetBuiltins(void);PyAPI_FUNC(PyObject *) PyEval_GetGlobals(void);PyAPI_FUNC(PyObject *) PyEval_GetLocals(void);PyAPI_FUNC(PyFrameObject *) PyEval_GetFrame(void);
PyAPI_FUNC(int) Py_AddPendingCall(int (*func)(void *), void *arg);PyAPI_FUNC(int) Py_MakePendingCalls(void);
/* Protection against deeply nested recursive calls
In Python 3.0, this protection has two levels: * normal anti-recursion protection is triggered when the recursion level exceeds the current recursion limit. It raises a RecursionError, and sets the "overflowed" flag in the thread state structure. This flag temporarily *disables* the normal protection; this allows cleanup code to potentially outgrow the recursion limit while processing the RecursionError. * "last chance" anti-recursion protection is triggered when the recursion level exceeds "current recursion limit + 50". By construction, this protection can only be triggered when the "overflowed" flag is set. It means the cleanup code has itself gone into an infinite loop, or the RecursionError has been mistakingly ignored. When this protection is triggered, the interpreter aborts with a Fatal Error.
In addition, the "overflowed" flag is automatically reset when the recursion level drops below "current recursion limit - 50". This heuristic is meant to ensure that the normal anti-recursion protection doesn't get disabled too long.
Please note: this scheme has its own limitations. See: http://mail.python.org/pipermail/python-dev/2008-August/082106.html for some observations.*/PyAPI_FUNC(void) Py_SetRecursionLimit(int);PyAPI_FUNC(int) Py_GetRecursionLimit(void);
PyAPI_FUNC(int) Py_EnterRecursiveCall(const char *where);PyAPI_FUNC(void) Py_LeaveRecursiveCall(void);
#define Py_ALLOW_RECURSION \ do { unsigned char _old = PyThreadState_GET()->recursion_critical;\ PyThreadState_GET()->recursion_critical = 1;
#define Py_END_ALLOW_RECURSION \ PyThreadState_GET()->recursion_critical = _old; \ } while(0);
PyAPI_FUNC(const char *) PyEval_GetFuncName(PyObject *);PyAPI_FUNC(const char *) PyEval_GetFuncDesc(PyObject *);
PyAPI_FUNC(PyObject *) PyEval_EvalFrame(PyFrameObject *);PyAPI_FUNC(PyObject *) PyEval_EvalFrameEx(PyFrameObject *f, int exc);
/* Interface for threads.
A module that plans to do a blocking system call (or something else that lasts a long time and doesn't touch Python data) can allow other threads to run as follows:
...preparations here... Py_BEGIN_ALLOW_THREADS ...blocking system call here... Py_END_ALLOW_THREADS ...interpret result here...
The Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS pair expands to a {}-surrounded block. To leave the block in the middle (e.g., with return), you must insert a line containing Py_BLOCK_THREADS before the return, e.g.
if (...premature_exit...) { Py_BLOCK_THREADS PyErr_SetFromErrno(PyExc_OSError); return NULL; }
An alternative is:
Py_BLOCK_THREADS if (...premature_exit...) { PyErr_SetFromErrno(PyExc_OSError); return NULL; } Py_UNBLOCK_THREADS
For convenience, that the value of 'errno' is restored across Py_END_ALLOW_THREADS and Py_BLOCK_THREADS.
WARNING: NEVER NEST CALLS TO Py_BEGIN_ALLOW_THREADS AND Py_END_ALLOW_THREADS!!!
Note that not yet all candidates have been converted to use this mechanism!*/
PyAPI_FUNC(PyThreadState *) PyEval_SaveThread(void);PyAPI_FUNC(void) PyEval_RestoreThread(PyThreadState *);
Py_DEPRECATED(3.9) PyAPI_FUNC(int) PyEval_ThreadsInitialized(void);Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);/* PyEval_AcquireLock() and PyEval_ReleaseLock() are part of stable ABI. * They will be removed from this header file in the future version. * But they will be remained in ABI until Python 4.0. */Py_DEPRECATED(3.2) PyAPI_FUNC(void) PyEval_AcquireLock(void);Py_DEPRECATED(3.2) PyAPI_FUNC(void) PyEval_ReleaseLock(void);PyAPI_FUNC(void) PyEval_AcquireThread(PyThreadState *tstate);PyAPI_FUNC(void) PyEval_ReleaseThread(PyThreadState *tstate);
#define Py_BEGIN_ALLOW_THREADS { \ PyThreadState *_save; \ _save = PyEval_SaveThread();#define Py_BLOCK_THREADS PyEval_RestoreThread(_save);#define Py_UNBLOCK_THREADS _save = PyEval_SaveThread();#define Py_END_ALLOW_THREADS PyEval_RestoreThread(_save); \ }
/* Masks and values used by FORMAT_VALUE opcode. */#define FVC_MASK 0x3#define FVC_NONE 0x0#define FVC_STR 0x1#define FVC_REPR 0x2#define FVC_ASCII 0x3#define FVS_MASK 0x4#define FVS_HAVE_SPEC 0x4
#ifndef Py_LIMITED_API# define Py_CPYTHON_CEVAL_H# include "cpython/ceval.h"# undef Py_CPYTHON_CEVAL_H#endif
#ifdef __cplusplus}#endif#endif /* !Py_CEVAL_H */123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657/* Former class object interface -- now only bound methods are here */
/* Revealing some structures (not for general use) */
#ifndef Py_LIMITED_API#ifndef Py_CLASSOBJECT_H#define Py_CLASSOBJECT_H#ifdef __cplusplusextern "C" {#endif
typedef struct { PyObject_HEAD PyObject *im_func; /* The callable object implementing the method */ PyObject *im_self; /* The instance it is bound to */ PyObject *im_weakreflist; /* List of weak references */ vectorcallfunc vectorcall;} PyMethodObject;
PyAPI_DATA(PyTypeObject) PyMethod_Type;
#define PyMethod_Check(op) Py_IS_TYPE(op, &PyMethod_Type)
PyAPI_FUNC(PyObject *) PyMethod_New(PyObject *, PyObject *);
PyAPI_FUNC(PyObject *) PyMethod_Function(PyObject *);PyAPI_FUNC(PyObject *) PyMethod_Self(PyObject *);
/* Macros for direct access to these values. Type checks are *not* done, so use with care. */#define PyMethod_GET_FUNCTION(meth) \ (((PyMethodObject *)meth) -> im_func)#define PyMethod_GET_SELF(meth) \ (((PyMethodObject *)meth) -> im_self)
typedef struct { PyObject_HEAD PyObject *func;} PyInstanceMethodObject;
PyAPI_DATA(PyTypeObject) PyInstanceMethod_Type;
#define PyInstanceMethod_Check(op) Py_IS_TYPE(op, &PyInstanceMethod_Type)
PyAPI_FUNC(PyObject *) PyInstanceMethod_New(PyObject *);PyAPI_FUNC(PyObject *) PyInstanceMethod_Function(PyObject *);
/* Macros for direct access to these values. Type checks are *not* done, so use with care. */#define PyInstanceMethod_GET_FUNCTION(meth) \ (((PyInstanceMethodObject *)meth) -> func)
#ifdef __cplusplus}#endif#endif /* !Py_CLASSOBJECT_H */#endif /* Py_LIMITED_API */1234567891011121314151617181920/* Definitions for bytecode */
#ifndef Py_CODE_H#define Py_CODE_H#ifdef __cplusplusextern "C" {#endif
typedef struct PyCodeObject PyCodeObject;
#ifndef Py_LIMITED_API# define Py_CPYTHON_CODE_H# include "cpython/code.h"# undef Py_CPYTHON_CODE_H#endif
#ifdef __cplusplus}#endif#endif /* !Py_CODE_H */123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116#ifndef Py_COMPILE_H#define Py_COMPILE_H
#ifndef Py_LIMITED_API
#ifdef __cplusplusextern "C" {#endif
/* Public interface */struct _node; /* Declare the existence of this type */#ifndef Py_BUILD_COREPy_DEPRECATED(3.9)#endifPyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *);/* XXX (ncoghlan): Unprefixed type name in a public API! */
#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \ CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \ CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \ CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)#define PyCF_MASK_OBSOLETE (CO_NESTED)
/* bpo-39562: CO_FUTURE_ and PyCF_ constants must be kept unique. PyCF_ constants can use bits from 0x0100 to 0x10000. CO_FUTURE_ constants use bits starting at 0x20000. */#define PyCF_SOURCE_IS_UTF8 0x0100#define PyCF_DONT_IMPLY_DEDENT 0x0200#define PyCF_ONLY_AST 0x0400#define PyCF_IGNORE_COOKIE 0x0800#define PyCF_TYPE_COMMENTS 0x1000#define PyCF_ALLOW_TOP_LEVEL_AWAIT 0x2000#define PyCF_COMPILE_MASK (PyCF_ONLY_AST | PyCF_ALLOW_TOP_LEVEL_AWAIT | \ PyCF_TYPE_COMMENTS | PyCF_DONT_IMPLY_DEDENT)
#ifndef Py_LIMITED_APItypedef struct { int cf_flags; /* bitmask of CO_xxx flags relevant to future */ int cf_feature_version; /* minor Python version (PyCF_ONLY_AST) */} PyCompilerFlags;
#define _PyCompilerFlags_INIT \ (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}#endif
/* Future feature support */
typedef struct { int ff_features; /* flags set by future statements */ int ff_lineno; /* line number of last future statement */} PyFutureFeatures;
#define FUTURE_NESTED_SCOPES "nested_scopes"#define FUTURE_GENERATORS "generators"#define FUTURE_DIVISION "division"#define FUTURE_ABSOLUTE_IMPORT "absolute_import"#define FUTURE_WITH_STATEMENT "with_statement"#define FUTURE_PRINT_FUNCTION "print_function"#define FUTURE_UNICODE_LITERALS "unicode_literals"#define FUTURE_BARRY_AS_BDFL "barry_as_FLUFL"#define FUTURE_GENERATOR_STOP "generator_stop"#define FUTURE_ANNOTATIONS "annotations"
struct _mod; /* Declare the existence of this type */#define PyAST_Compile(mod, s, f, ar) PyAST_CompileEx(mod, s, f, -1, ar)PyAPI_FUNC(PyCodeObject *) PyAST_CompileEx( struct _mod *mod, const char *filename, /* decoded from the filesystem encoding */ PyCompilerFlags *flags, int optimize, PyArena *arena);PyAPI_FUNC(PyCodeObject *) PyAST_CompileObject( struct _mod *mod, PyObject *filename, PyCompilerFlags *flags, int optimize, PyArena *arena);PyAPI_FUNC(PyFutureFeatures *) PyFuture_FromAST( struct _mod * mod, const char *filename /* decoded from the filesystem encoding */ );PyAPI_FUNC(PyFutureFeatures *) PyFuture_FromASTObject( struct _mod * mod, PyObject *filename );
/* _Py_Mangle is defined in compile.c */PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name);
#define PY_INVALID_STACK_EFFECT INT_MAXPyAPI_FUNC(int) PyCompile_OpcodeStackEffect(int opcode, int oparg);PyAPI_FUNC(int) PyCompile_OpcodeStackEffectWithJump(int opcode, int oparg, int jump);
typedef struct { int optimize; int ff_features;} _PyASTOptimizeState;
PyAPI_FUNC(int) _PyAST_Optimize(struct _mod *, PyArena *arena, _PyASTOptimizeState *state);
#ifdef __cplusplus}#endif
#endif /* !Py_LIMITED_API */
/* These definitions must match corresponding definitions in graminit.h. */#define Py_single_input 256#define Py_file_input 257#define Py_eval_input 258#define Py_func_type_input 345
/* This doesn't need to match anything */#define Py_fstring_input 800
#endif /* !Py_COMPILE_H */123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869/* Complex number structure */
#ifndef Py_COMPLEXOBJECT_H#define Py_COMPLEXOBJECT_H#ifdef __cplusplusextern "C" {#endif
#ifndef Py_LIMITED_APItypedef struct { double real; double imag;} Py_complex;
/* Operations on complex numbers from complexmodule.c */
PyAPI_FUNC(Py_complex) _Py_c_sum(Py_complex, Py_complex);PyAPI_FUNC(Py_complex) _Py_c_diff(Py_complex, Py_complex);PyAPI_FUNC(Py_complex) _Py_c_neg(Py_complex);PyAPI_FUNC(Py_complex) _Py_c_prod(Py_complex, Py_complex);PyAPI_FUNC(Py_complex) _Py_c_quot(Py_complex, Py_complex);PyAPI_FUNC(Py_complex) _Py_c_pow(Py_complex, Py_complex);PyAPI_FUNC(double) _Py_c_abs(Py_complex);#endif
/* Complex object interface */
/*PyComplexObject represents a complex number with double-precisionreal and imaginary parts.*/#ifndef Py_LIMITED_APItypedef struct { PyObject_HEAD Py_complex cval;} PyComplexObject;#endif
PyAPI_DATA(PyTypeObject) PyComplex_Type;
#define PyComplex_Check(op) PyObject_TypeCheck(op, &PyComplex_Type)#define PyComplex_CheckExact(op) Py_IS_TYPE(op, &PyComplex_Type)
#ifndef Py_LIMITED_APIPyAPI_FUNC(PyObject *) PyComplex_FromCComplex(Py_complex);#endifPyAPI_FUNC(PyObject *) PyComplex_FromDoubles(double real, double imag);
PyAPI_FUNC(double) PyComplex_RealAsDouble(PyObject *op);PyAPI_FUNC(double) PyComplex_ImagAsDouble(PyObject *op);#ifndef Py_LIMITED_APIPyAPI_FUNC(Py_complex) PyComplex_AsCComplex(PyObject *op);#endif
/* Format the object based on the format_spec, as defined in PEP 3101 (Advanced String Formatting). */#ifndef Py_LIMITED_APIPyAPI_FUNC(int) _PyComplex_FormatAdvancedWriter( _PyUnicodeWriter *writer, PyObject *obj, PyObject *format_spec, Py_ssize_t start, Py_ssize_t end);#endif
#ifdef __cplusplus}#endif#endif /* !Py_COMPLEXOBJECT_H */123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081#ifndef Py_CONTEXT_H#define Py_CONTEXT_H#ifdef __cplusplusextern "C" {#endif
#ifndef Py_LIMITED_API
PyAPI_DATA(PyTypeObject) PyContext_Type;typedef struct _pycontextobject PyContext;
PyAPI_DATA(PyTypeObject) PyContextVar_Type;typedef struct _pycontextvarobject PyContextVar;
PyAPI_DATA(PyTypeObject) PyContextToken_Type;typedef struct _pycontexttokenobject PyContextToken;
#define PyContext_CheckExact(o) Py_IS_TYPE(o, &PyContext_Type)#define PyContextVar_CheckExact(o) Py_IS_TYPE(o, &PyContextVar_Type)#define PyContextToken_CheckExact(o) Py_IS_TYPE(o, &PyContextToken_Type)
PyAPI_FUNC(PyObject *) PyContext_New(void);PyAPI_FUNC(PyObject *) PyContext_Copy(PyObject *);PyAPI_FUNC(PyObject *) PyContext_CopyCurrent(void);
PyAPI_FUNC(int) PyContext_Enter(PyObject *);PyAPI_FUNC(int) PyContext_Exit(PyObject *);
/* Create a new context variable.
default_value can be NULL.*/PyAPI_FUNC(PyObject *) PyContextVar_New( const char *name, PyObject *default_value);
/* Get a value for the variable.
Returns -1 if an error occurred during lookup.
Returns 0 if value either was or was not found.
If value was found, *value will point to it. If not, it will point to:
- default_value, if not NULL; - the default value of "var", if not NULL; - NULL.
'*value' will be a new ref, if not NULL.*/PyAPI_FUNC(int) PyContextVar_Get( PyObject *var, PyObject *default_value, PyObject **value);
/* Set a new value for the variable. Returns NULL if an error occurs.*/PyAPI_FUNC(PyObject *) PyContextVar_Set(PyObject *var, PyObject *value);
/* Reset a variable to its previous value. Returns 0 on success, -1 on error.*/PyAPI_FUNC(int) PyContextVar_Reset(PyObject *var, PyObject *token);
/* This method is exposed only for CPython tests. Don not use it. */PyAPI_FUNC(PyObject *) _PyContext_NewHamtForTests(void);
#endif /* !Py_LIMITED_API */
#ifdef __cplusplus}#endif#endif /* !Py_CONTEXT_H */123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108/* Descriptors */#ifndef Py_DESCROBJECT_H#define Py_DESCROBJECT_H#ifdef __cplusplusextern "C" {#endif
typedef PyObject *(*getter)(PyObject *, void *);typedef int (*setter)(PyObject *, PyObject *, void *);
typedef struct PyGetSetDef { const char *name; getter get; setter set; const char *doc; void *closure;} PyGetSetDef;
#ifndef Py_LIMITED_APItypedef PyObject *(*wrapperfunc)(PyObject *self, PyObject *args, void *wrapped);
typedef PyObject *(*wrapperfunc_kwds)(PyObject *self, PyObject *args, void *wrapped, PyObject *kwds);
struct wrapperbase { const char *name; int offset; void *function; wrapperfunc wrapper; const char *doc; int flags; PyObject *name_strobj;};
/* Flags for above struct */#define PyWrapperFlag_KEYWORDS 1 /* wrapper function takes keyword args */
/* Various kinds of descriptor objects */
typedef struct { PyObject_HEAD PyTypeObject *d_type; PyObject *d_name; PyObject *d_qualname;} PyDescrObject;
#define PyDescr_COMMON PyDescrObject d_common
#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
typedef struct { PyDescr_COMMON; PyMethodDef *d_method; vectorcallfunc vectorcall;} PyMethodDescrObject;
typedef struct { PyDescr_COMMON; struct PyMemberDef *d_member;} PyMemberDescrObject;
typedef struct { PyDescr_COMMON; PyGetSetDef *d_getset;} PyGetSetDescrObject;
typedef struct { PyDescr_COMMON; struct wrapperbase *d_base; void *d_wrapped; /* This can be any function pointer */} PyWrapperDescrObject;#endif /* Py_LIMITED_API */
PyAPI_DATA(PyTypeObject) PyClassMethodDescr_Type;PyAPI_DATA(PyTypeObject) PyGetSetDescr_Type;PyAPI_DATA(PyTypeObject) PyMemberDescr_Type;PyAPI_DATA(PyTypeObject) PyMethodDescr_Type;PyAPI_DATA(PyTypeObject) PyWrapperDescr_Type;PyAPI_DATA(PyTypeObject) PyDictProxy_Type;#ifndef Py_LIMITED_APIPyAPI_DATA(PyTypeObject) _PyMethodWrapper_Type;#endif /* Py_LIMITED_API */
PyAPI_FUNC(PyObject *) PyDescr_NewMethod(PyTypeObject *, PyMethodDef *);PyAPI_FUNC(PyObject *) PyDescr_NewClassMethod(PyTypeObject *, PyMethodDef *);struct PyMemberDef; /* forward declaration for following prototype */PyAPI_FUNC(PyObject *) PyDescr_NewMember(PyTypeObject *, struct PyMemberDef *);PyAPI_FUNC(PyObject *) PyDescr_NewGetSet(PyTypeObject *, struct PyGetSetDef *);#ifndef Py_LIMITED_APIPyAPI_FUNC(PyObject *) PyDescr_NewWrapper(PyTypeObject *, struct wrapperbase *, void *);#define PyDescr_IsData(d) (Py_TYPE(d)->tp_descr_set != NULL)#endif
PyAPI_FUNC(PyObject *) PyDictProxy_New(PyObject *);PyAPI_FUNC(PyObject *) PyWrapper_New(PyObject *, PyObject *);
PyAPI_DATA(PyTypeObject) PyProperty_Type;#ifdef __cplusplus}#endif#endif /* !Py_DESCROBJECT_H */
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394#ifndef Py_DICTOBJECT_H#define Py_DICTOBJECT_H#ifdef __cplusplusextern "C" {#endif
/* Dictionary object type -- mapping from hashable object to object */
/* The distribution includes a separate file, Objects/dictnotes.txt, describing explorations into dictionary design and optimization. It covers typical dictionary use patterns, the parameters for tuning dictionaries, and several ideas for possible optimizations.*/
PyAPI_DATA(PyTypeObject) PyDict_Type;
#define PyDict_Check(op) \ PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)#define PyDict_CheckExact(op) Py_IS_TYPE(op, &PyDict_Type)
PyAPI_FUNC(PyObject *) PyDict_New(void);PyAPI_FUNC(PyObject *) PyDict_GetItem(PyObject *mp, PyObject *key);PyAPI_FUNC(PyObject *) PyDict_GetItemWithError(PyObject *mp, PyObject *key);PyAPI_FUNC(int) PyDict_SetItem(PyObject *mp, PyObject *key, PyObject *item);PyAPI_FUNC(int) PyDict_DelItem(PyObject *mp, PyObject *key);PyAPI_FUNC(void) PyDict_Clear(PyObject *mp);PyAPI_FUNC(int) PyDict_Next( PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value);PyAPI_FUNC(PyObject *) PyDict_Keys(PyObject *mp);PyAPI_FUNC(PyObject *) PyDict_Values(PyObject *mp);PyAPI_FUNC(PyObject *) PyDict_Items(PyObject *mp);PyAPI_FUNC(Py_ssize_t) PyDict_Size(PyObject *mp);PyAPI_FUNC(PyObject *) PyDict_Copy(PyObject *mp);PyAPI_FUNC(int) PyDict_Contains(PyObject *mp, PyObject *key);
/* PyDict_Update(mp, other) is equivalent to PyDict_Merge(mp, other, 1). */PyAPI_FUNC(int) PyDict_Update(PyObject *mp, PyObject *other);
/* PyDict_Merge updates/merges from a mapping object (an object that supports PyMapping_Keys() and PyObject_GetItem()). If override is true, the last occurrence of a key wins, else the first. The Python dict.update(other) is equivalent to PyDict_Merge(dict, other, 1).*/PyAPI_FUNC(int) PyDict_Merge(PyObject *mp, PyObject *other, int override);
/* PyDict_MergeFromSeq2 updates/merges from an iterable object producing iterable objects of length 2. If override is true, the last occurrence of a key wins, else the first. The Python dict constructor dict(seq2) is equivalent to dict={}; PyDict_MergeFromSeq(dict, seq2, 1).*/PyAPI_FUNC(int) PyDict_MergeFromSeq2(PyObject *d, PyObject *seq2, int override);
PyAPI_FUNC(PyObject *) PyDict_GetItemString(PyObject *dp, const char *key);PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item);PyAPI_FUNC(int) PyDict_DelItemString(PyObject *dp, const char *key);
/* Dictionary (keys, values, items) views */
PyAPI_DATA(PyTypeObject) PyDictKeys_Type;PyAPI_DATA(PyTypeObject) PyDictValues_Type;PyAPI_DATA(PyTypeObject) PyDictItems_Type;
#define PyDictKeys_Check(op) PyObject_TypeCheck(op, &PyDictKeys_Type)#define PyDictValues_Check(op) PyObject_TypeCheck(op, &PyDictValues_Type)#define PyDictItems_Check(op) PyObject_TypeCheck(op, &PyDictItems_Type)/* This excludes Values, since they are not sets. */# define PyDictViewSet_Check(op) \ (PyDictKeys_Check(op) || PyDictItems_Check(op))
/* Dictionary (key, value, items) iterators */
PyAPI_DATA(PyTypeObject) PyDictIterKey_Type;PyAPI_DATA(PyTypeObject) PyDictIterValue_Type;PyAPI_DATA(PyTypeObject) PyDictIterItem_Type;
PyAPI_DATA(PyTypeObject) PyDictRevIterKey_Type;PyAPI_DATA(PyTypeObject) PyDictRevIterItem_Type;PyAPI_DATA(PyTypeObject) PyDictRevIterValue_Type;
#ifndef Py_LIMITED_API# define Py_CPYTHON_DICTOBJECT_H# include "cpython/dictobject.h"# undef Py_CPYTHON_DICTOBJECT_H#endif
#ifdef __cplusplus}#endif#endif /* !Py_DICTOBJECT_H */1234567891011121314151617#ifndef Py_ENUMOBJECT_H#define Py_ENUMOBJECT_H
/* Enumerate Object */
#ifdef __cplusplusextern "C" {#endif
PyAPI_DATA(PyTypeObject) PyEnum_Type;PyAPI_DATA(PyTypeObject) PyReversed_Type;
#ifdef __cplusplus}#endif
#endif /* !Py_ENUMOBJECT_H */12345678910111213141516171819202122232425262728293031323334353637#ifndef Py_ERRCODE_H#define Py_ERRCODE_H#ifdef __cplusplusextern "C" {#endif
/* Error codes passed around between file input, tokenizer, parser and interpreter. This is necessary so we can turn them into Python exceptions at a higher level. Note that some errors have a slightly different meaning when passed from the tokenizer to the parser than when passed from the parser to the interpreter; e.g. the parser only returns E_EOF when it hits EOF immediately, and it never returns E_OK. */
#define E_OK 10 /* No error */#define E_EOF 11 /* End Of File */#define E_INTR 12 /* Interrupted */#define E_TOKEN 13 /* Bad token */#define E_SYNTAX 14 /* Syntax error */#define E_NOMEM 15 /* Ran out of memory */#define E_DONE 16 /* Parsing complete */#define E_ERROR 17 /* Execution error */#define E_TABSPACE 18 /* Inconsistent mixing of tabs and spaces */#define E_OVERFLOW 19 /* Node had too many children */#define E_TOODEEP 20 /* Too many indentation levels */#define E_DEDENT 21 /* No matching outer block for dedent */#define E_DECODE 22 /* Error in decoding into Unicode */#define E_EOFS 23 /* EOF in triple-quoted string */#define E_EOLS 24 /* EOL in single-quoted string */#define E_LINECONT 25 /* Unexpected characters after a line continuation */#define E_BADSINGLE 27 /* Ill-formed single statement input */
#ifdef __cplusplus}#endif#endif /* !Py_ERRCODE_H */12345678910111213141516171819202122232425262728293031323334353637
/* Interface to execute compiled code */
#ifndef Py_EVAL_H#define Py_EVAL_H#ifdef __cplusplusextern "C" {#endif
PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyObject *, PyObject *, PyObject *);
PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyObject *co, PyObject *globals, PyObject *locals, PyObject *const *args, int argc, PyObject *const *kwds, int kwdc, PyObject *const *defs, int defc, PyObject *kwdefs, PyObject *closure);
#ifndef Py_LIMITED_APIPyAPI_FUNC(PyObject *) _PyEval_EvalCodeWithName( PyObject *co, PyObject *globals, PyObject *locals, PyObject *const *args, Py_ssize_t argcount, PyObject *const *kwnames, PyObject *const *kwargs, Py_ssize_t kwcount, int kwstep, PyObject *const *defs, Py_ssize_t defcount, PyObject *kwdefs, PyObject *closure, PyObject *name, PyObject *qualname);
PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args);#endif
#ifdef __cplusplus}#endif#endif /* !Py_EVAL_H */123456789101112131415161718192021222324252627282930#ifndef Py_EXPORTS_H#define Py_EXPORTS_H
#if defined(_WIN32) || defined(__CYGWIN__) #define Py_IMPORTED_SYMBOL __declspec(dllimport) #define Py_EXPORTED_SYMBOL __declspec(dllexport) #define Py_LOCAL_SYMBOL#else/* * If we only ever used gcc >= 5, we could use __has_attribute(visibility) * as a cross-platform way to determine if visibility is supported. However, * we may still need to support gcc >= 4, as some Ubuntu LTS and Centos versions * have 4 < gcc < 5. */ #ifndef __has_attribute #define __has_attribute(x) 0 // Compatibility with non-clang compilers. #endif #if (defined(__GNUC__) && (__GNUC__ >= 4)) ||\ (defined(__clang__) && __has_attribute(visibility)) #define Py_IMPORTED_SYMBOL __attribute__ ((visibility ("default"))) #define Py_EXPORTED_SYMBOL __attribute__ ((visibility ("default"))) #define Py_LOCAL_SYMBOL __attribute__ ((visibility ("hidden"))) #else #define Py_IMPORTED_SYMBOL #define Py_EXPORTED_SYMBOL #define Py_LOCAL_SYMBOL #endif#endif
#endif /* Py_EXPORTS_H */12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849/* File object interface (what's left of it -- see io.py) */
#ifndef Py_FILEOBJECT_H#define Py_FILEOBJECT_H#ifdef __cplusplusextern "C" {#endif
#define PY_STDIOTEXTMODE "b"
PyAPI_FUNC(PyObject *) PyFile_FromFd(int, const char *, const char *, int, const char *, const char *, const char *, int);PyAPI_FUNC(PyObject *) PyFile_GetLine(PyObject *, int);PyAPI_FUNC(int) PyFile_WriteObject(PyObject *, PyObject *, int);PyAPI_FUNC(int) PyFile_WriteString(const char *, PyObject *);PyAPI_FUNC(int) PyObject_AsFileDescriptor(PyObject *);
/* The default encoding used by the platform file system APIs If non-NULL, this is different than the default encoding for strings*/PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03060000PyAPI_DATA(const char *) Py_FileSystemDefaultEncodeErrors;#endifPyAPI_DATA(int) Py_HasFileSystemDefaultEncoding;
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000PyAPI_DATA(int) Py_UTF8Mode;#endif
/* A routine to check if a file descriptor can be select()-ed. */#ifdef _MSC_VER /* On Windows, any socket fd can be select()-ed, no matter how high */ #define _PyIsSelectable_fd(FD) (1)#else #define _PyIsSelectable_fd(FD) ((unsigned int)(FD) < (unsigned int)FD_SETSIZE)#endif
#ifndef Py_LIMITED_API# define Py_CPYTHON_FILEOBJECT_H# include "cpython/fileobject.h"# undef Py_CPYTHON_FILEOBJECT_H#endif
#ifdef __cplusplus}#endif#endif /* !Py_FILEOBJECT_H */123456789101112131415161718192021222324252627282930#ifndef Py_FILEUTILS_H#define Py_FILEUTILS_H#ifdef __cplusplusextern "C" {#endif
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03050000PyAPI_FUNC(wchar_t *) Py_DecodeLocale( const char *arg, size_t *size);
PyAPI_FUNC(char*) Py_EncodeLocale( const wchar_t *text, size_t *error_pos);
PyAPI_FUNC(char*) _Py_EncodeLocaleRaw( const wchar_t *text, size_t *error_pos);#endif
#ifndef Py_LIMITED_API# define Py_CPYTHON_FILEUTILS_H# include "cpython/fileutils.h"# undef Py_CPYTHON_FILEUTILS_H#endif
#ifdef __cplusplus}#endif#endif /* !Py_FILEUTILS_H */123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
/* Float object interface */
/*PyFloatObject represents a (double precision) floating point number.*/
#ifndef Py_FLOATOBJECT_H#define Py_FLOATOBJECT_H#ifdef __cplusplusextern "C" {#endif
#ifndef Py_LIMITED_APItypedef struct { PyObject_HEAD double ob_fval;} PyFloatObject;#endif
PyAPI_DATA(PyTypeObject) PyFloat_Type;
#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)#define PyFloat_CheckExact(op) Py_IS_TYPE(op, &PyFloat_Type)
#ifdef Py_NAN#define Py_RETURN_NAN return PyFloat_FromDouble(Py_NAN)#endif
#define Py_RETURN_INF(sign) do \ if (copysign(1., sign) == 1.) { \ return PyFloat_FromDouble(Py_HUGE_VAL); \ } else { \ return PyFloat_FromDouble(-Py_HUGE_VAL); \ } while(0)
PyAPI_FUNC(double) PyFloat_GetMax(void);PyAPI_FUNC(double) PyFloat_GetMin(void);PyAPI_FUNC(PyObject *) PyFloat_GetInfo(void);
/* Return Python float from string PyObject. */PyAPI_FUNC(PyObject *) PyFloat_FromString(PyObject*);
/* Return Python float from C double. */PyAPI_FUNC(PyObject *) PyFloat_FromDouble(double);
/* Extract C double from Python float. The macro version trades safety for speed. */PyAPI_FUNC(double) PyFloat_AsDouble(PyObject *);#ifndef Py_LIMITED_API#define PyFloat_AS_DOUBLE(op) (((PyFloatObject *)(op))->ob_fval)#endif
#ifndef Py_LIMITED_API/* _PyFloat_{Pack,Unpack}{4,8} * * The struct and pickle (at least) modules need an efficient platform- * independent way to store floating-point values as byte strings. * The Pack routines produce a string from a C double, and the Unpack * routines produce a C double from such a string. The suffix (4 or 8) * specifies the number of bytes in the string. * * On platforms that appear to use (see _PyFloat_Init()) IEEE-754 formats * these functions work by copying bits. On other platforms, the formats the * 4- byte format is identical to the IEEE-754 single precision format, and * the 8-byte format to the IEEE-754 double precision format, although the * packing of INFs and NaNs (if such things exist on the platform) isn't * handled correctly, and attempting to unpack a string containing an IEEE * INF or NaN will raise an exception. * * On non-IEEE platforms with more precision, or larger dynamic range, than * 754 supports, not all values can be packed; on non-IEEE platforms with less * precision, or smaller dynamic range, not all values can be unpacked. What * happens in such cases is partly accidental (alas). */
/* The pack routines write 2, 4 or 8 bytes, starting at p. le is a bool * argument, true if you want the string in little-endian format (exponent * last, at p+1, p+3 or p+7), false if you want big-endian format (exponent * first, at p). * Return value: 0 if all is OK, -1 if error (and an exception is * set, most likely OverflowError). * There are two problems on non-IEEE platforms: * 1): What this does is undefined if x is a NaN or infinity. * 2): -0.0 and +0.0 produce the same string. */PyAPI_FUNC(int) _PyFloat_Pack2(double x, unsigned char *p, int le);PyAPI_FUNC(int) _PyFloat_Pack4(double x, unsigned char *p, int le);PyAPI_FUNC(int) _PyFloat_Pack8(double x, unsigned char *p, int le);
/* The unpack routines read 2, 4 or 8 bytes, starting at p. le is a bool * argument, true if the string is in little-endian format (exponent * last, at p+1, p+3 or p+7), false if big-endian (exponent first, at p). * Return value: The unpacked double. On error, this is -1.0 and * PyErr_Occurred() is true (and an exception is set, most likely * OverflowError). Note that on a non-IEEE platform this will refuse * to unpack a string that represents a NaN or infinity. */PyAPI_FUNC(double) _PyFloat_Unpack2(const unsigned char *p, int le);PyAPI_FUNC(double) _PyFloat_Unpack4(const unsigned char *p, int le);PyAPI_FUNC(double) _PyFloat_Unpack8(const unsigned char *p, int le);
PyAPI_FUNC(void) _PyFloat_DebugMallocStats(FILE* out);
/* Format the object based on the format_spec, as defined in PEP 3101 (Advanced String Formatting). */PyAPI_FUNC(int) _PyFloat_FormatAdvancedWriter( _PyUnicodeWriter *writer, PyObject *obj, PyObject *format_spec, Py_ssize_t start, Py_ssize_t end);#endif /* Py_LIMITED_API */
#ifdef __cplusplus}#endif#endif /* !Py_FLOATOBJECT_H */1234567891011121314151617181920/* Frame object interface */
#ifndef Py_FRAMEOBJECT_H#define Py_FRAMEOBJECT_H#ifdef __cplusplusextern "C" {#endif
#include "pyframe.h"
#ifndef Py_LIMITED_API# define Py_CPYTHON_FRAMEOBJECT_H# include "cpython/frameobject.h"# undef Py_CPYTHON_FRAMEOBJECT_H#endif
#ifdef __cplusplus}#endif#endif /* !Py_FRAMEOBJECT_H */1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
/* Function object interface */#ifndef Py_LIMITED_API#ifndef Py_FUNCOBJECT_H#define Py_FUNCOBJECT_H#ifdef __cplusplusextern "C" {#endif
/* Function objects and code objects should not be confused with each other: * * Function objects are created by the execution of the 'def' statement. * They reference a code object in their __code__ attribute, which is a * purely syntactic object, i.e. nothing more than a compiled version of some * source code lines. There is one code object per source code "fragment", * but each code object can be referenced by zero or many function objects * depending only on how many times the 'def' statement in the source was * executed so far. */
typedef struct { PyObject_HEAD PyObject *func_code; /* A code object, the __code__ attribute */ PyObject *func_globals; /* A dictionary (other mappings won't do) */ PyObject *func_defaults; /* NULL or a tuple */ PyObject *func_kwdefaults; /* NULL or a dict */ PyObject *func_closure; /* NULL or a tuple of cell objects */ PyObject *func_doc; /* The __doc__ attribute, can be anything */ PyObject *func_name; /* The __name__ attribute, a string object */ PyObject *func_dict; /* The __dict__ attribute, a dict or NULL */ PyObject *func_weakreflist; /* List of weak references */ PyObject *func_module; /* The __module__ attribute, can be anything */ PyObject *func_annotations; /* Annotations, a dict or NULL */ PyObject *func_qualname; /* The qualified name */ vectorcallfunc vectorcall;
/* Invariant: * func_closure contains the bindings for func_code->co_freevars, so * PyTuple_Size(func_closure) == PyCode_GetNumFree(func_code) * (func_closure may be NULL if PyCode_GetNumFree(func_code) == 0). */} PyFunctionObject;
PyAPI_DATA(PyTypeObject) PyFunction_Type;
#define PyFunction_Check(op) Py_IS_TYPE(op, &PyFunction_Type)
PyAPI_FUNC(PyObject *) PyFunction_New(PyObject *, PyObject *);PyAPI_FUNC(PyObject *) PyFunction_NewWithQualName(PyObject *, PyObject *, PyObject *);PyAPI_FUNC(PyObject *) PyFunction_GetCode(PyObject *);PyAPI_FUNC(PyObject *) PyFunction_GetGlobals(PyObject *);PyAPI_FUNC(PyObject *) PyFunction_GetModule(PyObject *);PyAPI_FUNC(PyObject *) PyFunction_GetDefaults(PyObject *);PyAPI_FUNC(int) PyFunction_SetDefaults(PyObject *, PyObject *);PyAPI_FUNC(PyObject *) PyFunction_GetKwDefaults(PyObject *);PyAPI_FUNC(int) PyFunction_SetKwDefaults(PyObject *, PyObject *);PyAPI_FUNC(PyObject *) PyFunction_GetClosure(PyObject *);PyAPI_FUNC(int) PyFunction_SetClosure(PyObject *, PyObject *);PyAPI_FUNC(PyObject *) PyFunction_GetAnnotations(PyObject *);PyAPI_FUNC(int) PyFunction_SetAnnotations(PyObject *, PyObject *);
#ifndef Py_LIMITED_APIPyAPI_FUNC(PyObject *) _PyFunction_Vectorcall( PyObject *func, PyObject *const *stack, size_t nargsf, PyObject *kwnames);#endif
/* Macros for direct access to these values. Type checks are *not* done, so use with care. */#define PyFunction_GET_CODE(func) \ (((PyFunctionObject *)func) -> func_code)#define PyFunction_GET_GLOBALS(func) \ (((PyFunctionObject *)func) -> func_globals)#define PyFunction_GET_MODULE(func) \ (((PyFunctionObject *)func) -> func_module)#define PyFunction_GET_DEFAULTS(func) \ (((PyFunctionObject *)func) -> func_defaults)#define PyFunction_GET_KW_DEFAULTS(func) \ (((PyFunctionObject *)func) -> func_kwdefaults)#define PyFunction_GET_CLOSURE(func) \ (((PyFunctionObject *)func) -> func_closure)#define PyFunction_GET_ANNOTATIONS(func) \ (((PyFunctionObject *)func) -> func_annotations)
/* The classmethod and staticmethod types lives here, too */PyAPI_DATA(PyTypeObject) PyClassMethod_Type;PyAPI_DATA(PyTypeObject) PyStaticMethod_Type;
PyAPI_FUNC(PyObject *) PyClassMethod_New(PyObject *);PyAPI_FUNC(PyObject *) PyStaticMethod_New(PyObject *);
#ifdef __cplusplus}#endif#endif /* !Py_FUNCOBJECT_H */#endif /* Py_LIMITED_API */1234567891011121314// Implementation of PEP 585: support list[int] etc.#ifndef Py_GENERICALIASOBJECT_H#define Py_GENERICALIASOBJECT_H#ifdef __cplusplusextern "C" {#endif
PyAPI_FUNC(PyObject *) Py_GenericAlias(PyObject *, PyObject *);PyAPI_DATA(PyTypeObject) Py_GenericAliasType;
#ifdef __cplusplus}#endif#endif /* !Py_GENERICALIASOBJECT_H */123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
/* Generator object interface */
#ifndef Py_LIMITED_API#ifndef Py_GENOBJECT_H#define Py_GENOBJECT_H#ifdef __cplusplusextern "C" {#endif
#include "pystate.h" /* _PyErr_StackItem */
/* _PyGenObject_HEAD defines the initial segment of generator and coroutine objects. */#define _PyGenObject_HEAD(prefix) \ PyObject_HEAD \ /* Note: gi_frame can be NULL if the generator is "finished" */ \ PyFrameObject *prefix##_frame; \ /* True if generator is being executed. */ \ char prefix##_running; \ /* The code object backing the generator */ \ PyObject *prefix##_code; \ /* List of weak reference. */ \ PyObject *prefix##_weakreflist; \ /* Name of the generator. */ \ PyObject *prefix##_name; \ /* Qualified name of the generator. */ \ PyObject *prefix##_qualname; \ _PyErr_StackItem prefix##_exc_state;
typedef struct { /* The gi_ prefix is intended to remind of generator-iterator. */ _PyGenObject_HEAD(gi)} PyGenObject;
PyAPI_DATA(PyTypeObject) PyGen_Type;
#define PyGen_Check(op) PyObject_TypeCheck(op, &PyGen_Type)#define PyGen_CheckExact(op) Py_IS_TYPE(op, &PyGen_Type)
PyAPI_FUNC(PyObject *) PyGen_New(PyFrameObject *);PyAPI_FUNC(PyObject *) PyGen_NewWithQualName(PyFrameObject *, PyObject *name, PyObject *qualname);PyAPI_FUNC(int) _PyGen_SetStopIterationValue(PyObject *);PyAPI_FUNC(int) _PyGen_FetchStopIterationValue(PyObject **);PyAPI_FUNC(PyObject *) _PyGen_Send(PyGenObject *, PyObject *);PyObject *_PyGen_yf(PyGenObject *);PyAPI_FUNC(void) _PyGen_Finalize(PyObject *self);
#ifndef Py_LIMITED_APItypedef struct { _PyGenObject_HEAD(cr) PyObject *cr_origin;} PyCoroObject;
PyAPI_DATA(PyTypeObject) PyCoro_Type;PyAPI_DATA(PyTypeObject) _PyCoroWrapper_Type;
#define PyCoro_CheckExact(op) Py_IS_TYPE(op, &PyCoro_Type)PyObject *_PyCoro_GetAwaitableIter(PyObject *o);PyAPI_FUNC(PyObject *) PyCoro_New(PyFrameObject *, PyObject *name, PyObject *qualname);
/* Asynchronous Generators */
typedef struct { _PyGenObject_HEAD(ag) PyObject *ag_finalizer;
/* Flag is set to 1 when hooks set up by sys.set_asyncgen_hooks were called on the generator, to avoid calling them more than once. */ int ag_hooks_inited;
/* Flag is set to 1 when aclose() is called for the first time, or when a StopAsyncIteration exception is raised. */ int ag_closed;
int ag_running_async;} PyAsyncGenObject;
PyAPI_DATA(PyTypeObject) PyAsyncGen_Type;PyAPI_DATA(PyTypeObject) _PyAsyncGenASend_Type;PyAPI_DATA(PyTypeObject) _PyAsyncGenWrappedValue_Type;PyAPI_DATA(PyTypeObject) _PyAsyncGenAThrow_Type;
PyAPI_FUNC(PyObject *) PyAsyncGen_New(PyFrameObject *, PyObject *name, PyObject *qualname);
#define PyAsyncGen_CheckExact(op) Py_IS_TYPE(op, &PyAsyncGen_Type)
PyObject *_PyAsyncGenValueWrapperNew(PyObject *);
#endif
#undef _PyGenObject_HEAD
#ifdef __cplusplus}#endif#endif /* !Py_GENOBJECT_H */#endif /* Py_LIMITED_API */12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394/* Generated by Parser/pgen */
#define single_input 256#define file_input 257#define eval_input 258#define decorator 259#define decorators 260#define decorated 261#define async_funcdef 262#define funcdef 263#define parameters 264#define typedargslist 265#define tfpdef 266#define varargslist 267#define vfpdef 268#define stmt 269#define simple_stmt 270#define small_stmt 271#define expr_stmt 272#define annassign 273#define testlist_star_expr 274#define augassign 275#define del_stmt 276#define pass_stmt 277#define flow_stmt 278#define break_stmt 279#define continue_stmt 280#define return_stmt 281#define yield_stmt 282#define raise_stmt 283#define import_stmt 284#define import_name 285#define import_from 286#define import_as_name 287#define dotted_as_name 288#define import_as_names 289#define dotted_as_names 290#define dotted_name 291#define global_stmt 292#define nonlocal_stmt 293#define assert_stmt 294#define compound_stmt 295#define async_stmt 296#define if_stmt 297#define while_stmt 298#define for_stmt 299#define try_stmt 300#define with_stmt 301#define with_item 302#define except_clause 303#define suite 304#define namedexpr_test 305#define test 306#define test_nocond 307#define lambdef 308#define lambdef_nocond 309#define or_test 310#define and_test 311#define not_test 312#define comparison 313#define comp_op 314#define star_expr 315#define expr 316#define xor_expr 317#define and_expr 318#define shift_expr 319#define arith_expr 320#define term 321#define factor 322#define power 323#define atom_expr 324#define atom 325#define testlist_comp 326#define trailer 327#define subscriptlist 328#define subscript 329#define sliceop 330#define exprlist 331#define testlist 332#define dictorsetmaker 333#define classdef 334#define arglist 335#define argument 336#define comp_iter 337#define sync_comp_for 338#define comp_for 339#define comp_if 340#define encoding_decl 341#define yield_expr 342#define yield_arg 343#define func_body_suite 344#define func_type_input 345#define func_type 346#define typelist 3471234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
/* Grammar interface */
#ifndef Py_GRAMMAR_H#define Py_GRAMMAR_H#ifdef __cplusplusextern "C" {#endif
#include "bitset.h" /* Sigh... */
/* A label of an arc */
typedef struct { int lb_type; const char *lb_str;} label;
#define EMPTY 0 /* Label number 0 is by definition the empty label */
/* A list of labels */
typedef struct { int ll_nlabels; const label *ll_label;} labellist;
/* An arc from one state to another */
typedef struct { short a_lbl; /* Label of this arc */ short a_arrow; /* State where this arc goes to */} arc;
/* A state in a DFA */
typedef struct { int s_narcs; const arc *s_arc; /* Array of arcs */
/* Optional accelerators */ int s_lower; /* Lowest label index */ int s_upper; /* Highest label index */ int *s_accel; /* Accelerator */ int s_accept; /* Nonzero for accepting state */} state;
/* A DFA */
typedef struct { int d_type; /* Non-terminal this represents */ char *d_name; /* For printing */ int d_nstates; state *d_state; /* Array of states */ bitset d_first;} dfa;
/* A grammar */
typedef struct { int g_ndfas; const dfa *g_dfa; /* Array of DFAs */ const labellist g_ll; int g_start; /* Start symbol of the grammar */ int g_accel; /* Set if accelerators present */} grammar;
/* FUNCTIONS */const dfa *PyGrammar_FindDFA(grammar *g, int type);const char *PyGrammar_LabelRepr(label *lb);void PyGrammar_AddAccelerators(grammar *g);void PyGrammar_RemoveAccelerators(grammar *);
#ifdef __cplusplus}#endif#endif /* !Py_GRAMMAR_H */1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798/* Module definition and import interface */
#ifndef Py_IMPORT_H#define Py_IMPORT_H#ifdef __cplusplusextern "C" {#endif
PyAPI_FUNC(long) PyImport_GetMagicNumber(void);PyAPI_FUNC(const char *) PyImport_GetMagicTag(void);PyAPI_FUNC(PyObject *) PyImport_ExecCodeModule( const char *name, /* UTF-8 encoded string */ PyObject *co );PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleEx( const char *name, /* UTF-8 encoded string */ PyObject *co, const char *pathname /* decoded from the filesystem encoding */ );PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleWithPathnames( const char *name, /* UTF-8 encoded string */ PyObject *co, const char *pathname, /* decoded from the filesystem encoding */ const char *cpathname /* decoded from the filesystem encoding */ );#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleObject( PyObject *name, PyObject *co, PyObject *pathname, PyObject *cpathname );#endifPyAPI_FUNC(PyObject *) PyImport_GetModuleDict(void);#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000PyAPI_FUNC(PyObject *) PyImport_GetModule(PyObject *name);#endif#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000PyAPI_FUNC(PyObject *) PyImport_AddModuleObject( PyObject *name );#endifPyAPI_FUNC(PyObject *) PyImport_AddModule( const char *name /* UTF-8 encoded string */ );PyAPI_FUNC(PyObject *) PyImport_ImportModule( const char *name /* UTF-8 encoded string */ );PyAPI_FUNC(PyObject *) PyImport_ImportModuleNoBlock( const char *name /* UTF-8 encoded string */ );PyAPI_FUNC(PyObject *) PyImport_ImportModuleLevel( const char *name, /* UTF-8 encoded string */ PyObject *globals, PyObject *locals, PyObject *fromlist, int level );#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03050000PyAPI_FUNC(PyObject *) PyImport_ImportModuleLevelObject( PyObject *name, PyObject *globals, PyObject *locals, PyObject *fromlist, int level );#endif
#define PyImport_ImportModuleEx(n, g, l, f) \ PyImport_ImportModuleLevel(n, g, l, f, 0)
PyAPI_FUNC(PyObject *) PyImport_GetImporter(PyObject *path);PyAPI_FUNC(PyObject *) PyImport_Import(PyObject *name);PyAPI_FUNC(PyObject *) PyImport_ReloadModule(PyObject *m);#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000PyAPI_FUNC(int) PyImport_ImportFrozenModuleObject( PyObject *name );#endifPyAPI_FUNC(int) PyImport_ImportFrozenModule( const char *name /* UTF-8 encoded string */ );
PyAPI_FUNC(int) PyImport_AppendInittab( const char *name, /* ASCII encoded string */ PyObject* (*initfunc)(void) );
#ifndef Py_LIMITED_API# define Py_CPYTHON_IMPORT_H# include "cpython/import.h"# undef Py_CPYTHON_IMPORT_H#endif
#ifdef __cplusplus}#endif#endif /* !Py_IMPORT_H */1234567891011121314151617#ifndef Py_INTERPRETERIDOBJECT_H#define Py_INTERPRETERIDOBJECT_H
#ifdef __cplusplusextern "C" {#endif
#ifndef Py_LIMITED_API# define Py_CPYTHON_INTERPRETERIDOBJECT_H# include "cpython/interpreteridobject.h"# undef Py_CPYTHON_INTERPRETERIDOBJECT_H#endif
#ifdef __cplusplus}#endif#endif /* !Py_INTERPRETERIDOBJECT_H */123456789101112131415161718192021222324252627282930313233
#ifndef Py_INTRCHECK_H#define Py_INTRCHECK_H#ifdef __cplusplusextern "C" {#endif
PyAPI_FUNC(int) PyOS_InterruptOccurred(void);PyAPI_FUNC(void) PyOS_InitInterrupts(void);#ifdef HAVE_FORK#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000PyAPI_FUNC(void) PyOS_BeforeFork(void);PyAPI_FUNC(void) PyOS_AfterFork_Parent(void);PyAPI_FUNC(void) PyOS_AfterFork_Child(void);#endif#endif/* Deprecated, please use PyOS_AfterFork_Child() instead */Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyOS_AfterFork(void);
#ifndef Py_LIMITED_APIPyAPI_FUNC(int) _PyOS_IsMainThread(void);PyAPI_FUNC(void) _PySignal_AfterFork(void);
#ifdef MS_WINDOWS/* windows.h is not included by Python.h so use void* instead of HANDLE */PyAPI_FUNC(void*) _PyOS_SigintEvent(void);#endif#endif /* !Py_LIMITED_API */
#ifdef __cplusplus}#endif#endif /* !Py_INTRCHECK_H */123456789101112131415161718192021222324#ifndef Py_ITEROBJECT_H#define Py_ITEROBJECT_H/* Iterators (the basic kind, over a sequence) */#ifdef __cplusplusextern "C" {#endif
PyAPI_DATA(PyTypeObject) PySeqIter_Type;PyAPI_DATA(PyTypeObject) PyCallIter_Type;
#define PySeqIter_Check(op) Py_IS_TYPE(op, &PySeqIter_Type)
PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *);
#define PyCallIter_Check(op) Py_IS_TYPE(op, &PyCallIter_Type)
PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *);
#ifdef __cplusplus}#endif#endif /* !Py_ITEROBJECT_H */
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152/* List object interface
Another generally useful object type is a list of object pointers. This is a mutable type: the list items can be changed, and items can be added or removed. Out-of-range indices or non-list objects are ignored.
WARNING: PyList_SetItem does not increment the new item's reference count, but does decrement the reference count of the item it replaces, if not nil. It does *decrement* the reference count if it is *not* inserted in the list. Similarly, PyList_GetItem does not increment the returned item's reference count.*/
#ifndef Py_LISTOBJECT_H#define Py_LISTOBJECT_H#ifdef __cplusplusextern "C" {#endif
PyAPI_DATA(PyTypeObject) PyList_Type;PyAPI_DATA(PyTypeObject) PyListIter_Type;PyAPI_DATA(PyTypeObject) PyListRevIter_Type;
#define PyList_Check(op) \ PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)#define PyList_CheckExact(op) Py_IS_TYPE(op, &PyList_Type)
PyAPI_FUNC(PyObject *) PyList_New(Py_ssize_t size);PyAPI_FUNC(Py_ssize_t) PyList_Size(PyObject *);
PyAPI_FUNC(PyObject *) PyList_GetItem(PyObject *, Py_ssize_t);PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *);PyAPI_FUNC(int) PyList_Insert(PyObject *, Py_ssize_t, PyObject *);PyAPI_FUNC(int) PyList_Append(PyObject *, PyObject *);
PyAPI_FUNC(PyObject *) PyList_GetSlice(PyObject *, Py_ssize_t, Py_ssize_t);PyAPI_FUNC(int) PyList_SetSlice(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *);
PyAPI_FUNC(int) PyList_Sort(PyObject *);PyAPI_FUNC(int) PyList_Reverse(PyObject *);PyAPI_FUNC(PyObject *) PyList_AsTuple(PyObject *);
#ifndef Py_LIMITED_API# define Py_CPYTHON_LISTOBJECT_H# include "cpython/listobject.h"# undef Py_CPYTHON_LISTOBJECT_H#endif
#ifdef __cplusplus}#endif#endif /* !Py_LISTOBJECT_H */123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899#ifndef Py_LIMITED_API#ifndef Py_LONGINTREPR_H#define Py_LONGINTREPR_H#ifdef __cplusplusextern "C" {#endif
/* This is published for the benefit of "friends" marshal.c and _decimal.c. */
/* Parameters of the integer representation. There are two different sets of parameters: one set for 30-bit digits, stored in an unsigned 32-bit integer type, and one set for 15-bit digits with each digit stored in an unsigned short. The value of PYLONG_BITS_IN_DIGIT, defined either at configure time or in pyport.h, is used to decide which digit size to use.
Type 'digit' should be able to hold 2*PyLong_BASE-1, and type 'twodigits' should be an unsigned integer type able to hold all integers up to PyLong_BASE*PyLong_BASE-1. x_sub assumes that 'digit' is an unsigned type, and that overflow is handled by taking the result modulo 2**N for some N > PyLong_SHIFT. The majority of the code doesn't care about the precise value of PyLong_SHIFT, but there are some notable exceptions:
- long_pow() requires that PyLong_SHIFT be divisible by 5
- PyLong_{As,From}ByteArray require that PyLong_SHIFT be at least 8
- long_hash() requires that PyLong_SHIFT is *strictly* less than the number of bits in an unsigned long, as do the PyLong <-> long (or unsigned long) conversion functions
- the Python int <-> size_t/Py_ssize_t conversion functions expect that PyLong_SHIFT is strictly less than the number of bits in a size_t
- the marshal code currently expects that PyLong_SHIFT is a multiple of 15
- NSMALLNEGINTS and NSMALLPOSINTS should be small enough to fit in a single digit; with the current values this forces PyLong_SHIFT >= 9
The values 15 and 30 should fit all of the above requirements, on any platform.*/
#if PYLONG_BITS_IN_DIGIT == 30typedef uint32_t digit;typedef int32_t sdigit; /* signed variant of digit */typedef uint64_t twodigits;typedef int64_t stwodigits; /* signed variant of twodigits */#define PyLong_SHIFT 30#define _PyLong_DECIMAL_SHIFT 9 /* max(e such that 10**e fits in a digit) */#define _PyLong_DECIMAL_BASE ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */#elif PYLONG_BITS_IN_DIGIT == 15typedef unsigned short digit;typedef short sdigit; /* signed variant of digit */typedef unsigned long twodigits;typedef long stwodigits; /* signed variant of twodigits */#define PyLong_SHIFT 15#define _PyLong_DECIMAL_SHIFT 4 /* max(e such that 10**e fits in a digit) */#define _PyLong_DECIMAL_BASE ((digit)10000) /* 10 ** DECIMAL_SHIFT */#else#error "PYLONG_BITS_IN_DIGIT should be 15 or 30"#endif#define PyLong_BASE ((digit)1 << PyLong_SHIFT)#define PyLong_MASK ((digit)(PyLong_BASE - 1))
#if PyLong_SHIFT % 5 != 0#error "longobject.c requires that PyLong_SHIFT be divisible by 5"#endif
/* Long integer representation. The absolute value of a number is equal to SUM(for i=0 through abs(ob_size)-1) ob_digit[i] * 2**(SHIFT*i) Negative numbers are represented with ob_size < 0; zero is represented by ob_size == 0. In a normalized number, ob_digit[abs(ob_size)-1] (the most significant digit) is never zero. Also, in all cases, for all valid i, 0 <= ob_digit[i] <= MASK. The allocation function takes care of allocating extra memory so that ob_digit[0] ... ob_digit[abs(ob_size)-1] are actually available.
CAUTION: Generic code manipulating subtypes of PyVarObject has to aware that ints abuse ob_size's sign bit.*/
struct _longobject { PyObject_VAR_HEAD digit ob_digit[1];};
PyAPI_FUNC(PyLongObject *) _PyLong_New(Py_ssize_t);
/* Return a copy of src. */PyAPI_FUNC(PyObject *) _PyLong_Copy(PyLongObject *src);
#ifdef __cplusplus}#endif#endif /* !Py_LONGINTREPR_H */#endif /* Py_LIMITED_API */12345678910111213141516171819202122232425262728
/* Interface for marshal.c */
#ifndef Py_MARSHAL_H#define Py_MARSHAL_H#ifdef __cplusplusextern "C" {#endif
#define Py_MARSHAL_VERSION 4
PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *, int);PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *, int);PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *, int);
#ifndef Py_LIMITED_APIPyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *);PyAPI_FUNC(int) PyMarshal_ReadShortFromFile(FILE *);PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromFile(FILE *);PyAPI_FUNC(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *);#endifPyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromString(const char *, Py_ssize_t);
#ifdef __cplusplus}#endif#endif /* !Py_MARSHAL_H */123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172/* Memory view object. In Python this is available as "memoryview". */
#ifndef Py_MEMORYOBJECT_H#define Py_MEMORYOBJECT_H#ifdef __cplusplusextern "C" {#endif
#ifndef Py_LIMITED_APIPyAPI_DATA(PyTypeObject) _PyManagedBuffer_Type;#endifPyAPI_DATA(PyTypeObject) PyMemoryView_Type;
#define PyMemoryView_Check(op) Py_IS_TYPE(op, &PyMemoryView_Type)
#ifndef Py_LIMITED_API/* Get a pointer to the memoryview's private copy of the exporter's buffer. */#define PyMemoryView_GET_BUFFER(op) (&((PyMemoryViewObject *)(op))->view)/* Get a pointer to the exporting object (this may be NULL!). */#define PyMemoryView_GET_BASE(op) (((PyMemoryViewObject *)(op))->view.obj)#endif
PyAPI_FUNC(PyObject *) PyMemoryView_FromObject(PyObject *base);#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000PyAPI_FUNC(PyObject *) PyMemoryView_FromMemory(char *mem, Py_ssize_t size, int flags);#endif#ifndef Py_LIMITED_APIPyAPI_FUNC(PyObject *) PyMemoryView_FromBuffer(Py_buffer *info);#endifPyAPI_FUNC(PyObject *) PyMemoryView_GetContiguous(PyObject *base, int buffertype, char order);
/* The structs are declared here so that macros can work, but they shouldn't be considered public. Don't access their fields directly, use the macros and functions instead! */#ifndef Py_LIMITED_API#define _Py_MANAGED_BUFFER_RELEASED 0x001 /* access to exporter blocked */#define _Py_MANAGED_BUFFER_FREE_FORMAT 0x002 /* free format */typedef struct { PyObject_HEAD int flags; /* state flags */ Py_ssize_t exports; /* number of direct memoryview exports */ Py_buffer master; /* snapshot buffer obtained from the original exporter */} _PyManagedBufferObject;
/* memoryview state flags */#define _Py_MEMORYVIEW_RELEASED 0x001 /* access to master buffer blocked */#define _Py_MEMORYVIEW_C 0x002 /* C-contiguous layout */#define _Py_MEMORYVIEW_FORTRAN 0x004 /* Fortran contiguous layout */#define _Py_MEMORYVIEW_SCALAR 0x008 /* scalar: ndim = 0 */#define _Py_MEMORYVIEW_PIL 0x010 /* PIL-style layout */
typedef struct { PyObject_VAR_HEAD _PyManagedBufferObject *mbuf; /* managed buffer */ Py_hash_t hash; /* hash value for read-only views */ int flags; /* state flags */ Py_ssize_t exports; /* number of buffer re-exports */ Py_buffer view; /* private copy of the exporter's view */ PyObject *weakreflist; Py_ssize_t ob_array[1]; /* shape, strides, suboffsets */} PyMemoryViewObject;#endif
#ifdef __cplusplus}#endif#endif /* !Py_MEMORYOBJECT_H */123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
/* Method object interface */
#ifndef Py_METHODOBJECT_H#define Py_METHODOBJECT_H#ifdef __cplusplusextern "C" {#endif
/* This is about the type 'builtin_function_or_method', not Python methods in user-defined classes. See classobject.h for the latter. */
PyAPI_DATA(PyTypeObject) PyCFunction_Type;
#define PyCFunction_CheckExact(op) Py_IS_TYPE(op, &PyCFunction_Type)#define PyCFunction_Check(op) PyObject_TypeCheck(op, &PyCFunction_Type)
typedef PyObject *(*PyCFunction)(PyObject *, PyObject *);typedef PyObject *(*_PyCFunctionFast) (PyObject *, PyObject *const *, Py_ssize_t);typedef PyObject *(*PyCFunctionWithKeywords)(PyObject *, PyObject *, PyObject *);typedef PyObject *(*_PyCFunctionFastWithKeywords) (PyObject *, PyObject *const *, Py_ssize_t, PyObject *);typedef PyObject *(*PyCMethod)(PyObject *, PyTypeObject *, PyObject *const *, size_t, PyObject *);
PyAPI_FUNC(PyCFunction) PyCFunction_GetFunction(PyObject *);PyAPI_FUNC(PyObject *) PyCFunction_GetSelf(PyObject *);PyAPI_FUNC(int) PyCFunction_GetFlags(PyObject *);
Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyCFunction_Call(PyObject *, PyObject *, PyObject *);
struct PyMethodDef { const char *ml_name; /* The name of the built-in function/method */ PyCFunction ml_meth; /* The C function that implements it */ int ml_flags; /* Combination of METH_xxx flags, which mostly describe the args expected by the C func */ const char *ml_doc; /* The __doc__ attribute, or NULL */};typedef struct PyMethodDef PyMethodDef;
#define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL)PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *, PyObject *);
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03090000#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)PyAPI_FUNC(PyObject *) PyCMethod_New(PyMethodDef *, PyObject *, PyObject *, PyTypeObject *);#endif
/* Flag passed to newmethodobject *//* #define METH_OLDARGS 0x0000 -- unsupported now */#define METH_VARARGS 0x0001#define METH_KEYWORDS 0x0002/* METH_NOARGS and METH_O must not be combined with the flags above. */#define METH_NOARGS 0x0004#define METH_O 0x0008
/* METH_CLASS and METH_STATIC are a little different; these control the construction of methods for a class. These cannot be used for functions in modules. */#define METH_CLASS 0x0010#define METH_STATIC 0x0020
/* METH_COEXIST allows a method to be entered even though a slot has already filled the entry. When defined, the flag allows a separate method, "__contains__" for example, to coexist with a defined slot like sq_contains. */
#define METH_COEXIST 0x0040
#ifndef Py_LIMITED_API#define METH_FASTCALL 0x0080#endif
/* This bit is preserved for Stackless Python */#ifdef STACKLESS#define METH_STACKLESS 0x0100#else#define METH_STACKLESS 0x0000#endif
/* METH_METHOD means the function stores an * additional reference to the class that defines it; * both self and class are passed to it. * It uses PyCMethodObject instead of PyCFunctionObject. * May not be combined with METH_NOARGS, METH_O, METH_CLASS or METH_STATIC. */
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03090000#define METH_METHOD 0x0200#endif
#ifndef Py_LIMITED_API
#define Py_CPYTHON_METHODOBJECT_H#include "cpython/methodobject.h"#undef Py_CPYTHON_METHODOBJECT_H
#endif
#ifdef __cplusplus}#endif#endif /* !Py_METHODOBJECT_H */123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
/* Module object interface */
#ifndef Py_MODULEOBJECT_H#define Py_MODULEOBJECT_H#ifdef __cplusplusextern "C" {#endif
PyAPI_DATA(PyTypeObject) PyModule_Type;
#define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type)#define PyModule_CheckExact(op) Py_IS_TYPE(op, &PyModule_Type)
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000PyAPI_FUNC(PyObject *) PyModule_NewObject( PyObject *name );#endifPyAPI_FUNC(PyObject *) PyModule_New( const char *name /* UTF-8 encoded string */ );PyAPI_FUNC(PyObject *) PyModule_GetDict(PyObject *);#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000PyAPI_FUNC(PyObject *) PyModule_GetNameObject(PyObject *);#endifPyAPI_FUNC(const char *) PyModule_GetName(PyObject *);Py_DEPRECATED(3.2) PyAPI_FUNC(const char *) PyModule_GetFilename(PyObject *);PyAPI_FUNC(PyObject *) PyModule_GetFilenameObject(PyObject *);#ifndef Py_LIMITED_APIPyAPI_FUNC(void) _PyModule_Clear(PyObject *);PyAPI_FUNC(void) _PyModule_ClearDict(PyObject *);PyAPI_FUNC(int) _PyModuleSpec_IsInitializing(PyObject *);#endifPyAPI_FUNC(struct PyModuleDef*) PyModule_GetDef(PyObject*);PyAPI_FUNC(void*) PyModule_GetState(PyObject*);
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03050000/* New in 3.5 */PyAPI_FUNC(PyObject *) PyModuleDef_Init(struct PyModuleDef*);PyAPI_DATA(PyTypeObject) PyModuleDef_Type;#endif
typedef struct PyModuleDef_Base { PyObject_HEAD PyObject* (*m_init)(void); Py_ssize_t m_index; PyObject* m_copy;} PyModuleDef_Base;
#define PyModuleDef_HEAD_INIT { \ PyObject_HEAD_INIT(NULL) \ NULL, /* m_init */ \ 0, /* m_index */ \ NULL, /* m_copy */ \ }
struct PyModuleDef_Slot;#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03050000/* New in 3.5 */typedef struct PyModuleDef_Slot{ int slot; void *value;} PyModuleDef_Slot;
#define Py_mod_create 1#define Py_mod_exec 2
#ifndef Py_LIMITED_API#define _Py_mod_LAST_SLOT 2#endif
#endif /* New in 3.5 */
typedef struct PyModuleDef{ PyModuleDef_Base m_base; const char* m_name; const char* m_doc; Py_ssize_t m_size; PyMethodDef *m_methods; struct PyModuleDef_Slot* m_slots; traverseproc m_traverse; inquiry m_clear; freefunc m_free;} PyModuleDef;
#ifdef __cplusplus}#endif#endif /* !Py_MODULEOBJECT_H */docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/2to3Added+5
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/2to3-3.9Added+5
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/idle3Added+5
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/idle3.9Added+5
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/pydocAdded+5
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/pydoc3Added+5
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/pydoc3.9Added+5
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/python3-configAdded+116
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/bin/python3.9-configAdded+116
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/compiler_compat/READMEAdded+2
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/Python.hAdded+158
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/asdl.hAdded+46
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/ast.hAdded+35
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/bitset.hAdded+23
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/bltinmodule.hAdded+14
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/boolobject.hAdded+34
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/bytearrayobject.hAdded+46
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/bytesobject.hAdded+82
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/cellobject.hAdded+29
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/ceval.hAdded+166
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/classobject.hAdded+57
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/code.hAdded+20
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/compile.hAdded+116
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/complexobject.hAdded+69
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/context.hAdded+81
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/descrobject.hAdded+108
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/dictobject.hAdded+94
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/enumobject.hAdded+17
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/errcode.hAdded+37
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/eval.hAdded+37
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/exports.hAdded+30
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/fileobject.hAdded+49
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/fileutils.hAdded+30
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/floatobject.hAdded+118
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/frameobject.hAdded+20
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/funcobject.hAdded+98
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/genericaliasobject.hAdded+14
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/genobject.hAdded+102
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/graminit.hAdded+94
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/grammar.hAdded+77
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/import.hAdded+98
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/interpreteridobject.hAdded+17
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/intrcheck.hAdded+33
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/iterobject.hAdded+24
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/listobject.hAdded+52
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/longintrepr.hAdded+99
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/marshal.hAdded+28
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/memoryobject.hAdded+72
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/methodobject.hAdded+110
docker/overlay2/5477bcafbdf820cef392849c85094c2cd573a682f23f2ec90412e611799281ce/diff/root/miniconda3/pkgs/python-3.9.12-h12debd9_1/include/python3.9/moduleobject.hAdded+90