py2docfx 0.1.14.dev2019025__py3-none-any.whl → 0.1.15__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.
Files changed (378) hide show
  1. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/_modified.py +26 -4
  2. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +2 -603
  3. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/archive_util.py +48 -18
  4. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/ccompiler.py +17 -1257
  5. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/cmd.py +133 -41
  6. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/bdist.py +19 -8
  7. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/bdist_dumb.py +2 -1
  8. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/bdist_rpm.py +6 -5
  9. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build.py +8 -4
  10. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_clib.py +8 -7
  11. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_ext.py +32 -13
  12. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_py.py +10 -9
  13. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_scripts.py +3 -14
  14. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
  15. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/clean.py +2 -1
  16. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/config.py +1 -8
  17. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install.py +22 -19
  18. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install_data.py +4 -3
  19. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install_headers.py +1 -1
  20. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install_lib.py +11 -7
  21. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install_scripts.py +4 -3
  22. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/sdist.py +22 -16
  23. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compat/__init__.py +6 -1
  24. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +1391 -0
  25. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/cygwin.py +340 -0
  26. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/errors.py +24 -0
  27. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +614 -0
  28. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/{tests/test_ccompiler.py → compilers/C/tests/test_base.py} +9 -19
  29. py2docfx/venv/{venv1/Lib/site-packages/setuptools/_distutils/tests/test_cygwinccompiler.py → basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/tests/test_cygwin.py} +7 -12
  30. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/{tests/test_mingwccompiler.py → compilers/C/tests/test_mingw.py} +12 -20
  31. py2docfx/venv/{venv1/Lib/site-packages/setuptools/_distutils/tests/test_msvccompiler.py → basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/tests/test_msvc.py} +11 -12
  32. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/{tests/test_unixccompiler.py → compilers/C/tests/test_unix.py} +5 -5
  33. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +409 -0
  34. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/zos.py +230 -0
  35. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/cygwinccompiler.py +20 -328
  36. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/dist.py +148 -80
  37. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/errors.py +11 -27
  38. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/extension.py +19 -16
  39. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/filelist.py +80 -15
  40. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/spawn.py +22 -5
  41. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/sysconfig.py +32 -7
  42. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +13 -0
  43. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/tests/test_sdist.py +1 -1
  44. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/unixccompiler.py +2 -401
  45. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/util.py +38 -23
  46. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/zosccompiler.py +2 -228
  47. py2docfx/venv/basevenv/Lib/site-packages/setuptools/_static.py +1 -1
  48. py2docfx/venv/basevenv/Lib/site-packages/setuptools/command/editable_wheel.py +3 -3
  49. py2docfx/venv/basevenv/Lib/site-packages/setuptools/command/install.py +1 -1
  50. py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +2 -0
  51. py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_build_py.py +1 -1
  52. py2docfx/venv/basevenv/Lib/site-packages/setuptools/unicode_utils.py +1 -1
  53. py2docfx/venv/venv1/Lib/site-packages/adodbapi/__init__.py +2 -1
  54. py2docfx/venv/venv1/Lib/site-packages/adodbapi/ado_consts.py +3 -1
  55. py2docfx/venv/venv1/Lib/site-packages/adodbapi/adodbapi.py +22 -26
  56. py2docfx/venv/venv1/Lib/site-packages/adodbapi/apibase.py +3 -4
  57. py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_print.py +1 -1
  58. py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_table_names.py +1 -1
  59. py2docfx/venv/venv1/Lib/site-packages/adodbapi/process_connect_string.py +7 -7
  60. py2docfx/venv/venv1/Lib/site-packages/adodbapi/setup.py +2 -2
  61. py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitest.py +21 -73
  62. py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitestconfig.py +1 -1
  63. py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/dbapi20.py +11 -17
  64. py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/setuptestframework.py +2 -1
  65. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/application.py +1 -1
  66. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/authorization_code.py +1 -1
  67. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/azd_cli.py +1 -1
  68. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/azure_cli.py +1 -1
  69. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/azure_pipelines.py +1 -1
  70. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/azure_powershell.py +1 -1
  71. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/chained.py +1 -1
  72. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/default.py +1 -1
  73. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/environment.py +4 -1
  74. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/managed_identity.py +48 -21
  75. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/shared_cache.py +1 -1
  76. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/user_password.py +10 -0
  77. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/vscode.py +1 -1
  78. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_internal/aad_client_base.py +13 -3
  79. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_internal/aadclient_certificate.py +28 -1
  80. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_version.py +1 -1
  81. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/application.py +1 -1
  82. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/authorization_code.py +1 -1
  83. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/azd_cli.py +1 -1
  84. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/azure_cli.py +1 -1
  85. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/azure_pipelines.py +1 -1
  86. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/azure_powershell.py +1 -1
  87. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/certificate.py +3 -3
  88. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/chained.py +1 -1
  89. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/default.py +1 -1
  90. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/environment.py +1 -1
  91. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/managed_identity.py +23 -12
  92. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/shared_cache.py +1 -1
  93. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/vscode.py +1 -1
  94. py2docfx/venv/venv1/Lib/site-packages/google/api_core/retry/retry_streaming.py +2 -2
  95. py2docfx/venv/venv1/Lib/site-packages/google/api_core/retry/retry_streaming_async.py +2 -2
  96. py2docfx/venv/venv1/Lib/site-packages/google/api_core/version.py +1 -1
  97. py2docfx/venv/venv1/Lib/site-packages/isapi/install.py +8 -11
  98. py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector.py +1 -1
  99. py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_asynch.py +1 -1
  100. py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_with_filter.py +2 -1
  101. py2docfx/venv/venv1/Lib/site-packages/isapi/simple.py +1 -0
  102. py2docfx/venv/venv1/Lib/site-packages/isapi/threaded_extension.py +1 -0
  103. py2docfx/venv/venv1/Lib/site-packages/proto/version.py +1 -1
  104. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/basictimerapp.py +1 -1
  105. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/customprint.py +1 -3
  106. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/demoutils.py +1 -3
  107. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/cmdserver.py +2 -5
  108. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/guidemo.py +14 -41
  109. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/objdoc.py +1 -1
  110. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/demoutils.py +1 -3
  111. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/flash.py +1 -1
  112. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxserialtest.py +1 -2
  113. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxtest.py +1 -2
  114. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/webbrowser.py +3 -3
  115. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/openGLDemo.py +57 -12
  116. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/toolbar.py +0 -1
  117. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/configui.py +1 -1
  118. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgcon.py +0 -1
  119. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/debugger.py +7 -8
  120. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/fail.py +1 -1
  121. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/ideoptions.py +7 -10
  122. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/list.py +11 -8
  123. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/login.py +0 -1
  124. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/DockingBar.py +0 -1
  125. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/app.py +19 -22
  126. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dbgcommands.py +2 -3
  127. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/ModuleBrowser.py +1 -1
  128. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/__init__.py +3 -1
  129. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/document.py +0 -1
  130. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/editor.py +6 -6
  131. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/vss.py +2 -2
  132. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/help.py +2 -1
  133. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/interact.py +1 -1
  134. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpyapp.py +5 -7
  135. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpydde.py +7 -2
  136. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/scriptutils.py +4 -6
  137. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/sgrepmdi.py +13 -22
  138. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/startup.py +1 -1
  139. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/stdin.py +1 -0
  140. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/toolmenu.py +0 -2
  141. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoIndent.py +3 -3
  142. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/CallTips.py +1 -3
  143. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/activex.py +1 -2
  144. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/dialog.py +7 -10
  145. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/IDLEenvironment.py +1 -5
  146. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/bindings.py +4 -2
  147. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/config.py +3 -5
  148. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/configui.py +2 -3
  149. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/document.py +1 -1
  150. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/formatter.py +3 -3
  151. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/keycodes.py +2 -2
  152. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/scintillacon.py +1178 -78
  153. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/view.py +17 -21
  154. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browser.py +6 -18
  155. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/hierlist.py +2 -2
  156. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/_modified.py +26 -4
  157. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +2 -603
  158. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/archive_util.py +48 -18
  159. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/ccompiler.py +17 -1257
  160. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/cmd.py +133 -41
  161. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/bdist.py +19 -8
  162. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/bdist_dumb.py +2 -1
  163. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/bdist_rpm.py +6 -5
  164. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build.py +8 -4
  165. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_clib.py +8 -7
  166. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_ext.py +32 -13
  167. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_py.py +10 -9
  168. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_scripts.py +3 -14
  169. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
  170. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/clean.py +2 -1
  171. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/config.py +1 -8
  172. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install.py +22 -19
  173. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install_data.py +4 -3
  174. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install_headers.py +1 -1
  175. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install_lib.py +11 -7
  176. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install_scripts.py +4 -3
  177. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/sdist.py +22 -16
  178. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compat/__init__.py +6 -1
  179. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +1391 -0
  180. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/cygwin.py +340 -0
  181. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/errors.py +24 -0
  182. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +614 -0
  183. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/{tests/test_ccompiler.py → compilers/C/tests/test_base.py} +9 -19
  184. py2docfx/venv/{basevenv/Lib/site-packages/setuptools/_distutils/tests/test_cygwinccompiler.py → venv1/Lib/site-packages/setuptools/_distutils/compilers/C/tests/test_cygwin.py} +7 -12
  185. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/{tests/test_mingwccompiler.py → compilers/C/tests/test_mingw.py} +12 -20
  186. py2docfx/venv/{basevenv/Lib/site-packages/setuptools/_distutils/tests/test_msvccompiler.py → venv1/Lib/site-packages/setuptools/_distutils/compilers/C/tests/test_msvc.py} +11 -12
  187. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/{tests/test_unixccompiler.py → compilers/C/tests/test_unix.py} +5 -5
  188. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +409 -0
  189. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/zos.py +230 -0
  190. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/cygwinccompiler.py +20 -328
  191. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/dist.py +148 -80
  192. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/errors.py +11 -27
  193. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/extension.py +19 -16
  194. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/filelist.py +80 -15
  195. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/spawn.py +22 -5
  196. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/sysconfig.py +32 -7
  197. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +13 -0
  198. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/tests/test_sdist.py +1 -1
  199. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/unixccompiler.py +2 -401
  200. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/util.py +38 -23
  201. py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/zosccompiler.py +2 -228
  202. py2docfx/venv/venv1/Lib/site-packages/setuptools/_static.py +1 -1
  203. py2docfx/venv/venv1/Lib/site-packages/setuptools/command/editable_wheel.py +3 -3
  204. py2docfx/venv/venv1/Lib/site-packages/setuptools/command/install.py +1 -1
  205. py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +2 -0
  206. py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_build_py.py +1 -1
  207. py2docfx/venv/venv1/Lib/site-packages/setuptools/unicode_utils.py +1 -1
  208. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtFormatMessage.py +1 -1
  209. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_push.py +8 -1
  210. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/GetSaveFileName.py +8 -8
  211. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/c_extension/setup.py +1 -1
  212. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeclient.py +1 -1
  213. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeserver.py +1 -1
  214. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/getfilever.py +1 -1
  215. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/runproc.py +2 -2
  216. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/rastest.py +4 -6
  217. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/GetTokenInformation.py +4 -4
  218. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/account_rights.py +0 -2
  219. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/explicit_entries.py +0 -1
  220. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/get_policy_info.py +0 -3
  221. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/list_rights.py +0 -2
  222. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/localized_names.py +7 -2
  223. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/query_information.py +1 -1
  224. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_audit.py +1 -2
  225. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_owner.py +0 -1
  226. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_policy_info.py +0 -3
  227. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setkernelobjectsecurity.py +0 -1
  228. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setsecurityinfo.py +0 -1
  229. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setuserobjectsecurity.py +0 -1
  230. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/fetch_url.py +3 -3
  231. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/simple_auth.py +3 -3
  232. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/socket_server.py +1 -2
  233. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestService.py +10 -9
  234. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestServiceClient.py +6 -3
  235. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboardDemo.py +17 -5
  236. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32comport_demo.py +32 -2
  237. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32console_demo.py +1 -4
  238. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_devicenotify.py +0 -1
  239. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_menu.py +60 -5
  240. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_taskbar.py +1 -1
  241. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32netdemo.py +2 -5
  242. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32ts_logoff_disconnected.py +1 -1
  243. py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/testwnet.py +1 -1
  244. py2docfx/venv/venv1/Lib/site-packages/win32/lib/commctrl.py +1 -1
  245. py2docfx/venv/venv1/Lib/site-packages/win32/lib/netbios.py +8 -10
  246. py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_bootstrap.py +2 -10
  247. py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_testutil.py +2 -2
  248. py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywintypes.py +1 -1
  249. py2docfx/venv/venv1/Lib/site-packages/win32/lib/regutil.py +1 -1
  250. py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspi.py +3 -3
  251. py2docfx/venv/venv1/Lib/site-packages/win32/lib/win2kras.py +14 -7
  252. py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32con.py +16 -35
  253. py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32cryptcon.py +1 -4
  254. py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32evtlogutil.py +1 -2
  255. py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32gui_struct.py +6 -6
  256. py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhquery.py +10 -11
  257. py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhutil.py +5 -5
  258. py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32rcparser.py +1 -0
  259. py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32serviceutil.py +4 -6
  260. py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32timezone.py +304 -121
  261. py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32verstamp.py +1 -1
  262. py2docfx/venv/venv1/Lib/site-packages/win32/lib/winerror.py +4926 -604
  263. py2docfx/venv/venv1/Lib/site-packages/win32/lib/winxptheme.py +1 -1
  264. py2docfx/venv/venv1/Lib/site-packages/win32/scripts/h2py.py +194 -0
  265. py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_postinstall.py +733 -0
  266. py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_testall.py +120 -0
  267. py2docfx/venv/venv1/Lib/site-packages/win32/scripts/regsetup.py +4 -7
  268. py2docfx/venv/venv1/Lib/site-packages/win32/scripts/setup_d.py +1 -1
  269. py2docfx/venv/venv1/Lib/site-packages/win32/test/handles.py +13 -5
  270. py2docfx/venv/venv1/Lib/site-packages/win32/test/test_clipboard.py +12 -1
  271. py2docfx/venv/venv1/Lib/site-packages/win32/test/test_sspi.py +1 -1
  272. py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32api.py +8 -4
  273. py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32clipboard.py +2 -3
  274. py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32cred.py +0 -1
  275. py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32crypt.py +16 -3
  276. py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32file.py +24 -8
  277. py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32gui.py +0 -1
  278. py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32guistruct.py +2 -5
  279. py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32inet.py +23 -6
  280. py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32net.py +0 -1
  281. py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32ts.py +19 -0
  282. py2docfx/venv/venv1/Lib/site-packages/win32/winxpgui.py +3 -11
  283. py2docfx/venv/venv1/Lib/site-packages/win32com/client/CLSIDToClass.py +3 -1
  284. py2docfx/venv/venv1/Lib/site-packages/win32com/client/__init__.py +97 -65
  285. py2docfx/venv/venv1/Lib/site-packages/win32com/client/build.py +24 -24
  286. py2docfx/venv/venv1/Lib/site-packages/win32com/client/combrowse.py +17 -33
  287. py2docfx/venv/venv1/Lib/site-packages/win32com/client/dynamic.py +14 -14
  288. py2docfx/venv/venv1/Lib/site-packages/win32com/client/gencache.py +30 -12
  289. py2docfx/venv/venv1/Lib/site-packages/win32com/client/genpy.py +50 -98
  290. py2docfx/venv/venv1/Lib/site-packages/win32com/client/makepy.py +12 -8
  291. py2docfx/venv/venv1/Lib/site-packages/win32com/client/selecttlb.py +3 -4
  292. py2docfx/venv/venv1/Lib/site-packages/win32com/client/util.py +1 -1
  293. py2docfx/venv/venv1/Lib/site-packages/win32com/demos/dump_clipboard.py +1 -1
  294. py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelAddin.py +1 -1
  295. py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelRTDServer.py +1 -1
  296. py2docfx/venv/venv1/Lib/site-packages/win32com/demos/iebutton.py +0 -3
  297. py2docfx/venv/venv1/Lib/site-packages/win32com/demos/ietoolbar.py +1 -1
  298. py2docfx/venv/venv1/Lib/site-packages/win32com/demos/outlookAddin.py +1 -3
  299. py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegw.py +48 -56
  300. py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwenum.py +2 -6
  301. py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwparse.py +9 -11
  302. py2docfx/venv/venv1/Lib/site-packages/win32com/olectl.py +1 -1
  303. py2docfx/venv/venv1/Lib/site-packages/win32com/server/connect.py +2 -2
  304. py2docfx/venv/venv1/Lib/site-packages/win32com/server/dispatcher.py +20 -24
  305. py2docfx/venv/venv1/Lib/site-packages/win32com/server/exception.py +8 -8
  306. py2docfx/venv/venv1/Lib/site-packages/win32com/server/policy.py +4 -18
  307. py2docfx/venv/venv1/Lib/site-packages/win32com/server/register.py +5 -6
  308. py2docfx/venv/venv1/Lib/site-packages/win32com/servers/dictionary.py +2 -5
  309. py2docfx/venv/venv1/Lib/site-packages/win32com/servers/interp.py +7 -7
  310. py2docfx/venv/venv1/Lib/site-packages/win32com/servers/test_pycomtest.py +0 -1
  311. py2docfx/venv/venv1/Lib/site-packages/win32com/test/GenTestScripts.py +2 -4
  312. py2docfx/venv/venv1/Lib/site-packages/win32com/test/errorSemantics.py +3 -3
  313. py2docfx/venv/venv1/Lib/site-packages/win32com/test/pippo_server.py +1 -4
  314. py2docfx/venv/venv1/Lib/site-packages/win32com/test/testADOEvents.py +1 -1
  315. py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAXScript.py +1 -2
  316. py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDictionary.py +4 -3
  317. py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDynamic.py +3 -5
  318. py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExchange.py +2 -7
  319. py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGatewayAddresses.py +1 -1
  320. py2docfx/venv/venv1/Lib/site-packages/win32com/test/testIterators.py +1 -1
  321. py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOffice.py +40 -57
  322. py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOfficeEvents.py +3 -3
  323. py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPersist.py +7 -7
  324. py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPippo.py +2 -3
  325. py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPyComTest.py +143 -7
  326. py2docfx/venv/venv1/Lib/site-packages/win32com/test/testServers.py +1 -2
  327. py2docfx/venv/venv1/Lib/site-packages/win32com/test/testall.py +1 -2
  328. py2docfx/venv/venv1/Lib/site-packages/win32com/test/testmakepy.py +1 -2
  329. py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvb.py +12 -8
  330. py2docfx/venv/venv1/Lib/site-packages/win32com/test/util.py +1 -3
  331. py2docfx/venv/venv1/Lib/site-packages/win32com/universal.py +1 -3
  332. py2docfx/venv/venv1/Lib/site-packages/win32com/util.py +1 -1
  333. py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/scp.py +1 -1
  334. py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/search.py +0 -1
  335. py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditSecurity.py +1 -24
  336. py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditServiceSecurity.py +0 -20
  337. py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/adb.py +2 -8
  338. py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/codecontainer.py +16 -12
  339. py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/contexts.py +1 -3
  340. py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/debugger.py +2 -2
  341. py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/documents.py +2 -3
  342. py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/dump.py +2 -4
  343. py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/expressions.py +2 -2
  344. py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/util.py +7 -14
  345. py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/debug.py +2 -14
  346. py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/error.py +4 -5
  347. py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/framework.py +5 -5
  348. py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pydumper.py +0 -1
  349. py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript.py +5 -10
  350. py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/scriptdispatch.py +3 -4
  351. py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/axsite.py +1 -2
  352. py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/leakTest.py +2 -3
  353. py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost4Dbg.py +0 -3
  354. py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/test_bits.py +3 -3
  355. py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/demo/filterDemo.py +1 -1
  356. py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/demos/mapisend.py +1 -1
  357. py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/emsabtags.py +1 -0
  358. py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapitags.py +1 -3
  359. py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapiutil.py +2 -2
  360. py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/test/testpropsys.py +1 -1
  361. py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IFileOperationProgressSink.py +1 -1
  362. py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/ITransferAdviseSink.py +5 -3
  363. py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/column_provider.py +0 -1
  364. py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/copy_hook.py +1 -1
  365. py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/empty_volume_cache.py +1 -1
  366. py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/folder_view.py +2 -2
  367. py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/icon_handler.py +1 -2
  368. py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/shell_view.py +4 -5
  369. py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_2.py +0 -1
  370. py2docfx/venv/venv1/Scripts/pywin32_postinstall.py +77 -122
  371. py2docfx/venv/venv1/Scripts/pywin32_testall.py +4 -9
  372. {py2docfx-0.1.14.dev2019025.dist-info → py2docfx-0.1.15.dist-info}/METADATA +1 -1
  373. {py2docfx-0.1.14.dev2019025.dist-info → py2docfx-0.1.15.dist-info}/RECORD +375 -362
  374. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/__init__.py +0 -0
  375. py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/mdi_pychecker.py +0 -850
  376. py2docfx/venv/venv1/Lib/site-packages/win32com/test/testNetscape.py +0 -24
  377. {py2docfx-0.1.14.dev2019025.dist-info → py2docfx-0.1.15.dist-info}/WHEEL +0 -0
  378. {py2docfx-0.1.14.dev2019025.dist-info → py2docfx-0.1.15.dist-info}/top_level.txt +0 -0
@@ -104,7 +104,7 @@ class AzureApplicationCredential(ChainedTokenCredential):
104
104
  :keyword options: A dictionary of options for the token request. Unknown options will be ignored. Optional.
105
105
  :paramtype options: ~azure.core.credentials.TokenRequestOptions
106
106
 
107
- :rtype: AccessTokenInfo
107
+ :rtype: ~azure.core.credentials.AccessTokenInfo
108
108
  :return: An AccessTokenInfo instance containing information about the token.
109
109
  :raises ~azure.core.exceptions.ClientAuthenticationError: authentication failed. The exception has a
110
110
  `message` attribute listing each authentication attempt and its error message.
@@ -111,7 +111,7 @@ class AuthorizationCodeCredential(AsyncContextManager, GetTokenMixin):
111
111
  :keyword options: A dictionary of options for the token request. Unknown options will be ignored. Optional.
112
112
  :paramtype options: ~azure.core.credentials.TokenRequestOptions
113
113
 
114
- :rtype: AccessTokenInfo
114
+ :rtype: ~azure.core.credentials.AccessTokenInfo
115
115
  :return: An AccessTokenInfo instance containing information about the token.
116
116
  :raises ~azure.core.exceptions.ClientAuthenticationError: authentication failed. The error's ``message``
117
117
  attribute gives a reason. Any error response from Microsoft Entra ID is available as the error's
@@ -132,7 +132,7 @@ class AzureDeveloperCliCredential(AsyncContextManager):
132
132
  :keyword options: A dictionary of options for the token request. Unknown options will be ignored. Optional.
133
133
  :paramtype options: ~azure.core.credentials.TokenRequestOptions
134
134
 
135
- :rtype: AccessTokenInfo
135
+ :rtype: ~azure.core.credentials.AccessTokenInfo
136
136
  :return: An AccessTokenInfo instance containing information about the token.
137
137
 
138
138
  :raises ~azure.identity.CredentialUnavailableError: the credential was unable to invoke
@@ -127,7 +127,7 @@ class AzureCliCredential(AsyncContextManager):
127
127
  :keyword options: A dictionary of options for the token request. Unknown options will be ignored. Optional.
128
128
  :paramtype options: ~azure.core.credentials.TokenRequestOptions
129
129
 
130
- :rtype: AccessTokenInfo
130
+ :rtype: ~azure.core.credentials.AccessTokenInfo
131
131
  :return: An AccessTokenInfo instance containing information about the token.
132
132
 
133
133
  :raises ~azure.identity.CredentialUnavailableError: the credential was unable to invoke the Azure CLI.
@@ -114,7 +114,7 @@ class AzurePipelinesCredential(AsyncContextManager):
114
114
  :keyword options: A dictionary of options for the token request. Unknown options will be ignored. Optional.
115
115
  :paramtype options: ~azure.core.credentials.TokenRequestOptions
116
116
 
117
- :rtype: AccessTokenInfo
117
+ :rtype: ~azure.core.credentials.AccessTokenInfo
118
118
  :return: An AccessTokenInfo instance containing information about the token.
119
119
  :raises ~azure.core.exceptions.ClientAuthenticationError: authentication failed. The error's ``message``
120
120
  attribute gives a reason.
@@ -104,7 +104,7 @@ class AzurePowerShellCredential(AsyncContextManager):
104
104
  :keyword options: A dictionary of options for the token request. Unknown options will be ignored. Optional.
105
105
  :paramtype options: ~azure.core.credentials.TokenRequestOptions
106
106
 
107
- :rtype: AccessTokenInfo
107
+ :rtype: ~azure.core.credentials.AccessTokenInfo
108
108
  :return: An AccessTokenInfo instance containing information about the token.
109
109
 
110
110
  :raises ~azure.identity.CredentialUnavailableError: the credential was unable to invoke Azure PowerShell, or
@@ -21,13 +21,13 @@ class CertificateCredential(AsyncContextManager, GetTokenMixin):
21
21
 
22
22
  :param str tenant_id: ID of the service principal's tenant. Also called its 'directory' ID.
23
23
  :param str client_id: The service principal's client ID
24
- :param str certificate_path: Path to a PEM-encoded certificate file including the private key. If not provided,
25
- `certificate_data` is required.
24
+ :param str certificate_path: Optional path to a certificate file in PEM or PKCS12 format, including the private
25
+ key. If not provided, **certificate_data** is required.
26
26
 
27
27
  :keyword str authority: Authority of a Microsoft Entra endpoint, for example 'login.microsoftonline.com',
28
28
  the authority for Azure Public Cloud (which is the default). :class:`~azure.identity.AzureAuthorityHosts`
29
29
  defines authorities for other clouds.
30
- :keyword bytes certificate_data: The bytes of a certificate in PEM format, including the private key
30
+ :keyword bytes certificate_data: The bytes of a certificate in PEM or PKCS12 format, including the private key.
31
31
  :keyword password: The certificate's password. If a unicode string, it will be encoded as UTF-8. If the certificate
32
32
  requires a different encoding, pass appropriately encoded bytes instead.
33
33
  :paramtype password: str or bytes
@@ -139,7 +139,7 @@ class ChainedTokenCredential(AsyncContextManager):
139
139
  :keyword options: A dictionary of options for the token request. Unknown options will be ignored. Optional.
140
140
  :paramtype options: ~azure.core.credentials.TokenRequestOptions
141
141
 
142
- :rtype: AccessTokenInfo
142
+ :rtype: ~azure.core.credentials.AccessTokenInfo
143
143
  :return: An AccessTokenInfo instance containing information about the token.
144
144
 
145
145
  :raises ~azure.core.exceptions.ClientAuthenticationError: no credential in the chain provided a token.
@@ -221,7 +221,7 @@ class DefaultAzureCredential(ChainedTokenCredential):
221
221
  :keyword options: A dictionary of options for the token request. Unknown options will be ignored. Optional.
222
222
  :paramtype options: ~azure.core.credentials.TokenRequestOptions
223
223
 
224
- :rtype: AccessTokenInfo
224
+ :rtype: ~azure.core.credentials.AccessTokenInfo
225
225
  :return: An AccessTokenInfo instance containing information about the token.
226
226
 
227
227
  :raises ~azure.core.exceptions.ClientAuthenticationError: authentication failed. The exception has a
@@ -138,7 +138,7 @@ class EnvironmentCredential(AsyncContextManager):
138
138
  :keyword options: A dictionary of options for the token request. Unknown options will be ignored. Optional.
139
139
  :paramtype options: ~azure.core.credentials.TokenRequestOptions
140
140
 
141
- :rtype: AccessTokenInfo
141
+ :rtype: ~azure.core.credentials.AccessTokenInfo
142
142
  :return: An AccessTokenInfo instance containing information about the token.
143
143
 
144
144
  :raises ~azure.identity.CredentialUnavailableError: environment variable configuration is incomplete.
@@ -46,39 +46,39 @@ class ManagedIdentityCredential(AsyncContextManager):
46
46
  def __init__(
47
47
  self, *, client_id: Optional[str] = None, identity_config: Optional[Mapping[str, str]] = None, **kwargs: Any
48
48
  ) -> None:
49
- validate_identity_config(client_id, identity_config)
49
+ user_identity_info = validate_identity_config(client_id, identity_config)
50
50
  self._credential: Optional[AsyncSupportsTokenInfo] = None
51
51
  exclude_workload_identity = kwargs.pop("_exclude_workload_identity_credential", False)
52
-
52
+ managed_identity_type = None
53
53
  if os.environ.get(EnvironmentVariables.IDENTITY_ENDPOINT):
54
54
  if os.environ.get(EnvironmentVariables.IDENTITY_HEADER):
55
55
  if os.environ.get(EnvironmentVariables.IDENTITY_SERVER_THUMBPRINT):
56
- _LOGGER.info("%s will use Service Fabric managed identity", self.__class__.__name__)
56
+ managed_identity_type = "Service Fabric managed identity"
57
57
  from .service_fabric import ServiceFabricCredential
58
58
 
59
59
  self._credential = ServiceFabricCredential(
60
60
  client_id=client_id, identity_config=identity_config, **kwargs
61
61
  )
62
62
  else:
63
- _LOGGER.info("%s will use App Service managed identity", self.__class__.__name__)
63
+ managed_identity_type = "App Service managed identity"
64
64
  from .app_service import AppServiceCredential
65
65
 
66
66
  self._credential = AppServiceCredential(
67
67
  client_id=client_id, identity_config=identity_config, **kwargs
68
68
  )
69
69
  elif os.environ.get(EnvironmentVariables.IMDS_ENDPOINT):
70
- _LOGGER.info("%s will use Azure Arc managed identity", self.__class__.__name__)
70
+ managed_identity_type = "Azure Arc managed identity"
71
71
  from .azure_arc import AzureArcCredential
72
72
 
73
73
  self._credential = AzureArcCredential(client_id=client_id, identity_config=identity_config, **kwargs)
74
74
  elif os.environ.get(EnvironmentVariables.MSI_ENDPOINT):
75
75
  if os.environ.get(EnvironmentVariables.MSI_SECRET):
76
- _LOGGER.info("%s will use Azure ML managed identity", self.__class__.__name__)
76
+ managed_identity_type = "Azure ML managed identity"
77
77
  from .azure_ml import AzureMLCredential
78
78
 
79
79
  self._credential = AzureMLCredential(client_id=client_id, identity_config=identity_config, **kwargs)
80
80
  else:
81
- _LOGGER.info("%s will use Cloud Shell managed identity", self.__class__.__name__)
81
+ managed_identity_type = "Cloud Shell managed identity"
82
82
  from .cloud_shell import CloudShellCredential
83
83
 
84
84
  self._credential = CloudShellCredential(client_id=client_id, identity_config=identity_config, **kwargs)
@@ -86,25 +86,36 @@ class ManagedIdentityCredential(AsyncContextManager):
86
86
  all(os.environ.get(var) for var in EnvironmentVariables.WORKLOAD_IDENTITY_VARS)
87
87
  and not exclude_workload_identity
88
88
  ):
89
- _LOGGER.info("%s will use workload identity", self.__class__.__name__)
90
89
  from .workload_identity import WorkloadIdentityCredential
91
90
 
92
91
  workload_client_id = client_id or os.environ.get(EnvironmentVariables.AZURE_CLIENT_ID)
93
92
  if not workload_client_id:
94
- raise ValueError('Configure the environment with a client ID or pass a value for "client_id" argument')
93
+ raise ValueError(
94
+ "Workload identity was selected but no client ID was provided. "
95
+ 'Configure the environment with a client ID or pass a value for "client_id" argument'
96
+ )
97
+
98
+ managed_identity_type = "workload identity"
99
+ user_identity_info = ("client_id", workload_client_id)
95
100
 
96
101
  self._credential = WorkloadIdentityCredential(
97
102
  tenant_id=os.environ[EnvironmentVariables.AZURE_TENANT_ID],
98
103
  client_id=workload_client_id,
99
104
  token_file_path=os.environ[EnvironmentVariables.AZURE_FEDERATED_TOKEN_FILE],
100
- **kwargs
105
+ **kwargs,
101
106
  )
102
107
  else:
108
+ managed_identity_type = "IMDS"
103
109
  from .imds import ImdsCredential
104
110
 
105
- _LOGGER.info("%s will use IMDS", self.__class__.__name__)
106
111
  self._credential = ImdsCredential(client_id=client_id, identity_config=identity_config, **kwargs)
107
112
 
113
+ if managed_identity_type:
114
+ log_msg = f"{self.__class__.__name__} will use {managed_identity_type}"
115
+ if user_identity_info:
116
+ log_msg += f" with {user_identity_info[0]}: {user_identity_info[1]}"
117
+ _LOGGER.info(log_msg)
118
+
108
119
  async def __aenter__(self) -> "ManagedIdentityCredential":
109
120
  if self._credential:
110
121
  await self._credential.__aenter__()
@@ -156,7 +167,7 @@ class ManagedIdentityCredential(AsyncContextManager):
156
167
  :keyword options: A dictionary of options for the token request. Unknown options will be ignored. Optional.
157
168
  :paramtype options: ~azure.core.credentials.TokenRequestOptions
158
169
 
159
- :rtype: AccessTokenInfo
170
+ :rtype: ~azure.core.credentials.AccessTokenInfo
160
171
  :return: An AccessTokenInfo instance containing information about the token.
161
172
  :raises ~azure.identity.CredentialUnavailableError: managed identity isn't available in the hosting environment.
162
173
  """
@@ -97,7 +97,7 @@ class SharedTokenCacheCredential(SharedTokenCacheBase, AsyncContextManager):
97
97
  :keyword options: A dictionary of options for the token request. Unknown options will be ignored. Optional.
98
98
  :paramtype options: ~azure.core.credentials.TokenRequestOptions
99
99
 
100
- :rtype: AccessTokenInfo
100
+ :rtype: ~azure.core.credentials.AccessTokenInfo
101
101
  :return: An AccessTokenInfo instance containing information about the token.
102
102
  :raises ~azure.identity.CredentialUnavailableError: the cache is unavailable or contains insufficient user
103
103
  information
@@ -94,7 +94,7 @@ class VisualStudioCodeCredential(_VSCodeCredentialBase, AsyncContextManager, Get
94
94
  :keyword options: A dictionary of options for the token request. Unknown options will be ignored. Optional.
95
95
  :paramtype options: ~azure.core.credentials.TokenRequestOptions
96
96
 
97
- :rtype: AccessTokenInfo
97
+ :rtype: ~azure.core.credentials.AccessTokenInfo
98
98
  :return: An AccessTokenInfo instance containing information about the token.
99
99
  :raises ~azure.identity.CredentialUnavailableError: the credential cannot retrieve user details from Visual
100
100
  Studio Code.
@@ -59,8 +59,8 @@ def retry_target_stream(
59
59
  [List[Exception], RetryFailureReason, Optional[float]],
60
60
  Tuple[Exception, Optional[Exception]],
61
61
  ] = build_retry_error,
62
- init_args: _P.args = (),
63
- init_kwargs: _P.kwargs = {},
62
+ init_args: tuple = (),
63
+ init_kwargs: dict = {},
64
64
  **kwargs,
65
65
  ) -> Generator[_Y, Any, None]:
66
66
  """Create a generator wrapper that retries the wrapped stream if it fails.
@@ -62,8 +62,8 @@ async def retry_target_stream(
62
62
  [list[Exception], RetryFailureReason, float | None],
63
63
  tuple[Exception, Exception | None],
64
64
  ] = build_retry_error,
65
- init_args: _P.args = (),
66
- init_kwargs: _P.kwargs = {},
65
+ init_args: tuple = (),
66
+ init_kwargs: dict = {},
67
67
  **kwargs,
68
68
  ) -> AsyncGenerator[_Y, None]:
69
69
  """Create a generator wrapper that retries the wrapped stream if it fails.
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- __version__ = "2.24.1"
15
+ __version__ = "2.24.2"
@@ -10,12 +10,12 @@ import shutil
10
10
  import stat
11
11
  import sys
12
12
  import traceback
13
+ from collections.abc import Mapping
13
14
 
14
15
  import pythoncom
15
16
  import win32api
16
17
  import winerror
17
- from win32com.client import Dispatch, GetObject
18
- from win32com.client.gencache import EnsureDispatch, EnsureModule
18
+ from win32com.client import GetObject
19
19
 
20
20
  _APP_INPROC = 0
21
21
  _APP_OUTPROC = 1
@@ -687,15 +687,12 @@ standard_arguments = {
687
687
  }
688
688
 
689
689
 
690
- def build_usage(handler_map):
691
- docstrings = [handler.__doc__ for handler in handler_map.values()]
692
- all_args = dict(zip(iter(handler_map.keys()), docstrings))
693
- arg_names = "|".join(iter(all_args.keys()))
694
- usage_string = "%prog [options] [" + arg_names + "]\n"
695
- usage_string += "commands:\n"
696
- for arg, desc in all_args.items():
697
- usage_string += " %-10s: %s" % (arg, desc) + "\n"
698
- return usage_string[:-1]
690
+ def build_usage(handler_map: Mapping[str, object]) -> str:
691
+ arg_names = "|".join(handler_map)
692
+ lines = [
693
+ " %-10s: %s" % (arg, handler.__doc__) for arg, handler in handler_map.items()
694
+ ]
695
+ return f"%prog [options] [{arg_names}]\ncommands:\n" + "\n".join(lines)
699
696
 
700
697
 
701
698
  def MergeStandardOptions(options, params):
@@ -29,7 +29,7 @@ if hasattr(sys, "isapidllhandle"):
29
29
  import win32traceutil
30
30
 
31
31
  # The site we are proxying.
32
- proxy = "http://www.python.org"
32
+ proxy = "https://www.python.org"
33
33
 
34
34
  # Urls we exclude (ie, allow IIS to handle itself) - all are lowered,
35
35
  # and these entries exist by default on Vista...
@@ -17,7 +17,7 @@ if hasattr(sys, "isapidllhandle"):
17
17
  import win32traceutil
18
18
 
19
19
  # The site we are proxying.
20
- proxy = "http://www.python.org"
20
+ proxy = "https://www.python.org"
21
21
 
22
22
  # We synchronously read chunks of this size then asynchronously write them.
23
23
  CHUNK_SIZE = 8192
@@ -46,7 +46,7 @@ if hasattr(sys, "isapidllhandle"):
46
46
  import win32traceutil
47
47
 
48
48
  # The site we are proxying.
49
- proxy = "http://www.python.org"
49
+ proxy = "https://www.python.org"
50
50
  # The name of the virtual directory we install in, and redirect from.
51
51
  virtualdir = "/python"
52
52
 
@@ -84,6 +84,7 @@ class Extension(threaded_extension.ThreadPoolExtension):
84
84
  # The ISAPI filter.
85
85
  class Filter(SimpleFilter):
86
86
  "Sample Python Redirector"
87
+
87
88
  filter_flags = isapicon.SF_NOTIFY_PREPROC_HEADERS | isapicon.SF_NOTIFY_ORDER_DEFAULT
88
89
 
89
90
  def HttpFilterProc(self, fc):
@@ -40,6 +40,7 @@ class SimpleExtension:
40
40
 
41
41
  class SimpleFilter:
42
42
  "Base class for a a simple ISAPI filter"
43
+
43
44
  filter_flags: int | None = None
44
45
 
45
46
  def __init__(self):
@@ -60,6 +60,7 @@ class WorkerThread(threading.Thread):
60
60
  # fully asynch extension.
61
61
  class ThreadPoolExtension(isapi.simple.SimpleExtension):
62
62
  "Base class for an ISAPI extension based around a thread-pool"
63
+
63
64
  max_workers = 20
64
65
  worker_shutdown_wait = 15000 # 15 seconds for workers to quit...
65
66
 
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
  #
15
- __version__ = "1.26.0"
15
+ __version__ = "1.26.1"
@@ -129,7 +129,7 @@ class TimerManager:
129
129
  print("The last operation completed successfully.")
130
130
  except:
131
131
  t, v, tb = sys.exc_info()
132
- str = f"Failed: {t}: {repr(v)}"
132
+ str = f"Failed: {t}: {v!r}"
133
133
  print(str)
134
134
  self.oldErr.write(str)
135
135
  tb = None # Prevent cycle
@@ -45,9 +45,7 @@ class PrintDemoView(docview.ScrollView):
45
45
  oldPen = None
46
46
  x, y = self.size
47
47
  delta = 2
48
- colors = list(self.colors.keys())
49
- colors.sort()
50
- colors *= 2
48
+ colors = sorted(self.colors) * 2
51
49
  for color in colors:
52
50
  if oldPen is None:
53
51
  oldPen = dc.SelectObject(self.pens[color])
@@ -60,6 +60,4 @@ def NeedApp():
60
60
 
61
61
 
62
62
  if __name__ == "__main__":
63
- import demoutils
64
-
65
- demoutils.NotAScript()
63
+ NotAScript()
@@ -37,10 +37,7 @@ class ThreadWriter:
37
37
 
38
38
  def getwriter(self):
39
39
  "Return the current thread's writer, default sys.stdout"
40
- try:
41
- return self.writers[_thread.get_ident()]
42
- except KeyError:
43
- return self.origStdOut
40
+ self.writers.get(_thread.get_ident(), self.origStdOut)
44
41
 
45
42
  def write(self, str):
46
43
  "Write to the current thread's writer, default sys.stdout"
@@ -50,7 +47,7 @@ class ThreadWriter:
50
47
  def Test():
51
48
  num = 1
52
49
  while num < 1000:
53
- print("Hello there no " + str(num))
50
+ print("Hello there no", num)
54
51
  win32api.Sleep(50)
55
52
  num += 1
56
53
 
@@ -2,11 +2,10 @@
2
2
  import sys
3
3
 
4
4
  import __main__
5
- import regutil
6
- import win32api
7
- import win32ui
5
+ import pywin.dialogs.list
8
6
 
9
- demos = [ # ('Font', 'import fontdemo;fontdemo.FontDemo()'),
7
+ demos = [
8
+ ("Font", "import fontdemo;fontdemo.FontDemo()"),
10
9
  ("Open GL Demo", "import openGLDemo;openGLDemo.test()"),
11
10
  ("Threaded GUI", "import threadedgui;threadedgui.ThreadedDemo()"),
12
11
  ("Tree View Demo", "import hiertest;hiertest.demoboth()"),
@@ -19,58 +18,32 @@ demos = [ # ('Font', 'import fontdemo;fontdemo.FontDemo()'),
19
18
  ("OCX Control Demo", "from ocx import ocxtest;ocxtest.demo()"),
20
19
  ("OCX Serial Port Demo", "from ocx import ocxserialtest; ocxserialtest.test()"),
21
20
  (
22
- "IE4 Control Demo",
23
- 'from ocx import webbrowser; webbrowser.Demo("http://www.python.org")',
21
+ "Internet Explorer Control Demo",
22
+ 'from ocx import webbrowser; webbrowser.Demo("https://www.python.org")',
24
23
  ),
25
24
  ]
26
25
 
27
26
 
28
- def demo():
27
+ def _exec_demo(cmd):
29
28
  try:
30
- # seeif I can locate the demo files.
31
- import fontdemo
32
- except ImportError:
33
- # else put the demos direectory on the path (if not already)
34
- try:
35
- instPath = regutil.GetRegistryDefaultValue(
36
- regutil.BuildDefaultPythonKey() + "\\InstallPath"
37
- )
38
- except win32api.error:
39
- print(
40
- "The InstallPath can not be located, and the Demos directory is not on the path"
41
- )
42
- instPath = "."
43
-
44
- demosDir = win32ui.FullPath(instPath + "\\Demos")
45
- for path in sys.path:
46
- if win32ui.FullPath(path) == demosDir:
47
- break
48
- else:
49
- sys.path.append(demosDir)
50
- import fontdemo
29
+ exec(cmd)
30
+ except Exception as error:
31
+ print(f"Demo of {cmd} failed - {type(error)}:{error}")
51
32
 
52
- import sys
53
33
 
34
+ def demo():
54
35
  if "/go" in sys.argv:
55
36
  for name, cmd in demos:
56
- try:
57
- exec(cmd)
58
- except:
59
- print(f"Demo of {cmd} failed - {sys.exc_info()[0]}:{sys.exc_info()[1]}")
37
+ _exec_demo(cmd)
60
38
  return
61
- # Otherwise allow the user to select the demo to run
62
-
63
- import pywin.dialogs.list
64
39
 
65
- while 1:
40
+ # Otherwise allow the user to select the demo to run
41
+ while True:
66
42
  rc = pywin.dialogs.list.SelectFromLists("Select a Demo", demos, ["Demo Title"])
67
43
  if rc is None:
68
44
  break
69
45
  title, cmd = demos[rc]
70
- try:
71
- exec(cmd)
72
- except:
73
- print(f"Demo of {title} failed - {sys.exc_info()[0]}:{sys.exc_info()[1]}")
46
+ _exec_demo(cmd)
74
47
 
75
48
 
76
49
  if __name__ == __main__.__name__:
@@ -41,7 +41,7 @@ class object_document(docview.Document):
41
41
 
42
42
  class object_view(docview.EditView):
43
43
  def OnInitialUpdate(self):
44
- self.ReplaceSel("Object is %s" % repr(self.GetDocument().object))
44
+ self.ReplaceSel(f"Object is {self.GetDocument().object!r}")
45
45
 
46
46
 
47
47
  def demo():
@@ -60,6 +60,4 @@ def NeedApp():
60
60
 
61
61
 
62
62
  if __name__ == "__main__":
63
- from . import demoutils
64
-
65
- demoutils.NotAScript()
63
+ NotAScript()
@@ -2,7 +2,7 @@
2
2
  # simple flash/python application demonstrating bidirectional
3
3
  # communicaion between flash and python. Click the sphere to see
4
4
  # behavior. Uses Bounce.swf from FlashBounce.zip, available from
5
- # http://pages.cpsc.ucalgary.ca/~saul/vb_examples/tutorial12/
5
+ # https://cspages.ucalgary.ca/~saul/vb_examples/tutorial12/
6
6
 
7
7
  # Update to the path of the .swf file (note it could be a true URL)
8
8
  flash_url = "c:\\bounce.swf"
@@ -8,7 +8,6 @@
8
8
  import pythoncom
9
9
  import win32con
10
10
  import win32ui
11
- import win32uiole
12
11
  from pywin.mfc import activex, dialog
13
12
  from win32com.client import gencache
14
13
 
@@ -127,7 +126,7 @@ def test():
127
126
 
128
127
 
129
128
  if __name__ == "__main__":
130
- from . import demoutils
129
+ import demoutils
131
130
 
132
131
  if demoutils.NeedGoodGUI():
133
132
  test()
@@ -11,7 +11,6 @@ import os
11
11
  import win32api
12
12
  import win32con
13
13
  import win32ui
14
- import win32uiole
15
14
  from pywin.mfc import activex, dialog, window
16
15
  from win32com.client import gencache
17
16
 
@@ -238,7 +237,7 @@ def demo():
238
237
 
239
238
 
240
239
  if __name__ == "__main__":
241
- from . import demoutils
240
+ import demoutils
242
241
 
243
242
  if demoutils.NeedGoodGUI():
244
243
  testall()
@@ -1,4 +1,4 @@
1
- # This demo uses the IE4 Web Browser control.
1
+ # This demo uses the Internet Explorer Web Browser control.
2
2
 
3
3
  # It catches an "OnNavigate" event, and updates the frame title.
4
4
  # (event stuff by Neil Hodgson)
@@ -16,7 +16,7 @@ WebBrowserModule = gencache.EnsureModule(
16
16
  "{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}", 0, 1, 1
17
17
  )
18
18
  if WebBrowserModule is None:
19
- raise ImportError("IE4 does not appear to be installed.")
19
+ raise ImportError("Internet Explorer does not appear to be installed.")
20
20
 
21
21
 
22
22
  class MyWebBrowser(activex.Control, WebBrowserModule.WebBrowser):
@@ -32,7 +32,7 @@ class BrowserFrame(window.MDIChildWnd):
32
32
  if url is None:
33
33
  self.url = regutil.GetRegisteredHelpFile("Main Python Documentation")
34
34
  if self.url is None:
35
- self.url = "http://www.python.org"
35
+ self.url = "https://www.python.org"
36
36
  else:
37
37
  self.url = url
38
38
  pass # Don't call base class doc/view version...