@simplexai/localmodels-darwin-arm64 0.1.0-dev.31.build.gitb5579b4b26f273bf03468c6aedf61b327fa6c245 → 0.1.0-dev.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bootstrap.identity +1 -1
- package/bootstrap.sha256 +10 -582
- package/modules/localmodels/__init__.py +1 -1
- package/modules/{simplex_localmodels-0.1.0.dev31.dist-info → simplex_localmodels-0.1.0.dev32.dist-info}/METADATA +1 -1
- package/modules/{simplex_localmodels-0.1.0.dev31.dist-info → simplex_localmodels-0.1.0.dev32.dist-info}/RECORD +7 -7
- package/package.json +1 -1
- package/tool.json +1 -1
- package/python/bin/2to3 +0 -7
- package/python/bin/2to3-3.12 +0 -7
- package/python/bin/idle3 +0 -7
- package/python/bin/idle3.12 +0 -7
- package/python/bin/pip +0 -8
- package/python/bin/pip3 +0 -8
- package/python/bin/pip3.12 +0 -8
- package/python/bin/pydoc3 +0 -7
- package/python/bin/pydoc3.12 +0 -7
- package/python/bin/python +0 -0
- package/python/bin/python3 +0 -0
- package/python/bin/python3-config +0 -76
- package/python/bin/python3.12-config +0 -76
- package/python/include/python3.12/Python.h +0 -109
- package/python/include/python3.12/abstract.h +0 -899
- package/python/include/python3.12/bltinmodule.h +0 -14
- package/python/include/python3.12/boolobject.h +0 -42
- package/python/include/python3.12/bytearrayobject.h +0 -44
- package/python/include/python3.12/bytesobject.h +0 -69
- package/python/include/python3.12/ceval.h +0 -168
- package/python/include/python3.12/codecs.h +0 -248
- package/python/include/python3.12/compile.h +0 -22
- package/python/include/python3.12/complexobject.h +0 -30
- package/python/include/python3.12/cpython/abstract.h +0 -206
- package/python/include/python3.12/cpython/bytearrayobject.h +0 -34
- package/python/include/python3.12/cpython/bytesobject.h +0 -133
- package/python/include/python3.12/cpython/cellobject.h +0 -44
- package/python/include/python3.12/cpython/ceval.h +0 -35
- package/python/include/python3.12/cpython/classobject.h +0 -71
- package/python/include/python3.12/cpython/code.h +0 -389
- package/python/include/python3.12/cpython/compile.h +0 -69
- package/python/include/python3.12/cpython/complexobject.h +0 -44
- package/python/include/python3.12/cpython/context.h +0 -78
- package/python/include/python3.12/cpython/descrobject.h +0 -64
- package/python/include/python3.12/cpython/dictobject.h +0 -118
- package/python/include/python3.12/cpython/fileobject.h +0 -19
- package/python/include/python3.12/cpython/fileutils.h +0 -8
- package/python/include/python3.12/cpython/floatobject.h +0 -27
- package/python/include/python3.12/cpython/frameobject.h +0 -29
- package/python/include/python3.12/cpython/funcobject.h +0 -190
- package/python/include/python3.12/cpython/genobject.h +0 -89
- package/python/include/python3.12/cpython/import.h +0 -46
- package/python/include/python3.12/cpython/initconfig.h +0 -256
- package/python/include/python3.12/cpython/interpreteridobject.h +0 -11
- package/python/include/python3.12/cpython/listobject.h +0 -47
- package/python/include/python3.12/cpython/longintrepr.h +0 -133
- package/python/include/python3.12/cpython/longobject.h +0 -100
- package/python/include/python3.12/cpython/memoryobject.h +0 -52
- package/python/include/python3.12/cpython/methodobject.h +0 -66
- package/python/include/python3.12/cpython/modsupport.h +0 -109
- package/python/include/python3.12/cpython/object.h +0 -575
- package/python/include/python3.12/cpython/objimpl.h +0 -95
- package/python/include/python3.12/cpython/odictobject.h +0 -43
- package/python/include/python3.12/cpython/picklebufobject.h +0 -31
- package/python/include/python3.12/cpython/pthread_stubs.h +0 -88
- package/python/include/python3.12/cpython/pyctype.h +0 -39
- package/python/include/python3.12/cpython/pydebug.h +0 -38
- package/python/include/python3.12/cpython/pyerrors.h +0 -178
- package/python/include/python3.12/cpython/pyfpe.h +0 -15
- package/python/include/python3.12/cpython/pyframe.h +0 -35
- package/python/include/python3.12/cpython/pylifecycle.h +0 -111
- package/python/include/python3.12/cpython/pymem.h +0 -98
- package/python/include/python3.12/cpython/pystate.h +0 -456
- package/python/include/python3.12/cpython/pythonrun.h +0 -121
- package/python/include/python3.12/cpython/pythread.h +0 -42
- package/python/include/python3.12/cpython/pytime.h +0 -331
- package/python/include/python3.12/cpython/setobject.h +0 -72
- package/python/include/python3.12/cpython/sysmodule.h +0 -16
- package/python/include/python3.12/cpython/traceback.h +0 -16
- package/python/include/python3.12/cpython/tupleobject.h +0 -39
- package/python/include/python3.12/cpython/unicodeobject.h +0 -976
- package/python/include/python3.12/cpython/warnings.h +0 -20
- package/python/include/python3.12/cpython/weakrefobject.h +0 -56
- package/python/include/python3.12/datetime.h +0 -267
- package/python/include/python3.12/descrobject.h +0 -100
- package/python/include/python3.12/dictobject.h +0 -97
- package/python/include/python3.12/dynamic_annotations.h +0 -499
- package/python/include/python3.12/enumobject.h +0 -17
- package/python/include/python3.12/errcode.h +0 -38
- package/python/include/python3.12/exports.h +0 -36
- package/python/include/python3.12/fileobject.h +0 -49
- package/python/include/python3.12/fileutils.h +0 -26
- package/python/include/python3.12/floatobject.h +0 -54
- package/python/include/python3.12/frameobject.h +0 -20
- package/python/include/python3.12/genericaliasobject.h +0 -14
- package/python/include/python3.12/import.h +0 -98
- package/python/include/python3.12/internal/pycore_abstract.h +0 -25
- package/python/include/python3.12/internal/pycore_asdl.h +0 -112
- package/python/include/python3.12/internal/pycore_ast.h +0 -922
- package/python/include/python3.12/internal/pycore_ast_state.h +0 -265
- package/python/include/python3.12/internal/pycore_atexit.h +0 -57
- package/python/include/python3.12/internal/pycore_atomic.h +0 -557
- package/python/include/python3.12/internal/pycore_atomic_funcs.h +0 -94
- package/python/include/python3.12/internal/pycore_bitutils.h +0 -186
- package/python/include/python3.12/internal/pycore_blocks_output_buffer.h +0 -317
- package/python/include/python3.12/internal/pycore_bytes_methods.h +0 -73
- package/python/include/python3.12/internal/pycore_bytesobject.h +0 -47
- package/python/include/python3.12/internal/pycore_call.h +0 -133
- package/python/include/python3.12/internal/pycore_ceval.h +0 -164
- package/python/include/python3.12/internal/pycore_ceval_state.h +0 -103
- package/python/include/python3.12/internal/pycore_code.h +0 -496
- package/python/include/python3.12/internal/pycore_compile.h +0 -118
- package/python/include/python3.12/internal/pycore_condvar.h +0 -99
- package/python/include/python3.12/internal/pycore_context.h +0 -71
- package/python/include/python3.12/internal/pycore_descrobject.h +0 -26
- package/python/include/python3.12/internal/pycore_dict.h +0 -199
- package/python/include/python3.12/internal/pycore_dict_state.h +0 -50
- package/python/include/python3.12/internal/pycore_dtoa.h +0 -69
- package/python/include/python3.12/internal/pycore_emscripten_signal.h +0 -25
- package/python/include/python3.12/internal/pycore_exceptions.h +0 -37
- package/python/include/python3.12/internal/pycore_faulthandler.h +0 -99
- package/python/include/python3.12/internal/pycore_fileutils.h +0 -292
- package/python/include/python3.12/internal/pycore_fileutils_windows.h +0 -98
- package/python/include/python3.12/internal/pycore_floatobject.h +0 -71
- package/python/include/python3.12/internal/pycore_flowgraph.h +0 -120
- package/python/include/python3.12/internal/pycore_format.h +0 -27
- package/python/include/python3.12/internal/pycore_frame.h +0 -283
- package/python/include/python3.12/internal/pycore_function.h +0 -26
- package/python/include/python3.12/internal/pycore_gc.h +0 -211
- package/python/include/python3.12/internal/pycore_genobject.h +0 -49
- package/python/include/python3.12/internal/pycore_getopt.h +0 -22
- package/python/include/python3.12/internal/pycore_gil.h +0 -50
- package/python/include/python3.12/internal/pycore_global_objects.h +0 -105
- package/python/include/python3.12/internal/pycore_global_objects_fini_generated.h +0 -1517
- package/python/include/python3.12/internal/pycore_global_strings.h +0 -777
- package/python/include/python3.12/internal/pycore_hamt.h +0 -134
- package/python/include/python3.12/internal/pycore_hashtable.h +0 -149
- package/python/include/python3.12/internal/pycore_import.h +0 -183
- package/python/include/python3.12/internal/pycore_initconfig.h +0 -179
- package/python/include/python3.12/internal/pycore_instruments.h +0 -106
- package/python/include/python3.12/internal/pycore_interp.h +0 -275
- package/python/include/python3.12/internal/pycore_intrinsics.h +0 -32
- package/python/include/python3.12/internal/pycore_list.h +0 -83
- package/python/include/python3.12/internal/pycore_long.h +0 -258
- package/python/include/python3.12/internal/pycore_memoryobject.h +0 -18
- package/python/include/python3.12/internal/pycore_moduleobject.h +0 -45
- package/python/include/python3.12/internal/pycore_namespace.h +0 -20
- package/python/include/python3.12/internal/pycore_object.h +0 -455
- package/python/include/python3.12/internal/pycore_object_state.h +0 -42
- package/python/include/python3.12/internal/pycore_obmalloc.h +0 -700
- package/python/include/python3.12/internal/pycore_obmalloc_init.h +0 -73
- package/python/include/python3.12/internal/pycore_opcode.h +0 -587
- package/python/include/python3.12/internal/pycore_opcode_utils.h +0 -92
- package/python/include/python3.12/internal/pycore_parser.h +0 -66
- package/python/include/python3.12/internal/pycore_pathconfig.h +0 -24
- package/python/include/python3.12/internal/pycore_pyarena.h +0 -64
- package/python/include/python3.12/internal/pycore_pyerrors.h +0 -129
- package/python/include/python3.12/internal/pycore_pyhash.h +0 -40
- package/python/include/python3.12/internal/pycore_pylifecycle.h +0 -99
- package/python/include/python3.12/internal/pycore_pymath.h +0 -205
- package/python/include/python3.12/internal/pycore_pymem.h +0 -98
- package/python/include/python3.12/internal/pycore_pymem_init.h +0 -85
- package/python/include/python3.12/internal/pycore_pystate.h +0 -180
- package/python/include/python3.12/internal/pycore_pythread.h +0 -81
- package/python/include/python3.12/internal/pycore_range.h +0 -21
- package/python/include/python3.12/internal/pycore_runtime.h +0 -235
- package/python/include/python3.12/internal/pycore_runtime_init.h +0 -188
- package/python/include/python3.12/internal/pycore_runtime_init_generated.h +0 -1511
- package/python/include/python3.12/internal/pycore_signal.h +0 -98
- package/python/include/python3.12/internal/pycore_sliceobject.h +0 -22
- package/python/include/python3.12/internal/pycore_strhex.h +0 -36
- package/python/include/python3.12/internal/pycore_structseq.h +0 -39
- package/python/include/python3.12/internal/pycore_symtable.h +0 -160
- package/python/include/python3.12/internal/pycore_sysmodule.h +0 -34
- package/python/include/python3.12/internal/pycore_time.h +0 -25
- package/python/include/python3.12/internal/pycore_token.h +0 -108
- package/python/include/python3.12/internal/pycore_traceback.h +0 -101
- package/python/include/python3.12/internal/pycore_tracemalloc.h +0 -123
- package/python/include/python3.12/internal/pycore_tuple.h +0 -79
- package/python/include/python3.12/internal/pycore_typeobject.h +0 -151
- package/python/include/python3.12/internal/pycore_typevarobject.h +0 -24
- package/python/include/python3.12/internal/pycore_ucnhash.h +0 -34
- package/python/include/python3.12/internal/pycore_unicodeobject.h +0 -86
- package/python/include/python3.12/internal/pycore_unicodeobject_generated.h +0 -2832
- package/python/include/python3.12/internal/pycore_unionobject.h +0 -23
- package/python/include/python3.12/internal/pycore_warnings.h +0 -29
- package/python/include/python3.12/interpreteridobject.h +0 -17
- package/python/include/python3.12/intrcheck.h +0 -30
- package/python/include/python3.12/iterobject.h +0 -27
- package/python/include/python3.12/listobject.h +0 -52
- package/python/include/python3.12/longobject.h +0 -108
- package/python/include/python3.12/marshal.h +0 -31
- package/python/include/python3.12/memoryobject.h +0 -34
- package/python/include/python3.12/methodobject.h +0 -132
- package/python/include/python3.12/modsupport.h +0 -168
- package/python/include/python3.12/moduleobject.h +0 -119
- package/python/include/python3.12/object.h +0 -993
- package/python/include/python3.12/objimpl.h +0 -234
- package/python/include/python3.12/opcode.h +0 -271
- package/python/include/python3.12/osdefs.h +0 -51
- package/python/include/python3.12/osmodule.h +0 -17
- package/python/include/python3.12/patchlevel.h +0 -35
- package/python/include/python3.12/py_curses.h +0 -99
- package/python/include/python3.12/pybuffer.h +0 -145
- package/python/include/python3.12/pycapsule.h +0 -59
- package/python/include/python3.12/pyconfig.h +0 -1943
- package/python/include/python3.12/pydtrace.h +0 -59
- package/python/include/python3.12/pyerrors.h +0 -337
- package/python/include/python3.12/pyexpat.h +0 -70
- package/python/include/python3.12/pyframe.h +0 -26
- package/python/include/python3.12/pyhash.h +0 -146
- package/python/include/python3.12/pylifecycle.h +0 -78
- package/python/include/python3.12/pymacconfig.h +0 -99
- package/python/include/python3.12/pymacro.h +0 -172
- package/python/include/python3.12/pymath.h +0 -62
- package/python/include/python3.12/pymem.h +0 -104
- package/python/include/python3.12/pyport.h +0 -782
- package/python/include/python3.12/pystate.h +0 -132
- package/python/include/python3.12/pystats.h +0 -110
- package/python/include/python3.12/pystrcmp.h +0 -23
- package/python/include/python3.12/pystrtod.h +0 -46
- package/python/include/python3.12/pythonrun.h +0 -49
- package/python/include/python3.12/pythread.h +0 -135
- package/python/include/python3.12/pytypedefs.h +0 -30
- package/python/include/python3.12/rangeobject.h +0 -27
- package/python/include/python3.12/setobject.h +0 -49
- package/python/include/python3.12/sliceobject.h +0 -65
- package/python/include/python3.12/structmember.h +0 -56
- package/python/include/python3.12/structseq.h +0 -49
- package/python/include/python3.12/sysmodule.h +0 -54
- package/python/include/python3.12/traceback.h +0 -26
- package/python/include/python3.12/tracemalloc.h +0 -77
- package/python/include/python3.12/tupleobject.h +0 -46
- package/python/include/python3.12/typeslots.h +0 -88
- package/python/include/python3.12/unicodeobject.h +0 -1020
- package/python/include/python3.12/warnings.h +0 -45
- package/python/include/python3.12/weakrefobject.h +0 -42
- package/python/lib/itcl4.3.8/itcl.tcl +0 -151
- package/python/lib/itcl4.3.8/itclConfig.sh +0 -67
- package/python/lib/itcl4.3.8/itclHullCmds.tcl +0 -562
- package/python/lib/itcl4.3.8/itclWidget.tcl +0 -447
- package/python/lib/itcl4.3.8/libitcl4.3.8.dylib +0 -0
- package/python/lib/itcl4.3.8/libitclstub.a +0 -0
- package/python/lib/itcl4.3.8/libitclstub4.3.8.a +0 -0
- package/python/lib/itcl4.3.8/libtcl9itcl4.3.8.dylib +0 -0
- package/python/lib/itcl4.3.8/pkgIndex.tcl +0 -14
- package/python/lib/libpython3.12.dylib +0 -0
- package/python/lib/libtcl9.0.dylib +0 -0
- package/python/lib/libtcl9tk9.0.dylib +0 -0
- package/python/lib/pkgconfig/python-3.12-embed.pc +0 -13
- package/python/lib/pkgconfig/python-3.12.pc +0 -13
- package/python/lib/pkgconfig/python3-embed.pc +0 -13
- package/python/lib/pkgconfig/python3.pc +0 -13
- package/python/lib/python3.12/config-3.12-darwin/Makefile +0 -3273
- package/python/lib/python3.12/config-3.12-darwin/Setup +0 -303
- package/python/lib/python3.12/config-3.12-darwin/Setup.bootstrap +0 -36
- package/python/lib/python3.12/config-3.12-darwin/Setup.local +0 -19
- package/python/lib/python3.12/config-3.12-darwin/Setup.stdlib +0 -183
- package/python/lib/python3.12/config-3.12-darwin/config.c +0 -246
- package/python/lib/python3.12/config-3.12-darwin/config.c.in +0 -71
- package/python/lib/python3.12/config-3.12-darwin/install-sh +0 -541
- package/python/lib/python3.12/config-3.12-darwin/makesetup +0 -353
- package/python/lib/python3.12/config-3.12-darwin/python-config.py +0 -76
- package/python/lib/python3.12/config-3.12-darwin/python.o +0 -0
- package/python/lib/python3.12/idlelib/CREDITS.txt +0 -47
- package/python/lib/python3.12/idlelib/ChangeLog +0 -1591
- package/python/lib/python3.12/idlelib/HISTORY.txt +0 -296
- package/python/lib/python3.12/idlelib/Icons/README.txt +0 -51
- package/python/lib/python3.12/idlelib/Icons/folder.gif +0 -0
- package/python/lib/python3.12/idlelib/Icons/idle.ico +0 -0
- package/python/lib/python3.12/idlelib/Icons/idle_16.gif +0 -0
- package/python/lib/python3.12/idlelib/Icons/idle_16.png +0 -0
- package/python/lib/python3.12/idlelib/Icons/idle_256.png +0 -0
- package/python/lib/python3.12/idlelib/Icons/idle_32.gif +0 -0
- package/python/lib/python3.12/idlelib/Icons/idle_32.png +0 -0
- package/python/lib/python3.12/idlelib/Icons/idle_48.gif +0 -0
- package/python/lib/python3.12/idlelib/Icons/idle_48.png +0 -0
- package/python/lib/python3.12/idlelib/Icons/minusnode.gif +0 -0
- package/python/lib/python3.12/idlelib/Icons/openfolder.gif +0 -0
- package/python/lib/python3.12/idlelib/Icons/plusnode.gif +0 -0
- package/python/lib/python3.12/idlelib/Icons/python.gif +0 -0
- package/python/lib/python3.12/idlelib/Icons/tk.gif +0 -0
- package/python/lib/python3.12/idlelib/NEWS2x.txt +0 -660
- package/python/lib/python3.12/idlelib/News3.txt +0 -1390
- package/python/lib/python3.12/idlelib/README.txt +0 -290
- package/python/lib/python3.12/idlelib/TODO.txt +0 -210
- package/python/lib/python3.12/idlelib/__init__.py +0 -10
- package/python/lib/python3.12/idlelib/__main__.py +0 -7
- package/python/lib/python3.12/idlelib/autocomplete.py +0 -228
- package/python/lib/python3.12/idlelib/autocomplete_w.py +0 -498
- package/python/lib/python3.12/idlelib/autoexpand.py +0 -96
- package/python/lib/python3.12/idlelib/browser.py +0 -260
- package/python/lib/python3.12/idlelib/calltip.py +0 -205
- package/python/lib/python3.12/idlelib/calltip_w.py +0 -202
- package/python/lib/python3.12/idlelib/codecontext.py +0 -270
- package/python/lib/python3.12/idlelib/colorizer.py +0 -384
- package/python/lib/python3.12/idlelib/config-extensions.def +0 -62
- package/python/lib/python3.12/idlelib/config-highlight.def +0 -105
- package/python/lib/python3.12/idlelib/config-keys.def +0 -309
- package/python/lib/python3.12/idlelib/config-main.def +0 -93
- package/python/lib/python3.12/idlelib/config.py +0 -917
- package/python/lib/python3.12/idlelib/config_key.py +0 -354
- package/python/lib/python3.12/idlelib/configdialog.py +0 -2408
- package/python/lib/python3.12/idlelib/debugger.py +0 -602
- package/python/lib/python3.12/idlelib/debugger_r.py +0 -390
- package/python/lib/python3.12/idlelib/debugobj.py +0 -146
- package/python/lib/python3.12/idlelib/debugobj_r.py +0 -41
- package/python/lib/python3.12/idlelib/delegator.py +0 -34
- package/python/lib/python3.12/idlelib/dynoption.py +0 -57
- package/python/lib/python3.12/idlelib/editor.py +0 -1767
- package/python/lib/python3.12/idlelib/extend.txt +0 -83
- package/python/lib/python3.12/idlelib/filelist.py +0 -132
- package/python/lib/python3.12/idlelib/format.py +0 -426
- package/python/lib/python3.12/idlelib/grep.py +0 -223
- package/python/lib/python3.12/idlelib/help.html +0 -805
- package/python/lib/python3.12/idlelib/help.py +0 -297
- package/python/lib/python3.12/idlelib/help_about.py +0 -211
- package/python/lib/python3.12/idlelib/history.py +0 -106
- package/python/lib/python3.12/idlelib/hyperparser.py +0 -312
- package/python/lib/python3.12/idlelib/idle.bat +0 -4
- package/python/lib/python3.12/idlelib/idle.py +0 -14
- package/python/lib/python3.12/idlelib/idle.pyw +0 -17
- package/python/lib/python3.12/idlelib/iomenu.py +0 -441
- package/python/lib/python3.12/idlelib/macosx.py +0 -278
- package/python/lib/python3.12/idlelib/mainmenu.py +0 -126
- package/python/lib/python3.12/idlelib/multicall.py +0 -451
- package/python/lib/python3.12/idlelib/outwin.py +0 -188
- package/python/lib/python3.12/idlelib/parenmatch.py +0 -183
- package/python/lib/python3.12/idlelib/pathbrowser.py +0 -107
- package/python/lib/python3.12/idlelib/percolator.py +0 -120
- package/python/lib/python3.12/idlelib/pyparse.py +0 -589
- package/python/lib/python3.12/idlelib/pyshell.py +0 -1694
- package/python/lib/python3.12/idlelib/query.py +0 -392
- package/python/lib/python3.12/idlelib/redirector.py +0 -173
- package/python/lib/python3.12/idlelib/replace.py +0 -300
- package/python/lib/python3.12/idlelib/rpc.py +0 -635
- package/python/lib/python3.12/idlelib/run.py +0 -646
- package/python/lib/python3.12/idlelib/runscript.py +0 -213
- package/python/lib/python3.12/idlelib/scrolledlist.py +0 -151
- package/python/lib/python3.12/idlelib/search.py +0 -165
- package/python/lib/python3.12/idlelib/searchbase.py +0 -210
- package/python/lib/python3.12/idlelib/searchengine.py +0 -235
- package/python/lib/python3.12/idlelib/sidebar.py +0 -544
- package/python/lib/python3.12/idlelib/squeezer.py +0 -345
- package/python/lib/python3.12/idlelib/stackviewer.py +0 -134
- package/python/lib/python3.12/idlelib/statusbar.py +0 -52
- package/python/lib/python3.12/idlelib/textview.py +0 -193
- package/python/lib/python3.12/idlelib/tooltip.py +0 -190
- package/python/lib/python3.12/idlelib/tree.py +0 -509
- package/python/lib/python3.12/idlelib/undo.py +0 -367
- package/python/lib/python3.12/idlelib/util.py +0 -37
- package/python/lib/python3.12/idlelib/window.py +0 -98
- package/python/lib/python3.12/idlelib/zoomheight.py +0 -124
- package/python/lib/python3.12/idlelib/zzdummy.py +0 -73
- package/python/lib/python3.12/lib-dynload/_tkinter.cpython-312-darwin.so +0 -0
- package/python/lib/python3.12/tkinter/__init__.py +0 -4682
- package/python/lib/python3.12/tkinter/__main__.py +0 -7
- package/python/lib/python3.12/tkinter/colorchooser.py +0 -86
- package/python/lib/python3.12/tkinter/commondialog.py +0 -53
- package/python/lib/python3.12/tkinter/constants.py +0 -110
- package/python/lib/python3.12/tkinter/dialog.py +0 -49
- package/python/lib/python3.12/tkinter/dnd.py +0 -324
- package/python/lib/python3.12/tkinter/filedialog.py +0 -492
- package/python/lib/python3.12/tkinter/font.py +0 -239
- package/python/lib/python3.12/tkinter/messagebox.py +0 -146
- package/python/lib/python3.12/tkinter/scrolledtext.py +0 -56
- package/python/lib/python3.12/tkinter/simpledialog.py +0 -441
- package/python/lib/python3.12/tkinter/tix.py +0 -1948
- package/python/lib/python3.12/tkinter/ttk.py +0 -1640
- package/python/lib/python3.12/turtle.py +0 -4207
- package/python/lib/python3.12/turtledemo/__init__.py +0 -14
- package/python/lib/python3.12/turtledemo/__main__.py +0 -404
- package/python/lib/python3.12/turtledemo/bytedesign.py +0 -161
- package/python/lib/python3.12/turtledemo/chaos.py +0 -59
- package/python/lib/python3.12/turtledemo/clock.py +0 -138
- package/python/lib/python3.12/turtledemo/colormixer.py +0 -58
- package/python/lib/python3.12/turtledemo/forest.py +0 -108
- package/python/lib/python3.12/turtledemo/fractalcurves.py +0 -138
- package/python/lib/python3.12/turtledemo/lindenmayer.py +0 -119
- package/python/lib/python3.12/turtledemo/minimal_hanoi.py +0 -79
- package/python/lib/python3.12/turtledemo/nim.py +0 -226
- package/python/lib/python3.12/turtledemo/paint.py +0 -54
- package/python/lib/python3.12/turtledemo/peace.py +0 -61
- package/python/lib/python3.12/turtledemo/penrose.py +0 -175
- package/python/lib/python3.12/turtledemo/planet_and_moon.py +0 -111
- package/python/lib/python3.12/turtledemo/rosette.py +0 -65
- package/python/lib/python3.12/turtledemo/round_dance.py +0 -86
- package/python/lib/python3.12/turtledemo/sorting_animate.py +0 -204
- package/python/lib/python3.12/turtledemo/tree.py +0 -62
- package/python/lib/python3.12/turtledemo/turtle.cfg +0 -10
- package/python/lib/python3.12/turtledemo/two_canvases.py +0 -54
- package/python/lib/python3.12/turtledemo/yinyang.py +0 -49
- package/python/lib/tcl9/9.0/http-2.10.2.tm +0 -5451
- package/python/lib/tcl9/9.0/msgcat-1.7.1.tm +0 -1349
- package/python/lib/tcl9/9.0/platform/shell-1.1.4.tm +0 -241
- package/python/lib/tcl9/9.0/platform-1.1.0.tm +0 -442
- package/python/lib/tcl9/9.0/tcltest-2.5.11.tm +0 -3600
- package/python/lib/tcl9.0/auto.tcl +0 -710
- package/python/lib/tcl9.0/clock.tcl +0 -2110
- package/python/lib/tcl9.0/cookiejar0.2/cookiejar.tcl +0 -746
- package/python/lib/tcl9.0/cookiejar0.2/idna.tcl +0 -292
- package/python/lib/tcl9.0/cookiejar0.2/pkgIndex.tcl +0 -3
- package/python/lib/tcl9.0/cookiejar0.2/public_suffix_list.dat.gz +0 -0
- package/python/lib/tcl9.0/encoding/ascii.enc +0 -20
- package/python/lib/tcl9.0/encoding/big5.enc +0 -1516
- package/python/lib/tcl9.0/encoding/cns11643.enc +0 -1584
- package/python/lib/tcl9.0/encoding/cp1250.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp1251.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp1252.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp1253.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp1254.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp1255.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp1256.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp1257.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp1258.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp165.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp437.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp737.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp775.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp850.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp852.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp855.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp857.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp860.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp861.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp862.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp863.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp864.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp865.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp866.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp869.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp874.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp932.enc +0 -801
- package/python/lib/tcl9.0/encoding/cp936.enc +0 -2162
- package/python/lib/tcl9.0/encoding/cp949.enc +0 -2128
- package/python/lib/tcl9.0/encoding/cp950.enc +0 -1499
- package/python/lib/tcl9.0/encoding/dingbats.enc +0 -20
- package/python/lib/tcl9.0/encoding/ebcdic.enc +0 -20
- package/python/lib/tcl9.0/encoding/euc-cn.enc +0 -1397
- package/python/lib/tcl9.0/encoding/euc-jp.enc +0 -1353
- package/python/lib/tcl9.0/encoding/euc-kr.enc +0 -1533
- package/python/lib/tcl9.0/encoding/gb12345.enc +0 -1414
- package/python/lib/tcl9.0/encoding/gb1988.enc +0 -20
- package/python/lib/tcl9.0/encoding/gb2312-raw.enc +0 -1380
- package/python/lib/tcl9.0/encoding/gb2312.enc +0 -1397
- package/python/lib/tcl9.0/encoding/iso2022-jp.enc +0 -12
- package/python/lib/tcl9.0/encoding/iso2022-kr.enc +0 -7
- package/python/lib/tcl9.0/encoding/iso2022.enc +0 -14
- package/python/lib/tcl9.0/encoding/iso8859-1.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-10.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-11.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-13.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-14.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-15.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-16.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-2.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-3.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-4.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-5.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-6.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-7.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-8.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-9.enc +0 -20
- package/python/lib/tcl9.0/encoding/jis0201.enc +0 -20
- package/python/lib/tcl9.0/encoding/jis0208.enc +0 -1319
- package/python/lib/tcl9.0/encoding/jis0212.enc +0 -1159
- package/python/lib/tcl9.0/encoding/koi8-r.enc +0 -20
- package/python/lib/tcl9.0/encoding/koi8-ru.enc +0 -20
- package/python/lib/tcl9.0/encoding/koi8-t.enc +0 -20
- package/python/lib/tcl9.0/encoding/koi8-u.enc +0 -20
- package/python/lib/tcl9.0/encoding/ksc5601.enc +0 -1516
- package/python/lib/tcl9.0/encoding/macCentEuro.enc +0 -20
- package/python/lib/tcl9.0/encoding/macCroatian.enc +0 -20
- package/python/lib/tcl9.0/encoding/macCyrillic.enc +0 -20
- package/python/lib/tcl9.0/encoding/macDingbats.enc +0 -20
- package/python/lib/tcl9.0/encoding/macGreek.enc +0 -20
- package/python/lib/tcl9.0/encoding/macIceland.enc +0 -20
- package/python/lib/tcl9.0/encoding/macJapan.enc +0 -785
- package/python/lib/tcl9.0/encoding/macRoman.enc +0 -20
- package/python/lib/tcl9.0/encoding/macRomania.enc +0 -20
- package/python/lib/tcl9.0/encoding/macThai.enc +0 -20
- package/python/lib/tcl9.0/encoding/macTurkish.enc +0 -20
- package/python/lib/tcl9.0/encoding/macUkraine.enc +0 -20
- package/python/lib/tcl9.0/encoding/shiftjis.enc +0 -690
- package/python/lib/tcl9.0/encoding/symbol.enc +0 -20
- package/python/lib/tcl9.0/encoding/tis-620.enc +0 -20
- package/python/lib/tcl9.0/foreachline.tcl +0 -25
- package/python/lib/tcl9.0/history.tcl +0 -335
- package/python/lib/tcl9.0/icu.tcl +0 -145
- package/python/lib/tcl9.0/init.tcl +0 -772
- package/python/lib/tcl9.0/install.tcl +0 -274
- package/python/lib/tcl9.0/opt0.4/optparse.tcl +0 -1060
- package/python/lib/tcl9.0/opt0.4/pkgIndex.tcl +0 -12
- package/python/lib/tcl9.0/package.tcl +0 -776
- package/python/lib/tcl9.0/parray.tcl +0 -28
- package/python/lib/tcl9.0/readfile.tcl +0 -23
- package/python/lib/tcl9.0/safe.tcl +0 -1459
- package/python/lib/tcl9.0/tclAppInit.c +0 -183
- package/python/lib/tcl9.0/tclIndex +0 -112
- package/python/lib/tcl9.0/tm.tcl +0 -378
- package/python/lib/tcl9.0/word.tcl +0 -155
- package/python/lib/tcl9.0/writefile.tcl +0 -37
- package/python/lib/thread3.0.6/libtcl9thread3.0.6.dylib +0 -0
- package/python/lib/thread3.0.6/libthread3.0.6.dylib +0 -0
- package/python/lib/thread3.0.6/pkgIndex.tcl +0 -52
- package/python/lib/thread3.0.6/ttrace.tcl +0 -943
- package/python/lib/tk9.0/bgerror.tcl +0 -282
- package/python/lib/tk9.0/button.tcl +0 -782
- package/python/lib/tk9.0/choosedir.tcl +0 -310
- package/python/lib/tk9.0/clrpick.tcl +0 -696
- package/python/lib/tk9.0/comdlg.tcl +0 -322
- package/python/lib/tk9.0/console.tcl +0 -1148
- package/python/lib/tk9.0/dialog.tcl +0 -175
- package/python/lib/tk9.0/entry.tcl +0 -721
- package/python/lib/tk9.0/focus.tcl +0 -178
- package/python/lib/tk9.0/fontchooser.tcl +0 -512
- package/python/lib/tk9.0/iconbadges.tcl +0 -253
- package/python/lib/tk9.0/iconlist.tcl +0 -705
- package/python/lib/tk9.0/icons.tcl +0 -54
- package/python/lib/tk9.0/images/README +0 -7
- package/python/lib/tk9.0/images/logo.eps +0 -2091
- package/python/lib/tk9.0/images/logo100.gif +0 -0
- package/python/lib/tk9.0/images/logo64.gif +0 -0
- package/python/lib/tk9.0/images/logoLarge.gif +0 -0
- package/python/lib/tk9.0/images/logoMed.gif +0 -0
- package/python/lib/tk9.0/images/pwrdLogo.eps +0 -1897
- package/python/lib/tk9.0/images/pwrdLogo100.gif +0 -0
- package/python/lib/tk9.0/images/pwrdLogo150.gif +0 -0
- package/python/lib/tk9.0/images/pwrdLogo175.gif +0 -0
- package/python/lib/tk9.0/images/pwrdLogo200.gif +0 -0
- package/python/lib/tk9.0/images/pwrdLogo75.gif +0 -0
- package/python/lib/tk9.0/images/tai-ku.gif +0 -0
- package/python/lib/tk9.0/listbox.tcl +0 -522
- package/python/lib/tk9.0/megawidget.tcl +0 -297
- package/python/lib/tk9.0/menu.tcl +0 -1376
- package/python/lib/tk9.0/mkpsenc.tcl +0 -1488
- package/python/lib/tk9.0/msgbox.tcl +0 -454
- package/python/lib/tk9.0/optMenu.tcl +0 -43
- package/python/lib/tk9.0/palette.tcl +0 -283
- package/python/lib/tk9.0/panedwindow.tcl +0 -194
- package/python/lib/tk9.0/pkgIndex.tcl +0 -3
- package/python/lib/tk9.0/print.tcl +0 -1460
- package/python/lib/tk9.0/safetk.tcl +0 -262
- package/python/lib/tk9.0/scale.tcl +0 -299
- package/python/lib/tk9.0/scaling.tcl +0 -232
- package/python/lib/tk9.0/scrlbar.tcl +0 -506
- package/python/lib/tk9.0/spinbox.tcl +0 -590
- package/python/lib/tk9.0/systray.tcl +0 -483
- package/python/lib/tk9.0/tclIndex +0 -252
- package/python/lib/tk9.0/tearoff.tcl +0 -155
- package/python/lib/tk9.0/text.tcl +0 -1295
- package/python/lib/tk9.0/tk.tcl +0 -853
- package/python/lib/tk9.0/tkAppInit.c +0 -200
- package/python/lib/tk9.0/tkfbox.tcl +0 -1251
- package/python/lib/tk9.0/ttk/altTheme.tcl +0 -158
- package/python/lib/tk9.0/ttk/aquaTheme.tcl +0 -254
- package/python/lib/tk9.0/ttk/button.tcl +0 -83
- package/python/lib/tk9.0/ttk/clamTheme.tcl +0 -200
- package/python/lib/tk9.0/ttk/classicTheme.tcl +0 -165
- package/python/lib/tk9.0/ttk/combobox.tcl +0 -555
- package/python/lib/tk9.0/ttk/cursors.tcl +0 -205
- package/python/lib/tk9.0/ttk/defaults.tcl +0 -250
- package/python/lib/tk9.0/ttk/entry.tcl +0 -678
- package/python/lib/tk9.0/ttk/fonts.tcl +0 -152
- package/python/lib/tk9.0/ttk/menubutton.tcl +0 -237
- package/python/lib/tk9.0/ttk/notebook.tcl +0 -261
- package/python/lib/tk9.0/ttk/panedwindow.tcl +0 -89
- package/python/lib/tk9.0/ttk/progress.tcl +0 -55
- package/python/lib/tk9.0/ttk/scale.tcl +0 -94
- package/python/lib/tk9.0/ttk/scrollbar.tcl +0 -119
- package/python/lib/tk9.0/ttk/sizegrip.tcl +0 -102
- package/python/lib/tk9.0/ttk/spinbox.tcl +0 -204
- package/python/lib/tk9.0/ttk/treeview.tcl +0 -464
- package/python/lib/tk9.0/ttk/ttk.tcl +0 -220
- package/python/lib/tk9.0/ttk/utils.tcl +0 -317
- package/python/lib/tk9.0/ttk/vistaTheme.tcl +0 -260
- package/python/lib/tk9.0/ttk/winTheme.tcl +0 -123
- package/python/lib/tk9.0/ttk/xpTheme.tcl +0 -99
- package/python/lib/tk9.0/xmfbox.tcl +0 -982
- package/python/share/man/man1/python.1 +0 -630
- package/python/share/man/man1/python3.1 +0 -630
- package/python/share/man/man1/python3.12.1 +0 -630
- /package/modules/{simplex_localmodels-0.1.0.dev31.dist-info → simplex_localmodels-0.1.0.dev32.dist-info}/WHEEL +0 -0
- /package/modules/{simplex_localmodels-0.1.0.dev31.dist-info → simplex_localmodels-0.1.0.dev32.dist-info}/entry_points.txt +0 -0
- /package/modules/{simplex_localmodels-0.1.0.dev31.dist-info → simplex_localmodels-0.1.0.dev32.dist-info}/licenses/NOTICE +0 -0
- /package/modules/{simplex_localmodels-0.1.0.dev31.dist-info → simplex_localmodels-0.1.0.dev32.dist-info}/licenses/localmodels/HERMES-LICENSE +0 -0
|
@@ -1,292 +0,0 @@
|
|
|
1
|
-
#ifndef Py_INTERNAL_FILEUTILS_H
|
|
2
|
-
#define Py_INTERNAL_FILEUTILS_H
|
|
3
|
-
#ifdef __cplusplus
|
|
4
|
-
extern "C" {
|
|
5
|
-
#endif
|
|
6
|
-
|
|
7
|
-
#ifndef Py_BUILD_CORE
|
|
8
|
-
# error "Py_BUILD_CORE must be defined to include this header"
|
|
9
|
-
#endif
|
|
10
|
-
|
|
11
|
-
#include <locale.h> /* struct lconv */
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
struct _fileutils_state {
|
|
15
|
-
int force_ascii;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
typedef enum {
|
|
19
|
-
_Py_ERROR_UNKNOWN=0,
|
|
20
|
-
_Py_ERROR_STRICT,
|
|
21
|
-
_Py_ERROR_SURROGATEESCAPE,
|
|
22
|
-
_Py_ERROR_REPLACE,
|
|
23
|
-
_Py_ERROR_IGNORE,
|
|
24
|
-
_Py_ERROR_BACKSLASHREPLACE,
|
|
25
|
-
_Py_ERROR_SURROGATEPASS,
|
|
26
|
-
_Py_ERROR_XMLCHARREFREPLACE,
|
|
27
|
-
_Py_ERROR_OTHER
|
|
28
|
-
} _Py_error_handler;
|
|
29
|
-
|
|
30
|
-
PyAPI_FUNC(_Py_error_handler) _Py_GetErrorHandler(const char *errors);
|
|
31
|
-
|
|
32
|
-
PyAPI_FUNC(int) _Py_DecodeLocaleEx(
|
|
33
|
-
const char *arg,
|
|
34
|
-
wchar_t **wstr,
|
|
35
|
-
size_t *wlen,
|
|
36
|
-
const char **reason,
|
|
37
|
-
int current_locale,
|
|
38
|
-
_Py_error_handler errors);
|
|
39
|
-
|
|
40
|
-
PyAPI_FUNC(int) _Py_EncodeLocaleEx(
|
|
41
|
-
const wchar_t *text,
|
|
42
|
-
char **str,
|
|
43
|
-
size_t *error_pos,
|
|
44
|
-
const char **reason,
|
|
45
|
-
int current_locale,
|
|
46
|
-
_Py_error_handler errors);
|
|
47
|
-
|
|
48
|
-
PyAPI_FUNC(char*) _Py_EncodeLocaleRaw(
|
|
49
|
-
const wchar_t *text,
|
|
50
|
-
size_t *error_pos);
|
|
51
|
-
|
|
52
|
-
PyAPI_FUNC(PyObject *) _Py_device_encoding(int);
|
|
53
|
-
|
|
54
|
-
#if defined(MS_WINDOWS) || defined(__APPLE__)
|
|
55
|
-
/* On Windows, the count parameter of read() is an int (bpo-9015, bpo-9611).
|
|
56
|
-
On macOS 10.13, read() and write() with more than INT_MAX bytes
|
|
57
|
-
fail with EINVAL (bpo-24658). */
|
|
58
|
-
# define _PY_READ_MAX INT_MAX
|
|
59
|
-
# define _PY_WRITE_MAX INT_MAX
|
|
60
|
-
#else
|
|
61
|
-
/* write() should truncate the input to PY_SSIZE_T_MAX bytes,
|
|
62
|
-
but it's safer to do it ourself to have a portable behaviour */
|
|
63
|
-
# define _PY_READ_MAX PY_SSIZE_T_MAX
|
|
64
|
-
# define _PY_WRITE_MAX PY_SSIZE_T_MAX
|
|
65
|
-
#endif
|
|
66
|
-
|
|
67
|
-
#ifdef MS_WINDOWS
|
|
68
|
-
struct _Py_stat_struct {
|
|
69
|
-
uint64_t st_dev;
|
|
70
|
-
uint64_t st_ino;
|
|
71
|
-
unsigned short st_mode;
|
|
72
|
-
int st_nlink;
|
|
73
|
-
int st_uid;
|
|
74
|
-
int st_gid;
|
|
75
|
-
unsigned long st_rdev;
|
|
76
|
-
__int64 st_size;
|
|
77
|
-
time_t st_atime;
|
|
78
|
-
int st_atime_nsec;
|
|
79
|
-
time_t st_mtime;
|
|
80
|
-
int st_mtime_nsec;
|
|
81
|
-
time_t st_ctime;
|
|
82
|
-
int st_ctime_nsec;
|
|
83
|
-
time_t st_birthtime;
|
|
84
|
-
int st_birthtime_nsec;
|
|
85
|
-
unsigned long st_file_attributes;
|
|
86
|
-
unsigned long st_reparse_tag;
|
|
87
|
-
uint64_t st_ino_high;
|
|
88
|
-
};
|
|
89
|
-
#else
|
|
90
|
-
# define _Py_stat_struct stat
|
|
91
|
-
#endif
|
|
92
|
-
|
|
93
|
-
PyAPI_FUNC(int) _Py_fstat(
|
|
94
|
-
int fd,
|
|
95
|
-
struct _Py_stat_struct *status);
|
|
96
|
-
|
|
97
|
-
PyAPI_FUNC(int) _Py_fstat_noraise(
|
|
98
|
-
int fd,
|
|
99
|
-
struct _Py_stat_struct *status);
|
|
100
|
-
|
|
101
|
-
PyAPI_FUNC(int) _Py_stat(
|
|
102
|
-
PyObject *path,
|
|
103
|
-
struct stat *status);
|
|
104
|
-
|
|
105
|
-
PyAPI_FUNC(int) _Py_open(
|
|
106
|
-
const char *pathname,
|
|
107
|
-
int flags);
|
|
108
|
-
|
|
109
|
-
PyAPI_FUNC(int) _Py_open_noraise(
|
|
110
|
-
const char *pathname,
|
|
111
|
-
int flags);
|
|
112
|
-
|
|
113
|
-
PyAPI_FUNC(FILE *) _Py_wfopen(
|
|
114
|
-
const wchar_t *path,
|
|
115
|
-
const wchar_t *mode);
|
|
116
|
-
|
|
117
|
-
PyAPI_FUNC(Py_ssize_t) _Py_read(
|
|
118
|
-
int fd,
|
|
119
|
-
void *buf,
|
|
120
|
-
size_t count);
|
|
121
|
-
|
|
122
|
-
PyAPI_FUNC(Py_ssize_t) _Py_write(
|
|
123
|
-
int fd,
|
|
124
|
-
const void *buf,
|
|
125
|
-
size_t count);
|
|
126
|
-
|
|
127
|
-
PyAPI_FUNC(Py_ssize_t) _Py_write_noraise(
|
|
128
|
-
int fd,
|
|
129
|
-
const void *buf,
|
|
130
|
-
size_t count);
|
|
131
|
-
|
|
132
|
-
#ifdef HAVE_READLINK
|
|
133
|
-
PyAPI_FUNC(int) _Py_wreadlink(
|
|
134
|
-
const wchar_t *path,
|
|
135
|
-
wchar_t *buf,
|
|
136
|
-
/* Number of characters of 'buf' buffer
|
|
137
|
-
including the trailing NUL character */
|
|
138
|
-
size_t buflen);
|
|
139
|
-
#endif
|
|
140
|
-
|
|
141
|
-
#ifdef HAVE_REALPATH
|
|
142
|
-
PyAPI_FUNC(wchar_t*) _Py_wrealpath(
|
|
143
|
-
const wchar_t *path,
|
|
144
|
-
wchar_t *resolved_path,
|
|
145
|
-
/* Number of characters of 'resolved_path' buffer
|
|
146
|
-
including the trailing NUL character */
|
|
147
|
-
size_t resolved_path_len);
|
|
148
|
-
#endif
|
|
149
|
-
|
|
150
|
-
PyAPI_FUNC(wchar_t*) _Py_wgetcwd(
|
|
151
|
-
wchar_t *buf,
|
|
152
|
-
/* Number of characters of 'buf' buffer
|
|
153
|
-
including the trailing NUL character */
|
|
154
|
-
size_t buflen);
|
|
155
|
-
|
|
156
|
-
PyAPI_FUNC(int) _Py_get_inheritable(int fd);
|
|
157
|
-
|
|
158
|
-
PyAPI_FUNC(int) _Py_set_inheritable(int fd, int inheritable,
|
|
159
|
-
int *atomic_flag_works);
|
|
160
|
-
|
|
161
|
-
PyAPI_FUNC(int) _Py_set_inheritable_async_safe(int fd, int inheritable,
|
|
162
|
-
int *atomic_flag_works);
|
|
163
|
-
|
|
164
|
-
PyAPI_FUNC(int) _Py_dup(int fd);
|
|
165
|
-
|
|
166
|
-
PyAPI_FUNC(int) _Py_get_blocking(int fd);
|
|
167
|
-
|
|
168
|
-
PyAPI_FUNC(int) _Py_set_blocking(int fd, int blocking);
|
|
169
|
-
|
|
170
|
-
#ifdef MS_WINDOWS
|
|
171
|
-
PyAPI_FUNC(void*) _Py_get_osfhandle_noraise(int fd);
|
|
172
|
-
|
|
173
|
-
PyAPI_FUNC(void*) _Py_get_osfhandle(int fd);
|
|
174
|
-
|
|
175
|
-
PyAPI_FUNC(int) _Py_open_osfhandle_noraise(void *handle, int flags);
|
|
176
|
-
|
|
177
|
-
PyAPI_FUNC(int) _Py_open_osfhandle(void *handle, int flags);
|
|
178
|
-
#endif /* MS_WINDOWS */
|
|
179
|
-
|
|
180
|
-
// This is used after getting NULL back from Py_DecodeLocale().
|
|
181
|
-
#define DECODE_LOCALE_ERR(NAME, LEN) \
|
|
182
|
-
((LEN) == (size_t)-2) \
|
|
183
|
-
? _PyStatus_ERR("cannot decode " NAME) \
|
|
184
|
-
: _PyStatus_NO_MEMORY()
|
|
185
|
-
|
|
186
|
-
PyAPI_DATA(int) _Py_HasFileSystemDefaultEncodeErrors;
|
|
187
|
-
|
|
188
|
-
PyAPI_FUNC(int) _Py_DecodeUTF8Ex(
|
|
189
|
-
const char *arg,
|
|
190
|
-
Py_ssize_t arglen,
|
|
191
|
-
wchar_t **wstr,
|
|
192
|
-
size_t *wlen,
|
|
193
|
-
const char **reason,
|
|
194
|
-
_Py_error_handler errors);
|
|
195
|
-
|
|
196
|
-
PyAPI_FUNC(int) _Py_EncodeUTF8Ex(
|
|
197
|
-
const wchar_t *text,
|
|
198
|
-
char **str,
|
|
199
|
-
size_t *error_pos,
|
|
200
|
-
const char **reason,
|
|
201
|
-
int raw_malloc,
|
|
202
|
-
_Py_error_handler errors);
|
|
203
|
-
|
|
204
|
-
PyAPI_FUNC(wchar_t*) _Py_DecodeUTF8_surrogateescape(
|
|
205
|
-
const char *arg,
|
|
206
|
-
Py_ssize_t arglen,
|
|
207
|
-
size_t *wlen);
|
|
208
|
-
|
|
209
|
-
extern int
|
|
210
|
-
_Py_wstat(const wchar_t *, struct stat *);
|
|
211
|
-
|
|
212
|
-
PyAPI_FUNC(int) _Py_GetForceASCII(void);
|
|
213
|
-
|
|
214
|
-
/* Reset "force ASCII" mode (if it was initialized).
|
|
215
|
-
|
|
216
|
-
This function should be called when Python changes the LC_CTYPE locale,
|
|
217
|
-
so the "force ASCII" mode can be detected again on the new locale
|
|
218
|
-
encoding. */
|
|
219
|
-
PyAPI_FUNC(void) _Py_ResetForceASCII(void);
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
PyAPI_FUNC(int) _Py_GetLocaleconvNumeric(
|
|
223
|
-
struct lconv *lc,
|
|
224
|
-
PyObject **decimal_point,
|
|
225
|
-
PyObject **thousands_sep);
|
|
226
|
-
|
|
227
|
-
PyAPI_FUNC(void) _Py_closerange(int first, int last);
|
|
228
|
-
|
|
229
|
-
PyAPI_FUNC(wchar_t*) _Py_GetLocaleEncoding(void);
|
|
230
|
-
PyAPI_FUNC(PyObject*) _Py_GetLocaleEncodingObject(void);
|
|
231
|
-
|
|
232
|
-
#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
|
|
233
|
-
extern int _Py_LocaleUsesNonUnicodeWchar(void);
|
|
234
|
-
|
|
235
|
-
extern wchar_t* _Py_DecodeNonUnicodeWchar(
|
|
236
|
-
const wchar_t* native,
|
|
237
|
-
Py_ssize_t size);
|
|
238
|
-
|
|
239
|
-
extern int _Py_EncodeNonUnicodeWchar_InPlace(
|
|
240
|
-
wchar_t* unicode,
|
|
241
|
-
Py_ssize_t size);
|
|
242
|
-
#endif
|
|
243
|
-
|
|
244
|
-
extern int _Py_isabs(const wchar_t *path);
|
|
245
|
-
extern int _Py_abspath(const wchar_t *path, wchar_t **abspath_p);
|
|
246
|
-
#ifdef MS_WINDOWS
|
|
247
|
-
extern int _PyOS_getfullpathname(const wchar_t *path, wchar_t **abspath_p);
|
|
248
|
-
#endif
|
|
249
|
-
extern wchar_t * _Py_join_relfile(const wchar_t *dirname,
|
|
250
|
-
const wchar_t *relfile);
|
|
251
|
-
extern int _Py_add_relfile(wchar_t *dirname,
|
|
252
|
-
const wchar_t *relfile,
|
|
253
|
-
size_t bufsize);
|
|
254
|
-
extern size_t _Py_find_basename(const wchar_t *filename);
|
|
255
|
-
PyAPI_FUNC(wchar_t*) _Py_normpath(wchar_t *path, Py_ssize_t size);
|
|
256
|
-
extern wchar_t *_Py_normpath_and_size(wchar_t *path, Py_ssize_t size, Py_ssize_t *length);
|
|
257
|
-
|
|
258
|
-
// The Windows Games API family does not provide these functions
|
|
259
|
-
// so provide our own implementations. Remove them in case they get added
|
|
260
|
-
// to the Games API family
|
|
261
|
-
#if defined(MS_WINDOWS_GAMES) && !defined(MS_WINDOWS_DESKTOP)
|
|
262
|
-
#include <winerror.h>
|
|
263
|
-
|
|
264
|
-
extern HRESULT PathCchSkipRoot(const wchar_t *pszPath, const wchar_t **ppszRootEnd);
|
|
265
|
-
#endif /* defined(MS_WINDOWS_GAMES) && !defined(MS_WINDOWS_DESKTOP) */
|
|
266
|
-
|
|
267
|
-
// Macros to protect CRT calls against instant termination when passed an
|
|
268
|
-
// invalid parameter (bpo-23524). IPH stands for Invalid Parameter Handler.
|
|
269
|
-
// Usage:
|
|
270
|
-
//
|
|
271
|
-
// _Py_BEGIN_SUPPRESS_IPH
|
|
272
|
-
// ...
|
|
273
|
-
// _Py_END_SUPPRESS_IPH
|
|
274
|
-
#if defined _MSC_VER && _MSC_VER >= 1900
|
|
275
|
-
|
|
276
|
-
# include <stdlib.h> // _set_thread_local_invalid_parameter_handler()
|
|
277
|
-
|
|
278
|
-
extern _invalid_parameter_handler _Py_silent_invalid_parameter_handler;
|
|
279
|
-
# define _Py_BEGIN_SUPPRESS_IPH \
|
|
280
|
-
{ _invalid_parameter_handler _Py_old_handler = \
|
|
281
|
-
_set_thread_local_invalid_parameter_handler(_Py_silent_invalid_parameter_handler);
|
|
282
|
-
# define _Py_END_SUPPRESS_IPH \
|
|
283
|
-
_set_thread_local_invalid_parameter_handler(_Py_old_handler); }
|
|
284
|
-
#else
|
|
285
|
-
# define _Py_BEGIN_SUPPRESS_IPH
|
|
286
|
-
# define _Py_END_SUPPRESS_IPH
|
|
287
|
-
#endif /* _MSC_VER >= 1900 */
|
|
288
|
-
|
|
289
|
-
#ifdef __cplusplus
|
|
290
|
-
}
|
|
291
|
-
#endif
|
|
292
|
-
#endif /* !Py_INTERNAL_FILEUTILS_H */
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
#ifndef Py_INTERNAL_FILEUTILS_WINDOWS_H
|
|
2
|
-
#define Py_INTERNAL_FILEUTILS_WINDOWS_H
|
|
3
|
-
#ifdef __cplusplus
|
|
4
|
-
extern "C" {
|
|
5
|
-
#endif
|
|
6
|
-
|
|
7
|
-
#ifndef Py_BUILD_CORE
|
|
8
|
-
# error "Py_BUILD_CORE must be defined to include this header"
|
|
9
|
-
#endif
|
|
10
|
-
|
|
11
|
-
#ifdef MS_WINDOWS
|
|
12
|
-
|
|
13
|
-
#if !defined(NTDDI_WIN10_NI) || !(NTDDI_VERSION >= NTDDI_WIN10_NI)
|
|
14
|
-
typedef struct _FILE_STAT_BASIC_INFORMATION {
|
|
15
|
-
LARGE_INTEGER FileId;
|
|
16
|
-
LARGE_INTEGER CreationTime;
|
|
17
|
-
LARGE_INTEGER LastAccessTime;
|
|
18
|
-
LARGE_INTEGER LastWriteTime;
|
|
19
|
-
LARGE_INTEGER ChangeTime;
|
|
20
|
-
LARGE_INTEGER AllocationSize;
|
|
21
|
-
LARGE_INTEGER EndOfFile;
|
|
22
|
-
ULONG FileAttributes;
|
|
23
|
-
ULONG ReparseTag;
|
|
24
|
-
ULONG NumberOfLinks;
|
|
25
|
-
ULONG DeviceType;
|
|
26
|
-
ULONG DeviceCharacteristics;
|
|
27
|
-
ULONG Reserved;
|
|
28
|
-
LARGE_INTEGER VolumeSerialNumber;
|
|
29
|
-
FILE_ID_128 FileId128;
|
|
30
|
-
} FILE_STAT_BASIC_INFORMATION;
|
|
31
|
-
|
|
32
|
-
typedef enum _FILE_INFO_BY_NAME_CLASS {
|
|
33
|
-
FileStatByNameInfo,
|
|
34
|
-
FileStatLxByNameInfo,
|
|
35
|
-
FileCaseSensitiveByNameInfo,
|
|
36
|
-
FileStatBasicByNameInfo,
|
|
37
|
-
MaximumFileInfoByNameClass
|
|
38
|
-
} FILE_INFO_BY_NAME_CLASS;
|
|
39
|
-
#endif
|
|
40
|
-
|
|
41
|
-
typedef BOOL (WINAPI *PGetFileInformationByName)(
|
|
42
|
-
PCWSTR FileName,
|
|
43
|
-
FILE_INFO_BY_NAME_CLASS FileInformationClass,
|
|
44
|
-
PVOID FileInfoBuffer,
|
|
45
|
-
ULONG FileInfoBufferSize
|
|
46
|
-
);
|
|
47
|
-
|
|
48
|
-
static inline BOOL _Py_GetFileInformationByName(
|
|
49
|
-
PCWSTR FileName,
|
|
50
|
-
FILE_INFO_BY_NAME_CLASS FileInformationClass,
|
|
51
|
-
PVOID FileInfoBuffer,
|
|
52
|
-
ULONG FileInfoBufferSize
|
|
53
|
-
) {
|
|
54
|
-
static PGetFileInformationByName GetFileInformationByName = NULL;
|
|
55
|
-
static int GetFileInformationByName_init = -1;
|
|
56
|
-
|
|
57
|
-
if (GetFileInformationByName_init < 0) {
|
|
58
|
-
HMODULE hMod = LoadLibraryW(L"api-ms-win-core-file-l2-1-4");
|
|
59
|
-
GetFileInformationByName_init = 0;
|
|
60
|
-
if (hMod) {
|
|
61
|
-
GetFileInformationByName = (PGetFileInformationByName)GetProcAddress(
|
|
62
|
-
hMod, "GetFileInformationByName");
|
|
63
|
-
if (GetFileInformationByName) {
|
|
64
|
-
GetFileInformationByName_init = 1;
|
|
65
|
-
} else {
|
|
66
|
-
FreeLibrary(hMod);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
if (GetFileInformationByName_init <= 0) {
|
|
72
|
-
SetLastError(ERROR_NOT_SUPPORTED);
|
|
73
|
-
return FALSE;
|
|
74
|
-
}
|
|
75
|
-
return GetFileInformationByName(FileName, FileInformationClass, FileInfoBuffer, FileInfoBufferSize);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
static inline BOOL _Py_GetFileInformationByName_ErrorIsTrustworthy(int error)
|
|
79
|
-
{
|
|
80
|
-
switch(error) {
|
|
81
|
-
case ERROR_FILE_NOT_FOUND:
|
|
82
|
-
case ERROR_PATH_NOT_FOUND:
|
|
83
|
-
case ERROR_NOT_READY:
|
|
84
|
-
case ERROR_BAD_NET_NAME:
|
|
85
|
-
case ERROR_BAD_NETPATH:
|
|
86
|
-
case ERROR_BAD_PATHNAME:
|
|
87
|
-
case ERROR_INVALID_NAME:
|
|
88
|
-
case ERROR_FILENAME_EXCED_RANGE:
|
|
89
|
-
return TRUE;
|
|
90
|
-
case ERROR_NOT_SUPPORTED:
|
|
91
|
-
return FALSE;
|
|
92
|
-
}
|
|
93
|
-
return FALSE;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
#endif
|
|
97
|
-
|
|
98
|
-
#endif
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
#ifndef Py_INTERNAL_FLOATOBJECT_H
|
|
2
|
-
#define Py_INTERNAL_FLOATOBJECT_H
|
|
3
|
-
#ifdef __cplusplus
|
|
4
|
-
extern "C" {
|
|
5
|
-
#endif
|
|
6
|
-
|
|
7
|
-
#ifndef Py_BUILD_CORE
|
|
8
|
-
# error "this header requires Py_BUILD_CORE define"
|
|
9
|
-
#endif
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/* runtime lifecycle */
|
|
13
|
-
|
|
14
|
-
extern void _PyFloat_InitState(PyInterpreterState *);
|
|
15
|
-
extern PyStatus _PyFloat_InitTypes(PyInterpreterState *);
|
|
16
|
-
extern void _PyFloat_Fini(PyInterpreterState *);
|
|
17
|
-
extern void _PyFloat_FiniType(PyInterpreterState *);
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
/* other API */
|
|
21
|
-
|
|
22
|
-
enum _py_float_format_type {
|
|
23
|
-
_py_float_format_unknown,
|
|
24
|
-
_py_float_format_ieee_big_endian,
|
|
25
|
-
_py_float_format_ieee_little_endian,
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
struct _Py_float_runtime_state {
|
|
29
|
-
enum _py_float_format_type float_format;
|
|
30
|
-
enum _py_float_format_type double_format;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
#ifndef WITH_FREELISTS
|
|
35
|
-
// without freelists
|
|
36
|
-
# define PyFloat_MAXFREELIST 0
|
|
37
|
-
#endif
|
|
38
|
-
|
|
39
|
-
#ifndef PyFloat_MAXFREELIST
|
|
40
|
-
# define PyFloat_MAXFREELIST 100
|
|
41
|
-
#endif
|
|
42
|
-
|
|
43
|
-
struct _Py_float_state {
|
|
44
|
-
#if PyFloat_MAXFREELIST > 0
|
|
45
|
-
/* Special free list
|
|
46
|
-
free_list is a singly-linked list of available PyFloatObjects,
|
|
47
|
-
linked via abuse of their ob_type members. */
|
|
48
|
-
int numfree;
|
|
49
|
-
PyFloatObject *free_list;
|
|
50
|
-
#endif
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
void _PyFloat_ExactDealloc(PyObject *op);
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
PyAPI_FUNC(void) _PyFloat_DebugMallocStats(FILE* out);
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
/* Format the object based on the format_spec, as defined in PEP 3101
|
|
60
|
-
(Advanced String Formatting). */
|
|
61
|
-
PyAPI_FUNC(int) _PyFloat_FormatAdvancedWriter(
|
|
62
|
-
_PyUnicodeWriter *writer,
|
|
63
|
-
PyObject *obj,
|
|
64
|
-
PyObject *format_spec,
|
|
65
|
-
Py_ssize_t start,
|
|
66
|
-
Py_ssize_t end);
|
|
67
|
-
|
|
68
|
-
#ifdef __cplusplus
|
|
69
|
-
}
|
|
70
|
-
#endif
|
|
71
|
-
#endif /* !Py_INTERNAL_FLOATOBJECT_H */
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
#ifndef Py_INTERNAL_CFG_H
|
|
2
|
-
#define Py_INTERNAL_CFG_H
|
|
3
|
-
#ifdef __cplusplus
|
|
4
|
-
extern "C" {
|
|
5
|
-
#endif
|
|
6
|
-
|
|
7
|
-
#ifndef Py_BUILD_CORE
|
|
8
|
-
# error "this header requires Py_BUILD_CORE define"
|
|
9
|
-
#endif
|
|
10
|
-
|
|
11
|
-
#include "pycore_opcode_utils.h"
|
|
12
|
-
#include "pycore_compile.h"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
typedef struct {
|
|
16
|
-
int i_opcode;
|
|
17
|
-
int i_oparg;
|
|
18
|
-
_PyCompilerSrcLocation i_loc;
|
|
19
|
-
struct _PyCfgBasicblock_ *i_target; /* target block (if jump instruction) */
|
|
20
|
-
struct _PyCfgBasicblock_ *i_except; /* target block when exception is raised */
|
|
21
|
-
} _PyCfgInstruction;
|
|
22
|
-
|
|
23
|
-
typedef struct {
|
|
24
|
-
int id;
|
|
25
|
-
} _PyCfgJumpTargetLabel;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
typedef struct {
|
|
29
|
-
struct _PyCfgBasicblock_ *handlers[CO_MAXBLOCKS+2];
|
|
30
|
-
int depth;
|
|
31
|
-
} _PyCfgExceptStack;
|
|
32
|
-
|
|
33
|
-
typedef struct _PyCfgBasicblock_ {
|
|
34
|
-
/* Each basicblock in a compilation unit is linked via b_list in the
|
|
35
|
-
reverse order that the block are allocated. b_list points to the next
|
|
36
|
-
block in this list, not to be confused with b_next, which is next by
|
|
37
|
-
control flow. */
|
|
38
|
-
struct _PyCfgBasicblock_ *b_list;
|
|
39
|
-
/* The label of this block if it is a jump target, -1 otherwise */
|
|
40
|
-
_PyCfgJumpTargetLabel b_label;
|
|
41
|
-
/* Exception stack at start of block, used by assembler to create the exception handling table */
|
|
42
|
-
_PyCfgExceptStack *b_exceptstack;
|
|
43
|
-
/* pointer to an array of instructions, initially NULL */
|
|
44
|
-
_PyCfgInstruction *b_instr;
|
|
45
|
-
/* If b_next is non-NULL, it is a pointer to the next
|
|
46
|
-
block reached by normal control flow. */
|
|
47
|
-
struct _PyCfgBasicblock_ *b_next;
|
|
48
|
-
/* number of instructions used */
|
|
49
|
-
int b_iused;
|
|
50
|
-
/* length of instruction array (b_instr) */
|
|
51
|
-
int b_ialloc;
|
|
52
|
-
/* Used by add_checks_for_loads_of_unknown_variables */
|
|
53
|
-
uint64_t b_unsafe_locals_mask;
|
|
54
|
-
/* Number of predecessors that a block has. */
|
|
55
|
-
int b_predecessors;
|
|
56
|
-
/* depth of stack upon entry of block, computed by stackdepth() */
|
|
57
|
-
int b_startdepth;
|
|
58
|
-
/* instruction offset for block, computed by assemble_jump_offsets() */
|
|
59
|
-
int b_offset;
|
|
60
|
-
/* Basic block is an exception handler that preserves lasti */
|
|
61
|
-
unsigned b_preserve_lasti : 1;
|
|
62
|
-
/* Used by compiler passes to mark whether they have visited a basic block. */
|
|
63
|
-
unsigned b_visited : 1;
|
|
64
|
-
/* b_except_handler is used by the cold-detection algorithm to mark exception targets */
|
|
65
|
-
unsigned b_except_handler : 1;
|
|
66
|
-
/* b_cold is true if this block is not perf critical (like an exception handler) */
|
|
67
|
-
unsigned b_cold : 1;
|
|
68
|
-
/* b_warm is used by the cold-detection algorithm to mark blocks which are definitely not cold */
|
|
69
|
-
unsigned b_warm : 1;
|
|
70
|
-
} _PyCfgBasicblock;
|
|
71
|
-
|
|
72
|
-
int _PyBasicblock_InsertInstruction(_PyCfgBasicblock *block, int pos, _PyCfgInstruction *instr);
|
|
73
|
-
|
|
74
|
-
typedef struct cfg_builder_ {
|
|
75
|
-
/* The entryblock, at which control flow begins. All blocks of the
|
|
76
|
-
CFG are reachable through the b_next links */
|
|
77
|
-
_PyCfgBasicblock *g_entryblock;
|
|
78
|
-
/* Pointer to the most recently allocated block. By following
|
|
79
|
-
b_list links, you can reach all allocated blocks. */
|
|
80
|
-
_PyCfgBasicblock *g_block_list;
|
|
81
|
-
/* pointer to the block currently being constructed */
|
|
82
|
-
_PyCfgBasicblock *g_curblock;
|
|
83
|
-
/* label for the next instruction to be placed */
|
|
84
|
-
_PyCfgJumpTargetLabel g_current_label;
|
|
85
|
-
} _PyCfgBuilder;
|
|
86
|
-
|
|
87
|
-
int _PyCfgBuilder_UseLabel(_PyCfgBuilder *g, _PyCfgJumpTargetLabel lbl);
|
|
88
|
-
int _PyCfgBuilder_Addop(_PyCfgBuilder *g, int opcode, int oparg, _PyCompilerSrcLocation loc);
|
|
89
|
-
|
|
90
|
-
int _PyCfgBuilder_Init(_PyCfgBuilder *g);
|
|
91
|
-
void _PyCfgBuilder_Fini(_PyCfgBuilder *g);
|
|
92
|
-
|
|
93
|
-
_PyCfgInstruction* _PyCfg_BasicblockLastInstr(const _PyCfgBasicblock *b);
|
|
94
|
-
int _PyCfg_OptimizeCodeUnit(_PyCfgBuilder *g, PyObject *consts, PyObject *const_cache,
|
|
95
|
-
int code_flags, int nlocals, int nparams, int firstlineno);
|
|
96
|
-
int _PyCfg_Stackdepth(_PyCfgBasicblock *entryblock, int code_flags);
|
|
97
|
-
void _PyCfg_ConvertPseudoOps(_PyCfgBasicblock *entryblock);
|
|
98
|
-
int _PyCfg_ResolveJumps(_PyCfgBuilder *g);
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
static inline int
|
|
102
|
-
basicblock_nofallthrough(const _PyCfgBasicblock *b) {
|
|
103
|
-
_PyCfgInstruction *last = _PyCfg_BasicblockLastInstr(b);
|
|
104
|
-
return (last &&
|
|
105
|
-
(IS_SCOPE_EXIT_OPCODE(last->i_opcode) ||
|
|
106
|
-
IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)));
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
#define BB_NO_FALLTHROUGH(B) (basicblock_nofallthrough(B))
|
|
110
|
-
#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
|
|
111
|
-
|
|
112
|
-
PyCodeObject *
|
|
113
|
-
_PyAssemble_MakeCodeObject(_PyCompile_CodeUnitMetadata *u, PyObject *const_cache,
|
|
114
|
-
PyObject *consts, int maxdepth, _PyCompile_InstructionSequence *instrs,
|
|
115
|
-
int nlocalsplus, int code_flags, PyObject *filename);
|
|
116
|
-
|
|
117
|
-
#ifdef __cplusplus
|
|
118
|
-
}
|
|
119
|
-
#endif
|
|
120
|
-
#endif /* !Py_INTERNAL_CFG_H */
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
#ifndef Py_INTERNAL_FORMAT_H
|
|
2
|
-
#define Py_INTERNAL_FORMAT_H
|
|
3
|
-
#ifdef __cplusplus
|
|
4
|
-
extern "C" {
|
|
5
|
-
#endif
|
|
6
|
-
|
|
7
|
-
#ifndef Py_BUILD_CORE
|
|
8
|
-
# error "this header requires Py_BUILD_CORE define"
|
|
9
|
-
#endif
|
|
10
|
-
|
|
11
|
-
/* Format codes
|
|
12
|
-
* F_LJUST '-'
|
|
13
|
-
* F_SIGN '+'
|
|
14
|
-
* F_BLANK ' '
|
|
15
|
-
* F_ALT '#'
|
|
16
|
-
* F_ZERO '0'
|
|
17
|
-
*/
|
|
18
|
-
#define F_LJUST (1<<0)
|
|
19
|
-
#define F_SIGN (1<<1)
|
|
20
|
-
#define F_BLANK (1<<2)
|
|
21
|
-
#define F_ALT (1<<3)
|
|
22
|
-
#define F_ZERO (1<<4)
|
|
23
|
-
|
|
24
|
-
#ifdef __cplusplus
|
|
25
|
-
}
|
|
26
|
-
#endif
|
|
27
|
-
#endif /* !Py_INTERNAL_FORMAT_H */
|