py2docfx 0.1.15rc2025477__py3-none-any.whl → 0.1.16.dev2052678__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/docfx_yaml/process_doctree.py +21 -34
- py2docfx/docfx_yaml/tests/test_method_arguments.py +1 -7
- py2docfx/docfx_yaml/tests/test_process_doctree.py +120 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +13 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build.py +1 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_clib.py +1 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_ext.py +1 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/config.py +0 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install.py +8 -17
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compat/numpy.py +2 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +8 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +15 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/dist.py +2 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/sysconfig.py +0 -10
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +60 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/unixccompiler.py +6 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/util.py +7 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_normalization.py +29 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/_bdist_wheel.py +613 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +2 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +25 -594
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +6 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +282 -223
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +22 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +16 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/util.py +0 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +40 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/command/bdist_wheel.py +6 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +49 -11
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +31 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +222 -129
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +30 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/dist.py +168 -51
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/msvc.py +12 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +246 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +42 -29
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +93 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_build_meta.py +17 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_core_metadata.py +45 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_egg_info.py +24 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_sdist.py +13 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/any_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/api_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/compiler/plugin_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/descriptor_database.py +22 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/descriptor_pb2.py +82 -35
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/duration_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/empty_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/field_mask_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/builder.py +4 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/containers.py +13 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/decoder.py +62 -115
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/python_edition_defaults.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/python_message.py +15 -18
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/testing_refleaks.py +4 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/type_checkers.py +5 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/well_known_types.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/json_format.py +25 -9
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/message.py +26 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/message_factory.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/proto.py +38 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/proto_text.py +129 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/reflection.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/runtime_version.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/source_context_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/struct_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/symbol_database.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/text_format.py +8 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/timestamp_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/type_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/unknown_fields.py +3 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/wrappers_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/msal/application.py +51 -17
- py2docfx/venv/venv1/Lib/site-packages/msal/broker.py +18 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/cloudshell.py +5 -1
- py2docfx/venv/venv1/Lib/site-packages/msal/managed_identity.py +5 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/sku.py +6 -0
- py2docfx/venv/venv1/Lib/site-packages/msal/token_cache.py +31 -10
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/__init__.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/cache_lock.py +4 -1
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/filelock.py +62 -0
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/libsecret.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/token_cache.py +7 -1
- py2docfx/venv/venv1/Lib/site-packages/pyasn1_modules/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +13 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build.py +1 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_clib.py +1 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_ext.py +1 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/config.py +0 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install.py +8 -17
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compat/numpy.py +2 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +8 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +15 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/dist.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/sysconfig.py +0 -10
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +60 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/unixccompiler.py +6 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/util.py +7 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_normalization.py +29 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/_bdist_wheel.py +613 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +25 -594
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +6 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +282 -223
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +22 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +16 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/util.py +0 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +40 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/command/bdist_wheel.py +6 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +49 -11
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +31 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +222 -129
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +30 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/dist.py +168 -51
- py2docfx/venv/venv1/Lib/site-packages/setuptools/msvc.py +12 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +246 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +42 -29
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +93 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_build_meta.py +17 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_core_metadata.py +45 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_egg_info.py +24 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_sdist.py +13 -1
- py2docfx/venv/venv1/Lib/site-packages/typing_extensions.py +999 -74
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dev2052678.dist-info}/METADATA +1 -1
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dev2052678.dist-info}/RECORD +141 -596
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/__init__.py +0 -82
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/ado_consts.py +0 -283
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/adodbapi.py +0 -1153
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/apibase.py +0 -723
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_print.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_table_names.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/xls_read.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/xls_write.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/is64bit.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/process_connect_string.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/schema_table.py +0 -16
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/setup.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitest.py +0 -1547
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitestconfig.py +0 -184
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/dbapi20.py +0 -879
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/is64bit.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/setuptestframework.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/test_adodbapi_dbapi20.py +0 -195
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/tryconnection.py +0 -30
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/_parameterized.py +0 -420
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/service.py +0 -213
- py2docfx/venv/venv1/Lib/site-packages/isapi/__init__.py +0 -39
- py2docfx/venv/venv1/Lib/site-packages/isapi/install.py +0 -809
- py2docfx/venv/venv1/Lib/site-packages/isapi/isapicon.py +0 -121
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/advanced.py +0 -218
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector.py +0 -116
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_asynch.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_with_filter.py +0 -162
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/test.py +0 -195
- py2docfx/venv/venv1/Lib/site-packages/isapi/simple.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/isapi/test/extension_simple.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/isapi/threaded_extension.py +0 -191
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__about__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__init__.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__main__.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/portalocker/constants.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/portalocker/exceptions.py +0 -27
- py2docfx/venv/venv1/Lib/site-packages/portalocker/portalocker.py +0 -154
- py2docfx/venv/venv1/Lib/site-packages/portalocker/redis.py +0 -236
- py2docfx/venv/venv1/Lib/site-packages/portalocker/utils.py +0 -569
- py2docfx/venv/venv1/Lib/site-packages/pythoncom.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/basictimerapp.py +0 -258
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/customprint.py +0 -183
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/demoutils.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/dlgappdemo.py +0 -51
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/dojobapp.py +0 -71
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/helloapp.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/cmdserver.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/createwin.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/demoutils.py +0 -65
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dibdemo.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dlgtest.py +0 -145
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dyndlg.py +0 -104
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/fontdemo.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/guidemo.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/hiertest.py +0 -138
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/menutest.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/objdoc.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/demoutils.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/flash.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/msoffice.py +0 -159
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxserialtest.py +0 -132
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxtest.py +0 -243
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/webbrowser.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/openGLDemo.py +0 -415
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/progressbar.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/sliderdemo.py +0 -76
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/splittst.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/threadedgui.py +0 -189
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/toolbar.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/__init__.py +0 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/__init__.py +0 -133
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/configui.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgcon.py +0 -31
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgpyapp.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/debugger.py +0 -1097
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/fail.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/ideoptions.py +0 -136
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/list.py +0 -146
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/login.py +0 -155
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/status.py +0 -242
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/DockingBar.py +0 -676
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/app.py +0 -411
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/bitmap.py +0 -168
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/cmdline.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dbgcommands.py +0 -188
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dlgappcore.py +0 -76
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/ModuleBrowser.py +0 -235
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/__init__.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/color/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/color/coloreditor.py +0 -646
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/configui.py +0 -299
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/document.py +0 -379
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/editor.py +0 -511
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/frame.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/template.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/vss.py +0 -104
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/help.py +0 -173
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/interact.py +0 -995
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpyapp.py +0 -552
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpydde.py +0 -65
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/scriptutils.py +0 -684
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/sgrepmdi.py +0 -749
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/startup.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/stdin.py +0 -172
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/toolmenu.py +0 -279
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/window.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/winout.py +0 -589
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoExpand.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoIndent.py +0 -536
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/CallTips.py +0 -216
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/FormatParagraph.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/IdleHistory.py +0 -87
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/PyParse.py +0 -585
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/activex.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/afxres.py +0 -501
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/dialog.py +0 -277
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/docview.py +0 -151
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/object.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/thread.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/window.py +0 -50
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/IDLEenvironment.py +0 -593
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/bindings.py +0 -180
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/config.py +0 -363
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/configui.py +0 -291
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/control.py +0 -565
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/document.py +0 -312
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/find.py +0 -511
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/formatter.py +0 -704
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/keycodes.py +0 -190
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/scintillacon.py +0 -3083
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/view.py +0 -841
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/TraceCollector.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browseProjects.py +0 -323
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browser.py +0 -494
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/hierlist.py +0 -353
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/regedit.py +0 -382
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/regpy.py +0 -80
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/BackupRead_BackupWrite.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/BackupSeek_streamheaders.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/CopyFileEx.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/CreateFileTransacted_MiniVersion.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtFormatMessage.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_pull.py +0 -28
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_push.py +0 -32
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/FileSecurityTest.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/GetSaveFileName.py +0 -43
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/NetValidatePasswordPolicy.py +0 -127
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/OpenEncryptedFileRaw.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/RegCreateKeyTransacted.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/RegRestoreKey.py +0 -71
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/SystemParametersInfo.py +0 -210
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/c_extension/setup.py +0 -26
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeclient.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeserver.py +0 -42
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/desktopmanager.py +0 -246
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/eventLogDemo.py +0 -143
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/getfilever.py +0 -33
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/mmapfile_demo.py +0 -101
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/cat.py +0 -17
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/runproc.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/print_desktop.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/rastest.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/GetTokenInformation.py +0 -110
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/account_rights.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/explicit_entries.py +0 -170
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/get_policy_info.py +0 -39
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/list_rights.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/localized_names.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/lsaregevent.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/lsastore.py +0 -12
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/query_information.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/regsave_sa.py +0 -61
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/regsecurity.py +0 -36
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sa_inherit.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/security_enums.py +0 -336
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_audit.py +0 -106
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_owner.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_policy_info.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setkernelobjectsecurity.py +0 -134
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setnamedsecurityinfo.py +0 -131
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setsecurityinfo.py +0 -131
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setuserobjectsecurity.py +0 -102
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/fetch_url.py +0 -158
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/simple_auth.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/socket_server.py +0 -199
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/validate_password.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/nativePipeTestService.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestService.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestServiceClient.py +0 -158
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/serviceEvents.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/timer_demo.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboardDemo.py +0 -155
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboard_bitmapdemo.py +0 -117
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32comport_demo.py +0 -174
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32console_demo.py +0 -132
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32cred_demo.py +0 -82
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32fileDemo.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_demo.py +0 -177
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_devicenotify.py +0 -106
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_dialog.py +0 -445
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_menu.py +0 -464
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_taskbar.py +0 -136
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32netdemo.py +0 -272
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32rcparser_demo.py +0 -86
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32servicedemo.py +0 -23
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32ts_logoff_disconnected.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/testwnet.py +0 -123
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/winnetwk.py +0 -100
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/winprocess.py +0 -230
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/_win32verstamp_pywin32ctypes.py +0 -164
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/afxres.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/commctrl.py +0 -1551
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/mmsystem.py +0 -956
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/netbios.py +0 -293
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/ntsecuritycon.py +0 -731
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_bootstrap.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_testutil.py +0 -291
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywintypes.py +0 -124
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/rasutil.py +0 -40
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regcheck.py +0 -161
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regutil.py +0 -395
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspi.py +0 -413
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspicon.py +0 -477
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win2kras.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32con.py +0 -5064
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32cryptcon.py +0 -1922
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32evtlogutil.py +0 -225
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32gui_struct.py +0 -957
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32inetcon.py +0 -1086
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32netcon.py +0 -627
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhquery.py +0 -570
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhutil.py +0 -212
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32rcparser.py +0 -674
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32serviceutil.py +0 -1073
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32timezone.py +0 -1201
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32traceutil.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32verstamp.py +0 -235
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winerror.py +0 -7362
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winioctlcon.py +0 -1079
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winnt.py +0 -1347
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winperf.py +0 -236
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winxptheme.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/ControlService.py +0 -594
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/BrandProject.py +0 -97
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/bulkstamp.py +0 -156
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/vssutil.py +0 -201
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/backupEventLog.py +0 -46
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/h2py.py +0 -194
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/killProcName.py +0 -62
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_postinstall.py +0 -733
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_testall.py +0 -120
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/rasutil.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/regsetup.py +0 -607
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/setup_d.py +0 -111
- py2docfx/venv/venv1/Lib/site-packages/win32/test/handles.py +0 -175
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_clipboard.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_exceptions.py +0 -213
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_odbc.py +0 -264
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_pywintypes.py +0 -111
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_security.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_sspi.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32api.py +0 -273
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32clipboard.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32cred.py +0 -91
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32crypt.py +0 -144
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32event.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32file.py +0 -1096
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32gui.py +0 -227
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32guistruct.py +0 -333
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32inet.py +0 -108
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32net.py +0 -23
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32pipe.py +0 -148
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32print.py +0 -24
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32profile.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32rcparser.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32timezone.py +0 -16
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32trace.py +0 -366
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32ts.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32wnet.py +0 -174
- py2docfx/venv/venv1/Lib/site-packages/win32/test/testall.py +0 -223
- py2docfx/venv/venv1/Lib/site-packages/win32/winxpgui.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/win32com/__init__.py +0 -134
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/CLSIDToClass.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/__init__.py +0 -717
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/build.py +0 -771
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/combrowse.py +0 -604
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/connect.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/dynamic.py +0 -699
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/gencache.py +0 -825
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/genpy.py +0 -1350
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/makepy.py +0 -453
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/selecttlb.py +0 -182
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/tlbrowse.py +0 -277
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/util.py +0 -103
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/connect.py +0 -96
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/dump_clipboard.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/eventsApartmentThreaded.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/eventsFreeThreaded.py +0 -92
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelAddin.py +0 -169
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelRTDServer.py +0 -434
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/iebutton.py +0 -214
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/ietoolbar.py +0 -368
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/outlookAddin.py +0 -135
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/trybag.py +0 -78
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegw.py +0 -618
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwenum.py +0 -331
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwparse.py +0 -1017
- py2docfx/venv/venv1/Lib/site-packages/win32com/olectl.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/connect.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/dispatcher.py +0 -239
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/exception.py +0 -99
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/factory.py +0 -26
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/localserver.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/policy.py +0 -803
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/register.py +0 -677
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/util.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/PythonTools.py +0 -47
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/dictionary.py +0 -133
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/interp.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/perfmon.py +0 -36
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/test_pycomtest.py +0 -181
- py2docfx/venv/venv1/Lib/site-packages/win32com/storagecon.py +0 -142
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/GenTestScripts.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/daodump.py +0 -88
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/errorSemantics.py +0 -243
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/pippo_server.py +0 -96
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/policySemantics.py +0 -115
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testADOEvents.py +0 -100
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAXScript.py +0 -44
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAccess.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testArrays.py +0 -99
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testClipboard.py +0 -169
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testCollections.py +0 -159
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testConversionErrors.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDCOM.py +0 -50
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDates.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDictionary.py +0 -101
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDynamic.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExchange.py +0 -121
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExplorer.py +0 -139
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGIT.py +0 -142
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGatewayAddresses.py +0 -149
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testIterators.py +0 -140
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOffice.py +0 -184
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOfficeEvents.py +0 -138
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMarshal.py +0 -160
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPersist.py +0 -227
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPippo.py +0 -80
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPyComTest.py +0 -918
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testROT.py +0 -29
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testServers.py +0 -51
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testShell.py +0 -272
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testStorage.py +0 -88
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testStreams.py +0 -147
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testWMI.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testall.py +0 -320
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testmakepy.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvb.py +0 -583
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvbscript_regexp.py +0 -40
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testxslt.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/util.py +0 -262
- py2docfx/venv/venv1/Lib/site-packages/win32com/universal.py +0 -224
- py2docfx/venv/venv1/Lib/site-packages/win32com/util.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/__init__.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/adsicon.py +0 -340
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/objectPicker.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/scp.py +0 -565
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/search.py +0 -151
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/test.py +0 -274
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditSecurity.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditServiceSecurity.py +0 -219
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axcontrol/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/adb.py +0 -467
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/codecontainer.py +0 -279
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/contexts.py +0 -58
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/debugger.py +0 -238
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/documents.py +0 -135
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/dump.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/expressions.py +0 -212
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/gateways.py +0 -583
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/stackframe.py +0 -178
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/util.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/asputil.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/debug.py +0 -223
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/error.py +0 -262
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/framework.py +0 -1291
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pydumper.py +0 -78
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript.py +0 -438
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript_rexec.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/scriptdispatch.py +0 -103
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/axsite.py +0 -145
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/leakTest.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost.py +0 -240
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost4Dbg.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/show_all_jobs.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/test_bits.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/ds_record.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/ds_test.py +0 -402
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/demo/filterDemo.py +0 -300
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/ifiltercon.py +0 -110
- py2docfx/venv/venv1/Lib/site-packages/win32comext/internet/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/internet/inetcon.py +0 -261
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/__init__.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/demos/mapisend.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/emsabtags.py +0 -875
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapitags.py +0 -1023
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapiutil.py +0 -211
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/pscon.py +0 -838
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/test/testpropsys.py +0 -5
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IActiveDesktop.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IFileOperationProgressSink.py +0 -179
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IShellLinkDataList.py +0 -67
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/ITransferAdviseSink.py +0 -93
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IUniformResourceLocator.py +0 -56
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/browse_for_folder.py +0 -45
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/create_link.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/dump_link.py +0 -58
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/explorer_browser.py +0 -143
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/column_provider.py +0 -125
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/context_menu.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/copy_hook.py +0 -84
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/empty_volume_cache.py +0 -188
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/folder_view.py +0 -866
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/icon_handler.py +0 -81
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/shell_view.py +0 -971
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/shellexecuteex.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/viewstate.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/walk_shell_folders.py +0 -24
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/shellcon.py +0 -1615
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testSHFileOperation.py +0 -75
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testShellFolder.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testShellItem.py +0 -69
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_1.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_2.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_localsystem.py +0 -3
- py2docfx/venv/venv1/Scripts/pywin32_postinstall.py +0 -733
- py2docfx/venv/venv1/Scripts/pywin32_testall.py +0 -120
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dev2052678.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dev2052678.dist-info}/top_level.txt +0 -0
@@ -1,262 +0,0 @@
|
|
1
|
-
import logging
|
2
|
-
import os
|
3
|
-
import sys
|
4
|
-
import tempfile
|
5
|
-
import unittest
|
6
|
-
import winreg
|
7
|
-
|
8
|
-
import pythoncom
|
9
|
-
import pywin32_testutil
|
10
|
-
import pywintypes
|
11
|
-
import win32api
|
12
|
-
import win32com
|
13
|
-
import winerror
|
14
|
-
from pythoncom import _GetGatewayCount, _GetInterfaceCount
|
15
|
-
|
16
|
-
|
17
|
-
def CheckClean():
|
18
|
-
# Ensure no lingering exceptions - Python should have zero outstanding
|
19
|
-
# COM objects
|
20
|
-
c = _GetInterfaceCount()
|
21
|
-
if c:
|
22
|
-
print("Warning - %d com interface objects still alive" % c)
|
23
|
-
c = _GetGatewayCount()
|
24
|
-
if c:
|
25
|
-
print("Warning - %d com gateway objects still alive" % c)
|
26
|
-
|
27
|
-
|
28
|
-
def RegisterPythonServer(filename, progids=None, verbose=0):
|
29
|
-
if progids:
|
30
|
-
if isinstance(progids, str):
|
31
|
-
progids = [progids]
|
32
|
-
# we know the CLSIDs we need, but we might not be an admin user
|
33
|
-
# and otherwise unable to register them. So as long as the progids
|
34
|
-
# exist and the DLL points at our version, assume it already is.
|
35
|
-
why_not = None
|
36
|
-
for progid in progids:
|
37
|
-
try:
|
38
|
-
clsid = pywintypes.IID(progid)
|
39
|
-
except pythoncom.com_error:
|
40
|
-
# not registered.
|
41
|
-
break
|
42
|
-
try:
|
43
|
-
HKCR = winreg.HKEY_CLASSES_ROOT
|
44
|
-
hk = winreg.OpenKey(HKCR, "CLSID\\%s" % clsid)
|
45
|
-
dll = winreg.QueryValue(hk, "InprocServer32")
|
46
|
-
except OSError:
|
47
|
-
# no CLSID or InProcServer32 - not registered
|
48
|
-
break
|
49
|
-
ok_files = [
|
50
|
-
os.path.basename(pythoncom.__file__),
|
51
|
-
"pythoncomloader%d%d.dll"
|
52
|
-
% (sys.version_info.major, sys.version_info.minor),
|
53
|
-
]
|
54
|
-
if os.path.basename(dll) not in ok_files:
|
55
|
-
why_not = (
|
56
|
-
"{!r} is registered against a different Python version ({})".format(
|
57
|
-
progid,
|
58
|
-
dll,
|
59
|
-
)
|
60
|
-
)
|
61
|
-
break
|
62
|
-
else:
|
63
|
-
# print(f"Skipping registration of '{filename}' - already registered")
|
64
|
-
return
|
65
|
-
# needs registration - see if it's likely!
|
66
|
-
try:
|
67
|
-
from win32com.shell.shell import IsUserAnAdmin
|
68
|
-
except ImportError:
|
69
|
-
print("Can't import win32com.shell - no idea if you are an admin or not?")
|
70
|
-
is_admin = False
|
71
|
-
else:
|
72
|
-
try:
|
73
|
-
is_admin = IsUserAnAdmin()
|
74
|
-
except pythoncom.com_error:
|
75
|
-
# old, less-secure OS - assume *is* admin.
|
76
|
-
is_admin = True
|
77
|
-
if not is_admin:
|
78
|
-
msg = (
|
79
|
-
"%r isn't registered, but I'm not an administrator who can register it."
|
80
|
-
% progids[0]
|
81
|
-
)
|
82
|
-
if why_not:
|
83
|
-
msg += "\n(registration check failed as %s)" % why_not
|
84
|
-
# throw a normal "class not registered" exception - we don't report
|
85
|
-
# them the same way as "real" errors.
|
86
|
-
raise pythoncom.com_error(winerror.CO_E_CLASSSTRING, msg, None, -1)
|
87
|
-
# so theoretically we are able to register it.
|
88
|
-
cmd = f'{win32api.GetModuleFileName(0)} "{filename}" --unattended > nul 2>&1'
|
89
|
-
if verbose:
|
90
|
-
print("Registering engine", filename)
|
91
|
-
# print(cmd)
|
92
|
-
rc = os.system(cmd)
|
93
|
-
if rc:
|
94
|
-
print("Registration command was:")
|
95
|
-
print(cmd)
|
96
|
-
raise RuntimeError("Registration of engine '%s' failed" % filename)
|
97
|
-
|
98
|
-
|
99
|
-
def ExecuteShellCommand(
|
100
|
-
cmd,
|
101
|
-
testcase,
|
102
|
-
expected_output=None, # Set to '' to check for nothing
|
103
|
-
tracebacks_ok=0, # OK if the output contains a t/b?
|
104
|
-
):
|
105
|
-
output_name = tempfile.mktemp("win32com_test")
|
106
|
-
cmd += ' > "%s" 2>&1' % output_name
|
107
|
-
rc = os.system(cmd)
|
108
|
-
output = open(output_name, "r").read().strip()
|
109
|
-
os.remove(output_name)
|
110
|
-
|
111
|
-
class Failed(Exception):
|
112
|
-
pass
|
113
|
-
|
114
|
-
try:
|
115
|
-
if rc:
|
116
|
-
raise Failed("exit code was " + str(rc))
|
117
|
-
if expected_output is not None and output != expected_output:
|
118
|
-
raise Failed(f"Expected output {expected_output!r} (got {output!r})")
|
119
|
-
if not tracebacks_ok and output.find("Traceback (most recent call last)") >= 0:
|
120
|
-
raise Failed("traceback in program output")
|
121
|
-
return output
|
122
|
-
except Failed as why:
|
123
|
-
print("Failed to exec command '%r'" % cmd)
|
124
|
-
print("Failed as", why)
|
125
|
-
print("** start of program output **")
|
126
|
-
print(output)
|
127
|
-
print("** end of program output **")
|
128
|
-
testcase.fail(f"Executing '{cmd}' failed as {why}")
|
129
|
-
|
130
|
-
|
131
|
-
def assertRaisesCOM_HRESULT(testcase, hresult, func, *args, **kw):
|
132
|
-
try:
|
133
|
-
func(*args, **kw)
|
134
|
-
except pythoncom.com_error as details:
|
135
|
-
if details.hresult == hresult:
|
136
|
-
return
|
137
|
-
testcase.fail("Excepected COM exception with HRESULT 0x%x" % hresult)
|
138
|
-
|
139
|
-
|
140
|
-
class CaptureWriter:
|
141
|
-
def __init__(self):
|
142
|
-
self.old_err = self.old_out = None
|
143
|
-
self.clear()
|
144
|
-
|
145
|
-
def capture(self):
|
146
|
-
self.clear()
|
147
|
-
self.old_out = sys.stdout
|
148
|
-
self.old_err = sys.stderr
|
149
|
-
sys.stdout = sys.stderr = self
|
150
|
-
|
151
|
-
def release(self):
|
152
|
-
if self.old_out:
|
153
|
-
sys.stdout = self.old_out
|
154
|
-
self.old_out = None
|
155
|
-
if self.old_err:
|
156
|
-
sys.stderr = self.old_err
|
157
|
-
self.old_err = None
|
158
|
-
|
159
|
-
def clear(self):
|
160
|
-
self.captured = []
|
161
|
-
|
162
|
-
def write(self, msg):
|
163
|
-
self.captured.append(msg)
|
164
|
-
|
165
|
-
def get_captured(self):
|
166
|
-
return "".join(self.captured)
|
167
|
-
|
168
|
-
def get_num_lines_captured(self):
|
169
|
-
return len("".join(self.captured).split("\n"))
|
170
|
-
|
171
|
-
|
172
|
-
# Utilities to set the win32com logger to something what just captures
|
173
|
-
# records written and doesn't print them.
|
174
|
-
class LogHandler(logging.Handler):
|
175
|
-
def __init__(self):
|
176
|
-
self.emitted = []
|
177
|
-
logging.Handler.__init__(self)
|
178
|
-
|
179
|
-
def emit(self, record):
|
180
|
-
self.emitted.append(record)
|
181
|
-
|
182
|
-
|
183
|
-
_win32com_logger = None
|
184
|
-
|
185
|
-
|
186
|
-
def setup_test_logger():
|
187
|
-
old_log = getattr(win32com, "logger", None)
|
188
|
-
global _win32com_logger
|
189
|
-
if _win32com_logger is None:
|
190
|
-
_win32com_logger = logging.Logger("test")
|
191
|
-
handler = LogHandler()
|
192
|
-
_win32com_logger.addHandler(handler)
|
193
|
-
|
194
|
-
win32com.logger = _win32com_logger
|
195
|
-
handler = _win32com_logger.handlers[0]
|
196
|
-
handler.emitted = []
|
197
|
-
return handler.emitted, old_log
|
198
|
-
|
199
|
-
|
200
|
-
def restore_test_logger(prev_logger):
|
201
|
-
assert prev_logger is None, "who needs this?"
|
202
|
-
if prev_logger is None:
|
203
|
-
del win32com.logger
|
204
|
-
else:
|
205
|
-
win32com.logger = prev_logger
|
206
|
-
|
207
|
-
|
208
|
-
# We used to override some of this (and may later!)
|
209
|
-
TestCase = unittest.TestCase
|
210
|
-
|
211
|
-
|
212
|
-
def CapturingFunctionTestCase(*args, **kw):
|
213
|
-
real_test = _CapturingFunctionTestCase(*args, **kw)
|
214
|
-
return pywin32_testutil.LeakTestCase(real_test)
|
215
|
-
|
216
|
-
|
217
|
-
class _CapturingFunctionTestCase(unittest.FunctionTestCase): # , TestCaseMixin):
|
218
|
-
def __call__(self, result=None):
|
219
|
-
if result is None:
|
220
|
-
result = self.defaultTestResult()
|
221
|
-
writer = CaptureWriter()
|
222
|
-
# self._preTest()
|
223
|
-
writer.capture()
|
224
|
-
try:
|
225
|
-
unittest.FunctionTestCase.__call__(self, result)
|
226
|
-
if getattr(self, "do_leak_tests", 0) and hasattr(sys, "gettotalrefcount"):
|
227
|
-
self.run_leak_tests(result)
|
228
|
-
finally:
|
229
|
-
writer.release()
|
230
|
-
# self._postTest(result)
|
231
|
-
output = writer.get_captured()
|
232
|
-
self.checkOutput(output, result)
|
233
|
-
if result.showAll:
|
234
|
-
print(output)
|
235
|
-
|
236
|
-
def checkOutput(self, output, result):
|
237
|
-
if output.find("Traceback") >= 0:
|
238
|
-
msg = "Test output contained a traceback\n---\n%s\n---" % output
|
239
|
-
result.errors.append((self, msg))
|
240
|
-
|
241
|
-
|
242
|
-
class ShellTestCase(unittest.TestCase):
|
243
|
-
def __init__(self, cmd, expected_output):
|
244
|
-
self.__cmd = cmd
|
245
|
-
self.__eo = expected_output
|
246
|
-
unittest.TestCase.__init__(self)
|
247
|
-
|
248
|
-
def runTest(self):
|
249
|
-
ExecuteShellCommand(self.__cmd, self, self.__eo)
|
250
|
-
|
251
|
-
def __str__(self):
|
252
|
-
max = 30
|
253
|
-
if len(self.__cmd) > max:
|
254
|
-
cmd_repr = self.__cmd[:max] + "..."
|
255
|
-
else:
|
256
|
-
cmd_repr = self.__cmd
|
257
|
-
return "exec: " + cmd_repr
|
258
|
-
|
259
|
-
|
260
|
-
def testmain(*args, **kw):
|
261
|
-
pywin32_testutil.testmain(*args, **kw)
|
262
|
-
CheckClean()
|
@@ -1,224 +0,0 @@
|
|
1
|
-
# Code that packs and unpacks the Univgw structures.
|
2
|
-
|
3
|
-
# See if we have a special directory for the binaries (for developers)
|
4
|
-
|
5
|
-
import pythoncom
|
6
|
-
from win32com.client import gencache
|
7
|
-
|
8
|
-
com_error = pythoncom.com_error # Re-exported alias
|
9
|
-
|
10
|
-
|
11
|
-
def RegisterInterfaces(typelibGUID, lcid, major, minor, interface_names=None):
|
12
|
-
ret = [] # return a list of (dispid, funcname for our policy's benefit
|
13
|
-
# First see if we have makepy support. If so, we can probably satisfy the request without loading the typelib.
|
14
|
-
try:
|
15
|
-
mod = gencache.GetModuleForTypelib(typelibGUID, lcid, major, minor)
|
16
|
-
except ImportError:
|
17
|
-
mod = None
|
18
|
-
if mod is None:
|
19
|
-
import win32com.client.build
|
20
|
-
|
21
|
-
# Load up the typelib and build (but don't cache) it now
|
22
|
-
tlb = pythoncom.LoadRegTypeLib(typelibGUID, major, minor, lcid)
|
23
|
-
typecomp_lib = tlb.GetTypeComp()
|
24
|
-
if interface_names is None:
|
25
|
-
interface_names = []
|
26
|
-
for i in range(tlb.GetTypeInfoCount()):
|
27
|
-
info = tlb.GetTypeInfo(i)
|
28
|
-
doc = tlb.GetDocumentation(i)
|
29
|
-
attr = info.GetTypeAttr()
|
30
|
-
if attr.typekind == pythoncom.TKIND_INTERFACE or (
|
31
|
-
attr.typekind == pythoncom.TKIND_DISPATCH
|
32
|
-
and attr.wTypeFlags & pythoncom.TYPEFLAG_FDUAL
|
33
|
-
):
|
34
|
-
interface_names.append(doc[0])
|
35
|
-
for name in interface_names:
|
36
|
-
type_info, type_comp = typecomp_lib.BindType(
|
37
|
-
name,
|
38
|
-
)
|
39
|
-
# Not sure why we don't get an exception here - BindType's C
|
40
|
-
# impl looks correct..
|
41
|
-
if type_info is None:
|
42
|
-
raise ValueError(f"The interface '{name}' can not be located")
|
43
|
-
# If we got back a Dispatch interface, convert to the real interface.
|
44
|
-
attr = type_info.GetTypeAttr()
|
45
|
-
if attr.typekind == pythoncom.TKIND_DISPATCH:
|
46
|
-
refhtype = type_info.GetRefTypeOfImplType(-1)
|
47
|
-
type_info = type_info.GetRefTypeInfo(refhtype)
|
48
|
-
attr = type_info.GetTypeAttr()
|
49
|
-
item = win32com.client.build.VTableItem(
|
50
|
-
type_info, attr, type_info.GetDocumentation(-1)
|
51
|
-
)
|
52
|
-
_doCreateVTable(
|
53
|
-
item.clsid, item.python_name, item.bIsDispatch, item.vtableFuncs
|
54
|
-
)
|
55
|
-
for info in item.vtableFuncs:
|
56
|
-
names, dispid, desc = info
|
57
|
-
invkind = desc[4]
|
58
|
-
ret.append((dispid, invkind, names[0]))
|
59
|
-
else:
|
60
|
-
# Cool - can used cached info.
|
61
|
-
for name in interface_names or mod.VTablesToClassMap.values():
|
62
|
-
try:
|
63
|
-
iid = mod.NamesToIIDMap[name]
|
64
|
-
except KeyError:
|
65
|
-
raise ValueError(
|
66
|
-
f"Interface '{name}' does not exist in this cached typelib"
|
67
|
-
)
|
68
|
-
# print("Processing interface", name)
|
69
|
-
sub_mod = gencache.GetModuleForCLSID(iid)
|
70
|
-
is_dispatch = getattr(sub_mod, name + "_vtables_dispatch_", None)
|
71
|
-
method_defs = getattr(sub_mod, name + "_vtables_", None)
|
72
|
-
if is_dispatch is None or method_defs is None:
|
73
|
-
raise ValueError(f"Interface '{name}' is IDispatch only")
|
74
|
-
|
75
|
-
# And create the univgw defn
|
76
|
-
_doCreateVTable(iid, name, is_dispatch, method_defs)
|
77
|
-
for info in method_defs:
|
78
|
-
names, dispid, desc = info
|
79
|
-
invkind = desc[4]
|
80
|
-
ret.append((dispid, invkind, names[0]))
|
81
|
-
return ret
|
82
|
-
|
83
|
-
|
84
|
-
def _doCreateVTable(iid, interface_name, is_dispatch, method_defs):
|
85
|
-
defn = Definition(iid, is_dispatch, method_defs)
|
86
|
-
vtbl = pythoncom._univgw.CreateVTable(defn, is_dispatch)
|
87
|
-
pythoncom._univgw.RegisterVTable(vtbl, iid, interface_name)
|
88
|
-
|
89
|
-
|
90
|
-
def _CalcTypeSize(typeTuple):
|
91
|
-
t = typeTuple[0]
|
92
|
-
if t & (pythoncom.VT_BYREF | pythoncom.VT_ARRAY):
|
93
|
-
# It's a pointer.
|
94
|
-
cb = pythoncom._univgw.SizeOfVT(pythoncom.VT_PTR)[1]
|
95
|
-
elif t == pythoncom.VT_RECORD:
|
96
|
-
# Just because a type library uses records doesn't mean the user
|
97
|
-
# is trying to. We need to better place to warn about this, but it
|
98
|
-
# isn't here.
|
99
|
-
# try:
|
100
|
-
# import warnings
|
101
|
-
# warnings.warn("warning: records are known to not work for vtable interfaces")
|
102
|
-
# except ImportError:
|
103
|
-
# print("warning: records are known to not work for vtable interfaces")
|
104
|
-
cb = pythoncom._univgw.SizeOfVT(pythoncom.VT_PTR)[1]
|
105
|
-
# cb = typeInfo.GetTypeAttr().cbSizeInstance
|
106
|
-
else:
|
107
|
-
cb = pythoncom._univgw.SizeOfVT(t)[1]
|
108
|
-
return cb
|
109
|
-
|
110
|
-
|
111
|
-
class Arg:
|
112
|
-
def __init__(self, arg_info, name=None):
|
113
|
-
self.name = name
|
114
|
-
self.vt, self.inOut, self.default, self.clsid = arg_info
|
115
|
-
self.size = _CalcTypeSize(arg_info)
|
116
|
-
# Offset from the beginning of the arguments of the stack.
|
117
|
-
self.offset = 0
|
118
|
-
|
119
|
-
|
120
|
-
class Method:
|
121
|
-
def __init__(self, method_info, isEventSink=0):
|
122
|
-
all_names, dispid, desc = method_info
|
123
|
-
name = all_names[0]
|
124
|
-
names = all_names[1:]
|
125
|
-
invkind = desc[4]
|
126
|
-
arg_defs = desc[2]
|
127
|
-
ret_def = desc[8]
|
128
|
-
|
129
|
-
self.dispid = dispid
|
130
|
-
self.invkind = invkind
|
131
|
-
# We don't use this ATM.
|
132
|
-
# self.ret = Arg(ret_def)
|
133
|
-
if isEventSink and name[:2] != "On":
|
134
|
-
name = "On%s" % name
|
135
|
-
self.name = name
|
136
|
-
cbArgs = 0
|
137
|
-
self.args = []
|
138
|
-
for argDesc in arg_defs:
|
139
|
-
arg = Arg(argDesc)
|
140
|
-
arg.offset = cbArgs
|
141
|
-
cbArgs += arg.size
|
142
|
-
self.args.append(arg)
|
143
|
-
self.cbArgs = cbArgs
|
144
|
-
self._gw_in_args = self._GenerateInArgTuple()
|
145
|
-
self._gw_out_args = self._GenerateOutArgTuple()
|
146
|
-
|
147
|
-
def _GenerateInArgTuple(self):
|
148
|
-
# Given a method, generate the in argument tuple
|
149
|
-
l = []
|
150
|
-
for arg in self.args:
|
151
|
-
if arg.inOut & pythoncom.PARAMFLAG_FIN or arg.inOut == 0:
|
152
|
-
l.append((arg.vt, arg.offset, arg.size))
|
153
|
-
return tuple(l)
|
154
|
-
|
155
|
-
def _GenerateOutArgTuple(self):
|
156
|
-
# Given a method, generate the out argument tuple
|
157
|
-
l = []
|
158
|
-
for arg in self.args:
|
159
|
-
if (
|
160
|
-
arg.inOut & pythoncom.PARAMFLAG_FOUT
|
161
|
-
or arg.inOut & pythoncom.PARAMFLAG_FRETVAL
|
162
|
-
or arg.inOut == 0
|
163
|
-
):
|
164
|
-
l.append((arg.vt, arg.offset, arg.size, arg.clsid))
|
165
|
-
return tuple(l)
|
166
|
-
|
167
|
-
|
168
|
-
class Definition:
|
169
|
-
def __init__(self, iid, is_dispatch, method_defs):
|
170
|
-
self._iid = iid
|
171
|
-
self._methods = []
|
172
|
-
self._is_dispatch = is_dispatch
|
173
|
-
for info in method_defs:
|
174
|
-
entry = Method(info)
|
175
|
-
self._methods.append(entry)
|
176
|
-
|
177
|
-
def iid(self):
|
178
|
-
return self._iid
|
179
|
-
|
180
|
-
def vtbl_argsizes(self):
|
181
|
-
return [m.cbArgs for m in self._methods]
|
182
|
-
|
183
|
-
def vtbl_argcounts(self):
|
184
|
-
return [len(m.args) for m in self._methods]
|
185
|
-
|
186
|
-
def dispatch(
|
187
|
-
self,
|
188
|
-
ob,
|
189
|
-
index,
|
190
|
-
argPtr,
|
191
|
-
ReadFromInTuple=pythoncom._univgw.ReadFromInTuple,
|
192
|
-
WriteFromOutTuple=pythoncom._univgw.WriteFromOutTuple,
|
193
|
-
):
|
194
|
-
"Dispatch a call to an interface method."
|
195
|
-
meth = self._methods[index]
|
196
|
-
# Infer S_OK if they don't return anything bizarre.
|
197
|
-
hr = 0
|
198
|
-
args = ReadFromInTuple(meth._gw_in_args, argPtr)
|
199
|
-
# If ob is a dispatcher, ensure a policy
|
200
|
-
ob = getattr(ob, "policy", ob)
|
201
|
-
# Ensure the correct dispid is setup
|
202
|
-
ob._dispid_to_func_[meth.dispid] = meth.name
|
203
|
-
retVal = ob._InvokeEx_(meth.dispid, 0, meth.invkind, args, None, None)
|
204
|
-
# None is an allowed return value stating that
|
205
|
-
# the code doesn't want to touch any output arguments.
|
206
|
-
if isinstance(retVal, tuple): # Like pythoncom, we special case a tuple.
|
207
|
-
# However, if they want to return a specific HRESULT,
|
208
|
-
# then they have to return all of the out arguments
|
209
|
-
# AND the HRESULT.
|
210
|
-
if len(retVal) == len(meth._gw_out_args) + 1:
|
211
|
-
hr = retVal[0]
|
212
|
-
retVal = retVal[1:]
|
213
|
-
else:
|
214
|
-
raise TypeError(
|
215
|
-
"Expected {} return values, got: {}".format(
|
216
|
-
len(meth._gw_out_args) + 1, len(retVal)
|
217
|
-
)
|
218
|
-
)
|
219
|
-
else:
|
220
|
-
retVal = [retVal]
|
221
|
-
retVal.extend([None] * (len(meth._gw_out_args) - 1))
|
222
|
-
retVal = tuple(retVal)
|
223
|
-
WriteFromOutTuple(retVal, meth._gw_out_args, argPtr)
|
224
|
-
return hr
|
@@ -1,35 +0,0 @@
|
|
1
|
-
"""General utility functions common to client and server.
|
2
|
-
|
3
|
-
This module contains a collection of general purpose utility functions.
|
4
|
-
"""
|
5
|
-
|
6
|
-
import pythoncom
|
7
|
-
import win32api
|
8
|
-
import win32con
|
9
|
-
|
10
|
-
|
11
|
-
def IIDToInterfaceName(iid):
|
12
|
-
"""Converts an IID to a string interface name.
|
13
|
-
|
14
|
-
Used primarily for debugging purposes, this allows a cryptic IID to
|
15
|
-
be converted to a useful string name. This will firstly look for interfaces
|
16
|
-
known (ie, registered) by pythoncom. If not known, it will look in the
|
17
|
-
registry for a registered interface.
|
18
|
-
|
19
|
-
iid -- An IID object.
|
20
|
-
|
21
|
-
Result -- Always a string - either an interface name, or '<Unregistered interface>'
|
22
|
-
"""
|
23
|
-
try:
|
24
|
-
return pythoncom.ServerInterfaces[iid]
|
25
|
-
except KeyError:
|
26
|
-
try:
|
27
|
-
try:
|
28
|
-
return win32api.RegQueryValue(
|
29
|
-
win32con.HKEY_CLASSES_ROOT, "Interface\\%s" % iid
|
30
|
-
)
|
31
|
-
except win32api.error:
|
32
|
-
pass
|
33
|
-
except ImportError:
|
34
|
-
pass
|
35
|
-
return str(iid)
|
@@ -1,113 +0,0 @@
|
|
1
|
-
import win32com
|
2
|
-
import win32com.client
|
3
|
-
|
4
|
-
if isinstance(__path__, str):
|
5
|
-
# For freeze to work!
|
6
|
-
import sys
|
7
|
-
|
8
|
-
try:
|
9
|
-
import adsi
|
10
|
-
|
11
|
-
sys.modules["win32com.adsi.adsi"] = adsi
|
12
|
-
except ImportError:
|
13
|
-
pass
|
14
|
-
else:
|
15
|
-
# See if we have a special directory for the binaries (for developers)
|
16
|
-
win32com.__PackageSupportBuildPath__(__path__)
|
17
|
-
|
18
|
-
|
19
|
-
# Some helpers
|
20
|
-
# We want to _look_ like the ADSI module, but provide some additional
|
21
|
-
# helpers.
|
22
|
-
|
23
|
-
# Of specific note - most of the interfaces supported by ADSI
|
24
|
-
# derive from IDispatch - thus, you get the custome methods from the
|
25
|
-
# interface, as well as via IDispatch.
|
26
|
-
import pythoncom
|
27
|
-
|
28
|
-
from .adsi import * # nopycln: import # Re-export everything from win32comext/adsi/adsi.pyd
|
29
|
-
|
30
|
-
LCID = 0
|
31
|
-
|
32
|
-
IDispatchType = pythoncom.TypeIIDs[pythoncom.IID_IDispatch]
|
33
|
-
IADsContainerType = pythoncom.TypeIIDs[adsi.IID_IADsContainer]
|
34
|
-
|
35
|
-
|
36
|
-
def _get_good_ret(
|
37
|
-
ob,
|
38
|
-
# Named arguments used internally
|
39
|
-
resultCLSID=None,
|
40
|
-
):
|
41
|
-
assert resultCLSID is None, "Now have type info for ADSI objects - fix me!"
|
42
|
-
# See if the object supports IDispatch
|
43
|
-
if hasattr(ob, "Invoke"):
|
44
|
-
import win32com.client.dynamic
|
45
|
-
|
46
|
-
name = "Dispatch wrapper around %r" % ob
|
47
|
-
return win32com.client.dynamic.Dispatch(ob, name, ADSIDispatch)
|
48
|
-
return ob
|
49
|
-
|
50
|
-
|
51
|
-
class ADSIEnumerator:
|
52
|
-
def __init__(self, ob):
|
53
|
-
# Query the object for the container interface.
|
54
|
-
self._cont_ = ob.QueryInterface(adsi.IID_IADsContainer)
|
55
|
-
self._oleobj_ = adsi.ADsBuildEnumerator(self._cont_) # a PyIADsEnumVARIANT
|
56
|
-
self.index = -1
|
57
|
-
|
58
|
-
def __getitem__(self, index):
|
59
|
-
return self.__GetIndex(index)
|
60
|
-
|
61
|
-
def __call__(self, index):
|
62
|
-
return self.__GetIndex(index)
|
63
|
-
|
64
|
-
def __GetIndex(self, index):
|
65
|
-
if not isinstance(index, int):
|
66
|
-
raise TypeError("Only integer indexes are supported for enumerators")
|
67
|
-
if index != self.index + 1:
|
68
|
-
# Index requested out of sequence.
|
69
|
-
raise ValueError("You must index this object sequentially")
|
70
|
-
self.index = index
|
71
|
-
result = adsi.ADsEnumerateNext(self._oleobj_, 1)
|
72
|
-
if len(result):
|
73
|
-
return _get_good_ret(result[0])
|
74
|
-
# Failed - reset for next time around.
|
75
|
-
self.index = -1
|
76
|
-
self._oleobj_ = adsi.ADsBuildEnumerator(self._cont_) # a PyIADsEnumVARIANT
|
77
|
-
raise IndexError("list index out of range")
|
78
|
-
|
79
|
-
|
80
|
-
class ADSIDispatch(win32com.client.CDispatch):
|
81
|
-
def _wrap_dispatch_(self, ob, userName=None, returnCLSID=None):
|
82
|
-
if not userName:
|
83
|
-
userName = "ADSI-object"
|
84
|
-
olerepr = win32com.client.dynamic.MakeOleRepr(ob, None, None)
|
85
|
-
return ADSIDispatch(ob, olerepr, userName)
|
86
|
-
|
87
|
-
def _NewEnum(self):
|
88
|
-
try:
|
89
|
-
return ADSIEnumerator(self)
|
90
|
-
except pythoncom.com_error:
|
91
|
-
# doesn't support it - let our base try!
|
92
|
-
return win32com.client.CDispatch._NewEnum(self)
|
93
|
-
|
94
|
-
def __getattr__(self, attr):
|
95
|
-
try:
|
96
|
-
return getattr(self._oleobj_, attr)
|
97
|
-
except AttributeError:
|
98
|
-
return win32com.client.CDispatch.__getattr__(self, attr)
|
99
|
-
|
100
|
-
def QueryInterface(self, iid):
|
101
|
-
ret = self._oleobj_.QueryInterface(iid)
|
102
|
-
return _get_good_ret(ret)
|
103
|
-
|
104
|
-
|
105
|
-
# We override the adsi.pyd methods to do the right thing.
|
106
|
-
def ADsGetObject(path, iid=pythoncom.IID_IDispatch):
|
107
|
-
ret = adsi.ADsGetObject(path, iid)
|
108
|
-
return _get_good_ret(ret)
|
109
|
-
|
110
|
-
|
111
|
-
def ADsOpenObject(path, username, password, reserved=0, iid=pythoncom.IID_IDispatch):
|
112
|
-
ret = adsi.ADsOpenObject(path, username, password, reserved, iid)
|
113
|
-
return _get_good_ret(ret)
|