py2docfx 0.1.15.dev2025736__py3-none-any.whl → 0.1.15.dev2038852__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 +34 -21
- py2docfx/docfx_yaml/tests/test_method_arguments.py +7 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +2 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/__init__.py +27 -8
- 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 +48 -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 +115 -9
- 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/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/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +2 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/__init__.py +27 -8
- 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 +48 -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 +115 -9
- 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/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-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038852.dist-info}/METADATA +1 -1
- {py2docfx-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038852.dist-info}/RECORD +136 -593
- py2docfx/docfx_yaml/tests/test_process_doctree.py +0 -120
- 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.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038852.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038852.dist-info}/top_level.txt +0 -0
@@ -1,115 +0,0 @@
|
|
1
|
-
import unittest
|
2
|
-
|
3
|
-
import pythoncom
|
4
|
-
import win32com.client
|
5
|
-
import win32com.server.util
|
6
|
-
import win32com.test.util
|
7
|
-
import winerror
|
8
|
-
|
9
|
-
|
10
|
-
# An object representing a list of numbers
|
11
|
-
class PythonSemanticClass:
|
12
|
-
_public_methods_ = ["In"] # DISPIDs are allocated.
|
13
|
-
_dispid_to_func_ = {10: "Add", 11: "Remove"} # DISPIDs specified by the object.
|
14
|
-
|
15
|
-
def __init__(self):
|
16
|
-
self.list = []
|
17
|
-
|
18
|
-
def _NewEnum(self):
|
19
|
-
return win32com.server.util.NewEnum(self.list)
|
20
|
-
|
21
|
-
def _value_(self):
|
22
|
-
# should return an array.
|
23
|
-
return self.list
|
24
|
-
|
25
|
-
def _Evaluate(self):
|
26
|
-
# return the sum
|
27
|
-
return sum(self.list)
|
28
|
-
|
29
|
-
def In(self, value):
|
30
|
-
return value in self.list
|
31
|
-
|
32
|
-
def Add(self, value):
|
33
|
-
self.list.append(value)
|
34
|
-
|
35
|
-
def Remove(self, value):
|
36
|
-
self.list.remove(value)
|
37
|
-
|
38
|
-
|
39
|
-
def DispExTest(ob):
|
40
|
-
if not __debug__:
|
41
|
-
print("WARNING: Tests dressed up as assertions are being skipped!")
|
42
|
-
assert ob.GetDispID("Add", 0) == 10, "Policy did not honour the dispid"
|
43
|
-
# Not impl
|
44
|
-
# assert ob.GetMemberName(10, 0)=="add", "Policy did not give me the correct function for the dispid"
|
45
|
-
assert ob.GetDispID("Remove", 0) == 11, "Policy did not honour the dispid"
|
46
|
-
assert ob.GetDispID("In", 0) == 1000, "Allocated dispid unexpected value"
|
47
|
-
assert (
|
48
|
-
ob.GetDispID("_NewEnum", 0) == pythoncom.DISPID_NEWENUM
|
49
|
-
), "_NewEnum() got unexpected DISPID"
|
50
|
-
dispids = []
|
51
|
-
dispid = -1
|
52
|
-
while 1:
|
53
|
-
try:
|
54
|
-
dispid = ob.GetNextDispID(0, dispid)
|
55
|
-
dispids.append(dispid)
|
56
|
-
except pythoncom.com_error as xxx_todo_changeme:
|
57
|
-
(hr, desc, exc, arg) = xxx_todo_changeme.args
|
58
|
-
assert hr == winerror.S_FALSE, "Bad result at end of enum"
|
59
|
-
break
|
60
|
-
dispids.sort()
|
61
|
-
assert dispids == [
|
62
|
-
pythoncom.DISPID_EVALUATE,
|
63
|
-
pythoncom.DISPID_NEWENUM,
|
64
|
-
10,
|
65
|
-
11,
|
66
|
-
1000,
|
67
|
-
], f"Got back the wrong dispids: {dispids}"
|
68
|
-
|
69
|
-
|
70
|
-
def SemanticTest(ob):
|
71
|
-
# First just check our object "generally" as expected.
|
72
|
-
ob.Add(1)
|
73
|
-
ob.Add(2)
|
74
|
-
ob.Add(3)
|
75
|
-
# invoke _value_
|
76
|
-
assert ob() == (1, 2, 3), f"Bad result - got {ob()!r}"
|
77
|
-
|
78
|
-
dispob = ob._oleobj_
|
79
|
-
|
80
|
-
rc = dispob.Invoke(
|
81
|
-
pythoncom.DISPID_EVALUATE,
|
82
|
-
0,
|
83
|
-
pythoncom.DISPATCH_METHOD | pythoncom.DISPATCH_PROPERTYGET,
|
84
|
-
1,
|
85
|
-
)
|
86
|
-
assert rc == 6, f"Evaluate returned {rc}"
|
87
|
-
|
88
|
-
|
89
|
-
class Tester(win32com.test.util.TestCase):
|
90
|
-
def setUp(self):
|
91
|
-
debug = 0
|
92
|
-
import win32com.server.dispatcher
|
93
|
-
|
94
|
-
if debug:
|
95
|
-
dispatcher = win32com.server.dispatcher.DefaultDebugDispatcher
|
96
|
-
else:
|
97
|
-
dispatcher = None
|
98
|
-
disp = win32com.server.util.wrap(
|
99
|
-
PythonSemanticClass(), useDispatcher=dispatcher
|
100
|
-
)
|
101
|
-
self.ob = win32com.client.Dispatch(disp)
|
102
|
-
|
103
|
-
def tearDown(self):
|
104
|
-
self.ob = None
|
105
|
-
|
106
|
-
def testSemantics(self):
|
107
|
-
SemanticTest(self.ob)
|
108
|
-
|
109
|
-
def testIDispatchEx(self):
|
110
|
-
dispexob = self.ob._oleobj_.QueryInterface(pythoncom.IID_IDispatchEx)
|
111
|
-
DispExTest(dispexob)
|
112
|
-
|
113
|
-
|
114
|
-
if __name__ == "__main__":
|
115
|
-
unittest.main()
|
@@ -1,100 +0,0 @@
|
|
1
|
-
import os
|
2
|
-
import time
|
3
|
-
|
4
|
-
import pythoncom
|
5
|
-
from win32com.client import DispatchWithEvents, constants
|
6
|
-
|
7
|
-
finished = 0 # Flag for the wait loop from (3) to test
|
8
|
-
|
9
|
-
|
10
|
-
class ADOEvents: # event handler class
|
11
|
-
def OnWillConnect(self, str, user, pw, opt, sts, cn):
|
12
|
-
# Must have this event, as if it is not handled, ADO assumes the
|
13
|
-
# operation is cancelled, and raises an error (Operation cancelled
|
14
|
-
# by the user)
|
15
|
-
pass
|
16
|
-
|
17
|
-
def OnConnectComplete(self, error, status, connection):
|
18
|
-
# Assume no errors, until we have the basic stuff
|
19
|
-
# working. Now, "connection" should be an open
|
20
|
-
# connection to my data source
|
21
|
-
# Do the "something" from (2). For now, just
|
22
|
-
# print the connection data source
|
23
|
-
print("connection is", connection)
|
24
|
-
print("Connected to", connection.Properties("Data Source"))
|
25
|
-
# OK, our work is done. Let the main loop know
|
26
|
-
global finished
|
27
|
-
finished = 1
|
28
|
-
|
29
|
-
def OnCommitTransComplete(self, pError, adStatus, pConnection):
|
30
|
-
pass
|
31
|
-
|
32
|
-
def OnInfoMessage(self, pError, adStatus, pConnection):
|
33
|
-
pass
|
34
|
-
|
35
|
-
def OnDisconnect(self, adStatus, pConnection):
|
36
|
-
pass
|
37
|
-
|
38
|
-
def OnBeginTransComplete(self, TransactionLevel, pError, adStatus, pConnection):
|
39
|
-
pass
|
40
|
-
|
41
|
-
def OnRollbackTransComplete(self, pError, adStatus, pConnection):
|
42
|
-
pass
|
43
|
-
|
44
|
-
def OnExecuteComplete(
|
45
|
-
self, RecordsAffected, pError, adStatus, pCommand, pRecordset, pConnection
|
46
|
-
):
|
47
|
-
pass
|
48
|
-
|
49
|
-
def OnWillExecute(
|
50
|
-
self,
|
51
|
-
Source,
|
52
|
-
CursorType,
|
53
|
-
LockType,
|
54
|
-
Options,
|
55
|
-
adStatus,
|
56
|
-
pCommand,
|
57
|
-
pRecordset,
|
58
|
-
pConnection,
|
59
|
-
):
|
60
|
-
pass
|
61
|
-
|
62
|
-
|
63
|
-
def TestConnection(dbname):
|
64
|
-
# Create the ADO connection object, and link the event
|
65
|
-
# handlers into it
|
66
|
-
c = DispatchWithEvents("ADODB.Connection", ADOEvents)
|
67
|
-
|
68
|
-
# Initiate the asynchronous open
|
69
|
-
dsn = "Driver={Microsoft Access Driver (*.mdb)};Dbq=%s" % dbname
|
70
|
-
user = "system"
|
71
|
-
pw = "manager"
|
72
|
-
c.Open(dsn, user, pw, constants.adAsyncConnect)
|
73
|
-
|
74
|
-
# Sit in a loop, until our event handler (above) sets the
|
75
|
-
# "finished" flag or we time out.
|
76
|
-
end_time = time.clock() + 10
|
77
|
-
while time.clock() < end_time:
|
78
|
-
# Pump messages so that COM gets a look in
|
79
|
-
pythoncom.PumpWaitingMessages()
|
80
|
-
if not finished:
|
81
|
-
print("XXX - Failed to connect!")
|
82
|
-
|
83
|
-
|
84
|
-
def Test():
|
85
|
-
from . import testAccess
|
86
|
-
|
87
|
-
try:
|
88
|
-
testAccess.GenerateSupport()
|
89
|
-
except pythoncom.com_error:
|
90
|
-
print("*** Can not import the MSAccess type libraries - tests skipped")
|
91
|
-
return
|
92
|
-
dbname = testAccess.CreateTestAccessDatabase()
|
93
|
-
try:
|
94
|
-
TestConnection(dbname)
|
95
|
-
finally:
|
96
|
-
os.unlink(dbname)
|
97
|
-
|
98
|
-
|
99
|
-
if __name__ == "__main__":
|
100
|
-
Test()
|
@@ -1,44 +0,0 @@
|
|
1
|
-
# Test AXScripting the best we can in an automated fashion...
|
2
|
-
import os
|
3
|
-
import sys
|
4
|
-
|
5
|
-
import win32api
|
6
|
-
import win32com.axscript
|
7
|
-
import win32com.axscript.client
|
8
|
-
import win32com.test.util
|
9
|
-
|
10
|
-
verbose = "-v" in sys.argv
|
11
|
-
|
12
|
-
|
13
|
-
class AXScript(win32com.test.util.TestCase):
|
14
|
-
def setUp(self):
|
15
|
-
file = win32api.GetFullPathName(
|
16
|
-
os.path.join(next(iter(win32com.axscript.client.__path__)), "pyscript.py")
|
17
|
-
)
|
18
|
-
|
19
|
-
self.verbose = verbose
|
20
|
-
win32com.test.util.RegisterPythonServer(file, "python", verbose=self.verbose)
|
21
|
-
|
22
|
-
def testHost(self):
|
23
|
-
file = win32api.GetFullPathName(
|
24
|
-
os.path.join(next(iter(win32com.axscript.__path__)), "test\\testHost.py")
|
25
|
-
)
|
26
|
-
cmd = f'{win32api.GetModuleFileName(0)} "{file}"'
|
27
|
-
if verbose:
|
28
|
-
print("Testing Python Scripting host")
|
29
|
-
win32com.test.util.ExecuteShellCommand(cmd, self)
|
30
|
-
|
31
|
-
def testCScript(self):
|
32
|
-
file = win32api.GetFullPathName(
|
33
|
-
os.path.join(
|
34
|
-
next(iter(win32com.axscript.__path__)), "Demos\\Client\\wsh\\test.pys"
|
35
|
-
)
|
36
|
-
)
|
37
|
-
cmd = 'cscript.exe "%s"' % (file)
|
38
|
-
if verbose:
|
39
|
-
print("Testing Windows Scripting host with Python script")
|
40
|
-
win32com.test.util.ExecuteShellCommand(cmd, self)
|
41
|
-
|
42
|
-
|
43
|
-
if __name__ == "__main__":
|
44
|
-
win32com.test.util.testmain()
|
@@ -1,185 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# This assumes that you have MSAccess and DAO installed.
|
3
|
-
# You need to run makepy.py over "msaccess.tlb" and
|
4
|
-
# "dao3032.dll", and ensure the generated files are on the
|
5
|
-
# path.
|
6
|
-
|
7
|
-
# You can run this with no args, and a test database will be generated.
|
8
|
-
# You can optionally pass a dbname on the command line, in which case it will be dumped.
|
9
|
-
|
10
|
-
import os
|
11
|
-
import sys
|
12
|
-
|
13
|
-
import pythoncom
|
14
|
-
import win32api
|
15
|
-
from win32com.client import Dispatch, constants, gencache
|
16
|
-
|
17
|
-
|
18
|
-
def CreateTestAccessDatabase(dbname=None):
|
19
|
-
# Creates a test access database - returns the filename.
|
20
|
-
if dbname is None:
|
21
|
-
dbname = os.path.join(win32api.GetTempPath(), "COMTestSuiteTempDatabase.mdb")
|
22
|
-
|
23
|
-
access = Dispatch("Access.Application")
|
24
|
-
dbEngine = access.DBEngine
|
25
|
-
workspace = dbEngine.Workspaces(0)
|
26
|
-
|
27
|
-
try:
|
28
|
-
os.unlink(dbname)
|
29
|
-
except OSError:
|
30
|
-
print(
|
31
|
-
"WARNING - Unable to delete old test database - expect a COM exception RSN!"
|
32
|
-
)
|
33
|
-
|
34
|
-
newdb = workspace.CreateDatabase(
|
35
|
-
dbname, constants.dbLangGeneral, constants.dbEncrypt
|
36
|
-
)
|
37
|
-
|
38
|
-
# Create one test table.
|
39
|
-
table = newdb.CreateTableDef("Test Table 1")
|
40
|
-
table.Fields.Append(table.CreateField("First Name", constants.dbText))
|
41
|
-
table.Fields.Append(table.CreateField("Last Name", constants.dbText))
|
42
|
-
|
43
|
-
index = table.CreateIndex("UniqueIndex")
|
44
|
-
index.Fields.Append(index.CreateField("First Name"))
|
45
|
-
index.Fields.Append(index.CreateField("Last Name"))
|
46
|
-
index.Unique = -1
|
47
|
-
table.Indexes.Append(index)
|
48
|
-
|
49
|
-
newdb.TableDefs.Append(table)
|
50
|
-
|
51
|
-
# Create a second test table.
|
52
|
-
table = newdb.CreateTableDef("Test Table 2")
|
53
|
-
table.Fields.Append(table.CreateField("First Name", constants.dbText))
|
54
|
-
table.Fields.Append(table.CreateField("Last Name", constants.dbText))
|
55
|
-
|
56
|
-
newdb.TableDefs.Append(table)
|
57
|
-
|
58
|
-
# Create a relationship between them
|
59
|
-
relation = newdb.CreateRelation("TestRelationship")
|
60
|
-
relation.Table = "Test Table 1"
|
61
|
-
relation.ForeignTable = "Test Table 2"
|
62
|
-
|
63
|
-
field = relation.CreateField("First Name")
|
64
|
-
field.ForeignName = "First Name"
|
65
|
-
relation.Fields.Append(field)
|
66
|
-
|
67
|
-
field = relation.CreateField("Last Name")
|
68
|
-
field.ForeignName = "Last Name"
|
69
|
-
relation.Fields.Append(field)
|
70
|
-
|
71
|
-
relation.Attributes = (
|
72
|
-
constants.dbRelationDeleteCascade + constants.dbRelationUpdateCascade
|
73
|
-
)
|
74
|
-
|
75
|
-
newdb.Relations.Append(relation)
|
76
|
-
|
77
|
-
# Finally we can add some data to the table.
|
78
|
-
tab1 = newdb.OpenRecordset("Test Table 1")
|
79
|
-
tab1.AddNew()
|
80
|
-
tab1.Fields("First Name").Value = "Mark"
|
81
|
-
tab1.Fields("Last Name").Value = "Hammond"
|
82
|
-
tab1.Update()
|
83
|
-
|
84
|
-
tab1.MoveFirst()
|
85
|
-
# We do a simple bookmark test which tests our optimized VT_SAFEARRAY|VT_UI1 support.
|
86
|
-
# The bookmark will be a buffer object - remember it for later.
|
87
|
-
bk = tab1.Bookmark
|
88
|
-
|
89
|
-
# Add a second record.
|
90
|
-
tab1.AddNew()
|
91
|
-
tab1.Fields("First Name").Value = "Second"
|
92
|
-
tab1.Fields("Last Name").Value = "Person"
|
93
|
-
tab1.Update()
|
94
|
-
|
95
|
-
# Reset the bookmark to the one we saved.
|
96
|
-
# But first check the test is actually doing something!
|
97
|
-
tab1.MoveLast()
|
98
|
-
assert (
|
99
|
-
tab1.Fields("First Name").Value == "Second"
|
100
|
-
), "Unexpected record is last - makes bookmark test pointless!"
|
101
|
-
|
102
|
-
tab1.Bookmark = bk
|
103
|
-
assert tab1.Bookmark == bk, "The bookmark data is not the same"
|
104
|
-
assert (
|
105
|
-
tab1.Fields("First Name").Value == "Mark"
|
106
|
-
), "The bookmark did not reset the record pointer correctly"
|
107
|
-
|
108
|
-
return dbname
|
109
|
-
|
110
|
-
|
111
|
-
def DoDumpAccessInfo(dbname):
|
112
|
-
from . import daodump
|
113
|
-
|
114
|
-
a = forms = None
|
115
|
-
try:
|
116
|
-
sys.stderr.write("Creating Access Application...\n")
|
117
|
-
a = Dispatch("Access.Application")
|
118
|
-
print("Opening database %s" % dbname)
|
119
|
-
a.OpenCurrentDatabase(dbname)
|
120
|
-
db = a.CurrentDb()
|
121
|
-
daodump.DumpDB(db, 1)
|
122
|
-
forms = a.Forms
|
123
|
-
print("There are %d forms open." % (len(forms)))
|
124
|
-
# Uncommenting these lines means Access remains open.
|
125
|
-
# for form in forms:
|
126
|
-
# print(f" {form.Name}")
|
127
|
-
reports = a.Reports
|
128
|
-
print("There are %d reports open" % (len(reports)))
|
129
|
-
finally:
|
130
|
-
if not a is None:
|
131
|
-
sys.stderr.write("Closing database\n")
|
132
|
-
try:
|
133
|
-
a.CloseCurrentDatabase()
|
134
|
-
except pythoncom.com_error:
|
135
|
-
pass
|
136
|
-
|
137
|
-
|
138
|
-
# Generate all the support we can.
|
139
|
-
def GenerateSupport():
|
140
|
-
# dao
|
141
|
-
gencache.EnsureModule("{00025E01-0000-0000-C000-000000000046}", 0, 4, 0)
|
142
|
-
# Access
|
143
|
-
# gencache.EnsureModule("{4AFFC9A0-5F99-101B-AF4E-00AA003F0F07}", 0, 8, 0)
|
144
|
-
gencache.EnsureDispatch("Access.Application")
|
145
|
-
|
146
|
-
|
147
|
-
def DumpAccessInfo(dbname):
|
148
|
-
amod = gencache.GetModuleForProgID("Access.Application")
|
149
|
-
dmod = gencache.GetModuleForProgID("DAO.DBEngine.35")
|
150
|
-
if amod is None and dmod is None:
|
151
|
-
DoDumpAccessInfo(dbname)
|
152
|
-
# Now generate all the support we can.
|
153
|
-
GenerateSupport()
|
154
|
-
else:
|
155
|
-
sys.stderr.write(
|
156
|
-
"testAccess not doing dynamic test, as generated code already exists\n"
|
157
|
-
)
|
158
|
-
# Now a generated version.
|
159
|
-
DoDumpAccessInfo(dbname)
|
160
|
-
|
161
|
-
|
162
|
-
def test(dbname=None):
|
163
|
-
if dbname is None:
|
164
|
-
# We need makepy support to create a database (just for the constants!)
|
165
|
-
try:
|
166
|
-
GenerateSupport()
|
167
|
-
except pythoncom.com_error:
|
168
|
-
print("*** Can not import the MSAccess type libraries - tests skipped")
|
169
|
-
return
|
170
|
-
dbname = CreateTestAccessDatabase()
|
171
|
-
print("A test database at '%s' was created" % dbname)
|
172
|
-
|
173
|
-
DumpAccessInfo(dbname)
|
174
|
-
|
175
|
-
|
176
|
-
if __name__ == "__main__":
|
177
|
-
from .util import CheckClean
|
178
|
-
|
179
|
-
dbname = None
|
180
|
-
if len(sys.argv) > 1:
|
181
|
-
dbname = sys.argv[1]
|
182
|
-
|
183
|
-
test(dbname)
|
184
|
-
|
185
|
-
CheckClean()
|
@@ -1,99 +0,0 @@
|
|
1
|
-
# Originally contributed by Stefan Schukat as part of this arbitrary-sized
|
2
|
-
# arrays patch.
|
3
|
-
|
4
|
-
from win32com.client import gencache
|
5
|
-
from win32com.test import util
|
6
|
-
|
7
|
-
ZeroD = 0
|
8
|
-
OneDEmpty = []
|
9
|
-
OneD = [1, 2, 3]
|
10
|
-
TwoD = [[1, 2, 3], [1, 2, 3], [1, 2, 3]]
|
11
|
-
|
12
|
-
TwoD1 = [[[1, 2, 3, 5], [1, 2, 3], [1, 2, 3]], [[1, 2, 3], [1, 2, 3], [1, 2, 3]]]
|
13
|
-
|
14
|
-
OneD1 = [[[1, 2, 3], [1, 2, 3], [1, 2, 3]], [[1, 2, 3], [1, 2, 3]]]
|
15
|
-
|
16
|
-
OneD2 = [
|
17
|
-
[1, 2, 3],
|
18
|
-
[1, 2, 3, 4, 5],
|
19
|
-
[[1, 2, 3, 4, 5], [1, 2, 3, 4, 5], [1, 2, 3, 4, 5]],
|
20
|
-
]
|
21
|
-
|
22
|
-
|
23
|
-
ThreeD = [[[1, 2, 3], [1, 2, 3], [1, 2, 3]], [[1, 2, 3], [1, 2, 3], [1, 2, 3]]]
|
24
|
-
|
25
|
-
FourD = [
|
26
|
-
[
|
27
|
-
[[1, 2, 3], [1, 2, 3], [1, 2, 3]],
|
28
|
-
[[1, 2, 3], [1, 2, 3], [1, 2, 3]],
|
29
|
-
[[1, 2, 3], [1, 2, 3], [1, 2, 3]],
|
30
|
-
],
|
31
|
-
[
|
32
|
-
[[1, 2, 3], [1, 2, 3], [1, 2, 3]],
|
33
|
-
[[1, 2, 3], [1, 2, 3], [1, 2, 3]],
|
34
|
-
[[1, 2, 3], [1, 2, 3], [1, 2, 3]],
|
35
|
-
],
|
36
|
-
]
|
37
|
-
|
38
|
-
LargeD = [
|
39
|
-
[[list(range(10))] * 10],
|
40
|
-
] * 512
|
41
|
-
|
42
|
-
|
43
|
-
def _normalize_array(a):
|
44
|
-
if not isinstance(a, tuple):
|
45
|
-
return a
|
46
|
-
ret = []
|
47
|
-
for i in a:
|
48
|
-
ret.append(_normalize_array(i))
|
49
|
-
return ret
|
50
|
-
|
51
|
-
|
52
|
-
class ArrayTest(util.TestCase):
|
53
|
-
def setUp(self):
|
54
|
-
self.arr = gencache.EnsureDispatch("PyCOMTest.ArrayTest")
|
55
|
-
|
56
|
-
def tearDown(self):
|
57
|
-
self.arr = None
|
58
|
-
|
59
|
-
def _doTest(self, array):
|
60
|
-
self.arr.Array = array
|
61
|
-
self.assertEqual(_normalize_array(self.arr.Array), array)
|
62
|
-
|
63
|
-
def testZeroD(self):
|
64
|
-
self._doTest(ZeroD)
|
65
|
-
|
66
|
-
def testOneDEmpty(self):
|
67
|
-
self._doTest(OneDEmpty)
|
68
|
-
|
69
|
-
def testOneD(self):
|
70
|
-
self._doTest(OneD)
|
71
|
-
|
72
|
-
def testTwoD(self):
|
73
|
-
self._doTest(TwoD)
|
74
|
-
|
75
|
-
def testThreeD(self):
|
76
|
-
self._doTest(ThreeD)
|
77
|
-
|
78
|
-
def testFourD(self):
|
79
|
-
self._doTest(FourD)
|
80
|
-
|
81
|
-
def testTwoD1(self):
|
82
|
-
self._doTest(TwoD1)
|
83
|
-
|
84
|
-
def testOneD1(self):
|
85
|
-
self._doTest(OneD1)
|
86
|
-
|
87
|
-
def testOneD2(self):
|
88
|
-
self._doTest(OneD2)
|
89
|
-
|
90
|
-
def testLargeD(self):
|
91
|
-
self._doTest(LargeD)
|
92
|
-
|
93
|
-
|
94
|
-
if __name__ == "__main__":
|
95
|
-
try:
|
96
|
-
util.testmain()
|
97
|
-
except SystemExit as rc:
|
98
|
-
if not rc:
|
99
|
-
raise
|
@@ -1,169 +0,0 @@
|
|
1
|
-
# testClipboard.py
|
2
|
-
import unittest
|
3
|
-
|
4
|
-
import pythoncom
|
5
|
-
import win32clipboard
|
6
|
-
import win32con
|
7
|
-
import winerror
|
8
|
-
from win32com.server.exception import COMException
|
9
|
-
from win32com.server.util import NewEnum, wrap
|
10
|
-
|
11
|
-
IDataObject_Methods = """GetData GetDataHere QueryGetData
|
12
|
-
GetCanonicalFormatEtc SetData EnumFormatEtc
|
13
|
-
DAdvise DUnadvise EnumDAdvise""".split()
|
14
|
-
|
15
|
-
# A COM object implementing IDataObject used for basic testing.
|
16
|
-
num_do_objects = 0
|
17
|
-
|
18
|
-
|
19
|
-
def WrapCOMObject(ob, iid=None):
|
20
|
-
return wrap(ob, iid=iid, useDispatcher=0)
|
21
|
-
|
22
|
-
|
23
|
-
class TestDataObject:
|
24
|
-
_com_interfaces_ = [pythoncom.IID_IDataObject]
|
25
|
-
_public_methods_ = IDataObject_Methods
|
26
|
-
|
27
|
-
def __init__(self, bytesval):
|
28
|
-
global num_do_objects
|
29
|
-
num_do_objects += 1
|
30
|
-
self.bytesval = bytesval
|
31
|
-
self.supported_fe = []
|
32
|
-
for cf in (win32con.CF_TEXT, win32con.CF_UNICODETEXT):
|
33
|
-
fe = cf, None, pythoncom.DVASPECT_CONTENT, -1, pythoncom.TYMED_HGLOBAL
|
34
|
-
self.supported_fe.append(fe)
|
35
|
-
|
36
|
-
def __del__(self):
|
37
|
-
global num_do_objects
|
38
|
-
num_do_objects -= 1
|
39
|
-
|
40
|
-
def _query_interface_(self, iid):
|
41
|
-
if iid == pythoncom.IID_IEnumFORMATETC:
|
42
|
-
return NewEnum(self.supported_fe, iid=iid)
|
43
|
-
|
44
|
-
def GetData(self, fe):
|
45
|
-
ret_stg = None
|
46
|
-
cf, target, aspect, index, tymed = fe
|
47
|
-
if aspect & pythoncom.DVASPECT_CONTENT and tymed == pythoncom.TYMED_HGLOBAL:
|
48
|
-
if cf == win32con.CF_TEXT:
|
49
|
-
ret_stg = pythoncom.STGMEDIUM()
|
50
|
-
ret_stg.set(pythoncom.TYMED_HGLOBAL, self.bytesval)
|
51
|
-
elif cf == win32con.CF_UNICODETEXT:
|
52
|
-
ret_stg = pythoncom.STGMEDIUM()
|
53
|
-
ret_stg.set(pythoncom.TYMED_HGLOBAL, self.bytesval.decode("latin1"))
|
54
|
-
|
55
|
-
if ret_stg is None:
|
56
|
-
raise COMException(hresult=winerror.E_NOTIMPL)
|
57
|
-
return ret_stg
|
58
|
-
|
59
|
-
def GetDataHere(self, fe):
|
60
|
-
raise COMException(hresult=winerror.E_NOTIMPL)
|
61
|
-
|
62
|
-
def QueryGetData(self, fe):
|
63
|
-
cf, target, aspect, index, tymed = fe
|
64
|
-
if aspect & pythoncom.DVASPECT_CONTENT == 0:
|
65
|
-
raise COMException(hresult=winerror.DV_E_DVASPECT)
|
66
|
-
if tymed != pythoncom.TYMED_HGLOBAL:
|
67
|
-
raise COMException(hresult=winerror.DV_E_TYMED)
|
68
|
-
return None # should check better
|
69
|
-
|
70
|
-
def GetCanonicalFormatEtc(self, fe):
|
71
|
-
raise COMException(winerror.DATA_S_SAMEFORMATETC)
|
72
|
-
|
73
|
-
def SetData(self, fe, medium):
|
74
|
-
raise COMException(hresult=winerror.E_NOTIMPL)
|
75
|
-
|
76
|
-
def EnumFormatEtc(self, direction):
|
77
|
-
if direction != pythoncom.DATADIR_GET:
|
78
|
-
raise COMException(hresult=winerror.E_NOTIMPL)
|
79
|
-
return NewEnum(self.supported_fe, iid=pythoncom.IID_IEnumFORMATETC)
|
80
|
-
|
81
|
-
def DAdvise(self, fe, flags, sink):
|
82
|
-
raise COMException(hresult=winerror.E_NOTIMPL)
|
83
|
-
|
84
|
-
def DUnadvise(self, connection):
|
85
|
-
raise COMException(hresult=winerror.E_NOTIMPL)
|
86
|
-
|
87
|
-
def EnumDAdvise(self):
|
88
|
-
raise COMException(hresult=winerror.E_NOTIMPL)
|
89
|
-
|
90
|
-
|
91
|
-
class ClipboardTester(unittest.TestCase):
|
92
|
-
def setUp(self):
|
93
|
-
pythoncom.OleInitialize()
|
94
|
-
|
95
|
-
def tearDown(self):
|
96
|
-
try:
|
97
|
-
pythoncom.OleFlushClipboard()
|
98
|
-
except pythoncom.com_error:
|
99
|
-
# We never set anything!
|
100
|
-
pass
|
101
|
-
|
102
|
-
def testIsCurrentClipboard(self):
|
103
|
-
do = TestDataObject(b"Hello from Python")
|
104
|
-
do = WrapCOMObject(do, iid=pythoncom.IID_IDataObject)
|
105
|
-
pythoncom.OleSetClipboard(do)
|
106
|
-
self.assertTrue(pythoncom.OleIsCurrentClipboard(do))
|
107
|
-
|
108
|
-
def testComToWin32(self):
|
109
|
-
# Set the data via our DataObject
|
110
|
-
do = TestDataObject(b"Hello from Python")
|
111
|
-
do = WrapCOMObject(do, iid=pythoncom.IID_IDataObject)
|
112
|
-
pythoncom.OleSetClipboard(do)
|
113
|
-
# Then get it back via the standard win32 clipboard functions.
|
114
|
-
win32clipboard.OpenClipboard()
|
115
|
-
got = win32clipboard.GetClipboardData(win32con.CF_TEXT)
|
116
|
-
# CF_TEXT gives bytes.
|
117
|
-
expected = b"Hello from Python"
|
118
|
-
self.assertEqual(got, expected)
|
119
|
-
# Now check unicode
|
120
|
-
got = win32clipboard.GetClipboardData(win32con.CF_UNICODETEXT)
|
121
|
-
self.assertEqual(got, "Hello from Python")
|
122
|
-
win32clipboard.CloseClipboard()
|
123
|
-
|
124
|
-
def testWin32ToCom(self):
|
125
|
-
# Set the data via the std win32 clipboard functions.
|
126
|
-
val = b"Hello again!" # always bytes
|
127
|
-
win32clipboard.OpenClipboard()
|
128
|
-
win32clipboard.SetClipboardData(win32con.CF_TEXT, val)
|
129
|
-
win32clipboard.CloseClipboard()
|
130
|
-
# and get it via an IDataObject provided by COM
|
131
|
-
do = pythoncom.OleGetClipboard()
|
132
|
-
cf = (
|
133
|
-
win32con.CF_TEXT,
|
134
|
-
None,
|
135
|
-
pythoncom.DVASPECT_CONTENT,
|
136
|
-
-1,
|
137
|
-
pythoncom.TYMED_HGLOBAL,
|
138
|
-
)
|
139
|
-
stg = do.GetData(cf)
|
140
|
-
got = stg.data
|
141
|
-
# The data we get back has the \0, as our STGMEDIUM has no way of
|
142
|
-
# knowing if it meant to be a string, or a binary buffer, so
|
143
|
-
# it must return it too.
|
144
|
-
self.assertTrue(got, b"Hello again!\0")
|
145
|
-
|
146
|
-
def testDataObjectFlush(self):
|
147
|
-
do = TestDataObject(b"Hello from Python")
|
148
|
-
do = WrapCOMObject(do, iid=pythoncom.IID_IDataObject)
|
149
|
-
pythoncom.OleSetClipboard(do)
|
150
|
-
self.assertEqual(num_do_objects, 1)
|
151
|
-
|
152
|
-
do = None # clear my ref!
|
153
|
-
pythoncom.OleFlushClipboard()
|
154
|
-
self.assertEqual(num_do_objects, 0)
|
155
|
-
|
156
|
-
def testDataObjectReset(self):
|
157
|
-
do = TestDataObject(b"Hello from Python")
|
158
|
-
do = WrapCOMObject(do)
|
159
|
-
pythoncom.OleSetClipboard(do)
|
160
|
-
do = None # clear my ref!
|
161
|
-
self.assertEqual(num_do_objects, 1)
|
162
|
-
pythoncom.OleSetClipboard(None)
|
163
|
-
self.assertEqual(num_do_objects, 0)
|
164
|
-
|
165
|
-
|
166
|
-
if __name__ == "__main__":
|
167
|
-
from win32com.test import util
|
168
|
-
|
169
|
-
util.testmain()
|