py2docfx 0.1.15rc2025477__py3-none-any.whl → 0.1.16__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.dist-info}/METADATA +1 -1
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.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.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dist-info}/top_level.txt +0 -0
@@ -1,585 +0,0 @@
|
|
1
|
-
import re
|
2
|
-
import sys
|
3
|
-
|
4
|
-
# Reason last stmt is continued (or C_NONE if it's not).
|
5
|
-
C_NONE, C_BACKSLASH, C_STRING, C_BRACKET = list(range(4))
|
6
|
-
|
7
|
-
if 0: # for throwaway debugging output
|
8
|
-
|
9
|
-
def dump(*stuff):
|
10
|
-
sys.__stdout__.write(" ".join(map(str, stuff)) + "\n")
|
11
|
-
|
12
|
-
|
13
|
-
# Find what looks like the start of a popular stmt.
|
14
|
-
|
15
|
-
_synchre = re.compile(
|
16
|
-
r"""
|
17
|
-
^
|
18
|
-
[ \t]*
|
19
|
-
(?: if
|
20
|
-
| for
|
21
|
-
| while
|
22
|
-
| else
|
23
|
-
| def
|
24
|
-
| return
|
25
|
-
| assert
|
26
|
-
| break
|
27
|
-
| class
|
28
|
-
| continue
|
29
|
-
| elif
|
30
|
-
| try
|
31
|
-
| except
|
32
|
-
| raise
|
33
|
-
| import
|
34
|
-
)
|
35
|
-
\b
|
36
|
-
""",
|
37
|
-
re.VERBOSE | re.MULTILINE,
|
38
|
-
).search
|
39
|
-
|
40
|
-
# Match blank line or non-indenting comment line.
|
41
|
-
|
42
|
-
_junkre = re.compile(
|
43
|
-
r"""
|
44
|
-
[ \t]*
|
45
|
-
(?: \# \S .* )?
|
46
|
-
\n
|
47
|
-
""",
|
48
|
-
re.VERBOSE,
|
49
|
-
).match
|
50
|
-
|
51
|
-
# Match any flavor of string; the terminating quote is optional
|
52
|
-
# so that we're robust in the face of incomplete program text.
|
53
|
-
|
54
|
-
_match_stringre = re.compile(
|
55
|
-
r"""
|
56
|
-
\""" [^"\\]* (?:
|
57
|
-
(?: \\. | "(?!"") )
|
58
|
-
[^"\\]*
|
59
|
-
)*
|
60
|
-
(?: \""" )?
|
61
|
-
|
62
|
-
| " [^"\\\n]* (?: \\. [^"\\\n]* )* "?
|
63
|
-
|
64
|
-
| ''' [^'\\]* (?:
|
65
|
-
(?: \\. | '(?!'') )
|
66
|
-
[^'\\]*
|
67
|
-
)*
|
68
|
-
(?: ''' )?
|
69
|
-
|
70
|
-
| ' [^'\\\n]* (?: \\. [^'\\\n]* )* '?
|
71
|
-
""",
|
72
|
-
re.VERBOSE | re.DOTALL,
|
73
|
-
).match
|
74
|
-
|
75
|
-
# Match a line that starts with something interesting;
|
76
|
-
# used to find the first item of a bracket structure.
|
77
|
-
|
78
|
-
_itemre = re.compile(
|
79
|
-
r"""
|
80
|
-
[ \t]*
|
81
|
-
[^\s#\\] # if we match, m.end()-1 is the interesting char
|
82
|
-
""",
|
83
|
-
re.VERBOSE,
|
84
|
-
).match
|
85
|
-
|
86
|
-
# Match start of stmts that should be followed by a dedent.
|
87
|
-
|
88
|
-
_closere = re.compile(
|
89
|
-
r"""
|
90
|
-
\s*
|
91
|
-
(?: return
|
92
|
-
| break
|
93
|
-
| continue
|
94
|
-
| raise
|
95
|
-
| pass
|
96
|
-
)
|
97
|
-
\b
|
98
|
-
""",
|
99
|
-
re.VERBOSE,
|
100
|
-
).match
|
101
|
-
|
102
|
-
# Chew up non-special chars as quickly as possible. If match is
|
103
|
-
# successful, m.end() less 1 is the index of the last boring char
|
104
|
-
# matched. If match is unsuccessful, the string starts with an
|
105
|
-
# interesting char.
|
106
|
-
|
107
|
-
_chew_ordinaryre = re.compile(
|
108
|
-
r"""
|
109
|
-
[^[\](){}#'"\\]+
|
110
|
-
""",
|
111
|
-
re.VERBOSE,
|
112
|
-
).match
|
113
|
-
|
114
|
-
# Build translation table to map uninteresting chars to "x", open
|
115
|
-
# brackets to "(", and close brackets to ")".
|
116
|
-
|
117
|
-
_tran = ["x"] * 256
|
118
|
-
for ch in "({[":
|
119
|
-
_tran[ord(ch)] = "("
|
120
|
-
for ch in ")}]":
|
121
|
-
_tran[ord(ch)] = ")"
|
122
|
-
for ch in "\"'\\\n#":
|
123
|
-
_tran[ord(ch)] = ch
|
124
|
-
del ch
|
125
|
-
|
126
|
-
|
127
|
-
class Parser:
|
128
|
-
def __init__(self, indentwidth, tabwidth):
|
129
|
-
self.indentwidth = indentwidth
|
130
|
-
self.tabwidth = tabwidth
|
131
|
-
|
132
|
-
def set_str(self, str):
|
133
|
-
assert len(str) == 0 or str[-1] == "\n", f"Oops - have str {str!r}"
|
134
|
-
self.str = str
|
135
|
-
self.study_level = 0
|
136
|
-
|
137
|
-
# Return index of a good place to begin parsing, as close to the
|
138
|
-
# end of the string as possible. This will be the start of some
|
139
|
-
# popular stmt like "if" or "def". Return None if none found:
|
140
|
-
# the caller should pass more prior context then, if possible, or
|
141
|
-
# if not (the entire program text up until the point of interest
|
142
|
-
# has already been tried) pass 0 to set_lo.
|
143
|
-
#
|
144
|
-
# This will be reliable iff given a reliable is_char_in_string
|
145
|
-
# function, meaning that when it says "no", it's absolutely
|
146
|
-
# guaranteed that the char is not in a string.
|
147
|
-
#
|
148
|
-
# Ack, hack: in the shell window this kills us, because there's
|
149
|
-
# no way to tell the differences between output, >>> etc and
|
150
|
-
# user input. Indeed, IDLE's first output line makes the rest
|
151
|
-
# look like it's in an unclosed paren!:
|
152
|
-
# Python X.X.X (#0, Apr 13 1999, ...
|
153
|
-
|
154
|
-
def find_good_parse_start(self, use_ps1, is_char_in_string=None):
|
155
|
-
str, pos = self.str, None
|
156
|
-
if use_ps1:
|
157
|
-
# shell window
|
158
|
-
ps1 = "\n" + sys.ps1
|
159
|
-
i = str.rfind(ps1)
|
160
|
-
if i >= 0:
|
161
|
-
pos = i + len(ps1)
|
162
|
-
# make it look like there's a newline instead
|
163
|
-
# of ps1 at the start -- hacking here once avoids
|
164
|
-
# repeated hackery later
|
165
|
-
self.str = str[: pos - 1] + "\n" + str[pos:]
|
166
|
-
return pos
|
167
|
-
|
168
|
-
# File window -- real work.
|
169
|
-
if not is_char_in_string:
|
170
|
-
# no clue -- make the caller pass everything
|
171
|
-
return None
|
172
|
-
|
173
|
-
# Peek back from the end for a good place to start,
|
174
|
-
# but don't try too often; pos will be left None, or
|
175
|
-
# bumped to a legitimate synch point.
|
176
|
-
limit = len(str)
|
177
|
-
for tries in range(5):
|
178
|
-
i = str.rfind(":\n", 0, limit)
|
179
|
-
if i < 0:
|
180
|
-
break
|
181
|
-
i = str.rfind("\n", 0, i) + 1 # start of colon line
|
182
|
-
m = _synchre(str, i, limit)
|
183
|
-
if m and not is_char_in_string(m.start()):
|
184
|
-
pos = m.start()
|
185
|
-
break
|
186
|
-
limit = i
|
187
|
-
if pos is None:
|
188
|
-
# Nothing looks like a block-opener, or stuff does
|
189
|
-
# but is_char_in_string keeps returning true; most likely
|
190
|
-
# we're in or near a giant string, the colorizer hasn't
|
191
|
-
# caught up enough to be helpful, or there simply *aren't*
|
192
|
-
# any interesting stmts. In any of these cases we're
|
193
|
-
# going to have to parse the whole thing to be sure, so
|
194
|
-
# give it one last try from the start, but stop wasting
|
195
|
-
# time here regardless of the outcome.
|
196
|
-
m = _synchre(str)
|
197
|
-
if m and not is_char_in_string(m.start()):
|
198
|
-
pos = m.start()
|
199
|
-
return pos
|
200
|
-
|
201
|
-
# Peeking back worked; look forward until _synchre no longer
|
202
|
-
# matches.
|
203
|
-
i = pos + 1
|
204
|
-
while 1:
|
205
|
-
m = _synchre(str, i)
|
206
|
-
if m:
|
207
|
-
s, i = m.span()
|
208
|
-
if not is_char_in_string(s):
|
209
|
-
pos = s
|
210
|
-
else:
|
211
|
-
break
|
212
|
-
return pos
|
213
|
-
|
214
|
-
# Throw away the start of the string. Intended to be called with
|
215
|
-
# find_good_parse_start's result.
|
216
|
-
|
217
|
-
def set_lo(self, lo):
|
218
|
-
assert lo == 0 or self.str[lo - 1] == "\n"
|
219
|
-
if lo > 0:
|
220
|
-
self.str = self.str[lo:]
|
221
|
-
|
222
|
-
# As quickly as humanly possible <wink>, find the line numbers (0-
|
223
|
-
# based) of the non-continuation lines.
|
224
|
-
# Creates self.{goodlines, continuation}.
|
225
|
-
|
226
|
-
def _study1(self):
|
227
|
-
if self.study_level >= 1:
|
228
|
-
return
|
229
|
-
self.study_level = 1
|
230
|
-
|
231
|
-
# Map all uninteresting characters to "x", all open brackets
|
232
|
-
# to "(", all close brackets to ")", then collapse runs of
|
233
|
-
# uninteresting characters. This can cut the number of chars
|
234
|
-
# by a factor of 10-40, and so greatly speed the following loop.
|
235
|
-
str = self.str
|
236
|
-
str = str.translate(_tran)
|
237
|
-
str = str.replace("xxxxxxxx", "x")
|
238
|
-
str = str.replace("xxxx", "x")
|
239
|
-
str = str.replace("xx", "x")
|
240
|
-
str = str.replace("xx", "x")
|
241
|
-
str = str.replace("\nx", "\n")
|
242
|
-
# note that replacing x\n with \n would be incorrect, because
|
243
|
-
# x may be preceded by a backslash
|
244
|
-
|
245
|
-
# March over the squashed version of the program, accumulating
|
246
|
-
# the line numbers of non-continued stmts, and determining
|
247
|
-
# whether & why the last stmt is a continuation.
|
248
|
-
continuation = C_NONE
|
249
|
-
level = lno = 0 # level is nesting level; lno is line number
|
250
|
-
self.goodlines = goodlines = [0]
|
251
|
-
push_good = goodlines.append
|
252
|
-
i, n = 0, len(str)
|
253
|
-
while i < n:
|
254
|
-
ch = str[i]
|
255
|
-
i += 1
|
256
|
-
|
257
|
-
# cases are checked in decreasing order of frequency
|
258
|
-
if ch == "x":
|
259
|
-
continue
|
260
|
-
|
261
|
-
if ch == "\n":
|
262
|
-
lno += 1
|
263
|
-
if level == 0:
|
264
|
-
push_good(lno)
|
265
|
-
# else we're in an unclosed bracket structure
|
266
|
-
continue
|
267
|
-
|
268
|
-
if ch == "(":
|
269
|
-
level += 1
|
270
|
-
continue
|
271
|
-
|
272
|
-
if ch == ")":
|
273
|
-
if level:
|
274
|
-
level -= 1
|
275
|
-
# else the program is invalid, but we can't complain
|
276
|
-
continue
|
277
|
-
|
278
|
-
if ch == '"' or ch == "'":
|
279
|
-
# consume the string
|
280
|
-
quote = ch
|
281
|
-
if str[i - 1 : i + 2] == quote * 3:
|
282
|
-
quote *= 3
|
283
|
-
w = len(quote) - 1
|
284
|
-
i += w
|
285
|
-
while i < n:
|
286
|
-
ch = str[i]
|
287
|
-
i += 1
|
288
|
-
|
289
|
-
if ch == "x":
|
290
|
-
continue
|
291
|
-
|
292
|
-
if str[i - 1 : i + w] == quote:
|
293
|
-
i += w
|
294
|
-
break
|
295
|
-
|
296
|
-
if ch == "\n":
|
297
|
-
lno += 1
|
298
|
-
if w == 0:
|
299
|
-
# unterminated single-quoted string
|
300
|
-
if level == 0:
|
301
|
-
push_good(lno)
|
302
|
-
break
|
303
|
-
continue
|
304
|
-
|
305
|
-
if ch == "\\":
|
306
|
-
assert i < n
|
307
|
-
if str[i] == "\n":
|
308
|
-
lno += 1
|
309
|
-
i += 1
|
310
|
-
continue
|
311
|
-
|
312
|
-
# else comment char or paren inside string
|
313
|
-
|
314
|
-
else:
|
315
|
-
# didn't break out of the loop, so we're still
|
316
|
-
# inside a string
|
317
|
-
continuation = C_STRING
|
318
|
-
continue # with outer loop
|
319
|
-
|
320
|
-
if ch == "#":
|
321
|
-
# consume the comment
|
322
|
-
i = str.find("\n", i)
|
323
|
-
assert i >= 0
|
324
|
-
continue
|
325
|
-
|
326
|
-
assert ch == "\\"
|
327
|
-
assert i < n
|
328
|
-
if str[i] == "\n":
|
329
|
-
lno += 1
|
330
|
-
if i + 1 == n:
|
331
|
-
continuation = C_BACKSLASH
|
332
|
-
i += 1
|
333
|
-
|
334
|
-
# The last stmt may be continued for all 3 reasons.
|
335
|
-
# String continuation takes precedence over bracket
|
336
|
-
# continuation, which beats backslash continuation.
|
337
|
-
if continuation != C_STRING and level > 0:
|
338
|
-
continuation = C_BRACKET
|
339
|
-
self.continuation = continuation
|
340
|
-
|
341
|
-
# Push the final line number as a sentinel value, regardless of
|
342
|
-
# whether it's continued.
|
343
|
-
assert (continuation == C_NONE) == (goodlines[-1] == lno)
|
344
|
-
if goodlines[-1] != lno:
|
345
|
-
push_good(lno)
|
346
|
-
|
347
|
-
def get_continuation_type(self):
|
348
|
-
self._study1()
|
349
|
-
return self.continuation
|
350
|
-
|
351
|
-
# study1 was sufficient to determine the continuation status,
|
352
|
-
# but doing more requires looking at every character. study2
|
353
|
-
# does this for the last interesting statement in the block.
|
354
|
-
# Creates:
|
355
|
-
# self.stmt_start, stmt_end
|
356
|
-
# slice indices of last interesting stmt
|
357
|
-
# self.lastch
|
358
|
-
# last non-whitespace character before optional trailing
|
359
|
-
# comment
|
360
|
-
# self.lastopenbracketpos
|
361
|
-
# if continuation is C_BRACKET, index of last open bracket
|
362
|
-
|
363
|
-
def _study2(self):
|
364
|
-
if self.study_level >= 2:
|
365
|
-
return
|
366
|
-
self._study1()
|
367
|
-
self.study_level = 2
|
368
|
-
|
369
|
-
# Set p and q to slice indices of last interesting stmt.
|
370
|
-
str, goodlines = self.str, self.goodlines
|
371
|
-
i = len(goodlines) - 1
|
372
|
-
p = len(str) # index of newest line
|
373
|
-
while i:
|
374
|
-
assert p
|
375
|
-
# p is the index of the stmt at line number goodlines[i].
|
376
|
-
# Move p back to the stmt at line number goodlines[i-1].
|
377
|
-
q = p
|
378
|
-
for nothing in range(goodlines[i - 1], goodlines[i]):
|
379
|
-
# tricky: sets p to 0 if no preceding newline
|
380
|
-
p = str.rfind("\n", 0, p - 1) + 1
|
381
|
-
# The stmt str[p:q] isn't a continuation, but may be blank
|
382
|
-
# or a non-indenting comment line.
|
383
|
-
if _junkre(str, p):
|
384
|
-
i -= 1
|
385
|
-
else:
|
386
|
-
break
|
387
|
-
if i == 0:
|
388
|
-
# nothing but junk!
|
389
|
-
assert p == 0
|
390
|
-
q = p
|
391
|
-
self.stmt_start, self.stmt_end = p, q
|
392
|
-
|
393
|
-
# Analyze this stmt, to find the last open bracket (if any)
|
394
|
-
# and last interesting character (if any).
|
395
|
-
lastch = ""
|
396
|
-
stack = [] # stack of open bracket indices
|
397
|
-
push_stack = stack.append
|
398
|
-
while p < q:
|
399
|
-
# suck up all except ()[]{}'"#\\
|
400
|
-
m = _chew_ordinaryre(str, p, q)
|
401
|
-
if m:
|
402
|
-
# we skipped at least one boring char
|
403
|
-
newp = m.end()
|
404
|
-
# back up over totally boring whitespace
|
405
|
-
i = newp - 1 # index of last boring char
|
406
|
-
while i >= p and str[i] in " \t\n":
|
407
|
-
i -= 1
|
408
|
-
if i >= p:
|
409
|
-
lastch = str[i]
|
410
|
-
p = newp
|
411
|
-
if p >= q:
|
412
|
-
break
|
413
|
-
|
414
|
-
ch = str[p]
|
415
|
-
|
416
|
-
if ch in "([{":
|
417
|
-
push_stack(p)
|
418
|
-
lastch = ch
|
419
|
-
p += 1
|
420
|
-
continue
|
421
|
-
|
422
|
-
if ch in ")]}":
|
423
|
-
if stack:
|
424
|
-
del stack[-1]
|
425
|
-
lastch = ch
|
426
|
-
p += 1
|
427
|
-
continue
|
428
|
-
|
429
|
-
if ch == '"' or ch == "'":
|
430
|
-
# consume string
|
431
|
-
# Note that study1 did this with a Python loop, but
|
432
|
-
# we use a regexp here; the reason is speed in both
|
433
|
-
# cases; the string may be huge, but study1 pre-squashed
|
434
|
-
# strings to a couple of characters per line. study1
|
435
|
-
# also needed to keep track of newlines, and we don't
|
436
|
-
# have to.
|
437
|
-
lastch = ch
|
438
|
-
p = _match_stringre(str, p, q).end()
|
439
|
-
continue
|
440
|
-
|
441
|
-
if ch == "#":
|
442
|
-
# consume comment and trailing newline
|
443
|
-
p = str.find("\n", p, q) + 1
|
444
|
-
assert p > 0
|
445
|
-
continue
|
446
|
-
|
447
|
-
assert ch == "\\"
|
448
|
-
p += 1 # beyond backslash
|
449
|
-
assert p < q
|
450
|
-
if str[p] != "\n":
|
451
|
-
# the program is invalid, but can't complain
|
452
|
-
lastch = ch + str[p]
|
453
|
-
p += 1 # beyond escaped char
|
454
|
-
|
455
|
-
# end while p < q:
|
456
|
-
|
457
|
-
self.lastch = lastch
|
458
|
-
if stack:
|
459
|
-
self.lastopenbracketpos = stack[-1]
|
460
|
-
|
461
|
-
# Assuming continuation is C_BRACKET, return the number
|
462
|
-
# of spaces the next line should be indented.
|
463
|
-
|
464
|
-
def compute_bracket_indent(self):
|
465
|
-
self._study2()
|
466
|
-
assert self.continuation == C_BRACKET
|
467
|
-
j = self.lastopenbracketpos
|
468
|
-
str = self.str
|
469
|
-
n = len(str)
|
470
|
-
origi = i = str.rfind("\n", 0, j) + 1
|
471
|
-
j += 1 # one beyond open bracket
|
472
|
-
# find first list item; set i to start of its line
|
473
|
-
while j < n:
|
474
|
-
m = _itemre(str, j)
|
475
|
-
if m:
|
476
|
-
j = m.end() - 1 # index of first interesting char
|
477
|
-
extra = 0
|
478
|
-
break
|
479
|
-
else:
|
480
|
-
# this line is junk; advance to next line
|
481
|
-
i = j = str.find("\n", j) + 1
|
482
|
-
else:
|
483
|
-
# nothing interesting follows the bracket;
|
484
|
-
# reproduce the bracket line's indentation + a level
|
485
|
-
j = i = origi
|
486
|
-
while str[j] in " \t":
|
487
|
-
j += 1
|
488
|
-
extra = self.indentwidth
|
489
|
-
return len(str[i:j].expandtabs(self.tabwidth)) + extra
|
490
|
-
|
491
|
-
# Return number of physical lines in last stmt (whether or not
|
492
|
-
# it's an interesting stmt! this is intended to be called when
|
493
|
-
# continuation is C_BACKSLASH).
|
494
|
-
|
495
|
-
def get_num_lines_in_stmt(self):
|
496
|
-
self._study1()
|
497
|
-
goodlines = self.goodlines
|
498
|
-
return goodlines[-1] - goodlines[-2]
|
499
|
-
|
500
|
-
# Assuming continuation is C_BACKSLASH, return the number of spaces
|
501
|
-
# the next line should be indented. Also assuming the new line is
|
502
|
-
# the first one following the initial line of the stmt.
|
503
|
-
|
504
|
-
def compute_backslash_indent(self):
|
505
|
-
self._study2()
|
506
|
-
assert self.continuation == C_BACKSLASH
|
507
|
-
str = self.str
|
508
|
-
i = self.stmt_start
|
509
|
-
while str[i] in " \t":
|
510
|
-
i += 1
|
511
|
-
startpos = i
|
512
|
-
|
513
|
-
# See whether the initial line starts an assignment stmt; i.e.,
|
514
|
-
# look for an = operator
|
515
|
-
endpos = str.find("\n", startpos) + 1
|
516
|
-
found = level = 0
|
517
|
-
while i < endpos:
|
518
|
-
ch = str[i]
|
519
|
-
if ch in "([{":
|
520
|
-
level += 1
|
521
|
-
i += 1
|
522
|
-
elif ch in ")]}":
|
523
|
-
if level:
|
524
|
-
level -= 1
|
525
|
-
i += 1
|
526
|
-
elif ch == '"' or ch == "'":
|
527
|
-
i = _match_stringre(str, i, endpos).end()
|
528
|
-
elif ch == "#":
|
529
|
-
break
|
530
|
-
elif (
|
531
|
-
level == 0
|
532
|
-
and ch == "="
|
533
|
-
and (i == 0 or str[i - 1] not in "=<>!")
|
534
|
-
and str[i + 1] != "="
|
535
|
-
):
|
536
|
-
found = 1
|
537
|
-
break
|
538
|
-
else:
|
539
|
-
i += 1
|
540
|
-
|
541
|
-
if found:
|
542
|
-
# found a legit =, but it may be the last interesting
|
543
|
-
# thing on the line
|
544
|
-
i += 1 # move beyond the =
|
545
|
-
found = re.match(r"\s*\\", str[i:endpos]) is None
|
546
|
-
|
547
|
-
if not found:
|
548
|
-
# oh well ... settle for moving beyond the first chunk
|
549
|
-
# of non-whitespace chars
|
550
|
-
i = startpos
|
551
|
-
while str[i] not in " \t\n":
|
552
|
-
i += 1
|
553
|
-
|
554
|
-
return len(str[self.stmt_start : i].expandtabs(self.tabwidth)) + 1
|
555
|
-
|
556
|
-
# Return the leading whitespace on the initial line of the last
|
557
|
-
# interesting stmt.
|
558
|
-
|
559
|
-
def get_base_indent_string(self):
|
560
|
-
self._study2()
|
561
|
-
i, n = self.stmt_start, self.stmt_end
|
562
|
-
j = i
|
563
|
-
str = self.str
|
564
|
-
while j < n and str[j] in " \t":
|
565
|
-
j += 1
|
566
|
-
return str[i:j]
|
567
|
-
|
568
|
-
# Did the last interesting stmt open a block?
|
569
|
-
|
570
|
-
def is_block_opener(self):
|
571
|
-
self._study2()
|
572
|
-
return self.lastch == ":"
|
573
|
-
|
574
|
-
# Did the last interesting stmt close a block?
|
575
|
-
|
576
|
-
def is_block_closer(self):
|
577
|
-
self._study2()
|
578
|
-
return _closere(self.str, self.stmt_start) is not None
|
579
|
-
|
580
|
-
# index of last open bracket ({[, or None if none
|
581
|
-
lastopenbracketpos = None
|
582
|
-
|
583
|
-
def get_last_open_bracket_pos(self):
|
584
|
-
self._study2()
|
585
|
-
return self.lastopenbracketpos
|
@@ -1 +0,0 @@
|
|
1
|
-
# This file denotes the directory as a Python package.
|
File without changes
|
@@ -1,79 +0,0 @@
|
|
1
|
-
"""Support for ActiveX control hosting in Pythonwin."""
|
2
|
-
|
3
|
-
import win32ui
|
4
|
-
import win32uiole
|
5
|
-
|
6
|
-
from . import window
|
7
|
-
|
8
|
-
|
9
|
-
class Control(window.Wnd):
|
10
|
-
"""An ActiveX control base class. A new class must be derived from both
|
11
|
-
this class and the Events class. See the demos for more details.
|
12
|
-
"""
|
13
|
-
|
14
|
-
def __init__(self):
|
15
|
-
self.__dict__["_dispobj_"] = None
|
16
|
-
window.Wnd.__init__(self)
|
17
|
-
|
18
|
-
def _GetControlCLSID(self):
|
19
|
-
return self.CLSID
|
20
|
-
|
21
|
-
def _GetDispatchClass(self):
|
22
|
-
return self.default_interface
|
23
|
-
|
24
|
-
def _GetEventMap(self):
|
25
|
-
return self.default_source._dispid_to_func_
|
26
|
-
|
27
|
-
def CreateControl(self, windowTitle, style, rect, parent, id, lic_string=None):
|
28
|
-
clsid = str(self._GetControlCLSID())
|
29
|
-
self.__dict__["_obj_"] = win32ui.CreateControl(
|
30
|
-
clsid, windowTitle, style, rect, parent, id, None, False, lic_string
|
31
|
-
)
|
32
|
-
klass = self._GetDispatchClass()
|
33
|
-
dispobj = klass(win32uiole.GetIDispatchForWindow(self._obj_))
|
34
|
-
self.HookOleEvents()
|
35
|
-
self.__dict__["_dispobj_"] = dispobj
|
36
|
-
|
37
|
-
def HookOleEvents(self):
|
38
|
-
dict = self._GetEventMap()
|
39
|
-
for dispid, methodName in dict.items():
|
40
|
-
if hasattr(self, methodName):
|
41
|
-
self._obj_.HookOleEvent(getattr(self, methodName), dispid)
|
42
|
-
|
43
|
-
def __getattr__(self, attr):
|
44
|
-
# Delegate attributes to the windows and the Dispatch object for this class
|
45
|
-
try:
|
46
|
-
return window.Wnd.__getattr__(self, attr)
|
47
|
-
except AttributeError:
|
48
|
-
pass
|
49
|
-
return getattr(self._dispobj_, attr)
|
50
|
-
|
51
|
-
def __setattr__(self, attr, value):
|
52
|
-
if hasattr(self.__dict__, attr):
|
53
|
-
self.__dict__[attr] = value
|
54
|
-
return
|
55
|
-
try:
|
56
|
-
if self._dispobj_:
|
57
|
-
self._dispobj_.__setattr__(attr, value)
|
58
|
-
return
|
59
|
-
except AttributeError:
|
60
|
-
pass
|
61
|
-
self.__dict__[attr] = value
|
62
|
-
|
63
|
-
|
64
|
-
def MakeControlClass(controlClass, name=None):
|
65
|
-
"""Given a CoClass in a generated .py file, this function will return a Class
|
66
|
-
object which can be used as an OCX control.
|
67
|
-
|
68
|
-
This function is used when you do not want to handle any events from the OCX
|
69
|
-
control. If you need events, then you should derive a class from both the
|
70
|
-
activex.Control class and the CoClass
|
71
|
-
"""
|
72
|
-
if name is None:
|
73
|
-
name = controlClass.__name__
|
74
|
-
return type("OCX" + name, (Control, controlClass), {})
|
75
|
-
|
76
|
-
|
77
|
-
def MakeControlInstance(controlClass, name=None):
|
78
|
-
"""As for MakeControlClass(), but returns an instance of the class."""
|
79
|
-
return MakeControlClass(controlClass, name)()
|