quarchpy 2.1.14.dev3__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/__pycache__/connection_QIS.cpython-311.pyc +0 -0
- quarchpy/connection_specific/connection_QIS.py +22 -9
- quarchpy/connection_specific/connection_QIS.py.bak +35 -17
- 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.dev3.dist-info → quarchpy-2.1.14.dev5.dist-info}/METADATA +1 -1
- quarchpy-2.1.14.dev5.dist-info/RECORD +1219 -0
- quarchpy-2.1.14.dev3.dist-info/RECORD +0 -535
- {quarchpy-2.1.14.dev3.dist-info → quarchpy-2.1.14.dev5.dist-info}/WHEEL +0 -0
- {quarchpy-2.1.14.dev3.dist-info → quarchpy-2.1.14.dev5.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
#ifndef Py_ITEROBJECT_H
|
2
|
+
#define Py_ITEROBJECT_H
|
3
|
+
/* Iterators (the basic kind, over a sequence) */
|
4
|
+
#ifdef __cplusplus
|
5
|
+
extern "C" {
|
6
|
+
#endif
|
7
|
+
|
8
|
+
PyAPI_DATA(PyTypeObject) PySeqIter_Type;
|
9
|
+
|
10
|
+
#define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type)
|
11
|
+
|
12
|
+
PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *);
|
13
|
+
|
14
|
+
PyAPI_DATA(PyTypeObject) PyCallIter_Type;
|
15
|
+
|
16
|
+
#define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type)
|
17
|
+
|
18
|
+
PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *);
|
19
|
+
#ifdef __cplusplus
|
20
|
+
}
|
21
|
+
#endif
|
22
|
+
#endif /* !Py_ITEROBJECT_H */
|
23
|
+
|
@@ -0,0 +1,68 @@
|
|
1
|
+
|
2
|
+
/* List object interface */
|
3
|
+
|
4
|
+
/*
|
5
|
+
Another generally useful object type is a list of object pointers.
|
6
|
+
This is a mutable type: the list items can be changed, and items can be
|
7
|
+
added or removed. Out-of-range indices or non-list objects are ignored.
|
8
|
+
|
9
|
+
*** WARNING *** PyList_SetItem does not increment the new item's reference
|
10
|
+
count, but does decrement the reference count of the item it replaces,
|
11
|
+
if not nil. It does *decrement* the reference count if it is *not*
|
12
|
+
inserted in the list. Similarly, PyList_GetItem does not increment the
|
13
|
+
returned item's reference count.
|
14
|
+
*/
|
15
|
+
|
16
|
+
#ifndef Py_LISTOBJECT_H
|
17
|
+
#define Py_LISTOBJECT_H
|
18
|
+
#ifdef __cplusplus
|
19
|
+
extern "C" {
|
20
|
+
#endif
|
21
|
+
|
22
|
+
typedef struct {
|
23
|
+
PyObject_VAR_HEAD
|
24
|
+
/* Vector of pointers to list elements. list[0] is ob_item[0], etc. */
|
25
|
+
PyObject **ob_item;
|
26
|
+
|
27
|
+
/* ob_item contains space for 'allocated' elements. The number
|
28
|
+
* currently in use is ob_size.
|
29
|
+
* Invariants:
|
30
|
+
* 0 <= ob_size <= allocated
|
31
|
+
* len(list) == ob_size
|
32
|
+
* ob_item == NULL implies ob_size == allocated == 0
|
33
|
+
* list.sort() temporarily sets allocated to -1 to detect mutations.
|
34
|
+
*
|
35
|
+
* Items must normally not be NULL, except during construction when
|
36
|
+
* the list is not yet visible outside the function that builds it.
|
37
|
+
*/
|
38
|
+
Py_ssize_t allocated;
|
39
|
+
} PyListObject;
|
40
|
+
|
41
|
+
PyAPI_DATA(PyTypeObject) PyList_Type;
|
42
|
+
|
43
|
+
#define PyList_Check(op) \
|
44
|
+
PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
|
45
|
+
#define PyList_CheckExact(op) (Py_TYPE(op) == &PyList_Type)
|
46
|
+
|
47
|
+
PyAPI_FUNC(PyObject *) PyList_New(Py_ssize_t size);
|
48
|
+
PyAPI_FUNC(Py_ssize_t) PyList_Size(PyObject *);
|
49
|
+
PyAPI_FUNC(PyObject *) PyList_GetItem(PyObject *, Py_ssize_t);
|
50
|
+
PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *);
|
51
|
+
PyAPI_FUNC(int) PyList_Insert(PyObject *, Py_ssize_t, PyObject *);
|
52
|
+
PyAPI_FUNC(int) PyList_Append(PyObject *, PyObject *);
|
53
|
+
PyAPI_FUNC(PyObject *) PyList_GetSlice(PyObject *, Py_ssize_t, Py_ssize_t);
|
54
|
+
PyAPI_FUNC(int) PyList_SetSlice(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *);
|
55
|
+
PyAPI_FUNC(int) PyList_Sort(PyObject *);
|
56
|
+
PyAPI_FUNC(int) PyList_Reverse(PyObject *);
|
57
|
+
PyAPI_FUNC(PyObject *) PyList_AsTuple(PyObject *);
|
58
|
+
PyAPI_FUNC(PyObject *) _PyList_Extend(PyListObject *, PyObject *);
|
59
|
+
|
60
|
+
/* Macro, trading safety for speed */
|
61
|
+
#define PyList_GET_ITEM(op, i) (((PyListObject *)(op))->ob_item[i])
|
62
|
+
#define PyList_SET_ITEM(op, i, v) (((PyListObject *)(op))->ob_item[i] = (v))
|
63
|
+
#define PyList_GET_SIZE(op) Py_SIZE(op)
|
64
|
+
|
65
|
+
#ifdef __cplusplus
|
66
|
+
}
|
67
|
+
#endif
|
68
|
+
#endif /* !Py_LISTOBJECT_H */
|
@@ -0,0 +1,103 @@
|
|
1
|
+
#ifndef Py_LONGINTREPR_H
|
2
|
+
#define Py_LONGINTREPR_H
|
3
|
+
#ifdef __cplusplus
|
4
|
+
extern "C" {
|
5
|
+
#endif
|
6
|
+
|
7
|
+
|
8
|
+
/* This is published for the benefit of "friend" marshal.c only. */
|
9
|
+
|
10
|
+
/* Parameters of the long integer representation. There are two different
|
11
|
+
sets of parameters: one set for 30-bit digits, stored in an unsigned 32-bit
|
12
|
+
integer type, and one set for 15-bit digits with each digit stored in an
|
13
|
+
unsigned short. The value of PYLONG_BITS_IN_DIGIT, defined either at
|
14
|
+
configure time or in pyport.h, is used to decide which digit size to use.
|
15
|
+
|
16
|
+
Type 'digit' should be able to hold 2*PyLong_BASE-1, and type 'twodigits'
|
17
|
+
should be an unsigned integer type able to hold all integers up to
|
18
|
+
PyLong_BASE*PyLong_BASE-1. x_sub assumes that 'digit' is an unsigned type,
|
19
|
+
and that overflow is handled by taking the result modulo 2**N for some N >
|
20
|
+
PyLong_SHIFT. The majority of the code doesn't care about the precise
|
21
|
+
value of PyLong_SHIFT, but there are some notable exceptions:
|
22
|
+
|
23
|
+
- long_pow() requires that PyLong_SHIFT be divisible by 5
|
24
|
+
|
25
|
+
- PyLong_{As,From}ByteArray require that PyLong_SHIFT be at least 8
|
26
|
+
|
27
|
+
- long_hash() requires that PyLong_SHIFT is *strictly* less than the number
|
28
|
+
of bits in an unsigned long, as do the PyLong <-> long (or unsigned long)
|
29
|
+
conversion functions
|
30
|
+
|
31
|
+
- the long <-> size_t/Py_ssize_t conversion functions expect that
|
32
|
+
PyLong_SHIFT is strictly less than the number of bits in a size_t
|
33
|
+
|
34
|
+
- the marshal code currently expects that PyLong_SHIFT is a multiple of 15
|
35
|
+
|
36
|
+
The values 15 and 30 should fit all of the above requirements, on any
|
37
|
+
platform.
|
38
|
+
*/
|
39
|
+
|
40
|
+
#if PYLONG_BITS_IN_DIGIT == 30
|
41
|
+
#if !(defined HAVE_UINT64_T && defined HAVE_UINT32_T && \
|
42
|
+
defined HAVE_INT64_T && defined HAVE_INT32_T)
|
43
|
+
#error "30-bit long digits requested, but the necessary types are not available on this platform"
|
44
|
+
#endif
|
45
|
+
typedef PY_UINT32_T digit;
|
46
|
+
typedef PY_INT32_T sdigit; /* signed variant of digit */
|
47
|
+
typedef PY_UINT64_T twodigits;
|
48
|
+
typedef PY_INT64_T stwodigits; /* signed variant of twodigits */
|
49
|
+
#define PyLong_SHIFT 30
|
50
|
+
#define _PyLong_DECIMAL_SHIFT 9 /* max(e such that 10**e fits in a digit) */
|
51
|
+
#define _PyLong_DECIMAL_BASE ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
|
52
|
+
#elif PYLONG_BITS_IN_DIGIT == 15
|
53
|
+
typedef unsigned short digit;
|
54
|
+
typedef short sdigit; /* signed variant of digit */
|
55
|
+
typedef unsigned long twodigits;
|
56
|
+
typedef long stwodigits; /* signed variant of twodigits */
|
57
|
+
#define PyLong_SHIFT 15
|
58
|
+
#define _PyLong_DECIMAL_SHIFT 4 /* max(e such that 10**e fits in a digit) */
|
59
|
+
#define _PyLong_DECIMAL_BASE ((digit)10000) /* 10 ** DECIMAL_SHIFT */
|
60
|
+
#else
|
61
|
+
#error "PYLONG_BITS_IN_DIGIT should be 15 or 30"
|
62
|
+
#endif
|
63
|
+
#define PyLong_BASE ((digit)1 << PyLong_SHIFT)
|
64
|
+
#define PyLong_MASK ((digit)(PyLong_BASE - 1))
|
65
|
+
|
66
|
+
/* b/w compatibility with Python 2.5 */
|
67
|
+
#define SHIFT PyLong_SHIFT
|
68
|
+
#define BASE PyLong_BASE
|
69
|
+
#define MASK PyLong_MASK
|
70
|
+
|
71
|
+
#if PyLong_SHIFT % 5 != 0
|
72
|
+
#error "longobject.c requires that PyLong_SHIFT be divisible by 5"
|
73
|
+
#endif
|
74
|
+
|
75
|
+
/* Long integer representation.
|
76
|
+
The absolute value of a number is equal to
|
77
|
+
SUM(for i=0 through abs(ob_size)-1) ob_digit[i] * 2**(SHIFT*i)
|
78
|
+
Negative numbers are represented with ob_size < 0;
|
79
|
+
zero is represented by ob_size == 0.
|
80
|
+
In a normalized number, ob_digit[abs(ob_size)-1] (the most significant
|
81
|
+
digit) is never zero. Also, in all cases, for all valid i,
|
82
|
+
0 <= ob_digit[i] <= MASK.
|
83
|
+
The allocation function takes care of allocating extra memory
|
84
|
+
so that ob_digit[0] ... ob_digit[abs(ob_size)-1] are actually available.
|
85
|
+
|
86
|
+
CAUTION: Generic code manipulating subtypes of PyVarObject has to
|
87
|
+
aware that longs abuse ob_size's sign bit.
|
88
|
+
*/
|
89
|
+
|
90
|
+
struct _longobject {
|
91
|
+
PyObject_VAR_HEAD
|
92
|
+
digit ob_digit[1];
|
93
|
+
};
|
94
|
+
|
95
|
+
PyAPI_FUNC(PyLongObject *) _PyLong_New(Py_ssize_t);
|
96
|
+
|
97
|
+
/* Return a copy of src. */
|
98
|
+
PyAPI_FUNC(PyObject *) _PyLong_Copy(PyLongObject *src);
|
99
|
+
|
100
|
+
#ifdef __cplusplus
|
101
|
+
}
|
102
|
+
#endif
|
103
|
+
#endif /* !Py_LONGINTREPR_H */
|
@@ -0,0 +1,135 @@
|
|
1
|
+
#ifndef Py_LONGOBJECT_H
|
2
|
+
#define Py_LONGOBJECT_H
|
3
|
+
#ifdef __cplusplus
|
4
|
+
extern "C" {
|
5
|
+
#endif
|
6
|
+
|
7
|
+
|
8
|
+
/* Long (arbitrary precision) integer object interface */
|
9
|
+
|
10
|
+
typedef struct _longobject PyLongObject; /* Revealed in longintrepr.h */
|
11
|
+
|
12
|
+
PyAPI_DATA(PyTypeObject) PyLong_Type;
|
13
|
+
|
14
|
+
#define PyLong_Check(op) \
|
15
|
+
PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
|
16
|
+
#define PyLong_CheckExact(op) (Py_TYPE(op) == &PyLong_Type)
|
17
|
+
|
18
|
+
PyAPI_FUNC(PyObject *) PyLong_FromLong(long);
|
19
|
+
PyAPI_FUNC(PyObject *) PyLong_FromUnsignedLong(unsigned long);
|
20
|
+
PyAPI_FUNC(PyObject *) PyLong_FromDouble(double);
|
21
|
+
PyAPI_FUNC(PyObject *) PyLong_FromSize_t(size_t);
|
22
|
+
PyAPI_FUNC(PyObject *) PyLong_FromSsize_t(Py_ssize_t);
|
23
|
+
PyAPI_FUNC(long) PyLong_AsLong(PyObject *);
|
24
|
+
PyAPI_FUNC(long) PyLong_AsLongAndOverflow(PyObject *, int *);
|
25
|
+
PyAPI_FUNC(unsigned long) PyLong_AsUnsignedLong(PyObject *);
|
26
|
+
PyAPI_FUNC(unsigned long) PyLong_AsUnsignedLongMask(PyObject *);
|
27
|
+
PyAPI_FUNC(Py_ssize_t) PyLong_AsSsize_t(PyObject *);
|
28
|
+
PyAPI_FUNC(int) _PyLong_AsInt(PyObject *);
|
29
|
+
PyAPI_FUNC(PyObject *) PyLong_GetInfo(void);
|
30
|
+
|
31
|
+
/* For use by intobject.c only */
|
32
|
+
#define _PyLong_AsSsize_t PyLong_AsSsize_t
|
33
|
+
#define _PyLong_FromSize_t PyLong_FromSize_t
|
34
|
+
#define _PyLong_FromSsize_t PyLong_FromSsize_t
|
35
|
+
PyAPI_DATA(int) _PyLong_DigitValue[256];
|
36
|
+
|
37
|
+
/* _PyLong_Frexp returns a double x and an exponent e such that the
|
38
|
+
true value is approximately equal to x * 2**e. e is >= 0. x is
|
39
|
+
0.0 if and only if the input is 0 (in which case, e and x are both
|
40
|
+
zeroes); otherwise, 0.5 <= abs(x) < 1.0. On overflow, which is
|
41
|
+
possible if the number of bits doesn't fit into a Py_ssize_t, sets
|
42
|
+
OverflowError and returns -1.0 for x, 0 for e. */
|
43
|
+
PyAPI_FUNC(double) _PyLong_Frexp(PyLongObject *a, Py_ssize_t *e);
|
44
|
+
|
45
|
+
PyAPI_FUNC(double) PyLong_AsDouble(PyObject *);
|
46
|
+
PyAPI_FUNC(PyObject *) PyLong_FromVoidPtr(void *);
|
47
|
+
PyAPI_FUNC(void *) PyLong_AsVoidPtr(PyObject *);
|
48
|
+
|
49
|
+
#ifdef HAVE_LONG_LONG
|
50
|
+
PyAPI_FUNC(PyObject *) PyLong_FromLongLong(PY_LONG_LONG);
|
51
|
+
PyAPI_FUNC(PyObject *) PyLong_FromUnsignedLongLong(unsigned PY_LONG_LONG);
|
52
|
+
PyAPI_FUNC(PY_LONG_LONG) PyLong_AsLongLong(PyObject *);
|
53
|
+
PyAPI_FUNC(unsigned PY_LONG_LONG) PyLong_AsUnsignedLongLong(PyObject *);
|
54
|
+
PyAPI_FUNC(unsigned PY_LONG_LONG) PyLong_AsUnsignedLongLongMask(PyObject *);
|
55
|
+
PyAPI_FUNC(PY_LONG_LONG) PyLong_AsLongLongAndOverflow(PyObject *, int *);
|
56
|
+
#endif /* HAVE_LONG_LONG */
|
57
|
+
|
58
|
+
PyAPI_FUNC(PyObject *) PyLong_FromString(char *, char **, int);
|
59
|
+
#ifdef Py_USING_UNICODE
|
60
|
+
PyAPI_FUNC(PyObject *) PyLong_FromUnicode(Py_UNICODE*, Py_ssize_t, int);
|
61
|
+
#endif
|
62
|
+
|
63
|
+
/* _PyLong_Sign. Return 0 if v is 0, -1 if v < 0, +1 if v > 0.
|
64
|
+
v must not be NULL, and must be a normalized long.
|
65
|
+
There are no error cases.
|
66
|
+
*/
|
67
|
+
PyAPI_FUNC(int) _PyLong_Sign(PyObject *v);
|
68
|
+
|
69
|
+
|
70
|
+
/* _PyLong_NumBits. Return the number of bits needed to represent the
|
71
|
+
absolute value of a long. For example, this returns 1 for 1 and -1, 2
|
72
|
+
for 2 and -2, and 2 for 3 and -3. It returns 0 for 0.
|
73
|
+
v must not be NULL, and must be a normalized long.
|
74
|
+
(size_t)-1 is returned and OverflowError set if the true result doesn't
|
75
|
+
fit in a size_t.
|
76
|
+
*/
|
77
|
+
PyAPI_FUNC(size_t) _PyLong_NumBits(PyObject *v);
|
78
|
+
|
79
|
+
/* _PyLong_FromByteArray: View the n unsigned bytes as a binary integer in
|
80
|
+
base 256, and return a Python long with the same numeric value.
|
81
|
+
If n is 0, the integer is 0. Else:
|
82
|
+
If little_endian is 1/true, bytes[n-1] is the MSB and bytes[0] the LSB;
|
83
|
+
else (little_endian is 0/false) bytes[0] is the MSB and bytes[n-1] the
|
84
|
+
LSB.
|
85
|
+
If is_signed is 0/false, view the bytes as a non-negative integer.
|
86
|
+
If is_signed is 1/true, view the bytes as a 2's-complement integer,
|
87
|
+
non-negative if bit 0x80 of the MSB is clear, negative if set.
|
88
|
+
Error returns:
|
89
|
+
+ Return NULL with the appropriate exception set if there's not
|
90
|
+
enough memory to create the Python long.
|
91
|
+
*/
|
92
|
+
PyAPI_FUNC(PyObject *) _PyLong_FromByteArray(
|
93
|
+
const unsigned char* bytes, size_t n,
|
94
|
+
int little_endian, int is_signed);
|
95
|
+
|
96
|
+
/* _PyLong_AsByteArray: Convert the least-significant 8*n bits of long
|
97
|
+
v to a base-256 integer, stored in array bytes. Normally return 0,
|
98
|
+
return -1 on error.
|
99
|
+
If little_endian is 1/true, store the MSB at bytes[n-1] and the LSB at
|
100
|
+
bytes[0]; else (little_endian is 0/false) store the MSB at bytes[0] and
|
101
|
+
the LSB at bytes[n-1].
|
102
|
+
If is_signed is 0/false, it's an error if v < 0; else (v >= 0) n bytes
|
103
|
+
are filled and there's nothing special about bit 0x80 of the MSB.
|
104
|
+
If is_signed is 1/true, bytes is filled with the 2's-complement
|
105
|
+
representation of v's value. Bit 0x80 of the MSB is the sign bit.
|
106
|
+
Error returns (-1):
|
107
|
+
+ is_signed is 0 and v < 0. TypeError is set in this case, and bytes
|
108
|
+
isn't altered.
|
109
|
+
+ n isn't big enough to hold the full mathematical value of v. For
|
110
|
+
example, if is_signed is 0 and there are more digits in the v than
|
111
|
+
fit in n; or if is_signed is 1, v < 0, and n is just 1 bit shy of
|
112
|
+
being large enough to hold a sign bit. OverflowError is set in this
|
113
|
+
case, but bytes holds the least-significant n bytes of the true value.
|
114
|
+
*/
|
115
|
+
PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
|
116
|
+
unsigned char* bytes, size_t n,
|
117
|
+
int little_endian, int is_signed);
|
118
|
+
|
119
|
+
/* _PyLong_Format: Convert the long to a string object with given base,
|
120
|
+
appending a base prefix of 0[box] if base is 2, 8 or 16.
|
121
|
+
Add a trailing "L" if addL is non-zero.
|
122
|
+
If newstyle is zero, then use the pre-2.6 behavior of octal having
|
123
|
+
a leading "0", instead of the prefix "0o" */
|
124
|
+
PyAPI_FUNC(PyObject *) _PyLong_Format(PyObject *aa, int base, int addL, int newstyle);
|
125
|
+
|
126
|
+
/* Format the object based on the format_spec, as defined in PEP 3101
|
127
|
+
(Advanced String Formatting). */
|
128
|
+
PyAPI_FUNC(PyObject *) _PyLong_FormatAdvanced(PyObject *obj,
|
129
|
+
char *format_spec,
|
130
|
+
Py_ssize_t format_spec_len);
|
131
|
+
|
132
|
+
#ifdef __cplusplus
|
133
|
+
}
|
134
|
+
#endif
|
135
|
+
#endif /* !Py_LONGOBJECT_H */
|
@@ -0,0 +1,25 @@
|
|
1
|
+
|
2
|
+
/* Interface for marshal.c */
|
3
|
+
|
4
|
+
#ifndef Py_MARSHAL_H
|
5
|
+
#define Py_MARSHAL_H
|
6
|
+
#ifdef __cplusplus
|
7
|
+
extern "C" {
|
8
|
+
#endif
|
9
|
+
|
10
|
+
#define Py_MARSHAL_VERSION 2
|
11
|
+
|
12
|
+
PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *, int);
|
13
|
+
PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *, int);
|
14
|
+
PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *, int);
|
15
|
+
|
16
|
+
PyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *);
|
17
|
+
PyAPI_FUNC(int) PyMarshal_ReadShortFromFile(FILE *);
|
18
|
+
PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromFile(FILE *);
|
19
|
+
PyAPI_FUNC(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *);
|
20
|
+
PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromString(char *, Py_ssize_t);
|
21
|
+
|
22
|
+
#ifdef __cplusplus
|
23
|
+
}
|
24
|
+
#endif
|
25
|
+
#endif /* !Py_MARSHAL_H */
|
@@ -0,0 +1,74 @@
|
|
1
|
+
/* Memory view object. In Python this is available as "memoryview". */
|
2
|
+
|
3
|
+
#ifndef Py_MEMORYOBJECT_H
|
4
|
+
#define Py_MEMORYOBJECT_H
|
5
|
+
#ifdef __cplusplus
|
6
|
+
extern "C" {
|
7
|
+
#endif
|
8
|
+
|
9
|
+
PyAPI_DATA(PyTypeObject) PyMemoryView_Type;
|
10
|
+
|
11
|
+
#define PyMemoryView_Check(op) (Py_TYPE(op) == &PyMemoryView_Type)
|
12
|
+
|
13
|
+
/* Get a pointer to the underlying Py_buffer of a memoryview object. */
|
14
|
+
#define PyMemoryView_GET_BUFFER(op) (&((PyMemoryViewObject *)(op))->view)
|
15
|
+
/* Get a pointer to the PyObject from which originates a memoryview object. */
|
16
|
+
#define PyMemoryView_GET_BASE(op) (((PyMemoryViewObject *)(op))->view.obj)
|
17
|
+
|
18
|
+
|
19
|
+
PyAPI_FUNC(PyObject *) PyMemoryView_GetContiguous(PyObject *base,
|
20
|
+
int buffertype,
|
21
|
+
char fort);
|
22
|
+
|
23
|
+
/* Return a contiguous chunk of memory representing the buffer
|
24
|
+
from an object in a memory view object. If a copy is made then the
|
25
|
+
base object for the memory view will be a *new* bytes object.
|
26
|
+
|
27
|
+
Otherwise, the base-object will be the object itself and no
|
28
|
+
data-copying will be done.
|
29
|
+
|
30
|
+
The buffertype argument can be PyBUF_READ, PyBUF_WRITE,
|
31
|
+
PyBUF_SHADOW to determine whether the returned buffer
|
32
|
+
should be READONLY, WRITABLE, or set to update the
|
33
|
+
original buffer if a copy must be made. If buffertype is
|
34
|
+
PyBUF_WRITE and the buffer is not contiguous an error will
|
35
|
+
be raised. In this circumstance, the user can use
|
36
|
+
PyBUF_SHADOW to ensure that a writable temporary
|
37
|
+
contiguous buffer is returned. The contents of this
|
38
|
+
contiguous buffer will be copied back into the original
|
39
|
+
object after the memoryview object is deleted as long as
|
40
|
+
the original object is writable and allows setting an
|
41
|
+
exclusive write lock. If this is not allowed by the
|
42
|
+
original object, then a BufferError is raised.
|
43
|
+
|
44
|
+
If the object is multi-dimensional and if fortran is 'F',
|
45
|
+
the first dimension of the underlying array will vary the
|
46
|
+
fastest in the buffer. If fortran is 'C', then the last
|
47
|
+
dimension will vary the fastest (C-style contiguous). If
|
48
|
+
fortran is 'A', then it does not matter and you will get
|
49
|
+
whatever the object decides is more efficient.
|
50
|
+
|
51
|
+
A new reference is returned that must be DECREF'd when finished.
|
52
|
+
*/
|
53
|
+
|
54
|
+
PyAPI_FUNC(PyObject *) PyMemoryView_FromObject(PyObject *base);
|
55
|
+
|
56
|
+
PyAPI_FUNC(PyObject *) PyMemoryView_FromBuffer(Py_buffer *info);
|
57
|
+
/* create new if bufptr is NULL
|
58
|
+
will be a new bytesobject in base */
|
59
|
+
|
60
|
+
|
61
|
+
/* The struct is declared here so that macros can work, but it shouldn't
|
62
|
+
be considered public. Don't access those fields directly, use the macros
|
63
|
+
and functions instead! */
|
64
|
+
typedef struct {
|
65
|
+
PyObject_HEAD
|
66
|
+
PyObject *base;
|
67
|
+
Py_buffer view;
|
68
|
+
} PyMemoryViewObject;
|
69
|
+
|
70
|
+
|
71
|
+
#ifdef __cplusplus
|
72
|
+
}
|
73
|
+
#endif
|
74
|
+
#endif /* !Py_MEMORYOBJECT_H */
|
@@ -0,0 +1,18 @@
|
|
1
|
+
#ifndef Py_METAGRAMMAR_H
|
2
|
+
#define Py_METAGRAMMAR_H
|
3
|
+
#ifdef __cplusplus
|
4
|
+
extern "C" {
|
5
|
+
#endif
|
6
|
+
|
7
|
+
|
8
|
+
#define MSTART 256
|
9
|
+
#define RULE 257
|
10
|
+
#define RHS 258
|
11
|
+
#define ALT 259
|
12
|
+
#define ITEM 260
|
13
|
+
#define ATOM 261
|
14
|
+
|
15
|
+
#ifdef __cplusplus
|
16
|
+
}
|
17
|
+
#endif
|
18
|
+
#endif /* !Py_METAGRAMMAR_H */
|
@@ -0,0 +1,93 @@
|
|
1
|
+
|
2
|
+
/* Method object interface */
|
3
|
+
|
4
|
+
#ifndef Py_METHODOBJECT_H
|
5
|
+
#define Py_METHODOBJECT_H
|
6
|
+
#ifdef __cplusplus
|
7
|
+
extern "C" {
|
8
|
+
#endif
|
9
|
+
|
10
|
+
/* This is about the type 'builtin_function_or_method',
|
11
|
+
not Python methods in user-defined classes. See classobject.h
|
12
|
+
for the latter. */
|
13
|
+
|
14
|
+
PyAPI_DATA(PyTypeObject) PyCFunction_Type;
|
15
|
+
|
16
|
+
#define PyCFunction_Check(op) (Py_TYPE(op) == &PyCFunction_Type)
|
17
|
+
|
18
|
+
typedef PyObject *(*PyCFunction)(PyObject *, PyObject *);
|
19
|
+
typedef PyObject *(*PyCFunctionWithKeywords)(PyObject *, PyObject *,
|
20
|
+
PyObject *);
|
21
|
+
typedef PyObject *(*PyNoArgsFunction)(PyObject *);
|
22
|
+
|
23
|
+
PyAPI_FUNC(PyCFunction) PyCFunction_GetFunction(PyObject *);
|
24
|
+
PyAPI_FUNC(PyObject *) PyCFunction_GetSelf(PyObject *);
|
25
|
+
PyAPI_FUNC(int) PyCFunction_GetFlags(PyObject *);
|
26
|
+
|
27
|
+
/* Macros for direct access to these values. Type checks are *not*
|
28
|
+
done, so use with care. */
|
29
|
+
#define PyCFunction_GET_FUNCTION(func) \
|
30
|
+
(((PyCFunctionObject *)func) -> m_ml -> ml_meth)
|
31
|
+
#define PyCFunction_GET_SELF(func) \
|
32
|
+
(((PyCFunctionObject *)func) -> m_self)
|
33
|
+
#define PyCFunction_GET_FLAGS(func) \
|
34
|
+
(((PyCFunctionObject *)func) -> m_ml -> ml_flags)
|
35
|
+
PyAPI_FUNC(PyObject *) PyCFunction_Call(PyObject *, PyObject *, PyObject *);
|
36
|
+
|
37
|
+
struct PyMethodDef {
|
38
|
+
const char *ml_name; /* The name of the built-in function/method */
|
39
|
+
PyCFunction ml_meth; /* The C function that implements it */
|
40
|
+
int ml_flags; /* Combination of METH_xxx flags, which mostly
|
41
|
+
describe the args expected by the C func */
|
42
|
+
const char *ml_doc; /* The __doc__ attribute, or NULL */
|
43
|
+
};
|
44
|
+
typedef struct PyMethodDef PyMethodDef;
|
45
|
+
|
46
|
+
PyAPI_FUNC(PyObject *) Py_FindMethod(PyMethodDef[], PyObject *, const char *);
|
47
|
+
|
48
|
+
#define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL)
|
49
|
+
PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
|
50
|
+
PyObject *);
|
51
|
+
|
52
|
+
/* Flag passed to newmethodobject */
|
53
|
+
#define METH_OLDARGS 0x0000
|
54
|
+
#define METH_VARARGS 0x0001
|
55
|
+
#define METH_KEYWORDS 0x0002
|
56
|
+
/* METH_NOARGS and METH_O must not be combined with the flags above. */
|
57
|
+
#define METH_NOARGS 0x0004
|
58
|
+
#define METH_O 0x0008
|
59
|
+
|
60
|
+
/* METH_CLASS and METH_STATIC are a little different; these control
|
61
|
+
the construction of methods for a class. These cannot be used for
|
62
|
+
functions in modules. */
|
63
|
+
#define METH_CLASS 0x0010
|
64
|
+
#define METH_STATIC 0x0020
|
65
|
+
|
66
|
+
/* METH_COEXIST allows a method to be entered eventhough a slot has
|
67
|
+
already filled the entry. When defined, the flag allows a separate
|
68
|
+
method, "__contains__" for example, to coexist with a defined
|
69
|
+
slot like sq_contains. */
|
70
|
+
|
71
|
+
#define METH_COEXIST 0x0040
|
72
|
+
|
73
|
+
typedef struct PyMethodChain {
|
74
|
+
PyMethodDef *methods; /* Methods of this type */
|
75
|
+
struct PyMethodChain *link; /* NULL or base type */
|
76
|
+
} PyMethodChain;
|
77
|
+
|
78
|
+
PyAPI_FUNC(PyObject *) Py_FindMethodInChain(PyMethodChain *, PyObject *,
|
79
|
+
const char *);
|
80
|
+
|
81
|
+
typedef struct {
|
82
|
+
PyObject_HEAD
|
83
|
+
PyMethodDef *m_ml; /* Description of the C function to call */
|
84
|
+
PyObject *m_self; /* Passed as 'self' arg to the C func, can be NULL */
|
85
|
+
PyObject *m_module; /* The __module__ attribute, can be anything */
|
86
|
+
} PyCFunctionObject;
|
87
|
+
|
88
|
+
PyAPI_FUNC(int) PyCFunction_ClearFreeList(void);
|
89
|
+
|
90
|
+
#ifdef __cplusplus
|
91
|
+
}
|
92
|
+
#endif
|
93
|
+
#endif /* !Py_METHODOBJECT_H */
|
@@ -0,0 +1,134 @@
|
|
1
|
+
|
2
|
+
#ifndef Py_MODSUPPORT_H
|
3
|
+
#define Py_MODSUPPORT_H
|
4
|
+
#ifdef __cplusplus
|
5
|
+
extern "C" {
|
6
|
+
#endif
|
7
|
+
|
8
|
+
/* Module support interface */
|
9
|
+
|
10
|
+
#include <stdarg.h>
|
11
|
+
|
12
|
+
/* If PY_SSIZE_T_CLEAN is defined, each functions treats #-specifier
|
13
|
+
to mean Py_ssize_t */
|
14
|
+
#ifdef PY_SSIZE_T_CLEAN
|
15
|
+
#define PyArg_Parse _PyArg_Parse_SizeT
|
16
|
+
#define PyArg_ParseTuple _PyArg_ParseTuple_SizeT
|
17
|
+
#define PyArg_ParseTupleAndKeywords _PyArg_ParseTupleAndKeywords_SizeT
|
18
|
+
#define PyArg_VaParse _PyArg_VaParse_SizeT
|
19
|
+
#define PyArg_VaParseTupleAndKeywords _PyArg_VaParseTupleAndKeywords_SizeT
|
20
|
+
#define Py_BuildValue _Py_BuildValue_SizeT
|
21
|
+
#define Py_VaBuildValue _Py_VaBuildValue_SizeT
|
22
|
+
#else
|
23
|
+
PyAPI_FUNC(PyObject *) _Py_VaBuildValue_SizeT(const char *, va_list);
|
24
|
+
#endif
|
25
|
+
|
26
|
+
PyAPI_FUNC(int) PyArg_Parse(PyObject *, const char *, ...);
|
27
|
+
PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3);
|
28
|
+
PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
|
29
|
+
const char *, char **, ...);
|
30
|
+
PyAPI_FUNC(int) PyArg_UnpackTuple(PyObject *, const char *, Py_ssize_t, Py_ssize_t, ...);
|
31
|
+
PyAPI_FUNC(PyObject *) Py_BuildValue(const char *, ...);
|
32
|
+
PyAPI_FUNC(PyObject *) _Py_BuildValue_SizeT(const char *, ...);
|
33
|
+
PyAPI_FUNC(int) _PyArg_NoKeywords(const char *funcname, PyObject *kw);
|
34
|
+
|
35
|
+
PyAPI_FUNC(int) PyArg_VaParse(PyObject *, const char *, va_list);
|
36
|
+
PyAPI_FUNC(int) PyArg_VaParseTupleAndKeywords(PyObject *, PyObject *,
|
37
|
+
const char *, char **, va_list);
|
38
|
+
PyAPI_FUNC(PyObject *) Py_VaBuildValue(const char *, va_list);
|
39
|
+
|
40
|
+
PyAPI_FUNC(int) PyModule_AddObject(PyObject *, const char *, PyObject *);
|
41
|
+
PyAPI_FUNC(int) PyModule_AddIntConstant(PyObject *, const char *, long);
|
42
|
+
PyAPI_FUNC(int) PyModule_AddStringConstant(PyObject *, const char *, const char *);
|
43
|
+
#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
|
44
|
+
#define PyModule_AddStringMacro(m, c) PyModule_AddStringConstant(m, #c, c)
|
45
|
+
|
46
|
+
#define PYTHON_API_VERSION 1013
|
47
|
+
#define PYTHON_API_STRING "1013"
|
48
|
+
/* The API version is maintained (independently from the Python version)
|
49
|
+
so we can detect mismatches between the interpreter and dynamically
|
50
|
+
loaded modules. These are diagnosed by an error message but
|
51
|
+
the module is still loaded (because the mismatch can only be tested
|
52
|
+
after loading the module). The error message is intended to
|
53
|
+
explain the core dump a few seconds later.
|
54
|
+
|
55
|
+
The symbol PYTHON_API_STRING defines the same value as a string
|
56
|
+
literal. *** PLEASE MAKE SURE THE DEFINITIONS MATCH. ***
|
57
|
+
|
58
|
+
Please add a line or two to the top of this log for each API
|
59
|
+
version change:
|
60
|
+
|
61
|
+
22-Feb-2006 MvL 1013 PEP 353 - long indices for sequence lengths
|
62
|
+
|
63
|
+
19-Aug-2002 GvR 1012 Changes to string object struct for
|
64
|
+
interning changes, saving 3 bytes.
|
65
|
+
|
66
|
+
17-Jul-2001 GvR 1011 Descr-branch, just to be on the safe side
|
67
|
+
|
68
|
+
25-Jan-2001 FLD 1010 Parameters added to PyCode_New() and
|
69
|
+
PyFrame_New(); Python 2.1a2
|
70
|
+
|
71
|
+
14-Mar-2000 GvR 1009 Unicode API added
|
72
|
+
|
73
|
+
3-Jan-1999 GvR 1007 Decided to change back! (Don't reuse 1008!)
|
74
|
+
|
75
|
+
3-Dec-1998 GvR 1008 Python 1.5.2b1
|
76
|
+
|
77
|
+
18-Jan-1997 GvR 1007 string interning and other speedups
|
78
|
+
|
79
|
+
11-Oct-1996 GvR renamed Py_Ellipses to Py_Ellipsis :-(
|
80
|
+
|
81
|
+
30-Jul-1996 GvR Slice and ellipses syntax added
|
82
|
+
|
83
|
+
23-Jul-1996 GvR For 1.4 -- better safe than sorry this time :-)
|
84
|
+
|
85
|
+
7-Nov-1995 GvR Keyword arguments (should've been done at 1.3 :-( )
|
86
|
+
|
87
|
+
10-Jan-1995 GvR Renamed globals to new naming scheme
|
88
|
+
|
89
|
+
9-Jan-1995 GvR Initial version (incompatible with older API)
|
90
|
+
*/
|
91
|
+
|
92
|
+
#ifdef MS_WINDOWS
|
93
|
+
/* Special defines for Windows versions used to live here. Things
|
94
|
+
have changed, and the "Version" is now in a global string variable.
|
95
|
+
Reason for this is that this for easier branding of a "custom DLL"
|
96
|
+
without actually needing a recompile. */
|
97
|
+
#endif /* MS_WINDOWS */
|
98
|
+
|
99
|
+
#if SIZEOF_SIZE_T != SIZEOF_INT
|
100
|
+
/* On a 64-bit system, rename the Py_InitModule4 so that 2.4
|
101
|
+
modules cannot get loaded into a 2.5 interpreter */
|
102
|
+
#define Py_InitModule4 Py_InitModule4_64
|
103
|
+
#endif
|
104
|
+
|
105
|
+
#ifdef Py_TRACE_REFS
|
106
|
+
/* When we are tracing reference counts, rename Py_InitModule4 so
|
107
|
+
modules compiled with incompatible settings will generate a
|
108
|
+
link-time error. */
|
109
|
+
#if SIZEOF_SIZE_T != SIZEOF_INT
|
110
|
+
#undef Py_InitModule4
|
111
|
+
#define Py_InitModule4 Py_InitModule4TraceRefs_64
|
112
|
+
#else
|
113
|
+
#define Py_InitModule4 Py_InitModule4TraceRefs
|
114
|
+
#endif
|
115
|
+
#endif
|
116
|
+
|
117
|
+
PyAPI_FUNC(PyObject *) Py_InitModule4(const char *name, PyMethodDef *methods,
|
118
|
+
const char *doc, PyObject *self,
|
119
|
+
int apiver);
|
120
|
+
|
121
|
+
#define Py_InitModule(name, methods) \
|
122
|
+
Py_InitModule4(name, methods, (char *)NULL, (PyObject *)NULL, \
|
123
|
+
PYTHON_API_VERSION)
|
124
|
+
|
125
|
+
#define Py_InitModule3(name, methods, doc) \
|
126
|
+
Py_InitModule4(name, methods, doc, (PyObject *)NULL, \
|
127
|
+
PYTHON_API_VERSION)
|
128
|
+
|
129
|
+
PyAPI_DATA(char *) _Py_PackageContext;
|
130
|
+
|
131
|
+
#ifdef __cplusplus
|
132
|
+
}
|
133
|
+
#endif
|
134
|
+
#endif /* !Py_MODSUPPORT_H */
|