py2docfx 0.1.13.dev2016838__py3-none-any.whl → 0.1.13.dev2021865__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.
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/_modified.py +26 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +2 -603
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/archive_util.py +48 -18
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/ccompiler.py +17 -1257
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/cmd.py +133 -41
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/bdist.py +19 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/bdist_dumb.py +2 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/bdist_rpm.py +6 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build.py +8 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_clib.py +8 -7
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_ext.py +32 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_py.py +10 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_scripts.py +3 -14
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/clean.py +2 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/config.py +1 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install.py +22 -19
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install_data.py +4 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install_headers.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install_lib.py +11 -7
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install_scripts.py +4 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/sdist.py +22 -16
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compat/__init__.py +6 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +1391 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/cygwin.py +340 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/errors.py +24 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +614 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/{tests/test_ccompiler.py → compilers/C/tests/test_base.py} +9 -19
- py2docfx/venv/{venv1/Lib/site-packages/setuptools/_distutils/tests/test_cygwinccompiler.py → basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/tests/test_cygwin.py} +7 -12
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/{tests/test_mingwccompiler.py → compilers/C/tests/test_mingw.py} +12 -20
- py2docfx/venv/{venv1/Lib/site-packages/setuptools/_distutils/tests/test_msvccompiler.py → basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/tests/test_msvc.py} +11 -12
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/{tests/test_unixccompiler.py → compilers/C/tests/test_unix.py} +5 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +409 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/zos.py +230 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/cygwinccompiler.py +20 -328
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/dist.py +148 -80
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/errors.py +11 -27
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/extension.py +19 -16
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/filelist.py +80 -15
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/spawn.py +22 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/sysconfig.py +32 -7
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +13 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/tests/test_sdist.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/unixccompiler.py +2 -401
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/util.py +38 -23
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/zosccompiler.py +2 -228
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_static.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/command/editable_wheel.py +3 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/command/install.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +2 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_build_py.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/unicode_utils.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/__init__.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/ado_consts.py +3 -1
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/adodbapi.py +22 -26
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/apibase.py +3 -4
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_print.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_table_names.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/process_connect_string.py +7 -7
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/setup.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitest.py +21 -73
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitestconfig.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/dbapi20.py +11 -17
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/setuptestframework.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/isapi/install.py +8 -11
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_asynch.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_with_filter.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/isapi/simple.py +1 -0
- py2docfx/venv/venv1/Lib/site-packages/isapi/threaded_extension.py +1 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/basictimerapp.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/customprint.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/demoutils.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/cmdserver.py +2 -5
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/guidemo.py +14 -41
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/objdoc.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/demoutils.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/flash.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxserialtest.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxtest.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/webbrowser.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/openGLDemo.py +57 -12
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/toolbar.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/configui.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgcon.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/debugger.py +7 -8
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/fail.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/ideoptions.py +7 -10
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/list.py +11 -8
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/login.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/DockingBar.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/app.py +19 -22
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dbgcommands.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/ModuleBrowser.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/__init__.py +3 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/document.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/editor.py +6 -6
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/vss.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/help.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/interact.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpyapp.py +5 -7
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpydde.py +7 -2
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/scriptutils.py +4 -6
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/sgrepmdi.py +13 -22
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/startup.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/stdin.py +1 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/toolmenu.py +0 -2
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoIndent.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/CallTips.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/activex.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/dialog.py +7 -10
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/IDLEenvironment.py +1 -5
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/bindings.py +4 -2
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/config.py +3 -5
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/configui.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/document.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/formatter.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/keycodes.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/scintillacon.py +1178 -78
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/view.py +17 -21
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browser.py +6 -18
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/hierlist.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/_modified.py +26 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +2 -603
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/archive_util.py +48 -18
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/ccompiler.py +17 -1257
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/cmd.py +133 -41
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/bdist.py +19 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/bdist_dumb.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/bdist_rpm.py +6 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build.py +8 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_clib.py +8 -7
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_ext.py +32 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_py.py +10 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_scripts.py +3 -14
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/clean.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/config.py +1 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install.py +22 -19
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install_data.py +4 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install_headers.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install_lib.py +11 -7
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install_scripts.py +4 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/sdist.py +22 -16
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compat/__init__.py +6 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +1391 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/cygwin.py +340 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/errors.py +24 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +614 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/{tests/test_ccompiler.py → compilers/C/tests/test_base.py} +9 -19
- py2docfx/venv/{basevenv/Lib/site-packages/setuptools/_distutils/tests/test_cygwinccompiler.py → venv1/Lib/site-packages/setuptools/_distutils/compilers/C/tests/test_cygwin.py} +7 -12
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/{tests/test_mingwccompiler.py → compilers/C/tests/test_mingw.py} +12 -20
- py2docfx/venv/{basevenv/Lib/site-packages/setuptools/_distutils/tests/test_msvccompiler.py → venv1/Lib/site-packages/setuptools/_distutils/compilers/C/tests/test_msvc.py} +11 -12
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/{tests/test_unixccompiler.py → compilers/C/tests/test_unix.py} +5 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +409 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/zos.py +230 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/cygwinccompiler.py +20 -328
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/dist.py +148 -80
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/errors.py +11 -27
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/extension.py +19 -16
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/filelist.py +80 -15
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/spawn.py +22 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/sysconfig.py +32 -7
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +13 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/tests/test_sdist.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/unixccompiler.py +2 -401
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/util.py +38 -23
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/zosccompiler.py +2 -228
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_static.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/command/editable_wheel.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/command/install.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +2 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_build_py.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/unicode_utils.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtFormatMessage.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_push.py +8 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/GetSaveFileName.py +8 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/c_extension/setup.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeclient.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeserver.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/getfilever.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/runproc.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/rastest.py +4 -6
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/GetTokenInformation.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/account_rights.py +0 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/explicit_entries.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/get_policy_info.py +0 -3
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/list_rights.py +0 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/localized_names.py +7 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/query_information.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_audit.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_owner.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_policy_info.py +0 -3
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setkernelobjectsecurity.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setsecurityinfo.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setuserobjectsecurity.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/fetch_url.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/simple_auth.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/socket_server.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestService.py +10 -9
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestServiceClient.py +6 -3
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboardDemo.py +17 -5
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32comport_demo.py +32 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32console_demo.py +1 -4
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_devicenotify.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_menu.py +60 -5
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_taskbar.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32netdemo.py +2 -5
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32ts_logoff_disconnected.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/testwnet.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/commctrl.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/netbios.py +8 -10
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_bootstrap.py +2 -10
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_testutil.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywintypes.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regutil.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspi.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win2kras.py +14 -7
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32con.py +16 -35
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32cryptcon.py +1 -4
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32evtlogutil.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32gui_struct.py +6 -6
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhquery.py +10 -11
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhutil.py +5 -5
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32rcparser.py +1 -0
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32serviceutil.py +4 -6
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32timezone.py +304 -121
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32verstamp.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winerror.py +4926 -604
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winxptheme.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/h2py.py +194 -0
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_postinstall.py +733 -0
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_testall.py +120 -0
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/regsetup.py +4 -7
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/setup_d.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/test/handles.py +13 -5
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_clipboard.py +12 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_sspi.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32api.py +8 -4
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32clipboard.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32cred.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32crypt.py +16 -3
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32file.py +24 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32gui.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32guistruct.py +2 -5
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32inet.py +23 -6
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32net.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32ts.py +19 -0
- py2docfx/venv/venv1/Lib/site-packages/win32/winxpgui.py +3 -11
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/CLSIDToClass.py +3 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/__init__.py +97 -65
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/build.py +24 -24
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/combrowse.py +17 -33
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/dynamic.py +14 -14
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/gencache.py +30 -12
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/genpy.py +50 -98
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/makepy.py +12 -8
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/selecttlb.py +3 -4
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/util.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/dump_clipboard.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelAddin.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelRTDServer.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/iebutton.py +0 -3
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/ietoolbar.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/outlookAddin.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegw.py +48 -56
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwenum.py +2 -6
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwparse.py +9 -11
- py2docfx/venv/venv1/Lib/site-packages/win32com/olectl.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/connect.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/dispatcher.py +20 -24
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/exception.py +8 -8
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/policy.py +4 -18
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/register.py +5 -6
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/dictionary.py +2 -5
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/interp.py +7 -7
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/test_pycomtest.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/GenTestScripts.py +2 -4
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/errorSemantics.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/pippo_server.py +1 -4
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testADOEvents.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAXScript.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDictionary.py +4 -3
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDynamic.py +3 -5
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExchange.py +2 -7
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGatewayAddresses.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testIterators.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOffice.py +40 -57
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOfficeEvents.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPersist.py +7 -7
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPippo.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPyComTest.py +143 -7
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testServers.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testall.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testmakepy.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvb.py +12 -8
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/util.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/win32com/universal.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/win32com/util.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/scp.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/search.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditSecurity.py +1 -24
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditServiceSecurity.py +0 -20
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/adb.py +2 -8
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/codecontainer.py +16 -12
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/contexts.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/debugger.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/documents.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/dump.py +2 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/expressions.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/util.py +7 -14
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/debug.py +2 -14
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/error.py +4 -5
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/framework.py +5 -5
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pydumper.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript.py +5 -10
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/scriptdispatch.py +3 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/axsite.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/leakTest.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost4Dbg.py +0 -3
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/test_bits.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/demo/filterDemo.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/demos/mapisend.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/emsabtags.py +1 -0
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapitags.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapiutil.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/test/testpropsys.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IFileOperationProgressSink.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/ITransferAdviseSink.py +5 -3
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/column_provider.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/copy_hook.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/empty_volume_cache.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/folder_view.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/icon_handler.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/shell_view.py +4 -5
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_2.py +0 -1
- py2docfx/venv/venv1/Scripts/pywin32_postinstall.py +77 -122
- py2docfx/venv/venv1/Scripts/pywin32_testall.py +4 -9
- {py2docfx-0.1.13.dev2016838.dist-info → py2docfx-0.1.13.dev2021865.dist-info}/METADATA +1 -1
- {py2docfx-0.1.13.dev2016838.dist-info → py2docfx-0.1.13.dev2021865.dist-info}/RECORD +342 -330
- py2docfx/venv/venv1/Lib/site-packages/docs/conf.py +0 -384
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/mdi_pychecker.py +0 -850
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testNetscape.py +0 -24
- {py2docfx-0.1.13.dev2016838.dist-info → py2docfx-0.1.13.dev2021865.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.13.dev2016838.dist-info → py2docfx-0.1.13.dev2021865.dist-info}/top_level.txt +0 -0
@@ -1,229 +1,3 @@
|
|
1
|
-
|
1
|
+
from .compilers.C import zos
|
2
2
|
|
3
|
-
|
4
|
-
different c compilers on z/OS, all of them are optional, so the correct
|
5
|
-
one needs to be chosen based on the users input. This is compatible with
|
6
|
-
the following compilers:
|
7
|
-
|
8
|
-
IBM C/C++ For Open Enterprise Languages on z/OS 2.0
|
9
|
-
IBM Open XL C/C++ 1.1 for z/OS
|
10
|
-
IBM XL C/C++ V2.4.1 for z/OS 2.4 and 2.5
|
11
|
-
IBM z/OS XL C/C++
|
12
|
-
"""
|
13
|
-
|
14
|
-
import os
|
15
|
-
|
16
|
-
from . import sysconfig
|
17
|
-
from .errors import CompileError, DistutilsExecError
|
18
|
-
from .unixccompiler import UnixCCompiler
|
19
|
-
|
20
|
-
_cc_args = {
|
21
|
-
'ibm-openxl': [
|
22
|
-
'-m64',
|
23
|
-
'-fvisibility=default',
|
24
|
-
'-fzos-le-char-mode=ascii',
|
25
|
-
'-fno-short-enums',
|
26
|
-
],
|
27
|
-
'ibm-xlclang': [
|
28
|
-
'-q64',
|
29
|
-
'-qexportall',
|
30
|
-
'-qascii',
|
31
|
-
'-qstrict',
|
32
|
-
'-qnocsect',
|
33
|
-
'-Wa,asa,goff',
|
34
|
-
'-Wa,xplink',
|
35
|
-
'-qgonumber',
|
36
|
-
'-qenum=int',
|
37
|
-
'-Wc,DLL',
|
38
|
-
],
|
39
|
-
'ibm-xlc': [
|
40
|
-
'-q64',
|
41
|
-
'-qexportall',
|
42
|
-
'-qascii',
|
43
|
-
'-qstrict',
|
44
|
-
'-qnocsect',
|
45
|
-
'-Wa,asa,goff',
|
46
|
-
'-Wa,xplink',
|
47
|
-
'-qgonumber',
|
48
|
-
'-qenum=int',
|
49
|
-
'-Wc,DLL',
|
50
|
-
'-qlanglvl=extc99',
|
51
|
-
],
|
52
|
-
}
|
53
|
-
|
54
|
-
_cxx_args = {
|
55
|
-
'ibm-openxl': [
|
56
|
-
'-m64',
|
57
|
-
'-fvisibility=default',
|
58
|
-
'-fzos-le-char-mode=ascii',
|
59
|
-
'-fno-short-enums',
|
60
|
-
],
|
61
|
-
'ibm-xlclang': [
|
62
|
-
'-q64',
|
63
|
-
'-qexportall',
|
64
|
-
'-qascii',
|
65
|
-
'-qstrict',
|
66
|
-
'-qnocsect',
|
67
|
-
'-Wa,asa,goff',
|
68
|
-
'-Wa,xplink',
|
69
|
-
'-qgonumber',
|
70
|
-
'-qenum=int',
|
71
|
-
'-Wc,DLL',
|
72
|
-
],
|
73
|
-
'ibm-xlc': [
|
74
|
-
'-q64',
|
75
|
-
'-qexportall',
|
76
|
-
'-qascii',
|
77
|
-
'-qstrict',
|
78
|
-
'-qnocsect',
|
79
|
-
'-Wa,asa,goff',
|
80
|
-
'-Wa,xplink',
|
81
|
-
'-qgonumber',
|
82
|
-
'-qenum=int',
|
83
|
-
'-Wc,DLL',
|
84
|
-
'-qlanglvl=extended0x',
|
85
|
-
],
|
86
|
-
}
|
87
|
-
|
88
|
-
_asm_args = {
|
89
|
-
'ibm-openxl': ['-fasm', '-fno-integrated-as', '-Wa,--ASA', '-Wa,--GOFF'],
|
90
|
-
'ibm-xlclang': [],
|
91
|
-
'ibm-xlc': [],
|
92
|
-
}
|
93
|
-
|
94
|
-
_ld_args = {
|
95
|
-
'ibm-openxl': [],
|
96
|
-
'ibm-xlclang': ['-Wl,dll', '-q64'],
|
97
|
-
'ibm-xlc': ['-Wl,dll', '-q64'],
|
98
|
-
}
|
99
|
-
|
100
|
-
|
101
|
-
# Python on z/OS is built with no compiler specific options in it's CFLAGS.
|
102
|
-
# But each compiler requires it's own specific options to build successfully,
|
103
|
-
# though some of the options are common between them
|
104
|
-
class zOSCCompiler(UnixCCompiler):
|
105
|
-
src_extensions = ['.c', '.C', '.cc', '.cxx', '.cpp', '.m', '.s']
|
106
|
-
_cpp_extensions = ['.cc', '.cpp', '.cxx', '.C']
|
107
|
-
_asm_extensions = ['.s']
|
108
|
-
|
109
|
-
def _get_zos_compiler_name(self):
|
110
|
-
zos_compiler_names = [
|
111
|
-
os.path.basename(binary)
|
112
|
-
for envvar in ('CC', 'CXX', 'LDSHARED')
|
113
|
-
if (binary := os.environ.get(envvar, None))
|
114
|
-
]
|
115
|
-
if len(zos_compiler_names) == 0:
|
116
|
-
return 'ibm-openxl'
|
117
|
-
|
118
|
-
zos_compilers = {}
|
119
|
-
for compiler in (
|
120
|
-
'ibm-clang',
|
121
|
-
'ibm-clang64',
|
122
|
-
'ibm-clang++',
|
123
|
-
'ibm-clang++64',
|
124
|
-
'clang',
|
125
|
-
'clang++',
|
126
|
-
'clang-14',
|
127
|
-
):
|
128
|
-
zos_compilers[compiler] = 'ibm-openxl'
|
129
|
-
|
130
|
-
for compiler in ('xlclang', 'xlclang++', 'njsc', 'njsc++'):
|
131
|
-
zos_compilers[compiler] = 'ibm-xlclang'
|
132
|
-
|
133
|
-
for compiler in ('xlc', 'xlC', 'xlc++'):
|
134
|
-
zos_compilers[compiler] = 'ibm-xlc'
|
135
|
-
|
136
|
-
return zos_compilers.get(zos_compiler_names[0], 'ibm-openxl')
|
137
|
-
|
138
|
-
def __init__(self, verbose=False, dry_run=False, force=False):
|
139
|
-
super().__init__(verbose, dry_run, force)
|
140
|
-
self.zos_compiler = self._get_zos_compiler_name()
|
141
|
-
sysconfig.customize_compiler(self)
|
142
|
-
|
143
|
-
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
|
144
|
-
local_args = []
|
145
|
-
if ext in self._cpp_extensions:
|
146
|
-
compiler = self.compiler_cxx
|
147
|
-
local_args.extend(_cxx_args[self.zos_compiler])
|
148
|
-
elif ext in self._asm_extensions:
|
149
|
-
compiler = self.compiler_so
|
150
|
-
local_args.extend(_cc_args[self.zos_compiler])
|
151
|
-
local_args.extend(_asm_args[self.zos_compiler])
|
152
|
-
else:
|
153
|
-
compiler = self.compiler_so
|
154
|
-
local_args.extend(_cc_args[self.zos_compiler])
|
155
|
-
local_args.extend(cc_args)
|
156
|
-
|
157
|
-
try:
|
158
|
-
self.spawn(compiler + local_args + [src, '-o', obj] + extra_postargs)
|
159
|
-
except DistutilsExecError as msg:
|
160
|
-
raise CompileError(msg)
|
161
|
-
|
162
|
-
def runtime_library_dir_option(self, dir):
|
163
|
-
return '-L' + dir
|
164
|
-
|
165
|
-
def link(
|
166
|
-
self,
|
167
|
-
target_desc,
|
168
|
-
objects,
|
169
|
-
output_filename,
|
170
|
-
output_dir=None,
|
171
|
-
libraries=None,
|
172
|
-
library_dirs=None,
|
173
|
-
runtime_library_dirs=None,
|
174
|
-
export_symbols=None,
|
175
|
-
debug=False,
|
176
|
-
extra_preargs=None,
|
177
|
-
extra_postargs=None,
|
178
|
-
build_temp=None,
|
179
|
-
target_lang=None,
|
180
|
-
):
|
181
|
-
# For a built module to use functions from cpython, it needs to use Pythons
|
182
|
-
# side deck file. The side deck is located beside the libpython3.xx.so
|
183
|
-
ldversion = sysconfig.get_config_var('LDVERSION')
|
184
|
-
if sysconfig.python_build:
|
185
|
-
side_deck_path = os.path.join(
|
186
|
-
sysconfig.get_config_var('abs_builddir'),
|
187
|
-
f'libpython{ldversion}.x',
|
188
|
-
)
|
189
|
-
else:
|
190
|
-
side_deck_path = os.path.join(
|
191
|
-
sysconfig.get_config_var('installed_base'),
|
192
|
-
sysconfig.get_config_var('platlibdir'),
|
193
|
-
f'libpython{ldversion}.x',
|
194
|
-
)
|
195
|
-
|
196
|
-
if os.path.exists(side_deck_path):
|
197
|
-
if extra_postargs:
|
198
|
-
extra_postargs.append(side_deck_path)
|
199
|
-
else:
|
200
|
-
extra_postargs = [side_deck_path]
|
201
|
-
|
202
|
-
# Check and replace libraries included side deck files
|
203
|
-
if runtime_library_dirs:
|
204
|
-
for dir in runtime_library_dirs:
|
205
|
-
for library in libraries[:]:
|
206
|
-
library_side_deck = os.path.join(dir, f'{library}.x')
|
207
|
-
if os.path.exists(library_side_deck):
|
208
|
-
libraries.remove(library)
|
209
|
-
extra_postargs.append(library_side_deck)
|
210
|
-
break
|
211
|
-
|
212
|
-
# Any required ld args for the given compiler
|
213
|
-
extra_postargs.extend(_ld_args[self.zos_compiler])
|
214
|
-
|
215
|
-
super().link(
|
216
|
-
target_desc,
|
217
|
-
objects,
|
218
|
-
output_filename,
|
219
|
-
output_dir,
|
220
|
-
libraries,
|
221
|
-
library_dirs,
|
222
|
-
runtime_library_dirs,
|
223
|
-
export_symbols,
|
224
|
-
debug,
|
225
|
-
extra_preargs,
|
226
|
-
extra_postargs,
|
227
|
-
build_temp,
|
228
|
-
target_lang,
|
229
|
-
)
|
3
|
+
zOSCCompiler = zos.Compiler
|
@@ -27,7 +27,7 @@ class Static:
|
|
27
27
|
def _prevent_modification(target: type, method: str, copying: str) -> None:
|
28
28
|
"""
|
29
29
|
Because setuptools is very flexible we cannot fully prevent
|
30
|
-
plugins and user
|
30
|
+
plugins and user customizations from modifying static values that were
|
31
31
|
parsed from config files.
|
32
32
|
But we can attempt to block "in-place" mutations and identify when they
|
33
33
|
were done.
|
@@ -278,7 +278,7 @@ class editable_wheel(Command):
|
|
278
278
|
This method implements a temporary workaround to support the ecosystem
|
279
279
|
while the implementations catch up.
|
280
280
|
"""
|
281
|
-
# TODO: Once plugins/
|
281
|
+
# TODO: Once plugins/customizations had the chance to catch up, replace
|
282
282
|
# `self._run_build_subcommands()` with `self.run_command("build")`.
|
283
283
|
# Also remove _safely_run, TestCustomBuildPy. Suggested date: Aug/2023.
|
284
284
|
build = self.get_finalized_command("build")
|
@@ -309,7 +309,7 @@ class editable_wheel(Command):
|
|
309
309
|
https://setuptools.pypa.io/en/latest/userguide/extension.html.
|
310
310
|
|
311
311
|
For the time being `setuptools` will silence this error and ignore
|
312
|
-
the faulty command, but this
|
312
|
+
the faulty command, but this behavior will change in future versions.
|
313
313
|
""",
|
314
314
|
# TODO: define due_date
|
315
315
|
# There is a series of shortcomings with the available editable install
|
@@ -564,7 +564,7 @@ def _encode_pth(content: str) -> bytes:
|
|
564
564
|
.pth files are always read with 'locale' encoding, the recommendation
|
565
565
|
from the cpython core developers is to write them as ``open(path, "w")``
|
566
566
|
and ignore warnings (see python/cpython#77102, pypa/setuptools#3937).
|
567
|
-
This function tries to simulate this
|
567
|
+
This function tries to simulate this behavior without having to create an
|
568
568
|
actual file, in a way that supports a range of active Python versions.
|
569
569
|
(There seems to be some variety in the way different version of Python handle
|
570
570
|
``encoding=None``, not all of them use ``locale.getpreferredencoding(False)``
|
@@ -68,7 +68,7 @@ class install(orig.install):
|
|
68
68
|
""",
|
69
69
|
see_url="https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html",
|
70
70
|
# TODO: Document how to bootstrap setuptools without install
|
71
|
-
# (e.g. by
|
71
|
+
# (e.g. by unzipping the wheel file)
|
72
72
|
# and then add a due_date to this warning.
|
73
73
|
)
|
74
74
|
|
@@ -420,6 +420,7 @@ class TestMetadata:
|
|
420
420
|
with get_dist(tmpdir):
|
421
421
|
pass
|
422
422
|
|
423
|
+
@pytest.mark.xfail(reason="#4864")
|
423
424
|
def test_warn_dash_deprecation(self, tmpdir):
|
424
425
|
# warn_dash_deprecation() is a method in setuptools.dist
|
425
426
|
# remove this test and the method when no longer needed
|
@@ -437,6 +438,7 @@ class TestMetadata:
|
|
437
438
|
assert metadata.author_email == 'test@test.com'
|
438
439
|
assert metadata.maintainer_email == 'foo@foo.com'
|
439
440
|
|
441
|
+
@pytest.mark.xfail(reason="#4864")
|
440
442
|
def test_make_option_lowercase(self, tmpdir):
|
441
443
|
# remove this test and the method make_option_lowercase() in setuptools.dist
|
442
444
|
# when no longer needed
|
@@ -168,7 +168,7 @@ def test_excluded_subpackages(tmpdir_cwd):
|
|
168
168
|
with pytest.warns(SetuptoolsDeprecationWarning, match=msg):
|
169
169
|
# TODO: To fix #3260 we need some transition period to deprecate the
|
170
170
|
# existing behavior of `include_package_data`. After the transition, we
|
171
|
-
# should remove the warning and fix the
|
171
|
+
# should remove the warning and fix the behavior.
|
172
172
|
|
173
173
|
if os.getenv("SETUPTOOLS_USE_DISTUTILS") == "stdlib":
|
174
174
|
# pytest.warns reset the warning filter temporarily
|
@@ -86,7 +86,7 @@ class _Utf8EncodingNeeded(SetuptoolsDeprecationWarning):
|
|
86
86
|
"""
|
87
87
|
|
88
88
|
_DETAILS = """
|
89
|
-
Fallback
|
89
|
+
Fallback behavior for UTF-8 is considered **deprecated** and future versions of
|
90
90
|
`setuptools` may not implement it.
|
91
91
|
|
92
92
|
Please encode {file!r} with "utf-8" to ensure future builds will succeed.
|
@@ -1,7 +1,8 @@
|
|
1
|
+
# nopycln: file # undecidable cases due to explicit re-exports https://github.com/hadialqattan/pycln/issues/205
|
1
2
|
"""adodbapi - A python DB API 2.0 (PEP 249) interface to Microsoft ADO
|
2
3
|
|
3
4
|
Copyright (C) 2002 Henrik Ekelund, version 2.1 by Vernon Cole
|
4
|
-
*
|
5
|
+
* https://sourceforge.net/projects/adodbapi
|
5
6
|
"""
|
6
7
|
|
7
8
|
import time
|
@@ -1,5 +1,6 @@
|
|
1
1
|
# ADO enumerated constants documented on MSDN:
|
2
|
-
#
|
2
|
+
# https://learn.microsoft.com/en-us/sql/ado/reference/ado-api/ado-enumerated-constants
|
3
|
+
# TODO: Update to https://learn.microsoft.com/en-us/sql/ado/reference/ado-api/ado-enumerated-constants
|
3
4
|
|
4
5
|
# IsolationLevelEnum
|
5
6
|
adXactUnspecified = -1
|
@@ -79,6 +80,7 @@ ado_error_TIMEOUT = -2147217871
|
|
79
80
|
|
80
81
|
# DataTypeEnum - ADO Data types documented at:
|
81
82
|
# http://msdn2.microsoft.com/en-us/library/ms675318.aspx
|
83
|
+
# TODO: Update to https://learn.microsoft.com/en-us/sql/ado/reference/ado-api/datatypeenum
|
82
84
|
adArray = 0x2000
|
83
85
|
adEmpty = 0x0
|
84
86
|
adBSTR = 0x8
|
@@ -1,9 +1,9 @@
|
|
1
1
|
"""adodbapi - A python DB API 2.0 (PEP 249) interface to Microsoft ADO
|
2
2
|
|
3
3
|
Copyright (C) 2002 Henrik Ekelund, versions 2.1 and later by Vernon Cole
|
4
|
-
*
|
4
|
+
* https://sourceforge.net/projects/pywin32
|
5
5
|
* https://github.com/mhammond/pywin32
|
6
|
-
*
|
6
|
+
* https://sourceforge.net/projects/adodbapi
|
7
7
|
|
8
8
|
This library is free software; you can redistribute it and/or
|
9
9
|
modify it under the terms of the GNU Lesser General Public
|
@@ -21,7 +21,7 @@ Copyright (C) 2002 Henrik Ekelund, versions 2.1 and later by Vernon Cole
|
|
21
21
|
|
22
22
|
django adaptations and refactoring by Adam Vandenberg
|
23
23
|
|
24
|
-
DB-API 2.0 specification:
|
24
|
+
DB-API 2.0 specification: https://peps.python.org/pep-0249/
|
25
25
|
|
26
26
|
This module source should run correctly in CPython versions 2.7 and later,
|
27
27
|
or CPython 3.4 or later.
|
@@ -66,7 +66,7 @@ from collections.abc import Mapping
|
|
66
66
|
def make_COM_connecter():
|
67
67
|
try:
|
68
68
|
pythoncom.CoInitialize() # v2.1 Paj
|
69
|
-
c = Dispatch("ADODB.Connection") # connect _after_
|
69
|
+
c = Dispatch("ADODB.Connection") # connect _after_ CoInitialize v2.1.1 adamvan
|
70
70
|
except:
|
71
71
|
raise api.InterfaceError(
|
72
72
|
"Windows COM Error: Dispatch('ADODB.Connection') failed."
|
@@ -79,8 +79,9 @@ def connect(*args, **kwargs): # --> a db-api connection object
|
|
79
79
|
|
80
80
|
call using:
|
81
81
|
:connection_string -- An ADODB formatted connection string, see:
|
82
|
-
*
|
83
|
-
*
|
82
|
+
* https://www.connectionstrings.com
|
83
|
+
* https://www.codeguru.com/dotnet/whats-in-an-ado-connection-string/
|
84
|
+
* https://learn.microsoft.com/en-us/dotnet/framework/data/adonet/connection-strings
|
84
85
|
:timeout -- A command timeout value, in seconds (default 30 seconds)
|
85
86
|
"""
|
86
87
|
co = Connection() # make an empty connection object
|
@@ -162,15 +163,15 @@ def _configure_parameter(p, value, adotype, settings_known):
|
|
162
163
|
p.AppendChunk(value)
|
163
164
|
|
164
165
|
elif isinstance(value, str): # v2.1 Jevon
|
165
|
-
|
166
|
+
length = len(value)
|
166
167
|
if adotype in api.adoStringTypes: # v2.2.1 Cole
|
167
168
|
if settings_known:
|
168
|
-
|
169
|
-
p.Value = value[:
|
169
|
+
length = min(length, p.Size) # v2.1 Cole limit data to defined size
|
170
|
+
p.Value = value[:length] # v2.1 Jevon & v2.1 Cole
|
170
171
|
else:
|
171
172
|
p.Value = value # don't limit if db column is numeric
|
172
|
-
if
|
173
|
-
p.Size =
|
173
|
+
if length > 0: # v2.1 Cole something does not like p.Size as Zero
|
174
|
+
p.Size = length # v2.1 Jevon
|
174
175
|
|
175
176
|
elif isinstance(value, decimal.Decimal):
|
176
177
|
p.Value = value
|
@@ -234,7 +235,7 @@ class Connection:
|
|
234
235
|
self.paramstyle = api.paramstyle
|
235
236
|
self.supportsTransactions = False
|
236
237
|
self.connection_string = ""
|
237
|
-
self.cursors = weakref.WeakValueDictionary()
|
238
|
+
self.cursors = weakref.WeakValueDictionary[int, Cursor]()
|
238
239
|
self.dbms_name = ""
|
239
240
|
self.dbms_version = ""
|
240
241
|
self.errorhandler = None # use the standard error handler for this instance
|
@@ -395,9 +396,7 @@ class Connection:
|
|
395
396
|
# If attributes has adXactAbortRetaining it performs retaining aborts that is,
|
396
397
|
# calling RollbackTrans automatically starts a new transaction. Not all providers support this.
|
397
398
|
# If not, we will have to start a new transaction by this command:
|
398
|
-
if
|
399
|
-
not self.transaction_level
|
400
|
-
): # if self.transaction_level == 0 or self.transaction_level is None:
|
399
|
+
if not self.transaction_level:
|
401
400
|
self.transaction_level = self.connector.BeginTrans()
|
402
401
|
except Exception as e:
|
403
402
|
self._raiseConnectionError(api.ProgrammingError, e)
|
@@ -476,7 +475,7 @@ class Connection:
|
|
476
475
|
"""Introspect the current ADO Errors and determine an appropriate error class.
|
477
476
|
|
478
477
|
Error.SQLState is a SQL-defined error condition, per the SQL specification:
|
479
|
-
|
478
|
+
https://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt
|
480
479
|
|
481
480
|
The 23000 class of errors are integrity errors.
|
482
481
|
Error 40002 is a transactional integrity error.
|
@@ -595,7 +594,7 @@ class Cursor:
|
|
595
594
|
eh(self.connection, self, errorclass, errorvalue)
|
596
595
|
|
597
596
|
def build_column_info(self, recordset):
|
598
|
-
self.converters = [] #
|
597
|
+
self.converters = [] # conversion function for each column
|
599
598
|
self.columnNames = {} # names of columns {lowercase name : number,...}
|
600
599
|
self._description = None
|
601
600
|
|
@@ -634,9 +633,8 @@ class Cursor:
|
|
634
633
|
if self.rs.EOF or self.rs.BOF:
|
635
634
|
display_size = None
|
636
635
|
else:
|
637
|
-
|
638
|
-
|
639
|
-
) # TODO: Is this the correct defintion according to the DB API 2 Spec ?
|
636
|
+
# TODO: Is this the correct defintion according to the DB API 2 Spec ?
|
637
|
+
display_size = f.ActualSize
|
640
638
|
null_ok = bool(f.Attributes & adc.adFldMayBeNull) # v2.1 Cole
|
641
639
|
desc.append(
|
642
640
|
(
|
@@ -774,9 +772,8 @@ class Cursor:
|
|
774
772
|
after the last recordset has been read. In that case, you must coll nextset() until it
|
775
773
|
returns None, then call this method to get your returned information."""
|
776
774
|
|
777
|
-
|
778
|
-
|
779
|
-
) # store procedures may return altered parameters, including an added "return value" item
|
775
|
+
# store procedures may return altered parameters, including an added "return value" item
|
776
|
+
retLst = []
|
780
777
|
for p in tuple(self.cmd.Parameters):
|
781
778
|
if verbose > 2:
|
782
779
|
print(
|
@@ -907,9 +904,8 @@ class Cursor:
|
|
907
904
|
)
|
908
905
|
i += 1
|
909
906
|
else: # -- build own parameter list
|
910
|
-
|
911
|
-
|
912
|
-
): # we expect a dictionary of parameters, this is the list of expected names
|
907
|
+
# we expect a dictionary of parameters, this is the list of expected names
|
908
|
+
if self._parameter_names:
|
913
909
|
for parm_name in self._parameter_names:
|
914
910
|
elem = parameters[parm_name]
|
915
911
|
adotype = api.pyTypeToADOType(elem)
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"""adodbapi.apibase - A python DB API 2.0 (PEP 249) interface to Microsoft ADO
|
2
2
|
|
3
3
|
Copyright (C) 2002 Henrik Ekelund, version 2.1 by Vernon Cole
|
4
|
-
*
|
5
|
-
*
|
4
|
+
* https://sourceforge.net/projects/pywin32
|
5
|
+
* https://sourceforge.net/projects/adodbapi
|
6
6
|
"""
|
7
7
|
|
8
8
|
from __future__ import annotations
|
@@ -13,7 +13,6 @@ import numbers
|
|
13
13
|
import sys
|
14
14
|
import time
|
15
15
|
from collections.abc import Callable, Iterable, Mapping
|
16
|
-
from typing import Dict
|
17
16
|
|
18
17
|
# noinspection PyUnresolvedReferences
|
19
18
|
from . import ado_consts as adc
|
@@ -465,7 +464,7 @@ def convert_to_python(variant, func): # convert DB value into Python value
|
|
465
464
|
return func(variant) # call the appropriate conversion function
|
466
465
|
|
467
466
|
|
468
|
-
class MultiMap(
|
467
|
+
class MultiMap(dict[int, Callable[[object], object]]):
|
469
468
|
# builds a dictionary from {(iterable,of,keys) : function}
|
470
469
|
"""A dictionary of ado.type : function
|
471
470
|
-- but you can set multiple items by passing an iterable of keys"""
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"""
|
1
|
+
"""a clumsy attempt at a macro language to let the programmer execute code on the server (ex: determine 64bit)"""
|
2
2
|
|
3
3
|
from . import is64bit
|
4
4
|
|
@@ -45,6 +45,8 @@ def macro_call(macro_name, args, kwargs):
|
|
45
45
|
return new_key, platform.node()
|
46
46
|
|
47
47
|
elif macro_name == "getenv": # expand the server's environment variable args[1]
|
48
|
+
import os
|
49
|
+
|
48
50
|
try:
|
49
51
|
dflt = args[2] # if not found, default from args[2]
|
50
52
|
except IndexError: # or blank
|
@@ -86,13 +88,11 @@ def process(
|
|
86
88
|
dsn = args[0]
|
87
89
|
except IndexError:
|
88
90
|
dsn = None
|
89
|
-
|
90
|
-
|
91
|
-
): # as a convenience the first argument may be django settings
|
91
|
+
# as a convenience the first argument may be django settings
|
92
|
+
if isinstance(dsn, dict):
|
92
93
|
kwargs.update(dsn)
|
93
|
-
|
94
|
-
|
95
|
-
): # the connection string is passed to the connection as part of the keyword dictionary
|
94
|
+
# the connection string is passed to the connection as part of the keyword dictionary
|
95
|
+
elif dsn:
|
96
96
|
kwargs["connection_string"] = dsn
|
97
97
|
try:
|
98
98
|
a1 = args[1]
|
@@ -9,7 +9,7 @@ MAINTAINER_EMAIL = "vernondcole@gmail.com"
|
|
9
9
|
DESCRIPTION = (
|
10
10
|
"""A pure Python package implementing PEP 249 DB-API using Microsoft ADO."""
|
11
11
|
)
|
12
|
-
URL = "
|
12
|
+
URL = "https://sourceforge.net/projects/adodbapi"
|
13
13
|
LICENSE = "LGPL"
|
14
14
|
CLASSIFIERS = [
|
15
15
|
"Development Status :: 5 - Production/Stable",
|
@@ -32,7 +32,7 @@ VERSION = None # in case searching for version fails
|
|
32
32
|
a = open("adodbapi.py") # find the version string in the source code
|
33
33
|
for line in a:
|
34
34
|
if "__version__" in line:
|
35
|
-
VERSION = line.split("'")[1]
|
35
|
+
VERSION = line.split("'")[1] # pyright: ignore[reportConstantRedefinition]
|
36
36
|
print('adodbapi version="%s"' % VERSION)
|
37
37
|
break
|
38
38
|
a.close()
|