quarchpy 2.1.14.dev4__py2.py3-none-any.whl → 2.1.14.dev5__py2.py3-none-any.whl
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.
- quarchpy/.idea/.name +1 -0
- quarchpy/.idea/workspace.xml +70 -11
- quarchpy/__pycache__/_version.cpython-311.pyc +0 -0
- quarchpy/__pycache__/run.cpython-311.pyc +0 -0
- quarchpy/_version.py +1 -1
- quarchpy/_version.py.bak +1 -0
- quarchpy/connection_specific/QPS/qis/qis.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/CInterface-1.7.04.jar +0 -0
- quarchpy/connection_specific/QPS/qps.jar +0 -0
- quarchpy/connection_specific/QPS/scriptCommands.txt +2 -2
- quarchpy/connection_specific/__pycache__/connection_QIS.cpython-311.pyc +0 -0
- quarchpy/connection_specific/connection_QIS.py +6 -4
- quarchpy/connection_specific/connection_ReST.py +26 -16
- quarchpy/debug/__pycache__/module_debug.cpython-311.pyc +0 -0
- quarchpy/debug/__pycache__/simple_terminal.cpython-311.pyc +0 -0
- quarchpy/debug/__pycache__/upgrade_quarchpy.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/scanDevices.cpython-311.pyc +0 -0
- quarchpy/device/scanDevices.py +2 -4
- quarchpy/device/scanDevices.py.bak +657 -0
- quarchpy/qis/qisFuncs.py +25 -42
- quarchpy/qis/qisFuncs.py.bak +213 -0
- quarchpy/qps/__pycache__/qpsFuncs.cpython-311.pyc +0 -0
- quarchpy/qps/qpsFuncs.py +18 -22
- quarchpy/qps/qpsFuncs.py.bak +224 -0
- quarchpy/venv/.gitignore +2 -0
- quarchpy/venv/Include/Python-ast.h +535 -0
- quarchpy/venv/Include/Python.h +181 -0
- quarchpy/venv/Include/abstract.h +1396 -0
- quarchpy/venv/Include/asdl.h +45 -0
- quarchpy/venv/Include/ast.h +13 -0
- quarchpy/venv/Include/bitset.h +32 -0
- quarchpy/venv/Include/boolobject.h +36 -0
- quarchpy/venv/Include/bufferobject.h +33 -0
- quarchpy/venv/Include/bytearrayobject.h +57 -0
- quarchpy/venv/Include/bytes_methods.h +75 -0
- quarchpy/venv/Include/bytesobject.h +27 -0
- quarchpy/venv/Include/cStringIO.h +73 -0
- quarchpy/venv/Include/cellobject.h +28 -0
- quarchpy/venv/Include/ceval.h +154 -0
- quarchpy/venv/Include/classobject.h +83 -0
- quarchpy/venv/Include/cobject.h +89 -0
- quarchpy/venv/Include/code.h +116 -0
- quarchpy/venv/Include/codecs.h +212 -0
- quarchpy/venv/Include/compile.h +40 -0
- quarchpy/venv/Include/complexobject.h +66 -0
- quarchpy/venv/Include/datetime.h +239 -0
- quarchpy/venv/Include/descrobject.h +94 -0
- quarchpy/venv/Include/dictobject.h +160 -0
- quarchpy/venv/Include/dtoa.h +15 -0
- quarchpy/venv/Include/enumobject.h +17 -0
- quarchpy/venv/Include/errcode.h +37 -0
- quarchpy/venv/Include/eval.h +25 -0
- quarchpy/venv/Include/fileobject.h +97 -0
- quarchpy/venv/Include/floatobject.h +140 -0
- quarchpy/venv/Include/frameobject.h +89 -0
- quarchpy/venv/Include/funcobject.h +76 -0
- quarchpy/venv/Include/genobject.h +40 -0
- quarchpy/venv/Include/graminit.h +87 -0
- quarchpy/venv/Include/grammar.h +94 -0
- quarchpy/venv/Include/import.h +71 -0
- quarchpy/venv/Include/intobject.h +84 -0
- quarchpy/venv/Include/intrcheck.h +15 -0
- quarchpy/venv/Include/iterobject.h +23 -0
- quarchpy/venv/Include/listobject.h +68 -0
- quarchpy/venv/Include/longintrepr.h +103 -0
- quarchpy/venv/Include/longobject.h +135 -0
- quarchpy/venv/Include/marshal.h +25 -0
- quarchpy/venv/Include/memoryobject.h +74 -0
- quarchpy/venv/Include/metagrammar.h +18 -0
- quarchpy/venv/Include/methodobject.h +93 -0
- quarchpy/venv/Include/modsupport.h +134 -0
- quarchpy/venv/Include/moduleobject.h +24 -0
- quarchpy/venv/Include/node.h +41 -0
- quarchpy/venv/Include/object.h +1046 -0
- quarchpy/venv/Include/objimpl.h +369 -0
- quarchpy/venv/Include/opcode.h +171 -0
- quarchpy/venv/Include/osdefs.h +63 -0
- quarchpy/venv/Include/parsetok.h +64 -0
- quarchpy/venv/Include/patchlevel.h +43 -0
- quarchpy/venv/Include/pgen.h +18 -0
- quarchpy/venv/Include/pgenheaders.h +43 -0
- quarchpy/venv/Include/py_curses.h +177 -0
- quarchpy/venv/Include/pyarena.h +62 -0
- quarchpy/venv/Include/pycapsule.h +56 -0
- quarchpy/venv/Include/pyconfig.h +770 -0
- quarchpy/venv/Include/pyctype.h +31 -0
- quarchpy/venv/Include/pydebug.h +41 -0
- quarchpy/venv/Include/pyerrors.h +329 -0
- quarchpy/venv/Include/pyexpat.h +50 -0
- quarchpy/venv/Include/pyfpe.h +176 -0
- quarchpy/venv/Include/pygetopt.h +18 -0
- quarchpy/venv/Include/pymacconfig.h +102 -0
- quarchpy/venv/Include/pymactoolbox.h +232 -0
- quarchpy/venv/Include/pymath.h +214 -0
- quarchpy/venv/Include/pymem.h +122 -0
- quarchpy/venv/Include/pyport.h +950 -0
- quarchpy/venv/Include/pystate.h +200 -0
- quarchpy/venv/Include/pystrcmp.h +23 -0
- quarchpy/venv/Include/pystrtod.h +45 -0
- quarchpy/venv/Include/pythonrun.h +181 -0
- quarchpy/venv/Include/pythread.h +41 -0
- quarchpy/venv/Include/rangeobject.h +28 -0
- quarchpy/venv/Include/setobject.h +99 -0
- quarchpy/venv/Include/sliceobject.h +50 -0
- quarchpy/venv/Include/stringobject.h +210 -0
- quarchpy/venv/Include/structmember.h +99 -0
- quarchpy/venv/Include/structseq.h +41 -0
- quarchpy/venv/Include/symtable.h +98 -0
- quarchpy/venv/Include/sysmodule.h +31 -0
- quarchpy/venv/Include/timefuncs.h +26 -0
- quarchpy/venv/Include/token.h +85 -0
- quarchpy/venv/Include/traceback.h +31 -0
- quarchpy/venv/Include/tupleobject.h +61 -0
- quarchpy/venv/Include/ucnhash.h +33 -0
- quarchpy/venv/Include/unicodeobject.h +1413 -0
- quarchpy/venv/Include/warnings.h +23 -0
- quarchpy/venv/Include/weakrefobject.h +82 -0
- quarchpy/venv/Lib/os.py +742 -0
- quarchpy/venv/Lib/os.pyc +0 -0
- quarchpy/venv/Lib/site-packages/_virtualenv.pth +1 -0
- quarchpy/venv/Lib/site-packages/_virtualenv.py +130 -0
- quarchpy/venv/Lib/site-packages/_virtualenv.pyc +0 -0
- quarchpy/venv/Lib/site-packages/easy_install.py +5 -0
- quarchpy/venv/Lib/site-packages/pip/__init__.py +18 -0
- quarchpy/venv/Lib/site-packages/pip/__main__.py +26 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/__init__.py +17 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/build_env.py +242 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cache.py +346 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/__init__.py +4 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/autocompletion.py +164 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/base_command.py +260 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/cmdoptions.py +971 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/command_context.py +36 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/main.py +75 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/main_parser.py +96 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/parser.py +285 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/progress_bars.py +280 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/req_command.py +436 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/spinners.py +173 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/cli/status_codes.py +8 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/__init__.py +123 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/cache.py +234 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/check.py +51 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/completion.py +98 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/configuration.py +280 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/debug.py +230 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/download.py +143 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/freeze.py +116 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/hash.py +63 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/help.py +46 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/install.py +737 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/list.py +327 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/search.py +169 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/show.py +186 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/uninstall.py +95 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/commands/wheel.py +198 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/configuration.py +407 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/distributions/__init__.py +24 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/distributions/base.py +46 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/distributions/installed.py +25 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/distributions/sdist.py +105 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/distributions/wheel.py +37 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/exceptions.py +391 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/index/__init__.py +2 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/index/collector.py +667 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/index/package_finder.py +1015 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/locations.py +193 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/main.py +16 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/__init__.py +2 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/candidate.py +39 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/direct_url.py +243 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/format_control.py +92 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/index.py +34 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/link.py +246 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/scheme.py +31 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/search_scope.py +135 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/selection_prefs.py +50 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/target_python.py +117 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/models/wheel.py +78 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/network/__init__.py +2 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/network/auth.py +310 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/network/cache.py +79 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/network/download.py +202 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/network/lazy_wheel.py +231 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/network/session.py +428 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/network/utils.py +97 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/network/xmlrpc.py +53 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/build/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/build/metadata.py +38 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/build/metadata_legacy.py +77 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/build/wheel.py +47 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/build/wheel_legacy.py +113 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/check.py +155 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/freeze.py +277 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/install/__init__.py +2 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/install/editable_legacy.py +52 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/install/legacy.py +130 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/install/wheel.py +846 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/operations/prepare.py +608 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/pyproject.py +196 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/req/__init__.py +103 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/req/constructors.py +476 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/req/req_file.py +574 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/req/req_install.py +907 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/req/req_set.py +204 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/req/req_tracker.py +151 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/req/req_uninstall.py +657 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/base.py +21 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/legacy/resolver.py +473 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/base.py +156 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/candidates.py +604 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/factory.py +504 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +101 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/provider.py +174 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/reporter.py +84 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/requirements.py +201 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/resolution/resolvelib/resolver.py +296 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/self_outdated_check.py +197 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/appdirs.py +44 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/compat.py +293 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/compatibility_tags.py +178 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/datetime.py +14 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/deprecation.py +104 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/direct_url_helpers.py +126 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/distutils_args.py +48 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/encoding.py +41 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/entrypoints.py +31 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/filesystem.py +224 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/filetypes.py +26 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/glibc.py +98 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/hashes.py +169 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/inject_securetransport.py +36 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/logging.py +399 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/misc.py +962 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/models.py +44 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/packaging.py +95 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/parallel.py +107 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/pkg_resources.py +44 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/setuptools_build.py +181 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/subprocess.py +299 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/temp_dir.py +284 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/typing.py +38 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/unpacking.py +281 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/urls.py +55 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/virtualenv.py +119 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/utils/wheel.py +225 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/vcs/__init__.py +15 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/vcs/bazaar.py +123 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/vcs/git.py +454 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/vcs/mercurial.py +172 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/vcs/subversion.py +340 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/vcs/versioncontrol.py +735 -0
- quarchpy/venv/Lib/site-packages/pip/_internal/wheel_builder.py +362 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/__init__.py +114 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/appdirs.py +633 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/__init__.py +11 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/_cmd.py +57 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py +133 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/cache.py +39 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +2 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +146 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +33 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/compat.py +29 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/controller.py +376 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/filewrapper.py +80 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/heuristics.py +135 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/serialize.py +188 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/cachecontrol/wrapper.py +29 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/certifi/__init__.py +3 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/certifi/__main__.py +12 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/certifi/cacert.pem +4606 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/certifi/core.py +60 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/__init__.py +39 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/big5freq.py +386 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/big5prober.py +47 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/chardistribution.py +233 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/charsetgroupprober.py +106 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/charsetprober.py +145 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/cli/__init__.py +1 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/cli/chardetect.py +85 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/codingstatemachine.py +88 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/compat.py +34 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/cp949prober.py +49 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/enums.py +76 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/escprober.py +101 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/escsm.py +246 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/eucjpprober.py +92 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/euckrfreq.py +195 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/euckrprober.py +47 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/euctwfreq.py +387 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/euctwprober.py +46 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/gb2312freq.py +283 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/gb2312prober.py +46 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/hebrewprober.py +292 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/jisfreq.py +325 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/jpcntx.py +233 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/langbulgarianmodel.py +228 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/langcyrillicmodel.py +333 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/langgreekmodel.py +225 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/langhebrewmodel.py +200 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/langhungarianmodel.py +225 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/langthaimodel.py +199 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/langturkishmodel.py +193 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/latin1prober.py +145 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/mbcharsetprober.py +91 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/mbcsgroupprober.py +54 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/mbcssm.py +572 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/sbcharsetprober.py +132 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/sbcsgroupprober.py +73 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/sjisprober.py +92 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/universaldetector.py +286 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/utf8prober.py +82 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/chardet/version.py +9 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/colorama/__init__.py +6 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/colorama/ansi.py +102 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/colorama/ansitowin32.py +258 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/colorama/initialise.py +80 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/colorama/win32.py +152 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/colorama/winterm.py +169 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/contextlib2.py +518 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/__init__.py +23 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/_backport/__init__.py +6 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/_backport/misc.py +41 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/_backport/shutil.py +764 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/_backport/sysconfig.cfg +84 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/_backport/sysconfig.py +786 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/_backport/tarfile.py +2607 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/compat.py +1120 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/database.py +1339 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/index.py +516 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/locators.py +1302 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/manifest.py +393 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/markers.py +131 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/metadata.py +1056 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/resources.py +355 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/scripts.py +419 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/t32.exe +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/t64.exe +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/util.py +1761 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/version.py +736 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/w32.exe +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/w64.exe +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distlib/wheel.py +1018 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/distro.py +1230 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/__init__.py +35 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/_ihatexml.py +289 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/_inputstream.py +918 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/_tokenizer.py +1735 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/_trie/__init__.py +5 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/_trie/_base.py +40 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/_trie/py.py +67 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/_utils.py +159 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/constants.py +2946 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/filters/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py +29 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/filters/base.py +12 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py +73 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/filters/lint.py +93 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/filters/optionaltags.py +207 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/filters/sanitizer.py +916 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/filters/whitespace.py +38 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/html5parser.py +2795 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/serializer.py +409 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py +30 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treeadapters/genshi.py +54 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treeadapters/sax.py +50 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py +88 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treebuilders/base.py +417 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treebuilders/dom.py +239 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treebuilders/etree.py +343 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py +392 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py +154 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treewalkers/base.py +252 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treewalkers/dom.py +43 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treewalkers/etree.py +131 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.py +215 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/html5lib/treewalkers/genshi.py +69 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/idna/__init__.py +2 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/idna/codec.py +118 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/idna/compat.py +12 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/idna/core.py +400 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/idna/idnadata.py +2050 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/idna/intranges.py +53 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/idna/package_data.py +2 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/idna/uts46data.py +8357 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/ipaddress.py +2420 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/msgpack/__init__.py +54 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/msgpack/_version.py +1 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/msgpack/ext.py +191 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/msgpack/fallback.py +1063 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/__about__.py +27 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/__init__.py +26 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/_compat.py +38 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/_structures.py +86 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/_typing.py +48 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/markers.py +328 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/requirements.py +151 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/specifiers.py +864 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/tags.py +852 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/utils.py +67 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/packaging/version.py +556 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/__init__.py +6 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/_in_process.py +280 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/build.py +124 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/check.py +203 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/colorlog.py +115 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/compat.py +34 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/dirtools.py +44 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/envbuild.py +167 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/meta.py +92 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pep517/wrappers.py +327 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pkg_resources/__init__.py +3296 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pkg_resources/py31compat.py +23 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/progress/__init__.py +177 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/progress/bar.py +91 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/progress/counter.py +41 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/progress/spinner.py +43 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/pyparsing.py +7107 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/__init__.py +144 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/__version__.py +14 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/_internal_utils.py +42 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/adapters.py +533 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/api.py +161 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/auth.py +305 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/certs.py +18 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/compat.py +76 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/cookies.py +549 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/exceptions.py +123 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/help.py +119 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/hooks.py +34 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/models.py +956 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/packages.py +16 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/sessions.py +781 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/status_codes.py +123 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/structures.py +105 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/requests/utils.py +988 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/resolvelib/__init__.py +26 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +6 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/resolvelib/providers.py +119 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/resolvelib/reporters.py +37 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/resolvelib/resolvers.py +454 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/resolvelib/structs.py +149 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/retrying.py +267 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/six.py +982 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/toml/__init__.py +25 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/toml/decoder.py +1057 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/toml/encoder.py +304 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/toml/ordered.py +15 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/toml/tz.py +24 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/__init__.py +85 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/_collections.py +337 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/_version.py +2 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/connection.py +535 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py +1067 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +36 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +519 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +396 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/appengine.py +314 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +121 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +509 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +920 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/contrib/socks.py +216 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/exceptions.py +313 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/fields.py +274 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/filepost.py +98 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/packages/__init__.py +5 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +51 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/packages/six.py +1021 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/packages/ssl_match_hostname/__init__.py +22 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/packages/ssl_match_hostname/_implementation.py +160 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/poolmanager.py +536 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/request.py +170 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/response.py +821 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/__init__.py +49 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/connection.py +150 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/proxy.py +56 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/queue.py +22 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/request.py +143 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/response.py +107 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/retry.py +601 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/ssl_.py +474 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/ssltransport.py +221 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/timeout.py +268 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/url.py +430 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/urllib3/util/wait.py +153 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/vendor.txt +24 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/webencodings/__init__.py +342 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/webencodings/labels.py +231 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/webencodings/mklabels.py +59 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/webencodings/tests.py +153 -0
- quarchpy/venv/Lib/site-packages/pip/_vendor/webencodings/x_user_defined.py +325 -0
- quarchpy/venv/Lib/site-packages/pip-20.3.4.dist-info/INSTALLER +1 -0
- quarchpy/venv/Lib/site-packages/pip-20.3.4.dist-info/LICENSE.txt +20 -0
- quarchpy/venv/Lib/site-packages/pip-20.3.4.dist-info/METADATA +94 -0
- quarchpy/venv/Lib/site-packages/pip-20.3.4.dist-info/RECORD +812 -0
- quarchpy/venv/Lib/site-packages/pip-20.3.4.dist-info/WHEEL +6 -0
- quarchpy/venv/Lib/site-packages/pip-20.3.4.dist-info/entry_points.txt +5 -0
- quarchpy/venv/Lib/site-packages/pip-20.3.4.dist-info/top_level.txt +1 -0
- quarchpy/venv/Lib/site-packages/pip-20.3.4.virtualenv +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/__init__.py +3296 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/__init__.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/__init__.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/appdirs.py +608 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/appdirs.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/__about__.py +21 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/__about__.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/__init__.py +14 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/__init__.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/_compat.py +30 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/_compat.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/_structures.py +68 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/_structures.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/markers.py +301 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/markers.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/requirements.py +127 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/requirements.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/specifiers.py +774 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/specifiers.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/utils.py +14 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/version.py +393 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/packaging/version.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py +5742 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/six.py +868 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/_vendor/six.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/extern/__init__.py +73 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/extern/__init__.pyc +0 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/py31compat.py +23 -0
- quarchpy/venv/Lib/site-packages/pkg_resources/py31compat.pyc +0 -0
- quarchpy/venv/Lib/site-packages/setuptools/__init__.py +245 -0
- quarchpy/venv/Lib/site-packages/setuptools/_deprecation_warning.py +7 -0
- quarchpy/venv/Lib/site-packages/setuptools/_imp.py +73 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/ordered_set.py +488 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/__about__.py +27 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/__init__.py +26 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/_compat.py +31 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/_structures.py +68 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/markers.py +296 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/requirements.py +138 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/specifiers.py +749 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/tags.py +404 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/utils.py +57 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/packaging/version.py +420 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/pyparsing.py +5742 -0
- quarchpy/venv/Lib/site-packages/setuptools/_vendor/six.py +868 -0
- quarchpy/venv/Lib/site-packages/setuptools/archive_util.py +173 -0
- quarchpy/venv/Lib/site-packages/setuptools/build_meta.py +264 -0
- quarchpy/venv/Lib/site-packages/setuptools/cli-32.exe +0 -0
- quarchpy/venv/Lib/site-packages/setuptools/cli-64.exe +0 -0
- quarchpy/venv/Lib/site-packages/setuptools/cli.exe +0 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/__init__.py +17 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/alias.py +80 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/bdist_egg.py +502 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/bdist_rpm.py +43 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/bdist_wininst.py +21 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/build_clib.py +98 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/build_ext.py +327 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/build_py.py +270 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/develop.py +221 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/dist_info.py +36 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/easy_install.py +2347 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/egg_info.py +717 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/install.py +125 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/install_egg_info.py +62 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/install_lib.py +121 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/install_scripts.py +65 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/launcher manifest.xml +15 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/py36compat.py +136 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/register.py +18 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/rotate.py +66 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/saveopts.py +22 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/sdist.py +252 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/setopt.py +149 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/test.py +279 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/upload.py +17 -0
- quarchpy/venv/Lib/site-packages/setuptools/command/upload_docs.py +206 -0
- quarchpy/venv/Lib/site-packages/setuptools/config.py +659 -0
- quarchpy/venv/Lib/site-packages/setuptools/dep_util.py +23 -0
- quarchpy/venv/Lib/site-packages/setuptools/depends.py +176 -0
- quarchpy/venv/Lib/site-packages/setuptools/dist.py +1274 -0
- quarchpy/venv/Lib/site-packages/setuptools/errors.py +16 -0
- quarchpy/venv/Lib/site-packages/setuptools/extension.py +57 -0
- quarchpy/venv/Lib/site-packages/setuptools/extern/__init__.py +73 -0
- quarchpy/venv/Lib/site-packages/setuptools/glob.py +174 -0
- quarchpy/venv/Lib/site-packages/setuptools/gui-32.exe +0 -0
- quarchpy/venv/Lib/site-packages/setuptools/gui-64.exe +0 -0
- quarchpy/venv/Lib/site-packages/setuptools/gui.exe +0 -0
- quarchpy/venv/Lib/site-packages/setuptools/installer.py +150 -0
- quarchpy/venv/Lib/site-packages/setuptools/launch.py +35 -0
- quarchpy/venv/Lib/site-packages/setuptools/lib2to3_ex.py +62 -0
- quarchpy/venv/Lib/site-packages/setuptools/monkey.py +179 -0
- quarchpy/venv/Lib/site-packages/setuptools/msvc.py +1679 -0
- quarchpy/venv/Lib/site-packages/setuptools/namespaces.py +107 -0
- quarchpy/venv/Lib/site-packages/setuptools/package_index.py +1136 -0
- quarchpy/venv/Lib/site-packages/setuptools/py27compat.py +60 -0
- quarchpy/venv/Lib/site-packages/setuptools/py31compat.py +32 -0
- quarchpy/venv/Lib/site-packages/setuptools/py33compat.py +59 -0
- quarchpy/venv/Lib/site-packages/setuptools/py34compat.py +13 -0
- quarchpy/venv/Lib/site-packages/setuptools/sandbox.py +491 -0
- quarchpy/venv/Lib/site-packages/setuptools/script (dev).tmpl +6 -0
- quarchpy/venv/Lib/site-packages/setuptools/script.tmpl +3 -0
- quarchpy/venv/Lib/site-packages/setuptools/site-patch.py +74 -0
- quarchpy/venv/Lib/site-packages/setuptools/ssl_support.py +260 -0
- quarchpy/venv/Lib/site-packages/setuptools/unicode_utils.py +44 -0
- quarchpy/venv/Lib/site-packages/setuptools/version.py +6 -0
- quarchpy/venv/Lib/site-packages/setuptools/wheel.py +220 -0
- quarchpy/venv/Lib/site-packages/setuptools/windows_support.py +29 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/INSTALLER +1 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/LICENSE +19 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/METADATA +86 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/RECORD +207 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/WHEEL +6 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/dependency_links.txt +2 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/entry_points.txt +69 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/top_level.txt +3 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.dist-info/zip-safe +1 -0
- quarchpy/venv/Lib/site-packages/setuptools-44.1.1.virtualenv +0 -0
- quarchpy/venv/Lib/site-packages/wheel/__init__.py +1 -0
- quarchpy/venv/Lib/site-packages/wheel/__main__.py +19 -0
- quarchpy/venv/Lib/site-packages/wheel/bdist_wheel.py +492 -0
- quarchpy/venv/Lib/site-packages/wheel/cli/__init__.py +88 -0
- quarchpy/venv/Lib/site-packages/wheel/cli/convert.py +269 -0
- quarchpy/venv/Lib/site-packages/wheel/cli/pack.py +82 -0
- quarchpy/venv/Lib/site-packages/wheel/cli/unpack.py +25 -0
- quarchpy/venv/Lib/site-packages/wheel/macosx_libfile.py +428 -0
- quarchpy/venv/Lib/site-packages/wheel/metadata.py +133 -0
- quarchpy/venv/Lib/site-packages/wheel/pkginfo.py +43 -0
- quarchpy/venv/Lib/site-packages/wheel/util.py +46 -0
- quarchpy/venv/Lib/site-packages/wheel/vendored/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/wheel/vendored/packaging/__init__.py +0 -0
- quarchpy/venv/Lib/site-packages/wheel/vendored/packaging/_typing.py +48 -0
- quarchpy/venv/Lib/site-packages/wheel/vendored/packaging/tags.py +866 -0
- quarchpy/venv/Lib/site-packages/wheel/wheelfile.py +181 -0
- quarchpy/venv/Lib/site-packages/wheel-0.37.1.dist-info/INSTALLER +1 -0
- quarchpy/venv/Lib/site-packages/wheel-0.37.1.dist-info/LICENSE.txt +22 -0
- quarchpy/venv/Lib/site-packages/wheel-0.37.1.dist-info/METADATA +69 -0
- quarchpy/venv/Lib/site-packages/wheel-0.37.1.dist-info/RECORD +49 -0
- quarchpy/venv/Lib/site-packages/wheel-0.37.1.dist-info/WHEEL +6 -0
- quarchpy/venv/Lib/site-packages/wheel-0.37.1.dist-info/entry_points.txt +6 -0
- quarchpy/venv/Lib/site-packages/wheel-0.37.1.dist-info/top_level.txt +1 -0
- quarchpy/venv/Lib/site-packages/wheel-0.37.1.virtualenv +0 -0
- quarchpy/venv/Lib/site.py +190 -0
- quarchpy/venv/Lib/site.pyc +0 -0
- quarchpy/venv/Scripts/activate +83 -0
- quarchpy/venv/Scripts/activate.bat +39 -0
- quarchpy/venv/Scripts/activate.fish +100 -0
- quarchpy/venv/Scripts/activate.nu +41 -0
- quarchpy/venv/Scripts/activate.ps1 +60 -0
- quarchpy/venv/Scripts/activate_this.py +32 -0
- quarchpy/venv/Scripts/deactivate.bat +19 -0
- quarchpy/venv/Scripts/deactivate.nu +11 -0
- quarchpy/venv/Scripts/easy_install-2.7.exe +0 -0
- quarchpy/venv/Scripts/easy_install.exe +0 -0
- quarchpy/venv/Scripts/easy_install2.7.exe +0 -0
- quarchpy/venv/Scripts/easy_install2.exe +0 -0
- quarchpy/venv/Scripts/pip-2.7.exe +0 -0
- quarchpy/venv/Scripts/pip.exe +0 -0
- quarchpy/venv/Scripts/pip2.7.exe +0 -0
- quarchpy/venv/Scripts/pip2.exe +0 -0
- quarchpy/venv/Scripts/pydoc.bat +1 -0
- quarchpy/venv/Scripts/python.exe +0 -0
- quarchpy/venv/Scripts/python27.dll +0 -0
- quarchpy/venv/Scripts/pythonw.exe +0 -0
- quarchpy/venv/Scripts/wheel-2.7.exe +0 -0
- quarchpy/venv/Scripts/wheel.exe +0 -0
- quarchpy/venv/Scripts/wheel2.7.exe +0 -0
- quarchpy/venv/Scripts/wheel2.exe +0 -0
- quarchpy/venv/libs/_bsddb.lib +0 -0
- quarchpy/venv/libs/_ctypes.lib +0 -0
- quarchpy/venv/libs/_ctypes_test.lib +0 -0
- quarchpy/venv/libs/_elementtree.lib +0 -0
- quarchpy/venv/libs/_hashlib.lib +0 -0
- quarchpy/venv/libs/_msi.lib +0 -0
- quarchpy/venv/libs/_multiprocessing.lib +0 -0
- quarchpy/venv/libs/_socket.lib +0 -0
- quarchpy/venv/libs/_sqlite3.lib +0 -0
- quarchpy/venv/libs/_ssl.lib +0 -0
- quarchpy/venv/libs/_testcapi.lib +0 -0
- quarchpy/venv/libs/_tkinter.lib +0 -0
- quarchpy/venv/libs/bz2.lib +0 -0
- quarchpy/venv/libs/libpython27.a +0 -0
- quarchpy/venv/libs/pyexpat.lib +0 -0
- quarchpy/venv/libs/python27.lib +0 -0
- quarchpy/venv/libs/select.lib +0 -0
- quarchpy/venv/libs/unicodedata.lib +0 -0
- quarchpy/venv/libs/winsound.lib +0 -0
- quarchpy/venv/pyvenv.cfg +8 -0
- {quarchpy-2.1.14.dev4.dist-info → quarchpy-2.1.14.dev5.dist-info}/METADATA +1 -1
- quarchpy-2.1.14.dev5.dist-info/RECORD +1219 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/CInterface-1.7.02.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/CInterface-1.7.8.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/Collections-1.2.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/Desktop-1.0.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/Executor-3.11.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/JNA-1.0.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/OS-1.6.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/QuarchCommon-0.2.9.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/SystemTray-4.2.1.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/Updates-1.1.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/Utilities-1.39.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/commons-csv-1.8.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/javassist-3.29.2-GA.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/jna-jpms-5.12.1.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/jna-platform-jpms-5.12.1.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/kotlin-stdlib-1.7.22.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/slf4j-api-2.0.9.jar +0 -0
- quarchpy/connection_specific/QPS/qis/qis_lib/slf4j-simple-2.0.9.jar +0 -0
- quarchpy/connection_specific/QPS/qis/resources/filters/filters.csv +0 -1004
- quarchpy/connection_specific/QPS/qps_lib/QuarchCommon-0.2.9.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/commons-lang3-3.12.0.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/opencsv-5.9.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/qis-1.39.4.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/qis-1.39.5.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/qis-1.39.6.jar +0 -0
- quarchpy/connection_specific/QPS/qps_lib/qis-1.39.7.jar +0 -0
- quarchpy-2.1.14.dev4.dist-info/RECORD +0 -561
- {quarchpy-2.1.14.dev4.dist-info → quarchpy-2.1.14.dev5.dist-info}/WHEEL +0 -0
- {quarchpy-2.1.14.dev4.dist-info → quarchpy-2.1.14.dev5.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,45 @@
|
|
1
|
+
#ifndef Py_ASDL_H
|
2
|
+
#define Py_ASDL_H
|
3
|
+
|
4
|
+
typedef PyObject * identifier;
|
5
|
+
typedef PyObject * string;
|
6
|
+
typedef PyObject * object;
|
7
|
+
|
8
|
+
#ifndef __cplusplus
|
9
|
+
typedef enum {false, true} bool;
|
10
|
+
#endif
|
11
|
+
|
12
|
+
/* It would be nice if the code generated by asdl_c.py was completely
|
13
|
+
independent of Python, but it is a goal the requires too much work
|
14
|
+
at this stage. So, for example, I'll represent identifiers as
|
15
|
+
interned Python strings.
|
16
|
+
*/
|
17
|
+
|
18
|
+
/* XXX A sequence should be typed so that its use can be typechecked. */
|
19
|
+
|
20
|
+
typedef struct {
|
21
|
+
int size;
|
22
|
+
void *elements[1];
|
23
|
+
} asdl_seq;
|
24
|
+
|
25
|
+
typedef struct {
|
26
|
+
int size;
|
27
|
+
int elements[1];
|
28
|
+
} asdl_int_seq;
|
29
|
+
|
30
|
+
asdl_seq *asdl_seq_new(int size, PyArena *arena);
|
31
|
+
asdl_int_seq *asdl_int_seq_new(int size, PyArena *arena);
|
32
|
+
|
33
|
+
#define asdl_seq_GET(S, I) (S)->elements[(I)]
|
34
|
+
#define asdl_seq_LEN(S) ((S) == NULL ? 0 : (S)->size)
|
35
|
+
#ifdef Py_DEBUG
|
36
|
+
#define asdl_seq_SET(S, I, V) { \
|
37
|
+
int _asdl_i = (I); \
|
38
|
+
assert((S) && _asdl_i < (S)->size); \
|
39
|
+
(S)->elements[_asdl_i] = (V); \
|
40
|
+
}
|
41
|
+
#else
|
42
|
+
#define asdl_seq_SET(S, I, V) (S)->elements[I] = (V)
|
43
|
+
#endif
|
44
|
+
|
45
|
+
#endif /* !Py_ASDL_H */
|
@@ -0,0 +1,32 @@
|
|
1
|
+
|
2
|
+
#ifndef Py_BITSET_H
|
3
|
+
#define Py_BITSET_H
|
4
|
+
#ifdef __cplusplus
|
5
|
+
extern "C" {
|
6
|
+
#endif
|
7
|
+
|
8
|
+
/* Bitset interface */
|
9
|
+
|
10
|
+
#define BYTE char
|
11
|
+
|
12
|
+
typedef BYTE *bitset;
|
13
|
+
|
14
|
+
bitset newbitset(int nbits);
|
15
|
+
void delbitset(bitset bs);
|
16
|
+
#define testbit(ss, ibit) (((ss)[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0)
|
17
|
+
int addbit(bitset bs, int ibit); /* Returns 0 if already set */
|
18
|
+
int samebitset(bitset bs1, bitset bs2, int nbits);
|
19
|
+
void mergebitset(bitset bs1, bitset bs2, int nbits);
|
20
|
+
|
21
|
+
#define BITSPERBYTE (8*sizeof(BYTE))
|
22
|
+
#define NBYTES(nbits) (((nbits) + BITSPERBYTE - 1) / BITSPERBYTE)
|
23
|
+
|
24
|
+
#define BIT2BYTE(ibit) ((ibit) / BITSPERBYTE)
|
25
|
+
#define BIT2SHIFT(ibit) ((ibit) % BITSPERBYTE)
|
26
|
+
#define BIT2MASK(ibit) (1 << BIT2SHIFT(ibit))
|
27
|
+
#define BYTE2BIT(ibyte) ((ibyte) * BITSPERBYTE)
|
28
|
+
|
29
|
+
#ifdef __cplusplus
|
30
|
+
}
|
31
|
+
#endif
|
32
|
+
#endif /* !Py_BITSET_H */
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/* Boolean object interface */
|
2
|
+
|
3
|
+
#ifndef Py_BOOLOBJECT_H
|
4
|
+
#define Py_BOOLOBJECT_H
|
5
|
+
#ifdef __cplusplus
|
6
|
+
extern "C" {
|
7
|
+
#endif
|
8
|
+
|
9
|
+
|
10
|
+
typedef PyIntObject PyBoolObject;
|
11
|
+
|
12
|
+
PyAPI_DATA(PyTypeObject) PyBool_Type;
|
13
|
+
|
14
|
+
#define PyBool_Check(x) (Py_TYPE(x) == &PyBool_Type)
|
15
|
+
|
16
|
+
/* Py_False and Py_True are the only two bools in existence.
|
17
|
+
Don't forget to apply Py_INCREF() when returning either!!! */
|
18
|
+
|
19
|
+
/* Don't use these directly */
|
20
|
+
PyAPI_DATA(PyIntObject) _Py_ZeroStruct, _Py_TrueStruct;
|
21
|
+
|
22
|
+
/* Use these macros */
|
23
|
+
#define Py_False ((PyObject *) &_Py_ZeroStruct)
|
24
|
+
#define Py_True ((PyObject *) &_Py_TrueStruct)
|
25
|
+
|
26
|
+
/* Macros for returning Py_True or Py_False, respectively */
|
27
|
+
#define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True
|
28
|
+
#define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False
|
29
|
+
|
30
|
+
/* Function to return a bool from a C long */
|
31
|
+
PyAPI_FUNC(PyObject *) PyBool_FromLong(long);
|
32
|
+
|
33
|
+
#ifdef __cplusplus
|
34
|
+
}
|
35
|
+
#endif
|
36
|
+
#endif /* !Py_BOOLOBJECT_H */
|
@@ -0,0 +1,33 @@
|
|
1
|
+
|
2
|
+
/* Buffer object interface */
|
3
|
+
|
4
|
+
/* Note: the object's structure is private */
|
5
|
+
|
6
|
+
#ifndef Py_BUFFEROBJECT_H
|
7
|
+
#define Py_BUFFEROBJECT_H
|
8
|
+
#ifdef __cplusplus
|
9
|
+
extern "C" {
|
10
|
+
#endif
|
11
|
+
|
12
|
+
|
13
|
+
PyAPI_DATA(PyTypeObject) PyBuffer_Type;
|
14
|
+
|
15
|
+
#define PyBuffer_Check(op) (Py_TYPE(op) == &PyBuffer_Type)
|
16
|
+
|
17
|
+
#define Py_END_OF_BUFFER (-1)
|
18
|
+
|
19
|
+
PyAPI_FUNC(PyObject *) PyBuffer_FromObject(PyObject *base,
|
20
|
+
Py_ssize_t offset, Py_ssize_t size);
|
21
|
+
PyAPI_FUNC(PyObject *) PyBuffer_FromReadWriteObject(PyObject *base,
|
22
|
+
Py_ssize_t offset,
|
23
|
+
Py_ssize_t size);
|
24
|
+
|
25
|
+
PyAPI_FUNC(PyObject *) PyBuffer_FromMemory(void *ptr, Py_ssize_t size);
|
26
|
+
PyAPI_FUNC(PyObject *) PyBuffer_FromReadWriteMemory(void *ptr, Py_ssize_t size);
|
27
|
+
|
28
|
+
PyAPI_FUNC(PyObject *) PyBuffer_New(Py_ssize_t size);
|
29
|
+
|
30
|
+
#ifdef __cplusplus
|
31
|
+
}
|
32
|
+
#endif
|
33
|
+
#endif /* !Py_BUFFEROBJECT_H */
|
@@ -0,0 +1,57 @@
|
|
1
|
+
/* ByteArray object interface */
|
2
|
+
|
3
|
+
#ifndef Py_BYTEARRAYOBJECT_H
|
4
|
+
#define Py_BYTEARRAYOBJECT_H
|
5
|
+
#ifdef __cplusplus
|
6
|
+
extern "C" {
|
7
|
+
#endif
|
8
|
+
|
9
|
+
#include <stdarg.h>
|
10
|
+
|
11
|
+
/* Type PyByteArrayObject represents a mutable array of bytes.
|
12
|
+
* The Python API is that of a sequence;
|
13
|
+
* the bytes are mapped to ints in [0, 256).
|
14
|
+
* Bytes are not characters; they may be used to encode characters.
|
15
|
+
* The only way to go between bytes and str/unicode is via encoding
|
16
|
+
* and decoding.
|
17
|
+
* For the convenience of C programmers, the bytes type is considered
|
18
|
+
* to contain a char pointer, not an unsigned char pointer.
|
19
|
+
*/
|
20
|
+
|
21
|
+
/* Object layout */
|
22
|
+
typedef struct {
|
23
|
+
PyObject_VAR_HEAD
|
24
|
+
/* XXX(nnorwitz): should ob_exports be Py_ssize_t? */
|
25
|
+
int ob_exports; /* how many buffer exports */
|
26
|
+
Py_ssize_t ob_alloc; /* How many bytes allocated */
|
27
|
+
char *ob_bytes;
|
28
|
+
} PyByteArrayObject;
|
29
|
+
|
30
|
+
/* Type object */
|
31
|
+
PyAPI_DATA(PyTypeObject) PyByteArray_Type;
|
32
|
+
PyAPI_DATA(PyTypeObject) PyByteArrayIter_Type;
|
33
|
+
|
34
|
+
/* Type check macros */
|
35
|
+
#define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type)
|
36
|
+
#define PyByteArray_CheckExact(self) (Py_TYPE(self) == &PyByteArray_Type)
|
37
|
+
|
38
|
+
/* Direct API functions */
|
39
|
+
PyAPI_FUNC(PyObject *) PyByteArray_FromObject(PyObject *);
|
40
|
+
PyAPI_FUNC(PyObject *) PyByteArray_Concat(PyObject *, PyObject *);
|
41
|
+
PyAPI_FUNC(PyObject *) PyByteArray_FromStringAndSize(const char *, Py_ssize_t);
|
42
|
+
PyAPI_FUNC(Py_ssize_t) PyByteArray_Size(PyObject *);
|
43
|
+
PyAPI_FUNC(char *) PyByteArray_AsString(PyObject *);
|
44
|
+
PyAPI_FUNC(int) PyByteArray_Resize(PyObject *, Py_ssize_t);
|
45
|
+
|
46
|
+
/* Macros, trading safety for speed */
|
47
|
+
#define PyByteArray_AS_STRING(self) \
|
48
|
+
(assert(PyByteArray_Check(self)), \
|
49
|
+
Py_SIZE(self) ? ((PyByteArrayObject *)(self))->ob_bytes : _PyByteArray_empty_string)
|
50
|
+
#define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)),Py_SIZE(self))
|
51
|
+
|
52
|
+
PyAPI_DATA(char) _PyByteArray_empty_string[];
|
53
|
+
|
54
|
+
#ifdef __cplusplus
|
55
|
+
}
|
56
|
+
#endif
|
57
|
+
#endif /* !Py_BYTEARRAYOBJECT_H */
|
@@ -0,0 +1,75 @@
|
|
1
|
+
#ifndef Py_BYTES_CTYPE_H
|
2
|
+
#define Py_BYTES_CTYPE_H
|
3
|
+
|
4
|
+
/*
|
5
|
+
* The internal implementation behind PyString (bytes) and PyBytes (buffer)
|
6
|
+
* methods of the given names, they operate on ASCII byte strings.
|
7
|
+
*/
|
8
|
+
extern PyObject* _Py_bytes_isspace(const char *cptr, Py_ssize_t len);
|
9
|
+
extern PyObject* _Py_bytes_isalpha(const char *cptr, Py_ssize_t len);
|
10
|
+
extern PyObject* _Py_bytes_isalnum(const char *cptr, Py_ssize_t len);
|
11
|
+
extern PyObject* _Py_bytes_isdigit(const char *cptr, Py_ssize_t len);
|
12
|
+
extern PyObject* _Py_bytes_islower(const char *cptr, Py_ssize_t len);
|
13
|
+
extern PyObject* _Py_bytes_isupper(const char *cptr, Py_ssize_t len);
|
14
|
+
extern PyObject* _Py_bytes_istitle(const char *cptr, Py_ssize_t len);
|
15
|
+
|
16
|
+
/* These store their len sized answer in the given preallocated *result arg. */
|
17
|
+
extern void _Py_bytes_lower(char *result, const char *cptr, Py_ssize_t len);
|
18
|
+
extern void _Py_bytes_upper(char *result, const char *cptr, Py_ssize_t len);
|
19
|
+
extern void _Py_bytes_title(char *result, char *s, Py_ssize_t len);
|
20
|
+
extern void _Py_bytes_capitalize(char *result, char *s, Py_ssize_t len);
|
21
|
+
extern void _Py_bytes_swapcase(char *result, char *s, Py_ssize_t len);
|
22
|
+
|
23
|
+
/* Shared __doc__ strings. */
|
24
|
+
extern const char _Py_isspace__doc__[];
|
25
|
+
extern const char _Py_isalpha__doc__[];
|
26
|
+
extern const char _Py_isalnum__doc__[];
|
27
|
+
extern const char _Py_isdigit__doc__[];
|
28
|
+
extern const char _Py_islower__doc__[];
|
29
|
+
extern const char _Py_isupper__doc__[];
|
30
|
+
extern const char _Py_istitle__doc__[];
|
31
|
+
extern const char _Py_lower__doc__[];
|
32
|
+
extern const char _Py_upper__doc__[];
|
33
|
+
extern const char _Py_title__doc__[];
|
34
|
+
extern const char _Py_capitalize__doc__[];
|
35
|
+
extern const char _Py_swapcase__doc__[];
|
36
|
+
|
37
|
+
/* These are left in for backward compatibility and will be removed
|
38
|
+
in 2.8/3.2 */
|
39
|
+
#define ISLOWER(c) Py_ISLOWER(c)
|
40
|
+
#define ISUPPER(c) Py_ISUPPER(c)
|
41
|
+
#define ISALPHA(c) Py_ISALPHA(c)
|
42
|
+
#define ISDIGIT(c) Py_ISDIGIT(c)
|
43
|
+
#define ISXDIGIT(c) Py_ISXDIGIT(c)
|
44
|
+
#define ISALNUM(c) Py_ISALNUM(c)
|
45
|
+
#define ISSPACE(c) Py_ISSPACE(c)
|
46
|
+
|
47
|
+
#undef islower
|
48
|
+
#define islower(c) undefined_islower(c)
|
49
|
+
#undef isupper
|
50
|
+
#define isupper(c) undefined_isupper(c)
|
51
|
+
#undef isalpha
|
52
|
+
#define isalpha(c) undefined_isalpha(c)
|
53
|
+
#undef isdigit
|
54
|
+
#define isdigit(c) undefined_isdigit(c)
|
55
|
+
#undef isxdigit
|
56
|
+
#define isxdigit(c) undefined_isxdigit(c)
|
57
|
+
#undef isalnum
|
58
|
+
#define isalnum(c) undefined_isalnum(c)
|
59
|
+
#undef isspace
|
60
|
+
#define isspace(c) undefined_isspace(c)
|
61
|
+
|
62
|
+
/* These are left in for backward compatibility and will be removed
|
63
|
+
in 2.8/3.2 */
|
64
|
+
#define TOLOWER(c) Py_TOLOWER(c)
|
65
|
+
#define TOUPPER(c) Py_TOUPPER(c)
|
66
|
+
|
67
|
+
#undef tolower
|
68
|
+
#define tolower(c) undefined_tolower(c)
|
69
|
+
#undef toupper
|
70
|
+
#define toupper(c) undefined_toupper(c)
|
71
|
+
|
72
|
+
/* this is needed because some docs are shared from the .o, not static */
|
73
|
+
#define PyDoc_STRVAR_shared(name,str) const char name[] = PyDoc_STR(str)
|
74
|
+
|
75
|
+
#endif /* !Py_BYTES_CTYPE_H */
|
@@ -0,0 +1,27 @@
|
|
1
|
+
#define PyBytesObject PyStringObject
|
2
|
+
#define PyBytes_Type PyString_Type
|
3
|
+
|
4
|
+
#define PyBytes_Check PyString_Check
|
5
|
+
#define PyBytes_CheckExact PyString_CheckExact
|
6
|
+
#define PyBytes_CHECK_INTERNED PyString_CHECK_INTERNED
|
7
|
+
#define PyBytes_AS_STRING PyString_AS_STRING
|
8
|
+
#define PyBytes_GET_SIZE PyString_GET_SIZE
|
9
|
+
#define Py_TPFLAGS_BYTES_SUBCLASS Py_TPFLAGS_STRING_SUBCLASS
|
10
|
+
|
11
|
+
#define PyBytes_FromStringAndSize PyString_FromStringAndSize
|
12
|
+
#define PyBytes_FromString PyString_FromString
|
13
|
+
#define PyBytes_FromFormatV PyString_FromFormatV
|
14
|
+
#define PyBytes_FromFormat PyString_FromFormat
|
15
|
+
#define PyBytes_Size PyString_Size
|
16
|
+
#define PyBytes_AsString PyString_AsString
|
17
|
+
#define PyBytes_Repr PyString_Repr
|
18
|
+
#define PyBytes_Concat PyString_Concat
|
19
|
+
#define PyBytes_ConcatAndDel PyString_ConcatAndDel
|
20
|
+
#define _PyBytes_Resize _PyString_Resize
|
21
|
+
#define _PyBytes_Eq _PyString_Eq
|
22
|
+
#define PyBytes_Format PyString_Format
|
23
|
+
#define _PyBytes_FormatLong _PyString_FormatLong
|
24
|
+
#define PyBytes_DecodeEscape PyString_DecodeEscape
|
25
|
+
#define _PyBytes_Join _PyString_Join
|
26
|
+
#define PyBytes_AsStringAndSize PyString_AsStringAndSize
|
27
|
+
#define _PyBytes_InsertThousandsGrouping _PyString_InsertThousandsGrouping
|
@@ -0,0 +1,73 @@
|
|
1
|
+
#ifndef Py_CSTRINGIO_H
|
2
|
+
#define Py_CSTRINGIO_H
|
3
|
+
#ifdef __cplusplus
|
4
|
+
extern "C" {
|
5
|
+
#endif
|
6
|
+
/*
|
7
|
+
|
8
|
+
This header provides access to cStringIO objects from C.
|
9
|
+
Functions are provided for calling cStringIO objects and
|
10
|
+
macros are provided for testing whether you have cStringIO
|
11
|
+
objects.
|
12
|
+
|
13
|
+
Before calling any of the functions or macros, you must initialize
|
14
|
+
the routines with:
|
15
|
+
|
16
|
+
PycString_IMPORT
|
17
|
+
|
18
|
+
This would typically be done in your init function.
|
19
|
+
|
20
|
+
*/
|
21
|
+
|
22
|
+
#define PycStringIO_CAPSULE_NAME "cStringIO.cStringIO_CAPI"
|
23
|
+
|
24
|
+
#define PycString_IMPORT \
|
25
|
+
PycStringIO = ((struct PycStringIO_CAPI*)PyCapsule_Import(\
|
26
|
+
PycStringIO_CAPSULE_NAME, 0))
|
27
|
+
|
28
|
+
/* Basic functions to manipulate cStringIO objects from C */
|
29
|
+
|
30
|
+
static struct PycStringIO_CAPI {
|
31
|
+
|
32
|
+
/* Read a string from an input object. If the last argument
|
33
|
+
is -1, the remainder will be read.
|
34
|
+
*/
|
35
|
+
int(*cread)(PyObject *, char **, Py_ssize_t);
|
36
|
+
|
37
|
+
/* Read a line from an input object. Returns the length of the read
|
38
|
+
line as an int and a pointer inside the object buffer as char** (so
|
39
|
+
the caller doesn't have to provide its own buffer as destination).
|
40
|
+
*/
|
41
|
+
int(*creadline)(PyObject *, char **);
|
42
|
+
|
43
|
+
/* Write a string to an output object*/
|
44
|
+
int(*cwrite)(PyObject *, const char *, Py_ssize_t);
|
45
|
+
|
46
|
+
/* Get the output object as a Python string (returns new reference). */
|
47
|
+
PyObject *(*cgetvalue)(PyObject *);
|
48
|
+
|
49
|
+
/* Create a new output object */
|
50
|
+
PyObject *(*NewOutput)(int);
|
51
|
+
|
52
|
+
/* Create an input object from a Python string
|
53
|
+
(copies the Python string reference).
|
54
|
+
*/
|
55
|
+
PyObject *(*NewInput)(PyObject *);
|
56
|
+
|
57
|
+
/* The Python types for cStringIO input and output objects.
|
58
|
+
Note that you can do input on an output object.
|
59
|
+
*/
|
60
|
+
PyTypeObject *InputType, *OutputType;
|
61
|
+
|
62
|
+
} *PycStringIO;
|
63
|
+
|
64
|
+
/* These can be used to test if you have one */
|
65
|
+
#define PycStringIO_InputCheck(O) \
|
66
|
+
(Py_TYPE(O)==PycStringIO->InputType)
|
67
|
+
#define PycStringIO_OutputCheck(O) \
|
68
|
+
(Py_TYPE(O)==PycStringIO->OutputType)
|
69
|
+
|
70
|
+
#ifdef __cplusplus
|
71
|
+
}
|
72
|
+
#endif
|
73
|
+
#endif /* !Py_CSTRINGIO_H */
|
@@ -0,0 +1,28 @@
|
|
1
|
+
/* Cell object interface */
|
2
|
+
|
3
|
+
#ifndef Py_CELLOBJECT_H
|
4
|
+
#define Py_CELLOBJECT_H
|
5
|
+
#ifdef __cplusplus
|
6
|
+
extern "C" {
|
7
|
+
#endif
|
8
|
+
|
9
|
+
typedef struct {
|
10
|
+
PyObject_HEAD
|
11
|
+
PyObject *ob_ref; /* Content of the cell or NULL when empty */
|
12
|
+
} PyCellObject;
|
13
|
+
|
14
|
+
PyAPI_DATA(PyTypeObject) PyCell_Type;
|
15
|
+
|
16
|
+
#define PyCell_Check(op) (Py_TYPE(op) == &PyCell_Type)
|
17
|
+
|
18
|
+
PyAPI_FUNC(PyObject *) PyCell_New(PyObject *);
|
19
|
+
PyAPI_FUNC(PyObject *) PyCell_Get(PyObject *);
|
20
|
+
PyAPI_FUNC(int) PyCell_Set(PyObject *, PyObject *);
|
21
|
+
|
22
|
+
#define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref)
|
23
|
+
#define PyCell_SET(op, v) (((PyCellObject *)(op))->ob_ref = v)
|
24
|
+
|
25
|
+
#ifdef __cplusplus
|
26
|
+
}
|
27
|
+
#endif
|
28
|
+
#endif /* !Py_TUPLEOBJECT_H */
|
@@ -0,0 +1,154 @@
|
|
1
|
+
#ifndef Py_CEVAL_H
|
2
|
+
#define Py_CEVAL_H
|
3
|
+
#ifdef __cplusplus
|
4
|
+
extern "C" {
|
5
|
+
#endif
|
6
|
+
|
7
|
+
|
8
|
+
/* Interface to random parts in ceval.c */
|
9
|
+
|
10
|
+
PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
|
11
|
+
PyObject *, PyObject *, PyObject *);
|
12
|
+
|
13
|
+
/* Inline this */
|
14
|
+
#define PyEval_CallObject(func,arg) \
|
15
|
+
PyEval_CallObjectWithKeywords(func, arg, (PyObject *)NULL)
|
16
|
+
|
17
|
+
PyAPI_FUNC(PyObject *) PyEval_CallFunction(PyObject *obj,
|
18
|
+
const char *format, ...);
|
19
|
+
PyAPI_FUNC(PyObject *) PyEval_CallMethod(PyObject *obj,
|
20
|
+
const char *methodname,
|
21
|
+
const char *format, ...);
|
22
|
+
|
23
|
+
PyAPI_FUNC(void) PyEval_SetProfile(Py_tracefunc, PyObject *);
|
24
|
+
PyAPI_FUNC(void) PyEval_SetTrace(Py_tracefunc, PyObject *);
|
25
|
+
|
26
|
+
struct _frame; /* Avoid including frameobject.h */
|
27
|
+
|
28
|
+
PyAPI_FUNC(PyObject *) PyEval_GetBuiltins(void);
|
29
|
+
PyAPI_FUNC(PyObject *) PyEval_GetGlobals(void);
|
30
|
+
PyAPI_FUNC(PyObject *) PyEval_GetLocals(void);
|
31
|
+
PyAPI_FUNC(struct _frame *) PyEval_GetFrame(void);
|
32
|
+
PyAPI_FUNC(int) PyEval_GetRestricted(void);
|
33
|
+
|
34
|
+
/* Look at the current frame's (if any) code's co_flags, and turn on
|
35
|
+
the corresponding compiler flags in cf->cf_flags. Return 1 if any
|
36
|
+
flag was set, else return 0. */
|
37
|
+
PyAPI_FUNC(int) PyEval_MergeCompilerFlags(PyCompilerFlags *cf);
|
38
|
+
|
39
|
+
PyAPI_FUNC(int) Py_FlushLine(void);
|
40
|
+
|
41
|
+
PyAPI_FUNC(int) Py_AddPendingCall(int (*func)(void *), void *arg);
|
42
|
+
PyAPI_FUNC(int) Py_MakePendingCalls(void);
|
43
|
+
|
44
|
+
/* Protection against deeply nested recursive calls */
|
45
|
+
PyAPI_FUNC(void) Py_SetRecursionLimit(int);
|
46
|
+
PyAPI_FUNC(int) Py_GetRecursionLimit(void);
|
47
|
+
|
48
|
+
#define Py_EnterRecursiveCall(where) \
|
49
|
+
(_Py_MakeRecCheck(PyThreadState_GET()->recursion_depth) && \
|
50
|
+
_Py_CheckRecursiveCall(where))
|
51
|
+
#define Py_LeaveRecursiveCall() \
|
52
|
+
(--PyThreadState_GET()->recursion_depth)
|
53
|
+
PyAPI_FUNC(int) _Py_CheckRecursiveCall(const char *where);
|
54
|
+
PyAPI_DATA(int) _Py_CheckRecursionLimit;
|
55
|
+
#ifdef USE_STACKCHECK
|
56
|
+
# define _Py_MakeRecCheck(x) (++(x) > --_Py_CheckRecursionLimit)
|
57
|
+
#else
|
58
|
+
# define _Py_MakeRecCheck(x) (++(x) > _Py_CheckRecursionLimit)
|
59
|
+
#endif
|
60
|
+
|
61
|
+
PyAPI_FUNC(const char *) PyEval_GetFuncName(PyObject *);
|
62
|
+
PyAPI_FUNC(const char *) PyEval_GetFuncDesc(PyObject *);
|
63
|
+
|
64
|
+
PyAPI_FUNC(PyObject *) PyEval_GetCallStats(PyObject *);
|
65
|
+
PyAPI_FUNC(PyObject *) PyEval_EvalFrame(struct _frame *);
|
66
|
+
PyAPI_FUNC(PyObject *) PyEval_EvalFrameEx(struct _frame *f, int exc);
|
67
|
+
|
68
|
+
/* this used to be handled on a per-thread basis - now just two globals */
|
69
|
+
PyAPI_DATA(volatile int) _Py_Ticker;
|
70
|
+
PyAPI_DATA(int) _Py_CheckInterval;
|
71
|
+
|
72
|
+
/* Interface for threads.
|
73
|
+
|
74
|
+
A module that plans to do a blocking system call (or something else
|
75
|
+
that lasts a long time and doesn't touch Python data) can allow other
|
76
|
+
threads to run as follows:
|
77
|
+
|
78
|
+
...preparations here...
|
79
|
+
Py_BEGIN_ALLOW_THREADS
|
80
|
+
...blocking system call here...
|
81
|
+
Py_END_ALLOW_THREADS
|
82
|
+
...interpret result here...
|
83
|
+
|
84
|
+
The Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS pair expands to a
|
85
|
+
{}-surrounded block.
|
86
|
+
To leave the block in the middle (e.g., with return), you must insert
|
87
|
+
a line containing Py_BLOCK_THREADS before the return, e.g.
|
88
|
+
|
89
|
+
if (...premature_exit...) {
|
90
|
+
Py_BLOCK_THREADS
|
91
|
+
PyErr_SetFromErrno(PyExc_IOError);
|
92
|
+
return NULL;
|
93
|
+
}
|
94
|
+
|
95
|
+
An alternative is:
|
96
|
+
|
97
|
+
Py_BLOCK_THREADS
|
98
|
+
if (...premature_exit...) {
|
99
|
+
PyErr_SetFromErrno(PyExc_IOError);
|
100
|
+
return NULL;
|
101
|
+
}
|
102
|
+
Py_UNBLOCK_THREADS
|
103
|
+
|
104
|
+
For convenience, that the value of 'errno' is restored across
|
105
|
+
Py_END_ALLOW_THREADS and Py_BLOCK_THREADS.
|
106
|
+
|
107
|
+
WARNING: NEVER NEST CALLS TO Py_BEGIN_ALLOW_THREADS AND
|
108
|
+
Py_END_ALLOW_THREADS!!!
|
109
|
+
|
110
|
+
The function PyEval_InitThreads() should be called only from
|
111
|
+
initthread() in "threadmodule.c".
|
112
|
+
|
113
|
+
Note that not yet all candidates have been converted to use this
|
114
|
+
mechanism!
|
115
|
+
*/
|
116
|
+
|
117
|
+
PyAPI_FUNC(PyThreadState *) PyEval_SaveThread(void);
|
118
|
+
PyAPI_FUNC(void) PyEval_RestoreThread(PyThreadState *);
|
119
|
+
|
120
|
+
#ifdef WITH_THREAD
|
121
|
+
|
122
|
+
PyAPI_FUNC(int) PyEval_ThreadsInitialized(void);
|
123
|
+
PyAPI_FUNC(void) PyEval_InitThreads(void);
|
124
|
+
PyAPI_FUNC(void) PyEval_AcquireLock(void);
|
125
|
+
PyAPI_FUNC(void) PyEval_ReleaseLock(void);
|
126
|
+
PyAPI_FUNC(void) PyEval_AcquireThread(PyThreadState *tstate);
|
127
|
+
PyAPI_FUNC(void) PyEval_ReleaseThread(PyThreadState *tstate);
|
128
|
+
PyAPI_FUNC(void) PyEval_ReInitThreads(void);
|
129
|
+
|
130
|
+
#define Py_BEGIN_ALLOW_THREADS { \
|
131
|
+
PyThreadState *_save; \
|
132
|
+
_save = PyEval_SaveThread();
|
133
|
+
#define Py_BLOCK_THREADS PyEval_RestoreThread(_save);
|
134
|
+
#define Py_UNBLOCK_THREADS _save = PyEval_SaveThread();
|
135
|
+
#define Py_END_ALLOW_THREADS PyEval_RestoreThread(_save); \
|
136
|
+
}
|
137
|
+
|
138
|
+
#else /* !WITH_THREAD */
|
139
|
+
|
140
|
+
#define Py_BEGIN_ALLOW_THREADS {
|
141
|
+
#define Py_BLOCK_THREADS
|
142
|
+
#define Py_UNBLOCK_THREADS
|
143
|
+
#define Py_END_ALLOW_THREADS }
|
144
|
+
|
145
|
+
#endif /* !WITH_THREAD */
|
146
|
+
|
147
|
+
PyAPI_FUNC(int) _PyEval_SliceIndex(PyObject *, Py_ssize_t *);
|
148
|
+
PyAPI_FUNC(int) _PyEval_SliceIndexNotNone(PyObject *, Py_ssize_t *);
|
149
|
+
|
150
|
+
|
151
|
+
#ifdef __cplusplus
|
152
|
+
}
|
153
|
+
#endif
|
154
|
+
#endif /* !Py_CEVAL_H */
|
@@ -0,0 +1,83 @@
|
|
1
|
+
|
2
|
+
/* Class object interface */
|
3
|
+
|
4
|
+
/* Revealing some structures (not for general use) */
|
5
|
+
|
6
|
+
#ifndef Py_CLASSOBJECT_H
|
7
|
+
#define Py_CLASSOBJECT_H
|
8
|
+
#ifdef __cplusplus
|
9
|
+
extern "C" {
|
10
|
+
#endif
|
11
|
+
|
12
|
+
typedef struct {
|
13
|
+
PyObject_HEAD
|
14
|
+
PyObject *cl_bases; /* A tuple of class objects */
|
15
|
+
PyObject *cl_dict; /* A dictionary */
|
16
|
+
PyObject *cl_name; /* A string */
|
17
|
+
/* The following three are functions or NULL */
|
18
|
+
PyObject *cl_getattr;
|
19
|
+
PyObject *cl_setattr;
|
20
|
+
PyObject *cl_delattr;
|
21
|
+
PyObject *cl_weakreflist; /* List of weak references */
|
22
|
+
} PyClassObject;
|
23
|
+
|
24
|
+
typedef struct {
|
25
|
+
PyObject_HEAD
|
26
|
+
PyClassObject *in_class; /* The class object */
|
27
|
+
PyObject *in_dict; /* A dictionary */
|
28
|
+
PyObject *in_weakreflist; /* List of weak references */
|
29
|
+
} PyInstanceObject;
|
30
|
+
|
31
|
+
typedef struct {
|
32
|
+
PyObject_HEAD
|
33
|
+
PyObject *im_func; /* The callable object implementing the method */
|
34
|
+
PyObject *im_self; /* The instance it is bound to, or NULL */
|
35
|
+
PyObject *im_class; /* The class that asked for the method */
|
36
|
+
PyObject *im_weakreflist; /* List of weak references */
|
37
|
+
} PyMethodObject;
|
38
|
+
|
39
|
+
PyAPI_DATA(PyTypeObject) PyClass_Type, PyInstance_Type, PyMethod_Type;
|
40
|
+
|
41
|
+
#define PyClass_Check(op) ((op)->ob_type == &PyClass_Type)
|
42
|
+
#define PyInstance_Check(op) ((op)->ob_type == &PyInstance_Type)
|
43
|
+
#define PyMethod_Check(op) ((op)->ob_type == &PyMethod_Type)
|
44
|
+
|
45
|
+
PyAPI_FUNC(PyObject *) PyClass_New(PyObject *, PyObject *, PyObject *);
|
46
|
+
PyAPI_FUNC(PyObject *) PyInstance_New(PyObject *, PyObject *,
|
47
|
+
PyObject *);
|
48
|
+
PyAPI_FUNC(PyObject *) PyInstance_NewRaw(PyObject *, PyObject *);
|
49
|
+
PyAPI_FUNC(PyObject *) PyMethod_New(PyObject *, PyObject *, PyObject *);
|
50
|
+
|
51
|
+
PyAPI_FUNC(PyObject *) PyMethod_Function(PyObject *);
|
52
|
+
PyAPI_FUNC(PyObject *) PyMethod_Self(PyObject *);
|
53
|
+
PyAPI_FUNC(PyObject *) PyMethod_Class(PyObject *);
|
54
|
+
|
55
|
+
/* Look up attribute with name (a string) on instance object pinst, using
|
56
|
+
* only the instance and base class dicts. If a descriptor is found in
|
57
|
+
* a class dict, the descriptor is returned without calling it.
|
58
|
+
* Returns NULL if nothing found, else a borrowed reference to the
|
59
|
+
* value associated with name in the dict in which name was found.
|
60
|
+
* The point of this routine is that it never calls arbitrary Python
|
61
|
+
* code, so is always "safe": all it does is dict lookups. The function
|
62
|
+
* can't fail, never sets an exception, and NULL is not an error (it just
|
63
|
+
* means "not found").
|
64
|
+
*/
|
65
|
+
PyAPI_FUNC(PyObject *) _PyInstance_Lookup(PyObject *pinst, PyObject *name);
|
66
|
+
|
67
|
+
/* Macros for direct access to these values. Type checks are *not*
|
68
|
+
done, so use with care. */
|
69
|
+
#define PyMethod_GET_FUNCTION(meth) \
|
70
|
+
(((PyMethodObject *)meth) -> im_func)
|
71
|
+
#define PyMethod_GET_SELF(meth) \
|
72
|
+
(((PyMethodObject *)meth) -> im_self)
|
73
|
+
#define PyMethod_GET_CLASS(meth) \
|
74
|
+
(((PyMethodObject *)meth) -> im_class)
|
75
|
+
|
76
|
+
PyAPI_FUNC(int) PyClass_IsSubclass(PyObject *, PyObject *);
|
77
|
+
|
78
|
+
PyAPI_FUNC(int) PyMethod_ClearFreeList(void);
|
79
|
+
|
80
|
+
#ifdef __cplusplus
|
81
|
+
}
|
82
|
+
#endif
|
83
|
+
#endif /* !Py_CLASSOBJECT_H */
|