@tedbrain/vlink 0.0.0-dpv2.pdkadapt.python-win32-x64.3.12.10-dpv2.1.r6 → 0.0.0-dpv2.pdkadapt.python-linux-x64.3.9.0-dpv2.1.r7

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 (3225) hide show
  1. package/bin/python3 +0 -0
  2. package/lib/libX11.so.6 +0 -0
  3. package/lib/libXau.so.6 +0 -0
  4. package/lib/libXdmcp.so.6 +0 -0
  5. package/lib/libcrypt.so.1 +0 -0
  6. package/lib/libcrypto.so.1.1 +0 -0
  7. package/lib/libffi.so.7 +0 -0
  8. package/lib/libfreebl3.so +0 -0
  9. package/lib/liblzma.so.5 +0 -0
  10. package/lib/libncursesw.so.6 +0 -0
  11. package/lib/libnsl.so.1 +0 -0
  12. package/lib/libpanelw.so.6 +0 -0
  13. package/lib/libpython3.9.so.1.0 +0 -0
  14. package/lib/libreadline.so.8 +0 -0
  15. package/lib/libsqlite3.so.0 +0 -0
  16. package/lib/libssl.so.1.1 +0 -0
  17. package/lib/libtcl8.6.so +0 -0
  18. package/lib/libtinfow.so.6 +0 -0
  19. package/lib/libtk8.6.so +0 -0
  20. package/lib/libxcb.so.1 +0 -0
  21. package/lib/libz.so.1 +0 -0
  22. package/lib/python3.9/LICENSE.txt +279 -0
  23. package/lib/python3.9/__future__.py +147 -0
  24. package/lib/python3.9/__phello__.foo.py +1 -0
  25. package/lib/python3.9/_aix_support.py +89 -0
  26. package/lib/python3.9/_bootlocale.py +46 -0
  27. package/lib/python3.9/_bootsubprocess.py +97 -0
  28. package/lib/python3.9/_collections_abc.py +1031 -0
  29. package/lib/python3.9/_compat_pickle.py +251 -0
  30. package/lib/python3.9/_compression.py +152 -0
  31. package/lib/python3.9/_markupbase.py +395 -0
  32. package/lib/python3.9/_osx_support.py +515 -0
  33. package/lib/python3.9/_pydecimal.py +6410 -0
  34. package/lib/python3.9/_pyio.py +2692 -0
  35. package/lib/python3.9/_sitebuiltins.py +103 -0
  36. package/lib/python3.9/_strptime.py +579 -0
  37. package/lib/python3.9/_sysconfigdata__linux_x86_64-linux-gnu.py +969 -0
  38. package/lib/python3.9/_sysconfigdata__linux_x86_64-linux-gnu.py.orig +969 -0
  39. package/lib/python3.9/_sysconfigdata_x86_64_conda_cos6_linux_gnu.py +969 -0
  40. package/lib/python3.9/_weakrefset.py +202 -0
  41. package/lib/python3.9/abc.py +129 -0
  42. package/lib/python3.9/aifc.py +947 -0
  43. package/lib/python3.9/argparse.py +2575 -0
  44. package/lib/python3.9/ast.py +1530 -0
  45. package/lib/python3.9/asynchat.py +307 -0
  46. package/lib/python3.9/asyncio/__init__.py +47 -0
  47. package/lib/python3.9/asyncio/__main__.py +125 -0
  48. package/lib/python3.9/asyncio/base_events.py +1915 -0
  49. package/lib/python3.9/asyncio/base_futures.py +61 -0
  50. package/lib/python3.9/asyncio/base_subprocess.py +285 -0
  51. package/lib/python3.9/asyncio/base_tasks.py +85 -0
  52. package/lib/python3.9/asyncio/constants.py +27 -0
  53. package/lib/python3.9/asyncio/coroutines.py +269 -0
  54. package/lib/python3.9/asyncio/events.py +795 -0
  55. package/lib/python3.9/asyncio/exceptions.py +57 -0
  56. package/lib/python3.9/asyncio/futures.py +423 -0
  57. package/lib/python3.9/asyncio/locks.py +451 -0
  58. package/lib/python3.9/asyncio/proactor_events.py +868 -0
  59. package/lib/python3.9/asyncio/protocols.py +220 -0
  60. package/lib/python3.9/asyncio/queues.py +252 -0
  61. package/lib/python3.9/asyncio/runners.py +74 -0
  62. package/lib/python3.9/asyncio/selector_events.py +1099 -0
  63. package/lib/python3.9/asyncio/sslproto.py +733 -0
  64. package/lib/python3.9/asyncio/staggered.py +149 -0
  65. package/lib/python3.9/asyncio/streams.py +741 -0
  66. package/lib/python3.9/asyncio/subprocess.py +241 -0
  67. package/lib/python3.9/asyncio/tasks.py +980 -0
  68. package/lib/python3.9/asyncio/threads.py +25 -0
  69. package/lib/python3.9/asyncio/transports.py +329 -0
  70. package/lib/python3.9/asyncio/trsock.py +206 -0
  71. package/lib/python3.9/asyncio/unix_events.py +1466 -0
  72. package/lib/python3.9/asyncio/windows_events.py +908 -0
  73. package/lib/python3.9/asyncore.py +642 -0
  74. package/lib/python3.9/base64.py +579 -0
  75. package/lib/python3.9/bdb.py +864 -0
  76. package/lib/python3.9/binhex.py +502 -0
  77. package/lib/python3.9/bisect.py +80 -0
  78. package/lib/python3.9/bz2.py +350 -0
  79. package/lib/python3.9/cProfile.py +180 -0
  80. package/lib/python3.9/calendar.py +770 -0
  81. package/lib/python3.9/cgi.py +996 -0
  82. package/lib/python3.9/cgitb.py +321 -0
  83. package/lib/python3.9/chunk.py +169 -0
  84. package/lib/python3.9/cmd.py +401 -0
  85. package/lib/python3.9/code.py +315 -0
  86. package/lib/python3.9/codecs.py +1126 -0
  87. package/lib/python3.9/codeop.py +178 -0
  88. package/lib/python3.9/collections/__init__.py +1508 -0
  89. package/lib/python3.9/collections/abc.py +2 -0
  90. package/lib/python3.9/colorsys.py +164 -0
  91. package/lib/python3.9/compileall.py +461 -0
  92. package/lib/python3.9/concurrent/futures/__init__.py +53 -0
  93. package/lib/python3.9/concurrent/futures/_base.py +635 -0
  94. package/lib/python3.9/concurrent/futures/process.py +751 -0
  95. package/lib/python3.9/concurrent/futures/thread.py +230 -0
  96. package/lib/python3.9/config-3.9-x86_64-linux-gnu/Makefile +2015 -0
  97. package/lib/python3.9/config-3.9-x86_64-linux-gnu/Setup +372 -0
  98. package/lib/python3.9/config-3.9-x86_64-linux-gnu/Setup.local +1 -0
  99. package/lib/python3.9/config-3.9-x86_64-linux-gnu/config.c +116 -0
  100. package/lib/python3.9/config-3.9-x86_64-linux-gnu/config.c.in +67 -0
  101. package/lib/python3.9/config-3.9-x86_64-linux-gnu/install-sh +518 -0
  102. package/lib/python3.9/config-3.9-x86_64-linux-gnu/makesetup +309 -0
  103. package/lib/python3.9/config-3.9-x86_64-linux-gnu/python-config.py +74 -0
  104. package/lib/python3.9/config-3.9-x86_64-linux-gnu/python.o +0 -0
  105. package/lib/python3.9/configparser.py +1363 -0
  106. package/lib/python3.9/contextlib.py +676 -0
  107. package/lib/python3.9/copy.py +303 -0
  108. package/lib/python3.9/copyreg.py +209 -0
  109. package/lib/python3.9/crypt.py +120 -0
  110. package/lib/python3.9/csv.py +448 -0
  111. package/lib/python3.9/ctypes/__init__.py +571 -0
  112. package/lib/python3.9/ctypes/_aix.py +331 -0
  113. package/lib/python3.9/ctypes/_endian.py +61 -0
  114. package/lib/python3.9/ctypes/macholib/dyld.py +182 -0
  115. package/lib/python3.9/ctypes/macholib/dylib.py +63 -0
  116. package/{Lib → lib/python3.9}/ctypes/macholib/fetch_macholib +0 -0
  117. package/{Lib → lib/python3.9}/ctypes/macholib/fetch_macholib.bat +0 -0
  118. package/lib/python3.9/ctypes/macholib/framework.py +65 -0
  119. package/lib/python3.9/ctypes/util.py +379 -0
  120. package/lib/python3.9/ctypes/wintypes.py +202 -0
  121. package/lib/python3.9/curses/ascii.py +99 -0
  122. package/lib/python3.9/curses/textpad.py +201 -0
  123. package/lib/python3.9/dataclasses.py +1284 -0
  124. package/lib/python3.9/datetime.py +2555 -0
  125. package/lib/python3.9/dbm/__init__.py +189 -0
  126. package/lib/python3.9/dbm/dumb.py +316 -0
  127. package/lib/python3.9/decimal.py +11 -0
  128. package/lib/python3.9/difflib.py +2096 -0
  129. package/lib/python3.9/dis.py +553 -0
  130. package/lib/python3.9/distutils/README +11 -0
  131. package/lib/python3.9/distutils/__init__.py +13 -0
  132. package/lib/python3.9/distutils/_msvccompiler.py +546 -0
  133. package/lib/python3.9/distutils/archive_util.py +256 -0
  134. package/lib/python3.9/distutils/bcppcompiler.py +393 -0
  135. package/lib/python3.9/distutils/ccompiler.py +1116 -0
  136. package/lib/python3.9/distutils/cmd.py +403 -0
  137. package/lib/python3.9/distutils/command/__init__.py +31 -0
  138. package/lib/python3.9/distutils/command/bdist.py +143 -0
  139. package/lib/python3.9/distutils/command/bdist_dumb.py +123 -0
  140. package/lib/python3.9/distutils/command/bdist_msi.py +749 -0
  141. package/lib/python3.9/distutils/command/bdist_rpm.py +579 -0
  142. package/lib/python3.9/distutils/command/bdist_wininst.py +377 -0
  143. package/lib/python3.9/distutils/command/build.py +157 -0
  144. package/lib/python3.9/distutils/command/build_clib.py +209 -0
  145. package/lib/python3.9/distutils/command/build_ext.py +754 -0
  146. package/lib/python3.9/distutils/command/build_py.py +416 -0
  147. package/lib/python3.9/distutils/command/build_scripts.py +160 -0
  148. package/lib/python3.9/distutils/command/check.py +148 -0
  149. package/lib/python3.9/distutils/command/clean.py +76 -0
  150. package/lib/python3.9/distutils/command/command_template +33 -0
  151. package/lib/python3.9/distutils/command/config.py +344 -0
  152. package/lib/python3.9/distutils/command/install.py +657 -0
  153. package/lib/python3.9/distutils/command/install_data.py +79 -0
  154. package/lib/python3.9/distutils/command/install_egg_info.py +77 -0
  155. package/lib/python3.9/distutils/command/install_headers.py +47 -0
  156. package/lib/python3.9/distutils/command/install_lib.py +217 -0
  157. package/lib/python3.9/distutils/command/install_scripts.py +60 -0
  158. package/lib/python3.9/distutils/command/register.py +304 -0
  159. package/lib/python3.9/distutils/command/sdist.py +494 -0
  160. package/lib/python3.9/distutils/command/upload.py +214 -0
  161. package/lib/python3.9/distutils/config.py +130 -0
  162. package/lib/python3.9/distutils/core.py +234 -0
  163. package/lib/python3.9/distutils/cygwinccompiler.py +410 -0
  164. package/lib/python3.9/distutils/debug.py +5 -0
  165. package/lib/python3.9/distutils/dep_util.py +92 -0
  166. package/lib/python3.9/distutils/dir_util.py +210 -0
  167. package/lib/python3.9/distutils/dist.py +1256 -0
  168. package/lib/python3.9/distutils/errors.py +97 -0
  169. package/lib/python3.9/distutils/extension.py +240 -0
  170. package/lib/python3.9/distutils/fancy_getopt.py +457 -0
  171. package/lib/python3.9/distutils/file_util.py +238 -0
  172. package/lib/python3.9/distutils/filelist.py +327 -0
  173. package/lib/python3.9/distutils/log.py +77 -0
  174. package/lib/python3.9/distutils/msvc9compiler.py +788 -0
  175. package/lib/python3.9/distutils/msvccompiler.py +643 -0
  176. package/lib/python3.9/distutils/spawn.py +125 -0
  177. package/lib/python3.9/distutils/sysconfig.py +560 -0
  178. package/lib/python3.9/distutils/text_file.py +286 -0
  179. package/lib/python3.9/distutils/unixccompiler.py +330 -0
  180. package/lib/python3.9/distutils/util.py +559 -0
  181. package/lib/python3.9/distutils/version.py +347 -0
  182. package/lib/python3.9/distutils/versionpredicate.py +166 -0
  183. package/lib/python3.9/doctest.py +2793 -0
  184. package/lib/python3.9/email/__init__.py +62 -0
  185. package/lib/python3.9/email/_encoded_words.py +233 -0
  186. package/lib/python3.9/email/_header_value_parser.py +3003 -0
  187. package/lib/python3.9/email/_parseaddr.py +549 -0
  188. package/lib/python3.9/email/_policybase.py +374 -0
  189. package/lib/python3.9/email/base64mime.py +119 -0
  190. package/lib/python3.9/email/charset.py +404 -0
  191. package/lib/python3.9/email/contentmanager.py +250 -0
  192. package/lib/python3.9/email/encoders.py +69 -0
  193. package/lib/python3.9/email/errors.py +110 -0
  194. package/lib/python3.9/email/feedparser.py +536 -0
  195. package/lib/python3.9/email/generator.py +508 -0
  196. package/lib/python3.9/email/header.py +578 -0
  197. package/lib/python3.9/email/headerregistry.py +601 -0
  198. package/lib/python3.9/email/iterators.py +71 -0
  199. package/lib/python3.9/email/message.py +1173 -0
  200. package/lib/python3.9/email/mime/application.py +37 -0
  201. package/lib/python3.9/email/mime/audio.py +74 -0
  202. package/lib/python3.9/email/mime/base.py +30 -0
  203. package/lib/python3.9/email/mime/image.py +47 -0
  204. package/lib/python3.9/email/mime/message.py +34 -0
  205. package/lib/python3.9/email/mime/multipart.py +48 -0
  206. package/lib/python3.9/email/mime/nonmultipart.py +22 -0
  207. package/lib/python3.9/email/mime/text.py +42 -0
  208. package/lib/python3.9/email/parser.py +131 -0
  209. package/lib/python3.9/email/policy.py +224 -0
  210. package/lib/python3.9/email/quoprimime.py +299 -0
  211. package/lib/python3.9/email/utils.py +368 -0
  212. package/lib/python3.9/encodings/__init__.py +169 -0
  213. package/lib/python3.9/encodings/idna.py +309 -0
  214. package/lib/python3.9/encodings/raw_unicode_escape.py +45 -0
  215. package/{Lib → lib/python3.9}/encodings/rot_13.py +0 -0
  216. package/lib/python3.9/encodings/unicode_escape.py +45 -0
  217. package/lib/python3.9/enum.py +913 -0
  218. package/lib/python3.9/filecmp.py +309 -0
  219. package/lib/python3.9/fileinput.py +432 -0
  220. package/lib/python3.9/fnmatch.py +183 -0
  221. package/lib/python3.9/formatter.py +452 -0
  222. package/lib/python3.9/fractions.py +641 -0
  223. package/lib/python3.9/ftplib.py +974 -0
  224. package/lib/python3.9/functools.py +980 -0
  225. package/lib/python3.9/genericpath.py +155 -0
  226. package/lib/python3.9/getopt.py +215 -0
  227. package/lib/python3.9/getpass.py +185 -0
  228. package/lib/python3.9/gettext.py +788 -0
  229. package/lib/python3.9/glob.py +173 -0
  230. package/lib/python3.9/graphlib.py +245 -0
  231. package/lib/python3.9/gzip.py +609 -0
  232. package/lib/python3.9/hashlib.py +262 -0
  233. package/lib/python3.9/heapq.py +601 -0
  234. package/lib/python3.9/hmac.py +203 -0
  235. package/lib/python3.9/html/__init__.py +132 -0
  236. package/lib/python3.9/html/entities.py +2509 -0
  237. package/lib/python3.9/html/parser.py +462 -0
  238. package/lib/python3.9/http/__init__.py +149 -0
  239. package/lib/python3.9/http/client.py +1495 -0
  240. package/lib/python3.9/http/cookiejar.py +2113 -0
  241. package/lib/python3.9/http/cookies.py +612 -0
  242. package/lib/python3.9/http/server.py +1299 -0
  243. package/lib/python3.9/imaplib.py +1650 -0
  244. package/lib/python3.9/imghdr.py +168 -0
  245. package/lib/python3.9/imp.py +345 -0
  246. package/lib/python3.9/importlib/__init__.py +176 -0
  247. package/lib/python3.9/importlib/_bootstrap.py +1189 -0
  248. package/lib/python3.9/importlib/_bootstrap_external.py +1637 -0
  249. package/lib/python3.9/importlib/_common.py +62 -0
  250. package/lib/python3.9/importlib/abc.py +474 -0
  251. package/lib/python3.9/importlib/machinery.py +21 -0
  252. package/lib/python3.9/importlib/metadata.py +586 -0
  253. package/lib/python3.9/importlib/resources.py +215 -0
  254. package/lib/python3.9/importlib/util.py +300 -0
  255. package/lib/python3.9/inspect.py +3180 -0
  256. package/lib/python3.9/io.py +99 -0
  257. package/lib/python3.9/ipaddress.py +2280 -0
  258. package/lib/python3.9/json/__init__.py +359 -0
  259. package/lib/python3.9/json/decoder.py +356 -0
  260. package/lib/python3.9/json/encoder.py +442 -0
  261. package/lib/python3.9/json/scanner.py +73 -0
  262. package/lib/python3.9/json/tool.py +78 -0
  263. package/lib/python3.9/keyword.py +62 -0
  264. package/lib/python3.9/lib-dynload/_asyncio.cpython-39-x86_64-linux-gnu.so +0 -0
  265. package/lib/python3.9/lib-dynload/_bisect.cpython-39-x86_64-linux-gnu.so +0 -0
  266. package/lib/python3.9/lib-dynload/_blake2.cpython-39-x86_64-linux-gnu.so +0 -0
  267. package/lib/python3.9/lib-dynload/_bz2.cpython-39-x86_64-linux-gnu.so +0 -0
  268. package/lib/python3.9/lib-dynload/_codecs_cn.cpython-39-x86_64-linux-gnu.so +0 -0
  269. package/lib/python3.9/lib-dynload/_codecs_hk.cpython-39-x86_64-linux-gnu.so +0 -0
  270. package/lib/python3.9/lib-dynload/_codecs_iso2022.cpython-39-x86_64-linux-gnu.so +0 -0
  271. package/lib/python3.9/lib-dynload/_codecs_jp.cpython-39-x86_64-linux-gnu.so +0 -0
  272. package/lib/python3.9/lib-dynload/_codecs_kr.cpython-39-x86_64-linux-gnu.so +0 -0
  273. package/lib/python3.9/lib-dynload/_codecs_tw.cpython-39-x86_64-linux-gnu.so +0 -0
  274. package/lib/python3.9/lib-dynload/_contextvars.cpython-39-x86_64-linux-gnu.so +0 -0
  275. package/lib/python3.9/lib-dynload/_crypt.cpython-39-x86_64-linux-gnu.so +0 -0
  276. package/lib/python3.9/lib-dynload/_csv.cpython-39-x86_64-linux-gnu.so +0 -0
  277. package/lib/python3.9/lib-dynload/_ctypes.cpython-39-x86_64-linux-gnu.so +0 -0
  278. package/lib/python3.9/lib-dynload/_ctypes_test.cpython-39-x86_64-linux-gnu.so +0 -0
  279. package/lib/python3.9/lib-dynload/_curses.cpython-39-x86_64-linux-gnu.so +0 -0
  280. package/lib/python3.9/lib-dynload/_curses_panel.cpython-39-x86_64-linux-gnu.so +0 -0
  281. package/lib/python3.9/lib-dynload/_datetime.cpython-39-x86_64-linux-gnu.so +0 -0
  282. package/lib/python3.9/lib-dynload/_decimal.cpython-39-x86_64-linux-gnu.so +0 -0
  283. package/lib/python3.9/lib-dynload/_elementtree.cpython-39-x86_64-linux-gnu.so +0 -0
  284. package/lib/python3.9/lib-dynload/_hashlib.cpython-39-x86_64-linux-gnu.so +0 -0
  285. package/lib/python3.9/lib-dynload/_heapq.cpython-39-x86_64-linux-gnu.so +0 -0
  286. package/lib/python3.9/lib-dynload/_json.cpython-39-x86_64-linux-gnu.so +0 -0
  287. package/lib/python3.9/lib-dynload/_lsprof.cpython-39-x86_64-linux-gnu.so +0 -0
  288. package/lib/python3.9/lib-dynload/_lzma.cpython-39-x86_64-linux-gnu.so +0 -0
  289. package/lib/python3.9/lib-dynload/_md5.cpython-39-x86_64-linux-gnu.so +0 -0
  290. package/lib/python3.9/lib-dynload/_multibytecodec.cpython-39-x86_64-linux-gnu.so +0 -0
  291. package/lib/python3.9/lib-dynload/_multiprocessing.cpython-39-x86_64-linux-gnu.so +0 -0
  292. package/lib/python3.9/lib-dynload/_opcode.cpython-39-x86_64-linux-gnu.so +0 -0
  293. package/lib/python3.9/lib-dynload/_pickle.cpython-39-x86_64-linux-gnu.so +0 -0
  294. package/lib/python3.9/lib-dynload/_posixshmem.cpython-39-x86_64-linux-gnu.so +0 -0
  295. package/lib/python3.9/lib-dynload/_posixsubprocess.cpython-39-x86_64-linux-gnu.so +0 -0
  296. package/lib/python3.9/lib-dynload/_queue.cpython-39-x86_64-linux-gnu.so +0 -0
  297. package/lib/python3.9/lib-dynload/_random.cpython-39-x86_64-linux-gnu.so +0 -0
  298. package/lib/python3.9/lib-dynload/_sha1.cpython-39-x86_64-linux-gnu.so +0 -0
  299. package/lib/python3.9/lib-dynload/_sha256.cpython-39-x86_64-linux-gnu.so +0 -0
  300. package/lib/python3.9/lib-dynload/_sha3.cpython-39-x86_64-linux-gnu.so +0 -0
  301. package/lib/python3.9/lib-dynload/_sha512.cpython-39-x86_64-linux-gnu.so +0 -0
  302. package/lib/python3.9/lib-dynload/_socket.cpython-39-x86_64-linux-gnu.so +0 -0
  303. package/lib/python3.9/lib-dynload/_sqlite3.cpython-39-x86_64-linux-gnu.so +0 -0
  304. package/lib/python3.9/lib-dynload/_ssl.cpython-39-x86_64-linux-gnu.so +0 -0
  305. package/lib/python3.9/lib-dynload/_statistics.cpython-39-x86_64-linux-gnu.so +0 -0
  306. package/lib/python3.9/lib-dynload/_struct.cpython-39-x86_64-linux-gnu.so +0 -0
  307. package/lib/python3.9/lib-dynload/_testbuffer.cpython-39-x86_64-linux-gnu.so +0 -0
  308. package/lib/python3.9/lib-dynload/_testcapi.cpython-39-x86_64-linux-gnu.so +0 -0
  309. package/lib/python3.9/lib-dynload/_testimportmultiple.cpython-39-x86_64-linux-gnu.so +0 -0
  310. package/lib/python3.9/lib-dynload/_testinternalcapi.cpython-39-x86_64-linux-gnu.so +0 -0
  311. package/lib/python3.9/lib-dynload/_testmultiphase.cpython-39-x86_64-linux-gnu.so +0 -0
  312. package/lib/python3.9/lib-dynload/_tkinter.cpython-39-x86_64-linux-gnu.so +0 -0
  313. package/lib/python3.9/lib-dynload/_xxsubinterpreters.cpython-39-x86_64-linux-gnu.so +0 -0
  314. package/lib/python3.9/lib-dynload/_xxtestfuzz.cpython-39-x86_64-linux-gnu.so +0 -0
  315. package/lib/python3.9/lib-dynload/_zoneinfo.cpython-39-x86_64-linux-gnu.so +0 -0
  316. package/lib/python3.9/lib-dynload/array.cpython-39-x86_64-linux-gnu.so +0 -0
  317. package/lib/python3.9/lib-dynload/audioop.cpython-39-x86_64-linux-gnu.so +0 -0
  318. package/lib/python3.9/lib-dynload/binascii.cpython-39-x86_64-linux-gnu.so +0 -0
  319. package/lib/python3.9/lib-dynload/cmath.cpython-39-x86_64-linux-gnu.so +0 -0
  320. package/lib/python3.9/lib-dynload/fcntl.cpython-39-x86_64-linux-gnu.so +0 -0
  321. package/lib/python3.9/lib-dynload/grp.cpython-39-x86_64-linux-gnu.so +0 -0
  322. package/lib/python3.9/lib-dynload/math.cpython-39-x86_64-linux-gnu.so +0 -0
  323. package/lib/python3.9/lib-dynload/mmap.cpython-39-x86_64-linux-gnu.so +0 -0
  324. package/lib/python3.9/lib-dynload/nis.cpython-39-x86_64-linux-gnu.so +0 -0
  325. package/lib/python3.9/lib-dynload/ossaudiodev.cpython-39-x86_64-linux-gnu.so +0 -0
  326. package/lib/python3.9/lib-dynload/parser.cpython-39-x86_64-linux-gnu.so +0 -0
  327. package/lib/python3.9/lib-dynload/pyexpat.cpython-39-x86_64-linux-gnu.so +0 -0
  328. package/lib/python3.9/lib-dynload/readline.cpython-39-x86_64-linux-gnu.so +0 -0
  329. package/lib/python3.9/lib-dynload/resource.cpython-39-x86_64-linux-gnu.so +0 -0
  330. package/lib/python3.9/lib-dynload/select.cpython-39-x86_64-linux-gnu.so +0 -0
  331. package/lib/python3.9/lib-dynload/spwd.cpython-39-x86_64-linux-gnu.so +0 -0
  332. package/lib/python3.9/lib-dynload/syslog.cpython-39-x86_64-linux-gnu.so +0 -0
  333. package/lib/python3.9/lib-dynload/termios.cpython-39-x86_64-linux-gnu.so +0 -0
  334. package/lib/python3.9/lib-dynload/unicodedata.cpython-39-x86_64-linux-gnu.so +0 -0
  335. package/lib/python3.9/lib-dynload/xxlimited.cpython-39-x86_64-linux-gnu.so +0 -0
  336. package/lib/python3.9/lib-dynload/zlib.cpython-39-x86_64-linux-gnu.so +0 -0
  337. package/lib/python3.9/linecache.py +177 -0
  338. package/lib/python3.9/locale.py +1755 -0
  339. package/lib/python3.9/logging/__init__.py +2208 -0
  340. package/lib/python3.9/logging/config.py +945 -0
  341. package/lib/python3.9/logging/handlers.py +1543 -0
  342. package/lib/python3.9/lzma.py +347 -0
  343. package/lib/python3.9/mailbox.py +2151 -0
  344. package/lib/python3.9/mailcap.py +276 -0
  345. package/lib/python3.9/mimetypes.py +614 -0
  346. package/lib/python3.9/modulefinder.py +685 -0
  347. package/lib/python3.9/multiprocessing/connection.py +978 -0
  348. package/lib/python3.9/multiprocessing/context.py +362 -0
  349. package/lib/python3.9/multiprocessing/forkserver.py +348 -0
  350. package/lib/python3.9/multiprocessing/managers.py +1369 -0
  351. package/lib/python3.9/multiprocessing/pool.py +954 -0
  352. package/lib/python3.9/multiprocessing/popen_spawn_win32.py +131 -0
  353. package/lib/python3.9/multiprocessing/process.py +432 -0
  354. package/lib/python3.9/multiprocessing/queues.py +380 -0
  355. package/lib/python3.9/multiprocessing/resource_sharer.py +154 -0
  356. package/lib/python3.9/multiprocessing/resource_tracker.py +231 -0
  357. package/lib/python3.9/multiprocessing/shared_memory.py +532 -0
  358. package/lib/python3.9/multiprocessing/spawn.py +297 -0
  359. package/lib/python3.9/multiprocessing/synchronize.py +394 -0
  360. package/lib/python3.9/multiprocessing/util.py +489 -0
  361. package/lib/python3.9/netrc.py +139 -0
  362. package/lib/python3.9/nntplib.py +1090 -0
  363. package/lib/python3.9/ntpath.py +794 -0
  364. package/lib/python3.9/nturl2path.py +73 -0
  365. package/lib/python3.9/numbers.py +389 -0
  366. package/lib/python3.9/opcode.py +217 -0
  367. package/lib/python3.9/operator.py +460 -0
  368. package/lib/python3.9/os.py +1116 -0
  369. package/lib/python3.9/pathlib.py +1576 -0
  370. package/lib/python3.9/pdb.py +1731 -0
  371. package/lib/python3.9/pickle.py +1817 -0
  372. package/lib/python3.9/pickletools.py +2890 -0
  373. package/lib/python3.9/pipes.py +247 -0
  374. package/lib/python3.9/pkgutil.py +707 -0
  375. package/lib/python3.9/platform.py +1259 -0
  376. package/lib/python3.9/plistlib.py +881 -0
  377. package/lib/python3.9/poplib.py +483 -0
  378. package/lib/python3.9/posixpath.py +525 -0
  379. package/lib/python3.9/pprint.py +638 -0
  380. package/lib/python3.9/profile.py +600 -0
  381. package/lib/python3.9/pstats.py +779 -0
  382. package/lib/python3.9/pty.py +172 -0
  383. package/lib/python3.9/py_compile.py +215 -0
  384. package/lib/python3.9/pyclbr.py +404 -0
  385. package/lib/python3.9/pydoc.py +2855 -0
  386. package/lib/python3.9/pydoc_data/_pydoc.css +6 -0
  387. package/lib/python3.9/pydoc_data/topics.py +13968 -0
  388. package/lib/python3.9/queue.py +326 -0
  389. package/lib/python3.9/quopri.py +242 -0
  390. package/lib/python3.9/random.py +887 -0
  391. package/lib/python3.9/re.py +384 -0
  392. package/lib/python3.9/reprlib.py +161 -0
  393. package/lib/python3.9/rlcompleter.py +205 -0
  394. package/lib/python3.9/runpy.py +300 -0
  395. package/lib/python3.9/sched.py +167 -0
  396. package/lib/python3.9/secrets.py +72 -0
  397. package/lib/python3.9/selectors.py +619 -0
  398. package/lib/python3.9/shelve.py +243 -0
  399. package/lib/python3.9/shlex.py +350 -0
  400. package/lib/python3.9/shutil.py +1443 -0
  401. package/lib/python3.9/signal.py +85 -0
  402. package/lib/python3.9/site.py +643 -0
  403. package/lib/python3.9/smtpd.py +967 -0
  404. package/lib/python3.9/smtplib.py +1123 -0
  405. package/lib/python3.9/sndhdr.py +257 -0
  406. package/lib/python3.9/socket.py +958 -0
  407. package/lib/python3.9/socketserver.py +817 -0
  408. package/lib/python3.9/sqlite3/__init__.py +23 -0
  409. package/lib/python3.9/sqlite3/dbapi2.py +89 -0
  410. package/lib/python3.9/sqlite3/dump.py +70 -0
  411. package/lib/python3.9/sre_compile.py +784 -0
  412. package/lib/python3.9/sre_constants.py +259 -0
  413. package/lib/python3.9/sre_parse.py +1064 -0
  414. package/lib/python3.9/ssl.py +1489 -0
  415. package/lib/python3.9/statistics.py +1120 -0
  416. package/lib/python3.9/string.py +280 -0
  417. package/lib/python3.9/subprocess.py +2074 -0
  418. package/lib/python3.9/sunau.py +526 -0
  419. package/lib/python3.9/symbol.py +122 -0
  420. package/lib/python3.9/symtable.py +243 -0
  421. package/lib/python3.9/sysconfig.py +720 -0
  422. package/lib/python3.9/tabnanny.py +333 -0
  423. package/lib/python3.9/tarfile.py +2576 -0
  424. package/lib/python3.9/telnetlib.py +677 -0
  425. package/lib/python3.9/tempfile.py +832 -0
  426. package/lib/python3.9/textwrap.py +486 -0
  427. package/lib/python3.9/threading.py +1502 -0
  428. package/lib/python3.9/timeit.py +375 -0
  429. package/lib/python3.9/token.py +136 -0
  430. package/lib/python3.9/tokenize.py +682 -0
  431. package/lib/python3.9/trace.py +740 -0
  432. package/lib/python3.9/traceback.py +623 -0
  433. package/lib/python3.9/tracemalloc.py +560 -0
  434. package/lib/python3.9/tty.py +36 -0
  435. package/lib/python3.9/turtle.py +4140 -0
  436. package/lib/python3.9/types.py +299 -0
  437. package/lib/python3.9/typing.py +2147 -0
  438. package/lib/python3.9/unittest/__init__.py +95 -0
  439. package/lib/python3.9/unittest/_log.py +69 -0
  440. package/lib/python3.9/unittest/async_case.py +160 -0
  441. package/lib/python3.9/unittest/case.py +1437 -0
  442. package/lib/python3.9/unittest/loader.py +517 -0
  443. package/lib/python3.9/unittest/main.py +275 -0
  444. package/lib/python3.9/unittest/mock.py +2891 -0
  445. package/lib/python3.9/unittest/result.py +216 -0
  446. package/lib/python3.9/unittest/runner.py +221 -0
  447. package/lib/python3.9/unittest/suite.py +361 -0
  448. package/lib/python3.9/urllib/error.py +77 -0
  449. package/lib/python3.9/urllib/parse.py +1179 -0
  450. package/lib/python3.9/urllib/request.py +2765 -0
  451. package/lib/python3.9/urllib/robotparser.py +273 -0
  452. package/lib/python3.9/uu.py +206 -0
  453. package/lib/python3.9/uuid.py +728 -0
  454. package/lib/python3.9/venv/__init__.py +504 -0
  455. package/lib/python3.9/venv/scripts/common/Activate.ps1 +241 -0
  456. package/lib/python3.9/venv/scripts/common/activate +66 -0
  457. package/lib/python3.9/venv/scripts/posix/activate.csh +25 -0
  458. package/lib/python3.9/venv/scripts/posix/activate.fish +64 -0
  459. package/lib/python3.9/warnings.py +549 -0
  460. package/lib/python3.9/wave.py +513 -0
  461. package/lib/python3.9/weakref.py +664 -0
  462. package/lib/python3.9/webbrowser.py +713 -0
  463. package/lib/python3.9/wsgiref/__init__.py +23 -0
  464. package/lib/python3.9/wsgiref/handlers.py +571 -0
  465. package/lib/python3.9/wsgiref/util.py +172 -0
  466. package/lib/python3.9/wsgiref/validate.py +441 -0
  467. package/lib/python3.9/xdrlib.py +241 -0
  468. package/lib/python3.9/xml/dom/expatbuilder.py +965 -0
  469. package/lib/python3.9/xml/dom/minidom.py +2011 -0
  470. package/lib/python3.9/xml/dom/pulldom.py +349 -0
  471. package/lib/python3.9/xml/dom/xmlbuilder.py +387 -0
  472. package/lib/python3.9/xml/etree/ElementInclude.py +185 -0
  473. package/lib/python3.9/xml/etree/ElementPath.py +405 -0
  474. package/lib/python3.9/xml/etree/ElementTree.py +2085 -0
  475. package/lib/python3.9/xml/etree/__init__.py +33 -0
  476. package/lib/python3.9/xml/sax/__init__.py +107 -0
  477. package/lib/python3.9/xml/sax/_exceptions.py +131 -0
  478. package/lib/python3.9/xml/sax/expatreader.py +446 -0
  479. package/lib/python3.9/xml/sax/handler.py +342 -0
  480. package/lib/python3.9/xml/sax/xmlreader.py +380 -0
  481. package/lib/python3.9/xmlrpc/client.py +1524 -0
  482. package/lib/python3.9/xmlrpc/server.py +993 -0
  483. package/lib/python3.9/zipapp.py +206 -0
  484. package/lib/python3.9/zipfile.py +2426 -0
  485. package/lib/python3.9/zipimport.py +792 -0
  486. package/lib/python3.9/zoneinfo/_common.py +165 -0
  487. package/lib/python3.9/zoneinfo/_tzpath.py +175 -0
  488. package/lib/python3.9/zoneinfo/_zoneinfo.py +752 -0
  489. package/package.json +1 -1
  490. package/runtime.json +1 -0
  491. package/BUILD +0 -1
  492. package/DLLs/_asyncio.pyd +0 -0
  493. package/DLLs/_bz2.pyd +0 -0
  494. package/DLLs/_ctypes.pyd +0 -0
  495. package/DLLs/_ctypes_test.pyd +0 -0
  496. package/DLLs/_decimal.pyd +0 -0
  497. package/DLLs/_elementtree.pyd +0 -0
  498. package/DLLs/_hashlib.pyd +0 -0
  499. package/DLLs/_lzma.pyd +0 -0
  500. package/DLLs/_msi.pyd +0 -0
  501. package/DLLs/_multiprocessing.pyd +0 -0
  502. package/DLLs/_overlapped.pyd +0 -0
  503. package/DLLs/_queue.pyd +0 -0
  504. package/DLLs/_socket.pyd +0 -0
  505. package/DLLs/_sqlite3.pyd +0 -0
  506. package/DLLs/_ssl.pyd +0 -0
  507. package/DLLs/_testbuffer.pyd +0 -0
  508. package/DLLs/_testcapi.pyd +0 -0
  509. package/DLLs/_testclinic.pyd +0 -0
  510. package/DLLs/_testconsole.pyd +0 -0
  511. package/DLLs/_testimportmultiple.pyd +0 -0
  512. package/DLLs/_testinternalcapi.pyd +0 -0
  513. package/DLLs/_testmultiphase.pyd +0 -0
  514. package/DLLs/_testsinglephase.pyd +0 -0
  515. package/DLLs/_tkinter.pyd +0 -0
  516. package/DLLs/_uuid.pyd +0 -0
  517. package/DLLs/_wmi.pyd +0 -0
  518. package/DLLs/_zoneinfo.pyd +0 -0
  519. package/DLLs/libcrypto-3-x64.dll +0 -0
  520. package/DLLs/libffi-8.dll +0 -0
  521. package/DLLs/libssl-3-x64.dll +0 -0
  522. package/DLLs/pyexpat.pyd +0 -0
  523. package/DLLs/select.pyd +0 -0
  524. package/DLLs/sqlite3.dll +0 -0
  525. package/DLLs/tcl86t.dll +0 -0
  526. package/DLLs/tk86t.dll +0 -0
  527. package/DLLs/unicodedata.pyd +0 -0
  528. package/DLLs/winsound.pyd +0 -0
  529. package/LICENSE.txt +0 -502
  530. package/Lib/EXTERNALLY-MANAGED +0 -2
  531. package/Lib/__future__.py +0 -147
  532. package/Lib/__hello__.py +0 -16
  533. package/Lib/__phello__/__init__.py +0 -7
  534. package/Lib/__phello__/ham/eggs.py +0 -0
  535. package/Lib/__phello__/spam.py +0 -7
  536. package/Lib/_aix_support.py +0 -108
  537. package/Lib/_collections_abc.py +0 -1173
  538. package/Lib/_compat_pickle.py +0 -252
  539. package/Lib/_compression.py +0 -162
  540. package/Lib/_markupbase.py +0 -396
  541. package/Lib/_osx_support.py +0 -579
  542. package/Lib/_pydatetime.py +0 -2643
  543. package/Lib/_pydecimal.py +0 -6339
  544. package/Lib/_pyio.py +0 -2698
  545. package/Lib/_pylong.py +0 -329
  546. package/Lib/_sitebuiltins.py +0 -103
  547. package/Lib/_strptime.py +0 -664
  548. package/Lib/_weakrefset.py +0 -205
  549. package/Lib/abc.py +0 -188
  550. package/Lib/aifc.py +0 -984
  551. package/Lib/argparse.py +0 -2650
  552. package/Lib/ast.py +0 -1840
  553. package/Lib/asyncio/__init__.py +0 -47
  554. package/Lib/asyncio/__main__.py +0 -128
  555. package/Lib/asyncio/base_events.py +0 -2024
  556. package/Lib/asyncio/base_futures.py +0 -67
  557. package/Lib/asyncio/base_subprocess.py +0 -285
  558. package/Lib/asyncio/base_tasks.py +0 -94
  559. package/Lib/asyncio/constants.py +0 -41
  560. package/Lib/asyncio/coroutines.py +0 -109
  561. package/Lib/asyncio/events.py +0 -868
  562. package/Lib/asyncio/exceptions.py +0 -62
  563. package/Lib/asyncio/futures.py +0 -430
  564. package/Lib/asyncio/locks.py +0 -586
  565. package/Lib/asyncio/mixins.py +0 -21
  566. package/Lib/asyncio/proactor_events.py +0 -897
  567. package/Lib/asyncio/protocols.py +0 -216
  568. package/Lib/asyncio/queues.py +0 -244
  569. package/Lib/asyncio/runners.py +0 -216
  570. package/Lib/asyncio/selector_events.py +0 -1324
  571. package/Lib/asyncio/sslproto.py +0 -929
  572. package/Lib/asyncio/staggered.py +0 -174
  573. package/Lib/asyncio/streams.py +0 -770
  574. package/Lib/asyncio/subprocess.py +0 -229
  575. package/Lib/asyncio/taskgroups.py +0 -268
  576. package/Lib/asyncio/tasks.py +0 -1065
  577. package/Lib/asyncio/threads.py +0 -25
  578. package/Lib/asyncio/timeouts.py +0 -168
  579. package/Lib/asyncio/transports.py +0 -335
  580. package/Lib/asyncio/trsock.py +0 -98
  581. package/Lib/asyncio/unix_events.py +0 -1500
  582. package/Lib/asyncio/windows_events.py +0 -901
  583. package/Lib/base64.py +0 -586
  584. package/Lib/bdb.py +0 -920
  585. package/Lib/bisect.py +0 -118
  586. package/Lib/bz2.py +0 -344
  587. package/Lib/cProfile.py +0 -195
  588. package/Lib/calendar.py +0 -808
  589. package/Lib/cgi.py +0 -1012
  590. package/Lib/cgitb.py +0 -332
  591. package/Lib/chunk.py +0 -173
  592. package/Lib/cmd.py +0 -401
  593. package/Lib/code.py +0 -324
  594. package/Lib/codecs.py +0 -1129
  595. package/Lib/codeop.py +0 -161
  596. package/Lib/collections/__init__.py +0 -1592
  597. package/Lib/collections/abc.py +0 -3
  598. package/Lib/colorsys.py +0 -166
  599. package/Lib/compileall.py +0 -469
  600. package/Lib/concurrent/futures/__init__.py +0 -54
  601. package/Lib/concurrent/futures/_base.py +0 -654
  602. package/Lib/concurrent/futures/process.py +0 -876
  603. package/Lib/concurrent/futures/thread.py +0 -240
  604. package/Lib/configparser.py +0 -1333
  605. package/Lib/contextlib.py +0 -800
  606. package/Lib/copy.py +0 -292
  607. package/Lib/copyreg.py +0 -217
  608. package/Lib/crypt.py +0 -124
  609. package/Lib/csv.py +0 -451
  610. package/Lib/ctypes/__init__.py +0 -579
  611. package/Lib/ctypes/_aix.py +0 -327
  612. package/Lib/ctypes/_endian.py +0 -78
  613. package/Lib/ctypes/macholib/dyld.py +0 -165
  614. package/Lib/ctypes/macholib/dylib.py +0 -42
  615. package/Lib/ctypes/macholib/framework.py +0 -42
  616. package/Lib/ctypes/util.py +0 -379
  617. package/Lib/ctypes/wintypes.py +0 -202
  618. package/Lib/curses/ascii.py +0 -99
  619. package/Lib/curses/textpad.py +0 -204
  620. package/Lib/dataclasses.py +0 -1588
  621. package/Lib/datetime.py +0 -9
  622. package/Lib/dbm/__init__.py +0 -190
  623. package/Lib/dbm/dumb.py +0 -317
  624. package/Lib/decimal.py +0 -108
  625. package/Lib/difflib.py +0 -2056
  626. package/Lib/dis.py +0 -805
  627. package/Lib/doctest.py +0 -2845
  628. package/Lib/email/__init__.py +0 -61
  629. package/Lib/email/_encoded_words.py +0 -233
  630. package/Lib/email/_header_value_parser.py +0 -3095
  631. package/Lib/email/_parseaddr.py +0 -557
  632. package/Lib/email/_policybase.py +0 -382
  633. package/Lib/email/base64mime.py +0 -115
  634. package/Lib/email/charset.py +0 -398
  635. package/Lib/email/contentmanager.py +0 -251
  636. package/Lib/email/encoders.py +0 -65
  637. package/Lib/email/errors.py +0 -117
  638. package/Lib/email/feedparser.py +0 -534
  639. package/Lib/email/generator.py +0 -520
  640. package/Lib/email/header.py +0 -573
  641. package/Lib/email/headerregistry.py +0 -604
  642. package/Lib/email/iterators.py +0 -68
  643. package/Lib/email/message.py +0 -1209
  644. package/Lib/email/mime/application.py +0 -37
  645. package/Lib/email/mime/audio.py +0 -100
  646. package/Lib/email/mime/base.py +0 -29
  647. package/Lib/email/mime/image.py +0 -152
  648. package/Lib/email/mime/message.py +0 -33
  649. package/Lib/email/mime/multipart.py +0 -47
  650. package/Lib/email/mime/nonmultipart.py +0 -21
  651. package/Lib/email/mime/text.py +0 -40
  652. package/Lib/email/parser.py +0 -127
  653. package/Lib/email/policy.py +0 -232
  654. package/Lib/email/quoprimime.py +0 -300
  655. package/Lib/email/utils.py +0 -486
  656. package/Lib/encodings/__init__.py +0 -174
  657. package/Lib/encodings/idna.py +0 -317
  658. package/Lib/encodings/raw_unicode_escape.py +0 -46
  659. package/Lib/encodings/unicode_escape.py +0 -46
  660. package/Lib/ensurepip/__init__.py +0 -291
  661. package/Lib/ensurepip/__main__.py +0 -5
  662. package/Lib/ensurepip/_bundled/pip-25.0.1-py3-none-any.whl +0 -0
  663. package/Lib/ensurepip/_uninstall.py +0 -31
  664. package/Lib/enum.py +0 -2108
  665. package/Lib/filecmp.py +0 -315
  666. package/Lib/fileinput.py +0 -442
  667. package/Lib/fnmatch.py +0 -185
  668. package/Lib/fractions.py +0 -990
  669. package/Lib/ftplib.py +0 -966
  670. package/Lib/functools.py +0 -1009
  671. package/Lib/genericpath.py +0 -167
  672. package/Lib/getopt.py +0 -215
  673. package/Lib/getpass.py +0 -185
  674. package/Lib/gettext.py +0 -646
  675. package/Lib/glob.py +0 -252
  676. package/Lib/graphlib.py +0 -250
  677. package/Lib/gzip.py +0 -711
  678. package/Lib/hashlib.py +0 -253
  679. package/Lib/heapq.py +0 -603
  680. package/Lib/hmac.py +0 -219
  681. package/Lib/html/__init__.py +0 -132
  682. package/Lib/html/entities.py +0 -2513
  683. package/Lib/html/parser.py +0 -456
  684. package/Lib/http/__init__.py +0 -200
  685. package/Lib/http/client.py +0 -1550
  686. package/Lib/http/cookiejar.py +0 -2121
  687. package/Lib/http/cookies.py +0 -596
  688. package/Lib/http/server.py +0 -1320
  689. package/Lib/idlelib/CREDITS.txt +0 -47
  690. package/Lib/idlelib/ChangeLog +0 -1591
  691. package/Lib/idlelib/HISTORY.txt +0 -296
  692. package/Lib/idlelib/Icons/README.txt +0 -51
  693. package/Lib/idlelib/Icons/folder.gif +0 -0
  694. package/Lib/idlelib/Icons/idle.ico +0 -0
  695. package/Lib/idlelib/Icons/idle_16.gif +0 -0
  696. package/Lib/idlelib/Icons/idle_16.png +0 -0
  697. package/Lib/idlelib/Icons/idle_256.png +0 -0
  698. package/Lib/idlelib/Icons/idle_32.gif +0 -0
  699. package/Lib/idlelib/Icons/idle_32.png +0 -0
  700. package/Lib/idlelib/Icons/idle_48.gif +0 -0
  701. package/Lib/idlelib/Icons/idle_48.png +0 -0
  702. package/Lib/idlelib/Icons/minusnode.gif +0 -0
  703. package/Lib/idlelib/Icons/openfolder.gif +0 -0
  704. package/Lib/idlelib/Icons/plusnode.gif +0 -0
  705. package/Lib/idlelib/Icons/python.gif +0 -0
  706. package/Lib/idlelib/Icons/tk.gif +0 -0
  707. package/Lib/idlelib/NEWS2x.txt +0 -660
  708. package/Lib/idlelib/News3.txt +0 -1390
  709. package/Lib/idlelib/README.txt +0 -290
  710. package/Lib/idlelib/TODO.txt +0 -210
  711. package/Lib/idlelib/__init__.py +0 -10
  712. package/Lib/idlelib/__main__.py +0 -7
  713. package/Lib/idlelib/autocomplete.py +0 -228
  714. package/Lib/idlelib/autocomplete_w.py +0 -498
  715. package/Lib/idlelib/autoexpand.py +0 -96
  716. package/Lib/idlelib/browser.py +0 -260
  717. package/Lib/idlelib/calltip.py +0 -205
  718. package/Lib/idlelib/calltip_w.py +0 -202
  719. package/Lib/idlelib/codecontext.py +0 -270
  720. package/Lib/idlelib/colorizer.py +0 -384
  721. package/Lib/idlelib/config-extensions.def +0 -62
  722. package/Lib/idlelib/config-highlight.def +0 -105
  723. package/Lib/idlelib/config-keys.def +0 -309
  724. package/Lib/idlelib/config-main.def +0 -93
  725. package/Lib/idlelib/config.py +0 -917
  726. package/Lib/idlelib/config_key.py +0 -354
  727. package/Lib/idlelib/configdialog.py +0 -2408
  728. package/Lib/idlelib/debugger.py +0 -602
  729. package/Lib/idlelib/debugger_r.py +0 -390
  730. package/Lib/idlelib/debugobj.py +0 -146
  731. package/Lib/idlelib/debugobj_r.py +0 -41
  732. package/Lib/idlelib/delegator.py +0 -34
  733. package/Lib/idlelib/dynoption.py +0 -57
  734. package/Lib/idlelib/editor.py +0 -1767
  735. package/Lib/idlelib/extend.txt +0 -83
  736. package/Lib/idlelib/filelist.py +0 -132
  737. package/Lib/idlelib/format.py +0 -426
  738. package/Lib/idlelib/grep.py +0 -223
  739. package/Lib/idlelib/help.html +0 -805
  740. package/Lib/idlelib/help.py +0 -297
  741. package/Lib/idlelib/help_about.py +0 -211
  742. package/Lib/idlelib/history.py +0 -106
  743. package/Lib/idlelib/hyperparser.py +0 -312
  744. package/Lib/idlelib/idle.bat +0 -4
  745. package/Lib/idlelib/idle.py +0 -14
  746. package/Lib/idlelib/idle.pyw +0 -17
  747. package/Lib/idlelib/iomenu.py +0 -441
  748. package/Lib/idlelib/macosx.py +0 -278
  749. package/Lib/idlelib/mainmenu.py +0 -126
  750. package/Lib/idlelib/multicall.py +0 -451
  751. package/Lib/idlelib/outwin.py +0 -188
  752. package/Lib/idlelib/parenmatch.py +0 -183
  753. package/Lib/idlelib/pathbrowser.py +0 -107
  754. package/Lib/idlelib/percolator.py +0 -120
  755. package/Lib/idlelib/pyparse.py +0 -589
  756. package/Lib/idlelib/pyshell.py +0 -1694
  757. package/Lib/idlelib/query.py +0 -392
  758. package/Lib/idlelib/redirector.py +0 -173
  759. package/Lib/idlelib/replace.py +0 -300
  760. package/Lib/idlelib/rpc.py +0 -635
  761. package/Lib/idlelib/run.py +0 -646
  762. package/Lib/idlelib/runscript.py +0 -213
  763. package/Lib/idlelib/scrolledlist.py +0 -151
  764. package/Lib/idlelib/search.py +0 -165
  765. package/Lib/idlelib/searchbase.py +0 -210
  766. package/Lib/idlelib/searchengine.py +0 -235
  767. package/Lib/idlelib/sidebar.py +0 -544
  768. package/Lib/idlelib/squeezer.py +0 -345
  769. package/Lib/idlelib/stackviewer.py +0 -134
  770. package/Lib/idlelib/statusbar.py +0 -52
  771. package/Lib/idlelib/textview.py +0 -193
  772. package/Lib/idlelib/tooltip.py +0 -190
  773. package/Lib/idlelib/tree.py +0 -509
  774. package/Lib/idlelib/undo.py +0 -367
  775. package/Lib/idlelib/util.py +0 -37
  776. package/Lib/idlelib/window.py +0 -98
  777. package/Lib/idlelib/zoomheight.py +0 -124
  778. package/Lib/idlelib/zzdummy.py +0 -73
  779. package/Lib/imaplib.py +0 -1641
  780. package/Lib/imghdr.py +0 -180
  781. package/Lib/importlib/__init__.py +0 -138
  782. package/Lib/importlib/_abc.py +0 -39
  783. package/Lib/importlib/_bootstrap.py +0 -1551
  784. package/Lib/importlib/_bootstrap_external.py +0 -1749
  785. package/Lib/importlib/abc.py +0 -239
  786. package/Lib/importlib/machinery.py +0 -20
  787. package/Lib/importlib/metadata/__init__.py +0 -966
  788. package/Lib/importlib/metadata/_adapters.py +0 -89
  789. package/Lib/importlib/metadata/_collections.py +0 -30
  790. package/Lib/importlib/metadata/_functools.py +0 -104
  791. package/Lib/importlib/metadata/_itertools.py +0 -73
  792. package/Lib/importlib/metadata/_meta.py +0 -63
  793. package/Lib/importlib/metadata/_text.py +0 -99
  794. package/Lib/importlib/readers.py +0 -12
  795. package/Lib/importlib/resources/__init__.py +0 -38
  796. package/Lib/importlib/resources/_adapters.py +0 -168
  797. package/Lib/importlib/resources/_common.py +0 -208
  798. package/Lib/importlib/resources/_itertools.py +0 -38
  799. package/Lib/importlib/resources/_legacy.py +0 -98
  800. package/Lib/importlib/resources/abc.py +0 -173
  801. package/Lib/importlib/resources/readers.py +0 -146
  802. package/Lib/importlib/resources/simple.py +0 -106
  803. package/Lib/importlib/simple.py +0 -14
  804. package/Lib/importlib/util.py +0 -270
  805. package/Lib/inspect.py +0 -3433
  806. package/Lib/io.py +0 -99
  807. package/Lib/ipaddress.py +0 -2380
  808. package/Lib/json/__init__.py +0 -359
  809. package/Lib/json/decoder.py +0 -357
  810. package/Lib/json/encoder.py +0 -443
  811. package/Lib/json/scanner.py +0 -73
  812. package/Lib/json/tool.py +0 -85
  813. package/Lib/keyword.py +0 -64
  814. package/Lib/lib2to3/Grammar.txt +0 -196
  815. package/Lib/lib2to3/PatternGrammar.txt +0 -28
  816. package/Lib/lib2to3/__init__.py +0 -8
  817. package/Lib/lib2to3/__main__.py +0 -4
  818. package/Lib/lib2to3/btm_matcher.py +0 -163
  819. package/Lib/lib2to3/btm_utils.py +0 -280
  820. package/Lib/lib2to3/fixer_base.py +0 -186
  821. package/Lib/lib2to3/fixer_util.py +0 -453
  822. package/Lib/lib2to3/fixes/__init__.py +0 -1
  823. package/Lib/lib2to3/fixes/fix_apply.py +0 -68
  824. package/Lib/lib2to3/fixes/fix_asserts.py +0 -34
  825. package/Lib/lib2to3/fixes/fix_basestring.py +0 -14
  826. package/Lib/lib2to3/fixes/fix_buffer.py +0 -22
  827. package/Lib/lib2to3/fixes/fix_dict.py +0 -106
  828. package/Lib/lib2to3/fixes/fix_except.py +0 -93
  829. package/Lib/lib2to3/fixes/fix_exec.py +0 -39
  830. package/Lib/lib2to3/fixes/fix_execfile.py +0 -53
  831. package/Lib/lib2to3/fixes/fix_exitfunc.py +0 -72
  832. package/Lib/lib2to3/fixes/fix_filter.py +0 -94
  833. package/Lib/lib2to3/fixes/fix_funcattrs.py +0 -21
  834. package/Lib/lib2to3/fixes/fix_future.py +0 -22
  835. package/Lib/lib2to3/fixes/fix_getcwdu.py +0 -19
  836. package/Lib/lib2to3/fixes/fix_has_key.py +0 -109
  837. package/Lib/lib2to3/fixes/fix_idioms.py +0 -152
  838. package/Lib/lib2to3/fixes/fix_import.py +0 -99
  839. package/Lib/lib2to3/fixes/fix_imports.py +0 -145
  840. package/Lib/lib2to3/fixes/fix_imports2.py +0 -16
  841. package/Lib/lib2to3/fixes/fix_input.py +0 -26
  842. package/Lib/lib2to3/fixes/fix_intern.py +0 -39
  843. package/Lib/lib2to3/fixes/fix_isinstance.py +0 -52
  844. package/Lib/lib2to3/fixes/fix_itertools.py +0 -43
  845. package/Lib/lib2to3/fixes/fix_itertools_imports.py +0 -57
  846. package/Lib/lib2to3/fixes/fix_long.py +0 -19
  847. package/Lib/lib2to3/fixes/fix_map.py +0 -110
  848. package/Lib/lib2to3/fixes/fix_metaclass.py +0 -228
  849. package/Lib/lib2to3/fixes/fix_methodattrs.py +0 -24
  850. package/Lib/lib2to3/fixes/fix_ne.py +0 -23
  851. package/Lib/lib2to3/fixes/fix_next.py +0 -103
  852. package/Lib/lib2to3/fixes/fix_nonzero.py +0 -21
  853. package/Lib/lib2to3/fixes/fix_numliterals.py +0 -28
  854. package/Lib/lib2to3/fixes/fix_operator.py +0 -97
  855. package/Lib/lib2to3/fixes/fix_paren.py +0 -44
  856. package/Lib/lib2to3/fixes/fix_print.py +0 -87
  857. package/Lib/lib2to3/fixes/fix_raise.py +0 -90
  858. package/Lib/lib2to3/fixes/fix_raw_input.py +0 -17
  859. package/Lib/lib2to3/fixes/fix_reduce.py +0 -35
  860. package/Lib/lib2to3/fixes/fix_reload.py +0 -36
  861. package/Lib/lib2to3/fixes/fix_renames.py +0 -70
  862. package/Lib/lib2to3/fixes/fix_repr.py +0 -23
  863. package/Lib/lib2to3/fixes/fix_set_literal.py +0 -53
  864. package/Lib/lib2to3/fixes/fix_standarderror.py +0 -18
  865. package/Lib/lib2to3/fixes/fix_sys_exc.py +0 -30
  866. package/Lib/lib2to3/fixes/fix_throw.py +0 -56
  867. package/Lib/lib2to3/fixes/fix_tuple_params.py +0 -175
  868. package/Lib/lib2to3/fixes/fix_types.py +0 -61
  869. package/Lib/lib2to3/fixes/fix_unicode.py +0 -42
  870. package/Lib/lib2to3/fixes/fix_urllib.py +0 -196
  871. package/Lib/lib2to3/fixes/fix_ws_comma.py +0 -39
  872. package/Lib/lib2to3/fixes/fix_xrange.py +0 -73
  873. package/Lib/lib2to3/fixes/fix_xreadlines.py +0 -25
  874. package/Lib/lib2to3/fixes/fix_zip.py +0 -46
  875. package/Lib/lib2to3/main.py +0 -273
  876. package/Lib/lib2to3/patcomp.py +0 -204
  877. package/Lib/lib2to3/pgen2/__init__.py +0 -4
  878. package/Lib/lib2to3/pgen2/conv.py +0 -257
  879. package/Lib/lib2to3/pgen2/driver.py +0 -177
  880. package/Lib/lib2to3/pgen2/grammar.py +0 -189
  881. package/Lib/lib2to3/pgen2/literals.py +0 -60
  882. package/Lib/lib2to3/pgen2/parse.py +0 -204
  883. package/Lib/lib2to3/pgen2/pgen.py +0 -386
  884. package/Lib/lib2to3/pgen2/token.py +0 -86
  885. package/Lib/lib2to3/pgen2/tokenize.py +0 -564
  886. package/Lib/lib2to3/pygram.py +0 -43
  887. package/Lib/lib2to3/pytree.py +0 -853
  888. package/Lib/lib2to3/refactor.py +0 -732
  889. package/Lib/linecache.py +0 -185
  890. package/Lib/locale.py +0 -1779
  891. package/Lib/logging/__init__.py +0 -2345
  892. package/Lib/logging/config.py +0 -1078
  893. package/Lib/logging/handlers.py +0 -1624
  894. package/Lib/lzma.py +0 -356
  895. package/Lib/mailbox.py +0 -2153
  896. package/Lib/mailcap.py +0 -302
  897. package/Lib/mimetypes.py +0 -656
  898. package/Lib/modulefinder.py +0 -666
  899. package/Lib/msilib/__init__.py +0 -484
  900. package/Lib/msilib/schema.py +0 -1007
  901. package/Lib/msilib/sequence.py +0 -126
  902. package/Lib/msilib/text.py +0 -129
  903. package/Lib/multiprocessing/connection.py +0 -1178
  904. package/Lib/multiprocessing/context.py +0 -377
  905. package/Lib/multiprocessing/forkserver.py +0 -350
  906. package/Lib/multiprocessing/managers.py +0 -1387
  907. package/Lib/multiprocessing/pool.py +0 -957
  908. package/Lib/multiprocessing/popen_spawn_win32.py +0 -145
  909. package/Lib/multiprocessing/process.py +0 -439
  910. package/Lib/multiprocessing/queues.py +0 -401
  911. package/Lib/multiprocessing/resource_sharer.py +0 -154
  912. package/Lib/multiprocessing/resource_tracker.py +0 -294
  913. package/Lib/multiprocessing/shared_memory.py +0 -534
  914. package/Lib/multiprocessing/spawn.py +0 -307
  915. package/Lib/multiprocessing/synchronize.py +0 -404
  916. package/Lib/multiprocessing/util.py +0 -494
  917. package/Lib/netrc.py +0 -192
  918. package/Lib/nntplib.py +0 -1093
  919. package/Lib/ntpath.py +0 -902
  920. package/Lib/nturl2path.py +0 -69
  921. package/Lib/numbers.py +0 -418
  922. package/Lib/opcode.py +0 -493
  923. package/Lib/operator.py +0 -467
  924. package/Lib/os.py +0 -1159
  925. package/Lib/pathlib.py +0 -1435
  926. package/Lib/pdb.py +0 -1987
  927. package/Lib/pickle.py +0 -1866
  928. package/Lib/pickletools.py +0 -2904
  929. package/Lib/pipes.py +0 -250
  930. package/Lib/pkgutil.py +0 -529
  931. package/Lib/platform.py +0 -1359
  932. package/Lib/plistlib.py +0 -911
  933. package/Lib/poplib.py +0 -478
  934. package/Lib/posixpath.py +0 -573
  935. package/Lib/pprint.py +0 -658
  936. package/Lib/profile.py +0 -615
  937. package/Lib/pstats.py +0 -778
  938. package/Lib/pty.py +0 -211
  939. package/Lib/py_compile.py +0 -212
  940. package/Lib/pyclbr.py +0 -314
  941. package/Lib/pydoc.py +0 -2950
  942. package/Lib/pydoc_data/_pydoc.css +0 -112
  943. package/Lib/pydoc_data/topics.py +0 -12500
  944. package/Lib/queue.py +0 -326
  945. package/Lib/quopri.py +0 -237
  946. package/Lib/random.py +0 -996
  947. package/Lib/re/__init__.py +0 -385
  948. package/Lib/re/_casefix.py +0 -106
  949. package/Lib/re/_compiler.py +0 -770
  950. package/Lib/re/_constants.py +0 -220
  951. package/Lib/re/_parser.py +0 -1080
  952. package/Lib/reprlib.py +0 -214
  953. package/Lib/rlcompleter.py +0 -219
  954. package/Lib/runpy.py +0 -319
  955. package/Lib/sched.py +0 -167
  956. package/Lib/secrets.py +0 -71
  957. package/Lib/selectors.py +0 -623
  958. package/Lib/shelve.py +0 -243
  959. package/Lib/shlex.py +0 -345
  960. package/Lib/shutil.py +0 -1566
  961. package/Lib/signal.py +0 -94
  962. package/Lib/site-packages/README.txt +0 -2
  963. package/Lib/site-packages/pip/__init__.py +0 -13
  964. package/Lib/site-packages/pip/__main__.py +0 -24
  965. package/Lib/site-packages/pip/__pip-runner__.py +0 -50
  966. package/Lib/site-packages/pip/_internal/__init__.py +0 -18
  967. package/Lib/site-packages/pip/_internal/build_env.py +0 -319
  968. package/Lib/site-packages/pip/_internal/cache.py +0 -290
  969. package/Lib/site-packages/pip/_internal/cli/__init__.py +0 -4
  970. package/Lib/site-packages/pip/_internal/cli/autocompletion.py +0 -176
  971. package/Lib/site-packages/pip/_internal/cli/base_command.py +0 -231
  972. package/Lib/site-packages/pip/_internal/cli/cmdoptions.py +0 -1075
  973. package/Lib/site-packages/pip/_internal/cli/command_context.py +0 -27
  974. package/Lib/site-packages/pip/_internal/cli/index_command.py +0 -170
  975. package/Lib/site-packages/pip/_internal/cli/main.py +0 -80
  976. package/Lib/site-packages/pip/_internal/cli/main_parser.py +0 -134
  977. package/Lib/site-packages/pip/_internal/cli/parser.py +0 -294
  978. package/Lib/site-packages/pip/_internal/cli/progress_bars.py +0 -94
  979. package/Lib/site-packages/pip/_internal/cli/req_command.py +0 -329
  980. package/Lib/site-packages/pip/_internal/cli/spinners.py +0 -159
  981. package/Lib/site-packages/pip/_internal/cli/status_codes.py +0 -6
  982. package/Lib/site-packages/pip/_internal/commands/__init__.py +0 -132
  983. package/Lib/site-packages/pip/_internal/commands/cache.py +0 -225
  984. package/Lib/site-packages/pip/_internal/commands/check.py +0 -67
  985. package/Lib/site-packages/pip/_internal/commands/completion.py +0 -130
  986. package/Lib/site-packages/pip/_internal/commands/configuration.py +0 -280
  987. package/Lib/site-packages/pip/_internal/commands/debug.py +0 -201
  988. package/Lib/site-packages/pip/_internal/commands/download.py +0 -146
  989. package/Lib/site-packages/pip/_internal/commands/freeze.py +0 -109
  990. package/Lib/site-packages/pip/_internal/commands/hash.py +0 -59
  991. package/Lib/site-packages/pip/_internal/commands/help.py +0 -41
  992. package/Lib/site-packages/pip/_internal/commands/index.py +0 -139
  993. package/Lib/site-packages/pip/_internal/commands/inspect.py +0 -92
  994. package/Lib/site-packages/pip/_internal/commands/install.py +0 -783
  995. package/Lib/site-packages/pip/_internal/commands/list.py +0 -375
  996. package/Lib/site-packages/pip/_internal/commands/search.py +0 -172
  997. package/Lib/site-packages/pip/_internal/commands/show.py +0 -217
  998. package/Lib/site-packages/pip/_internal/commands/uninstall.py +0 -114
  999. package/Lib/site-packages/pip/_internal/commands/wheel.py +0 -182
  1000. package/Lib/site-packages/pip/_internal/configuration.py +0 -383
  1001. package/Lib/site-packages/pip/_internal/distributions/__init__.py +0 -21
  1002. package/Lib/site-packages/pip/_internal/distributions/base.py +0 -53
  1003. package/Lib/site-packages/pip/_internal/distributions/installed.py +0 -29
  1004. package/Lib/site-packages/pip/_internal/distributions/sdist.py +0 -158
  1005. package/Lib/site-packages/pip/_internal/distributions/wheel.py +0 -42
  1006. package/Lib/site-packages/pip/_internal/exceptions.py +0 -809
  1007. package/Lib/site-packages/pip/_internal/index/__init__.py +0 -2
  1008. package/Lib/site-packages/pip/_internal/index/collector.py +0 -494
  1009. package/Lib/site-packages/pip/_internal/index/package_finder.py +0 -1020
  1010. package/Lib/site-packages/pip/_internal/index/sources.py +0 -284
  1011. package/Lib/site-packages/pip/_internal/locations/__init__.py +0 -456
  1012. package/Lib/site-packages/pip/_internal/locations/_distutils.py +0 -172
  1013. package/Lib/site-packages/pip/_internal/locations/_sysconfig.py +0 -214
  1014. package/Lib/site-packages/pip/_internal/locations/base.py +0 -81
  1015. package/Lib/site-packages/pip/_internal/main.py +0 -12
  1016. package/Lib/site-packages/pip/_internal/metadata/__init__.py +0 -128
  1017. package/Lib/site-packages/pip/_internal/metadata/_json.py +0 -84
  1018. package/Lib/site-packages/pip/_internal/metadata/base.py +0 -688
  1019. package/Lib/site-packages/pip/_internal/metadata/importlib/__init__.py +0 -6
  1020. package/Lib/site-packages/pip/_internal/metadata/importlib/_compat.py +0 -85
  1021. package/Lib/site-packages/pip/_internal/metadata/importlib/_dists.py +0 -221
  1022. package/Lib/site-packages/pip/_internal/metadata/importlib/_envs.py +0 -189
  1023. package/Lib/site-packages/pip/_internal/metadata/pkg_resources.py +0 -301
  1024. package/Lib/site-packages/pip/_internal/models/__init__.py +0 -2
  1025. package/Lib/site-packages/pip/_internal/models/candidate.py +0 -25
  1026. package/Lib/site-packages/pip/_internal/models/direct_url.py +0 -224
  1027. package/Lib/site-packages/pip/_internal/models/format_control.py +0 -78
  1028. package/Lib/site-packages/pip/_internal/models/index.py +0 -28
  1029. package/Lib/site-packages/pip/_internal/models/installation_report.py +0 -56
  1030. package/Lib/site-packages/pip/_internal/models/link.py +0 -590
  1031. package/Lib/site-packages/pip/_internal/models/scheme.py +0 -25
  1032. package/Lib/site-packages/pip/_internal/models/search_scope.py +0 -127
  1033. package/Lib/site-packages/pip/_internal/models/selection_prefs.py +0 -53
  1034. package/Lib/site-packages/pip/_internal/models/target_python.py +0 -121
  1035. package/Lib/site-packages/pip/_internal/models/wheel.py +0 -118
  1036. package/Lib/site-packages/pip/_internal/network/__init__.py +0 -2
  1037. package/Lib/site-packages/pip/_internal/network/auth.py +0 -566
  1038. package/Lib/site-packages/pip/_internal/network/cache.py +0 -106
  1039. package/Lib/site-packages/pip/_internal/network/download.py +0 -187
  1040. package/Lib/site-packages/pip/_internal/network/lazy_wheel.py +0 -210
  1041. package/Lib/site-packages/pip/_internal/network/session.py +0 -522
  1042. package/Lib/site-packages/pip/_internal/network/utils.py +0 -98
  1043. package/Lib/site-packages/pip/_internal/network/xmlrpc.py +0 -62
  1044. package/Lib/site-packages/pip/_internal/operations/__init__.py +0 -0
  1045. package/Lib/site-packages/pip/_internal/operations/build/__init__.py +0 -0
  1046. package/Lib/site-packages/pip/_internal/operations/build/build_tracker.py +0 -138
  1047. package/Lib/site-packages/pip/_internal/operations/build/metadata.py +0 -39
  1048. package/Lib/site-packages/pip/_internal/operations/build/metadata_editable.py +0 -41
  1049. package/Lib/site-packages/pip/_internal/operations/build/metadata_legacy.py +0 -74
  1050. package/Lib/site-packages/pip/_internal/operations/build/wheel.py +0 -37
  1051. package/Lib/site-packages/pip/_internal/operations/build/wheel_editable.py +0 -46
  1052. package/Lib/site-packages/pip/_internal/operations/build/wheel_legacy.py +0 -102
  1053. package/Lib/site-packages/pip/_internal/operations/check.py +0 -181
  1054. package/Lib/site-packages/pip/_internal/operations/freeze.py +0 -258
  1055. package/Lib/site-packages/pip/_internal/operations/install/__init__.py +0 -2
  1056. package/Lib/site-packages/pip/_internal/operations/install/editable_legacy.py +0 -47
  1057. package/Lib/site-packages/pip/_internal/operations/install/wheel.py +0 -741
  1058. package/Lib/site-packages/pip/_internal/operations/prepare.py +0 -732
  1059. package/Lib/site-packages/pip/_internal/pyproject.py +0 -185
  1060. package/Lib/site-packages/pip/_internal/req/__init__.py +0 -90
  1061. package/Lib/site-packages/pip/_internal/req/constructors.py +0 -560
  1062. package/Lib/site-packages/pip/_internal/req/req_file.py +0 -574
  1063. package/Lib/site-packages/pip/_internal/req/req_install.py +0 -934
  1064. package/Lib/site-packages/pip/_internal/req/req_set.py +0 -82
  1065. package/Lib/site-packages/pip/_internal/req/req_uninstall.py +0 -633
  1066. package/Lib/site-packages/pip/_internal/resolution/__init__.py +0 -0
  1067. package/Lib/site-packages/pip/_internal/resolution/base.py +0 -20
  1068. package/Lib/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
  1069. package/Lib/site-packages/pip/_internal/resolution/legacy/resolver.py +0 -597
  1070. package/Lib/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
  1071. package/Lib/site-packages/pip/_internal/resolution/resolvelib/base.py +0 -139
  1072. package/Lib/site-packages/pip/_internal/resolution/resolvelib/candidates.py +0 -574
  1073. package/Lib/site-packages/pip/_internal/resolution/resolvelib/factory.py +0 -823
  1074. package/Lib/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +0 -174
  1075. package/Lib/site-packages/pip/_internal/resolution/resolvelib/provider.py +0 -258
  1076. package/Lib/site-packages/pip/_internal/resolution/resolvelib/reporter.py +0 -81
  1077. package/Lib/site-packages/pip/_internal/resolution/resolvelib/requirements.py +0 -245
  1078. package/Lib/site-packages/pip/_internal/resolution/resolvelib/resolver.py +0 -317
  1079. package/Lib/site-packages/pip/_internal/self_outdated_check.py +0 -244
  1080. package/Lib/site-packages/pip/_internal/utils/__init__.py +0 -0
  1081. package/Lib/site-packages/pip/_internal/utils/_jaraco_text.py +0 -109
  1082. package/Lib/site-packages/pip/_internal/utils/_log.py +0 -38
  1083. package/Lib/site-packages/pip/_internal/utils/appdirs.py +0 -52
  1084. package/Lib/site-packages/pip/_internal/utils/compat.py +0 -79
  1085. package/Lib/site-packages/pip/_internal/utils/compatibility_tags.py +0 -188
  1086. package/Lib/site-packages/pip/_internal/utils/datetime.py +0 -11
  1087. package/Lib/site-packages/pip/_internal/utils/deprecation.py +0 -124
  1088. package/Lib/site-packages/pip/_internal/utils/direct_url_helpers.py +0 -87
  1089. package/Lib/site-packages/pip/_internal/utils/egg_link.py +0 -80
  1090. package/Lib/site-packages/pip/_internal/utils/encoding.py +0 -36
  1091. package/Lib/site-packages/pip/_internal/utils/entrypoints.py +0 -84
  1092. package/Lib/site-packages/pip/_internal/utils/filesystem.py +0 -149
  1093. package/Lib/site-packages/pip/_internal/utils/filetypes.py +0 -27
  1094. package/Lib/site-packages/pip/_internal/utils/glibc.py +0 -101
  1095. package/Lib/site-packages/pip/_internal/utils/hashes.py +0 -147
  1096. package/Lib/site-packages/pip/_internal/utils/logging.py +0 -347
  1097. package/Lib/site-packages/pip/_internal/utils/misc.py +0 -772
  1098. package/Lib/site-packages/pip/_internal/utils/packaging.py +0 -57
  1099. package/Lib/site-packages/pip/_internal/utils/retry.py +0 -42
  1100. package/Lib/site-packages/pip/_internal/utils/setuptools_build.py +0 -146
  1101. package/Lib/site-packages/pip/_internal/utils/subprocess.py +0 -245
  1102. package/Lib/site-packages/pip/_internal/utils/temp_dir.py +0 -296
  1103. package/Lib/site-packages/pip/_internal/utils/unpacking.py +0 -337
  1104. package/Lib/site-packages/pip/_internal/utils/urls.py +0 -55
  1105. package/Lib/site-packages/pip/_internal/utils/virtualenv.py +0 -104
  1106. package/Lib/site-packages/pip/_internal/utils/wheel.py +0 -134
  1107. package/Lib/site-packages/pip/_internal/vcs/__init__.py +0 -15
  1108. package/Lib/site-packages/pip/_internal/vcs/bazaar.py +0 -112
  1109. package/Lib/site-packages/pip/_internal/vcs/git.py +0 -527
  1110. package/Lib/site-packages/pip/_internal/vcs/mercurial.py +0 -163
  1111. package/Lib/site-packages/pip/_internal/vcs/subversion.py +0 -324
  1112. package/Lib/site-packages/pip/_internal/vcs/versioncontrol.py +0 -688
  1113. package/Lib/site-packages/pip/_internal/wheel_builder.py +0 -354
  1114. package/Lib/site-packages/pip/_vendor/__init__.py +0 -116
  1115. package/Lib/site-packages/pip/_vendor/cachecontrol/__init__.py +0 -28
  1116. package/Lib/site-packages/pip/_vendor/cachecontrol/_cmd.py +0 -70
  1117. package/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py +0 -161
  1118. package/Lib/site-packages/pip/_vendor/cachecontrol/cache.py +0 -74
  1119. package/Lib/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +0 -8
  1120. package/Lib/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +0 -182
  1121. package/Lib/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +0 -48
  1122. package/Lib/site-packages/pip/_vendor/cachecontrol/controller.py +0 -499
  1123. package/Lib/site-packages/pip/_vendor/cachecontrol/filewrapper.py +0 -119
  1124. package/Lib/site-packages/pip/_vendor/cachecontrol/heuristics.py +0 -154
  1125. package/Lib/site-packages/pip/_vendor/cachecontrol/py.typed +0 -0
  1126. package/Lib/site-packages/pip/_vendor/cachecontrol/serialize.py +0 -146
  1127. package/Lib/site-packages/pip/_vendor/cachecontrol/wrapper.py +0 -43
  1128. package/Lib/site-packages/pip/_vendor/certifi/__init__.py +0 -4
  1129. package/Lib/site-packages/pip/_vendor/certifi/__main__.py +0 -12
  1130. package/Lib/site-packages/pip/_vendor/certifi/cacert.pem +0 -4929
  1131. package/Lib/site-packages/pip/_vendor/certifi/core.py +0 -114
  1132. package/Lib/site-packages/pip/_vendor/certifi/py.typed +0 -0
  1133. package/Lib/site-packages/pip/_vendor/distlib/__init__.py +0 -33
  1134. package/Lib/site-packages/pip/_vendor/distlib/compat.py +0 -1137
  1135. package/Lib/site-packages/pip/_vendor/distlib/database.py +0 -1329
  1136. package/Lib/site-packages/pip/_vendor/distlib/index.py +0 -508
  1137. package/Lib/site-packages/pip/_vendor/distlib/locators.py +0 -1295
  1138. package/Lib/site-packages/pip/_vendor/distlib/manifest.py +0 -384
  1139. package/Lib/site-packages/pip/_vendor/distlib/markers.py +0 -162
  1140. package/Lib/site-packages/pip/_vendor/distlib/metadata.py +0 -1031
  1141. package/Lib/site-packages/pip/_vendor/distlib/resources.py +0 -358
  1142. package/Lib/site-packages/pip/_vendor/distlib/scripts.py +0 -447
  1143. package/Lib/site-packages/pip/_vendor/distlib/t32.exe +0 -0
  1144. package/Lib/site-packages/pip/_vendor/distlib/t64-arm.exe +0 -0
  1145. package/Lib/site-packages/pip/_vendor/distlib/t64.exe +0 -0
  1146. package/Lib/site-packages/pip/_vendor/distlib/util.py +0 -1984
  1147. package/Lib/site-packages/pip/_vendor/distlib/version.py +0 -750
  1148. package/Lib/site-packages/pip/_vendor/distlib/w32.exe +0 -0
  1149. package/Lib/site-packages/pip/_vendor/distlib/w64-arm.exe +0 -0
  1150. package/Lib/site-packages/pip/_vendor/distlib/w64.exe +0 -0
  1151. package/Lib/site-packages/pip/_vendor/distlib/wheel.py +0 -1100
  1152. package/Lib/site-packages/pip/_vendor/distro/__init__.py +0 -54
  1153. package/Lib/site-packages/pip/_vendor/distro/__main__.py +0 -4
  1154. package/Lib/site-packages/pip/_vendor/distro/distro.py +0 -1403
  1155. package/Lib/site-packages/pip/_vendor/distro/py.typed +0 -0
  1156. package/Lib/site-packages/pip/_vendor/idna/__init__.py +0 -44
  1157. package/Lib/site-packages/pip/_vendor/idna/codec.py +0 -118
  1158. package/Lib/site-packages/pip/_vendor/idna/compat.py +0 -13
  1159. package/Lib/site-packages/pip/_vendor/idna/core.py +0 -395
  1160. package/Lib/site-packages/pip/_vendor/idna/idnadata.py +0 -4245
  1161. package/Lib/site-packages/pip/_vendor/idna/intranges.py +0 -54
  1162. package/Lib/site-packages/pip/_vendor/idna/package_data.py +0 -2
  1163. package/Lib/site-packages/pip/_vendor/idna/py.typed +0 -0
  1164. package/Lib/site-packages/pip/_vendor/idna/uts46data.py +0 -8598
  1165. package/Lib/site-packages/pip/_vendor/msgpack/__init__.py +0 -55
  1166. package/Lib/site-packages/pip/_vendor/msgpack/exceptions.py +0 -48
  1167. package/Lib/site-packages/pip/_vendor/msgpack/ext.py +0 -168
  1168. package/Lib/site-packages/pip/_vendor/msgpack/fallback.py +0 -951
  1169. package/Lib/site-packages/pip/_vendor/packaging/__init__.py +0 -15
  1170. package/Lib/site-packages/pip/_vendor/packaging/_elffile.py +0 -110
  1171. package/Lib/site-packages/pip/_vendor/packaging/_manylinux.py +0 -262
  1172. package/Lib/site-packages/pip/_vendor/packaging/_musllinux.py +0 -85
  1173. package/Lib/site-packages/pip/_vendor/packaging/_parser.py +0 -354
  1174. package/Lib/site-packages/pip/_vendor/packaging/_structures.py +0 -61
  1175. package/Lib/site-packages/pip/_vendor/packaging/_tokenizer.py +0 -194
  1176. package/Lib/site-packages/pip/_vendor/packaging/markers.py +0 -325
  1177. package/Lib/site-packages/pip/_vendor/packaging/metadata.py +0 -804
  1178. package/Lib/site-packages/pip/_vendor/packaging/py.typed +0 -0
  1179. package/Lib/site-packages/pip/_vendor/packaging/requirements.py +0 -91
  1180. package/Lib/site-packages/pip/_vendor/packaging/specifiers.py +0 -1009
  1181. package/Lib/site-packages/pip/_vendor/packaging/tags.py +0 -627
  1182. package/Lib/site-packages/pip/_vendor/packaging/utils.py +0 -174
  1183. package/Lib/site-packages/pip/_vendor/packaging/version.py +0 -563
  1184. package/Lib/site-packages/pip/_vendor/pkg_resources/__init__.py +0 -3676
  1185. package/Lib/site-packages/pip/_vendor/platformdirs/__init__.py +0 -627
  1186. package/Lib/site-packages/pip/_vendor/platformdirs/__main__.py +0 -55
  1187. package/Lib/site-packages/pip/_vendor/platformdirs/android.py +0 -249
  1188. package/Lib/site-packages/pip/_vendor/platformdirs/api.py +0 -292
  1189. package/Lib/site-packages/pip/_vendor/platformdirs/macos.py +0 -130
  1190. package/Lib/site-packages/pip/_vendor/platformdirs/py.typed +0 -0
  1191. package/Lib/site-packages/pip/_vendor/platformdirs/unix.py +0 -275
  1192. package/Lib/site-packages/pip/_vendor/platformdirs/version.py +0 -16
  1193. package/Lib/site-packages/pip/_vendor/platformdirs/windows.py +0 -272
  1194. package/Lib/site-packages/pip/_vendor/pygments/__init__.py +0 -82
  1195. package/Lib/site-packages/pip/_vendor/pygments/__main__.py +0 -17
  1196. package/Lib/site-packages/pip/_vendor/pygments/cmdline.py +0 -668
  1197. package/Lib/site-packages/pip/_vendor/pygments/console.py +0 -70
  1198. package/Lib/site-packages/pip/_vendor/pygments/filter.py +0 -70
  1199. package/Lib/site-packages/pip/_vendor/pygments/filters/__init__.py +0 -940
  1200. package/Lib/site-packages/pip/_vendor/pygments/formatter.py +0 -129
  1201. package/Lib/site-packages/pip/_vendor/pygments/formatters/__init__.py +0 -157
  1202. package/Lib/site-packages/pip/_vendor/pygments/formatters/_mapping.py +0 -23
  1203. package/Lib/site-packages/pip/_vendor/pygments/formatters/bbcode.py +0 -108
  1204. package/Lib/site-packages/pip/_vendor/pygments/formatters/groff.py +0 -170
  1205. package/Lib/site-packages/pip/_vendor/pygments/formatters/html.py +0 -987
  1206. package/Lib/site-packages/pip/_vendor/pygments/formatters/img.py +0 -685
  1207. package/Lib/site-packages/pip/_vendor/pygments/formatters/irc.py +0 -154
  1208. package/Lib/site-packages/pip/_vendor/pygments/formatters/latex.py +0 -518
  1209. package/Lib/site-packages/pip/_vendor/pygments/formatters/other.py +0 -160
  1210. package/Lib/site-packages/pip/_vendor/pygments/formatters/pangomarkup.py +0 -83
  1211. package/Lib/site-packages/pip/_vendor/pygments/formatters/rtf.py +0 -349
  1212. package/Lib/site-packages/pip/_vendor/pygments/formatters/svg.py +0 -185
  1213. package/Lib/site-packages/pip/_vendor/pygments/formatters/terminal.py +0 -127
  1214. package/Lib/site-packages/pip/_vendor/pygments/formatters/terminal256.py +0 -338
  1215. package/Lib/site-packages/pip/_vendor/pygments/lexer.py +0 -963
  1216. package/Lib/site-packages/pip/_vendor/pygments/lexers/__init__.py +0 -362
  1217. package/Lib/site-packages/pip/_vendor/pygments/lexers/_mapping.py +0 -589
  1218. package/Lib/site-packages/pip/_vendor/pygments/lexers/python.py +0 -1198
  1219. package/Lib/site-packages/pip/_vendor/pygments/modeline.py +0 -43
  1220. package/Lib/site-packages/pip/_vendor/pygments/plugin.py +0 -72
  1221. package/Lib/site-packages/pip/_vendor/pygments/regexopt.py +0 -91
  1222. package/Lib/site-packages/pip/_vendor/pygments/scanner.py +0 -104
  1223. package/Lib/site-packages/pip/_vendor/pygments/sphinxext.py +0 -247
  1224. package/Lib/site-packages/pip/_vendor/pygments/style.py +0 -203
  1225. package/Lib/site-packages/pip/_vendor/pygments/styles/__init__.py +0 -61
  1226. package/Lib/site-packages/pip/_vendor/pygments/styles/_mapping.py +0 -54
  1227. package/Lib/site-packages/pip/_vendor/pygments/token.py +0 -214
  1228. package/Lib/site-packages/pip/_vendor/pygments/unistring.py +0 -153
  1229. package/Lib/site-packages/pip/_vendor/pygments/util.py +0 -324
  1230. package/Lib/site-packages/pip/_vendor/pyproject_hooks/__init__.py +0 -23
  1231. package/Lib/site-packages/pip/_vendor/pyproject_hooks/_compat.py +0 -8
  1232. package/Lib/site-packages/pip/_vendor/pyproject_hooks/_impl.py +0 -330
  1233. package/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py +0 -18
  1234. package/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py +0 -353
  1235. package/Lib/site-packages/pip/_vendor/requests/__init__.py +0 -179
  1236. package/Lib/site-packages/pip/_vendor/requests/__version__.py +0 -14
  1237. package/Lib/site-packages/pip/_vendor/requests/_internal_utils.py +0 -50
  1238. package/Lib/site-packages/pip/_vendor/requests/adapters.py +0 -719
  1239. package/Lib/site-packages/pip/_vendor/requests/api.py +0 -157
  1240. package/Lib/site-packages/pip/_vendor/requests/auth.py +0 -314
  1241. package/Lib/site-packages/pip/_vendor/requests/certs.py +0 -24
  1242. package/Lib/site-packages/pip/_vendor/requests/compat.py +0 -78
  1243. package/Lib/site-packages/pip/_vendor/requests/cookies.py +0 -561
  1244. package/Lib/site-packages/pip/_vendor/requests/exceptions.py +0 -151
  1245. package/Lib/site-packages/pip/_vendor/requests/help.py +0 -127
  1246. package/Lib/site-packages/pip/_vendor/requests/hooks.py +0 -33
  1247. package/Lib/site-packages/pip/_vendor/requests/models.py +0 -1037
  1248. package/Lib/site-packages/pip/_vendor/requests/packages.py +0 -25
  1249. package/Lib/site-packages/pip/_vendor/requests/sessions.py +0 -831
  1250. package/Lib/site-packages/pip/_vendor/requests/status_codes.py +0 -128
  1251. package/Lib/site-packages/pip/_vendor/requests/structures.py +0 -99
  1252. package/Lib/site-packages/pip/_vendor/requests/utils.py +0 -1096
  1253. package/Lib/site-packages/pip/_vendor/resolvelib/__init__.py +0 -26
  1254. package/Lib/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
  1255. package/Lib/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +0 -6
  1256. package/Lib/site-packages/pip/_vendor/resolvelib/providers.py +0 -133
  1257. package/Lib/site-packages/pip/_vendor/resolvelib/py.typed +0 -0
  1258. package/Lib/site-packages/pip/_vendor/resolvelib/reporters.py +0 -43
  1259. package/Lib/site-packages/pip/_vendor/resolvelib/resolvers.py +0 -547
  1260. package/Lib/site-packages/pip/_vendor/resolvelib/structs.py +0 -170
  1261. package/Lib/site-packages/pip/_vendor/rich/__init__.py +0 -177
  1262. package/Lib/site-packages/pip/_vendor/rich/__main__.py +0 -273
  1263. package/Lib/site-packages/pip/_vendor/rich/_cell_widths.py +0 -454
  1264. package/Lib/site-packages/pip/_vendor/rich/_emoji_codes.py +0 -3610
  1265. package/Lib/site-packages/pip/_vendor/rich/_emoji_replace.py +0 -32
  1266. package/Lib/site-packages/pip/_vendor/rich/_export_format.py +0 -76
  1267. package/Lib/site-packages/pip/_vendor/rich/_extension.py +0 -10
  1268. package/Lib/site-packages/pip/_vendor/rich/_fileno.py +0 -24
  1269. package/Lib/site-packages/pip/_vendor/rich/_inspect.py +0 -270
  1270. package/Lib/site-packages/pip/_vendor/rich/_log_render.py +0 -94
  1271. package/Lib/site-packages/pip/_vendor/rich/_loop.py +0 -43
  1272. package/Lib/site-packages/pip/_vendor/rich/_null_file.py +0 -69
  1273. package/Lib/site-packages/pip/_vendor/rich/_palettes.py +0 -309
  1274. package/Lib/site-packages/pip/_vendor/rich/_pick.py +0 -17
  1275. package/Lib/site-packages/pip/_vendor/rich/_ratio.py +0 -159
  1276. package/Lib/site-packages/pip/_vendor/rich/_spinners.py +0 -482
  1277. package/Lib/site-packages/pip/_vendor/rich/_stack.py +0 -16
  1278. package/Lib/site-packages/pip/_vendor/rich/_timer.py +0 -19
  1279. package/Lib/site-packages/pip/_vendor/rich/_win32_console.py +0 -662
  1280. package/Lib/site-packages/pip/_vendor/rich/_windows.py +0 -71
  1281. package/Lib/site-packages/pip/_vendor/rich/_windows_renderer.py +0 -56
  1282. package/Lib/site-packages/pip/_vendor/rich/_wrap.py +0 -93
  1283. package/Lib/site-packages/pip/_vendor/rich/abc.py +0 -33
  1284. package/Lib/site-packages/pip/_vendor/rich/align.py +0 -311
  1285. package/Lib/site-packages/pip/_vendor/rich/ansi.py +0 -240
  1286. package/Lib/site-packages/pip/_vendor/rich/bar.py +0 -93
  1287. package/Lib/site-packages/pip/_vendor/rich/box.py +0 -480
  1288. package/Lib/site-packages/pip/_vendor/rich/cells.py +0 -167
  1289. package/Lib/site-packages/pip/_vendor/rich/color.py +0 -621
  1290. package/Lib/site-packages/pip/_vendor/rich/color_triplet.py +0 -38
  1291. package/Lib/site-packages/pip/_vendor/rich/columns.py +0 -187
  1292. package/Lib/site-packages/pip/_vendor/rich/console.py +0 -2633
  1293. package/Lib/site-packages/pip/_vendor/rich/constrain.py +0 -37
  1294. package/Lib/site-packages/pip/_vendor/rich/containers.py +0 -167
  1295. package/Lib/site-packages/pip/_vendor/rich/control.py +0 -225
  1296. package/Lib/site-packages/pip/_vendor/rich/default_styles.py +0 -190
  1297. package/Lib/site-packages/pip/_vendor/rich/diagnose.py +0 -37
  1298. package/Lib/site-packages/pip/_vendor/rich/emoji.py +0 -96
  1299. package/Lib/site-packages/pip/_vendor/rich/errors.py +0 -34
  1300. package/Lib/site-packages/pip/_vendor/rich/file_proxy.py +0 -57
  1301. package/Lib/site-packages/pip/_vendor/rich/filesize.py +0 -89
  1302. package/Lib/site-packages/pip/_vendor/rich/highlighter.py +0 -232
  1303. package/Lib/site-packages/pip/_vendor/rich/json.py +0 -139
  1304. package/Lib/site-packages/pip/_vendor/rich/jupyter.py +0 -101
  1305. package/Lib/site-packages/pip/_vendor/rich/layout.py +0 -442
  1306. package/Lib/site-packages/pip/_vendor/rich/live.py +0 -375
  1307. package/Lib/site-packages/pip/_vendor/rich/live_render.py +0 -112
  1308. package/Lib/site-packages/pip/_vendor/rich/logging.py +0 -289
  1309. package/Lib/site-packages/pip/_vendor/rich/markup.py +0 -251
  1310. package/Lib/site-packages/pip/_vendor/rich/measure.py +0 -151
  1311. package/Lib/site-packages/pip/_vendor/rich/padding.py +0 -141
  1312. package/Lib/site-packages/pip/_vendor/rich/pager.py +0 -34
  1313. package/Lib/site-packages/pip/_vendor/rich/palette.py +0 -100
  1314. package/Lib/site-packages/pip/_vendor/rich/panel.py +0 -312
  1315. package/Lib/site-packages/pip/_vendor/rich/pretty.py +0 -995
  1316. package/Lib/site-packages/pip/_vendor/rich/progress.py +0 -1699
  1317. package/Lib/site-packages/pip/_vendor/rich/progress_bar.py +0 -223
  1318. package/Lib/site-packages/pip/_vendor/rich/prompt.py +0 -375
  1319. package/Lib/site-packages/pip/_vendor/rich/protocol.py +0 -42
  1320. package/Lib/site-packages/pip/_vendor/rich/py.typed +0 -0
  1321. package/Lib/site-packages/pip/_vendor/rich/region.py +0 -10
  1322. package/Lib/site-packages/pip/_vendor/rich/repr.py +0 -149
  1323. package/Lib/site-packages/pip/_vendor/rich/rule.py +0 -130
  1324. package/Lib/site-packages/pip/_vendor/rich/scope.py +0 -86
  1325. package/Lib/site-packages/pip/_vendor/rich/screen.py +0 -54
  1326. package/Lib/site-packages/pip/_vendor/rich/segment.py +0 -738
  1327. package/Lib/site-packages/pip/_vendor/rich/spinner.py +0 -137
  1328. package/Lib/site-packages/pip/_vendor/rich/status.py +0 -131
  1329. package/Lib/site-packages/pip/_vendor/rich/style.py +0 -796
  1330. package/Lib/site-packages/pip/_vendor/rich/styled.py +0 -42
  1331. package/Lib/site-packages/pip/_vendor/rich/syntax.py +0 -958
  1332. package/Lib/site-packages/pip/_vendor/rich/table.py +0 -1000
  1333. package/Lib/site-packages/pip/_vendor/rich/terminal_theme.py +0 -153
  1334. package/Lib/site-packages/pip/_vendor/rich/text.py +0 -1357
  1335. package/Lib/site-packages/pip/_vendor/rich/theme.py +0 -115
  1336. package/Lib/site-packages/pip/_vendor/rich/themes.py +0 -5
  1337. package/Lib/site-packages/pip/_vendor/rich/traceback.py +0 -753
  1338. package/Lib/site-packages/pip/_vendor/rich/tree.py +0 -249
  1339. package/Lib/site-packages/pip/_vendor/tomli/__init__.py +0 -11
  1340. package/Lib/site-packages/pip/_vendor/tomli/_parser.py +0 -691
  1341. package/Lib/site-packages/pip/_vendor/tomli/_re.py +0 -107
  1342. package/Lib/site-packages/pip/_vendor/tomli/_types.py +0 -10
  1343. package/Lib/site-packages/pip/_vendor/tomli/py.typed +0 -1
  1344. package/Lib/site-packages/pip/_vendor/truststore/__init__.py +0 -36
  1345. package/Lib/site-packages/pip/_vendor/truststore/_api.py +0 -316
  1346. package/Lib/site-packages/pip/_vendor/truststore/_macos.py +0 -571
  1347. package/Lib/site-packages/pip/_vendor/truststore/_openssl.py +0 -66
  1348. package/Lib/site-packages/pip/_vendor/truststore/_ssl_constants.py +0 -31
  1349. package/Lib/site-packages/pip/_vendor/truststore/_windows.py +0 -567
  1350. package/Lib/site-packages/pip/_vendor/truststore/py.typed +0 -0
  1351. package/Lib/site-packages/pip/_vendor/typing_extensions.py +0 -3641
  1352. package/Lib/site-packages/pip/_vendor/urllib3/__init__.py +0 -102
  1353. package/Lib/site-packages/pip/_vendor/urllib3/_collections.py +0 -355
  1354. package/Lib/site-packages/pip/_vendor/urllib3/_version.py +0 -2
  1355. package/Lib/site-packages/pip/_vendor/urllib3/connection.py +0 -572
  1356. package/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py +0 -1140
  1357. package/Lib/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
  1358. package/Lib/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +0 -36
  1359. package/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
  1360. package/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +0 -519
  1361. package/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +0 -397
  1362. package/Lib/site-packages/pip/_vendor/urllib3/contrib/appengine.py +0 -314
  1363. package/Lib/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +0 -130
  1364. package/Lib/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +0 -518
  1365. package/Lib/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +0 -920
  1366. package/Lib/site-packages/pip/_vendor/urllib3/contrib/socks.py +0 -216
  1367. package/Lib/site-packages/pip/_vendor/urllib3/exceptions.py +0 -323
  1368. package/Lib/site-packages/pip/_vendor/urllib3/fields.py +0 -274
  1369. package/Lib/site-packages/pip/_vendor/urllib3/filepost.py +0 -98
  1370. package/Lib/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -0
  1371. package/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
  1372. package/Lib/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +0 -51
  1373. package/Lib/site-packages/pip/_vendor/urllib3/packages/backports/weakref_finalize.py +0 -155
  1374. package/Lib/site-packages/pip/_vendor/urllib3/packages/six.py +0 -1076
  1375. package/Lib/site-packages/pip/_vendor/urllib3/poolmanager.py +0 -540
  1376. package/Lib/site-packages/pip/_vendor/urllib3/request.py +0 -191
  1377. package/Lib/site-packages/pip/_vendor/urllib3/response.py +0 -879
  1378. package/Lib/site-packages/pip/_vendor/urllib3/util/__init__.py +0 -49
  1379. package/Lib/site-packages/pip/_vendor/urllib3/util/connection.py +0 -149
  1380. package/Lib/site-packages/pip/_vendor/urllib3/util/proxy.py +0 -57
  1381. package/Lib/site-packages/pip/_vendor/urllib3/util/queue.py +0 -22
  1382. package/Lib/site-packages/pip/_vendor/urllib3/util/request.py +0 -137
  1383. package/Lib/site-packages/pip/_vendor/urllib3/util/response.py +0 -107
  1384. package/Lib/site-packages/pip/_vendor/urllib3/util/retry.py +0 -622
  1385. package/Lib/site-packages/pip/_vendor/urllib3/util/ssl_.py +0 -504
  1386. package/Lib/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +0 -159
  1387. package/Lib/site-packages/pip/_vendor/urllib3/util/ssltransport.py +0 -221
  1388. package/Lib/site-packages/pip/_vendor/urllib3/util/timeout.py +0 -271
  1389. package/Lib/site-packages/pip/_vendor/urllib3/util/url.py +0 -435
  1390. package/Lib/site-packages/pip/_vendor/urllib3/util/wait.py +0 -152
  1391. package/Lib/site-packages/pip/_vendor/vendor.txt +0 -18
  1392. package/Lib/site-packages/pip/py.typed +0 -4
  1393. package/Lib/site-packages/pip-24.3.1.dist-info/AUTHORS.txt +0 -799
  1394. package/Lib/site-packages/pip-24.3.1.dist-info/INSTALLER +0 -1
  1395. package/Lib/site-packages/pip-24.3.1.dist-info/LICENSE.txt +0 -20
  1396. package/Lib/site-packages/pip-24.3.1.dist-info/METADATA +0 -90
  1397. package/Lib/site-packages/pip-24.3.1.dist-info/RECORD +0 -854
  1398. package/Lib/site-packages/pip-24.3.1.dist-info/REQUESTED +0 -0
  1399. package/Lib/site-packages/pip-24.3.1.dist-info/WHEEL +0 -5
  1400. package/Lib/site-packages/pip-24.3.1.dist-info/direct_url.json +0 -1
  1401. package/Lib/site-packages/pip-24.3.1.dist-info/entry_points.txt +0 -3
  1402. package/Lib/site-packages/pip-24.3.1.dist-info/top_level.txt +0 -1
  1403. package/Lib/site.py +0 -693
  1404. package/Lib/smtplib.py +0 -1109
  1405. package/Lib/sndhdr.py +0 -271
  1406. package/Lib/socket.py +0 -983
  1407. package/Lib/socketserver.py +0 -863
  1408. package/Lib/sqlite3/__init__.py +0 -70
  1409. package/Lib/sqlite3/__main__.py +0 -127
  1410. package/Lib/sqlite3/dbapi2.py +0 -108
  1411. package/Lib/sqlite3/dump.py +0 -89
  1412. package/Lib/sre_compile.py +0 -7
  1413. package/Lib/sre_constants.py +0 -7
  1414. package/Lib/sre_parse.py +0 -7
  1415. package/Lib/ssl.py +0 -1476
  1416. package/Lib/statistics.py +0 -1454
  1417. package/Lib/string.py +0 -309
  1418. package/Lib/subprocess.py +0 -2216
  1419. package/Lib/sunau.py +0 -533
  1420. package/Lib/symtable.py +0 -362
  1421. package/Lib/sysconfig.py +0 -894
  1422. package/Lib/tabnanny.py +0 -340
  1423. package/Lib/tarfile.py +0 -2933
  1424. package/Lib/telnetlib.py +0 -680
  1425. package/Lib/tempfile.py +0 -956
  1426. package/Lib/textwrap.py +0 -491
  1427. package/Lib/threading.py +0 -1708
  1428. package/Lib/timeit.py +0 -381
  1429. package/Lib/tkinter/__init__.py +0 -4682
  1430. package/Lib/tkinter/__main__.py +0 -7
  1431. package/Lib/tkinter/colorchooser.py +0 -86
  1432. package/Lib/tkinter/commondialog.py +0 -53
  1433. package/Lib/tkinter/constants.py +0 -110
  1434. package/Lib/tkinter/dialog.py +0 -49
  1435. package/Lib/tkinter/dnd.py +0 -324
  1436. package/Lib/tkinter/filedialog.py +0 -492
  1437. package/Lib/tkinter/font.py +0 -239
  1438. package/Lib/tkinter/messagebox.py +0 -146
  1439. package/Lib/tkinter/scrolledtext.py +0 -56
  1440. package/Lib/tkinter/simpledialog.py +0 -441
  1441. package/Lib/tkinter/tix.py +0 -1948
  1442. package/Lib/tkinter/ttk.py +0 -1640
  1443. package/Lib/token.py +0 -143
  1444. package/Lib/tokenize.py +0 -594
  1445. package/Lib/tomllib/__init__.py +0 -10
  1446. package/Lib/tomllib/_parser.py +0 -691
  1447. package/Lib/tomllib/_re.py +0 -107
  1448. package/Lib/tomllib/_types.py +0 -10
  1449. package/Lib/trace.py +0 -748
  1450. package/Lib/traceback.py +0 -1187
  1451. package/Lib/tracemalloc.py +0 -560
  1452. package/Lib/tty.py +0 -73
  1453. package/Lib/turtle.py +0 -4207
  1454. package/Lib/turtledemo/__init__.py +0 -14
  1455. package/Lib/turtledemo/__main__.py +0 -404
  1456. package/Lib/turtledemo/bytedesign.py +0 -161
  1457. package/Lib/turtledemo/chaos.py +0 -59
  1458. package/Lib/turtledemo/clock.py +0 -138
  1459. package/Lib/turtledemo/colormixer.py +0 -58
  1460. package/Lib/turtledemo/forest.py +0 -108
  1461. package/Lib/turtledemo/fractalcurves.py +0 -138
  1462. package/Lib/turtledemo/lindenmayer.py +0 -119
  1463. package/Lib/turtledemo/minimal_hanoi.py +0 -79
  1464. package/Lib/turtledemo/nim.py +0 -226
  1465. package/Lib/turtledemo/paint.py +0 -54
  1466. package/Lib/turtledemo/peace.py +0 -61
  1467. package/Lib/turtledemo/penrose.py +0 -175
  1468. package/Lib/turtledemo/planet_and_moon.py +0 -111
  1469. package/Lib/turtledemo/rosette.py +0 -65
  1470. package/Lib/turtledemo/round_dance.py +0 -86
  1471. package/Lib/turtledemo/sorting_animate.py +0 -204
  1472. package/Lib/turtledemo/tree.py +0 -62
  1473. package/Lib/turtledemo/turtle.cfg +0 -10
  1474. package/Lib/turtledemo/two_canvases.py +0 -54
  1475. package/Lib/turtledemo/yinyang.py +0 -49
  1476. package/Lib/types.py +0 -333
  1477. package/Lib/typing.py +0 -3494
  1478. package/Lib/unittest/__init__.py +0 -85
  1479. package/Lib/unittest/_log.py +0 -86
  1480. package/Lib/unittest/async_case.py +0 -143
  1481. package/Lib/unittest/case.py +0 -1456
  1482. package/Lib/unittest/loader.py +0 -497
  1483. package/Lib/unittest/main.py +0 -291
  1484. package/Lib/unittest/mock.py +0 -3054
  1485. package/Lib/unittest/result.py +0 -256
  1486. package/Lib/unittest/runner.py +0 -292
  1487. package/Lib/unittest/suite.py +0 -379
  1488. package/Lib/urllib/__init__.py +0 -0
  1489. package/Lib/urllib/error.py +0 -74
  1490. package/Lib/urllib/parse.py +0 -1262
  1491. package/Lib/urllib/request.py +0 -2811
  1492. package/Lib/urllib/robotparser.py +0 -275
  1493. package/Lib/uu.py +0 -216
  1494. package/Lib/uuid.py +0 -793
  1495. package/Lib/venv/__init__.py +0 -608
  1496. package/Lib/venv/scripts/common/Activate.ps1 +0 -247
  1497. package/Lib/venv/scripts/common/activate +0 -76
  1498. package/Lib/venv/scripts/nt/activate.bat +0 -34
  1499. package/Lib/venv/scripts/nt/deactivate.bat +0 -22
  1500. package/Lib/venv/scripts/nt/python.exe +0 -0
  1501. package/Lib/venv/scripts/nt/pythonw.exe +0 -0
  1502. package/Lib/venv/scripts/posix/activate.csh +0 -27
  1503. package/Lib/venv/scripts/posix/activate.fish +0 -69
  1504. package/Lib/warnings.py +0 -598
  1505. package/Lib/wave.py +0 -653
  1506. package/Lib/weakref.py +0 -674
  1507. package/Lib/webbrowser.py +0 -689
  1508. package/Lib/wsgiref/__init__.py +0 -25
  1509. package/Lib/wsgiref/handlers.py +0 -573
  1510. package/Lib/wsgiref/types.py +0 -54
  1511. package/Lib/wsgiref/util.py +0 -159
  1512. package/Lib/wsgiref/validate.py +0 -438
  1513. package/Lib/xdrlib.py +0 -242
  1514. package/Lib/xml/dom/expatbuilder.py +0 -962
  1515. package/Lib/xml/dom/minidom.py +0 -2013
  1516. package/Lib/xml/dom/pulldom.py +0 -336
  1517. package/Lib/xml/dom/xmlbuilder.py +0 -389
  1518. package/Lib/xml/etree/ElementInclude.py +0 -186
  1519. package/Lib/xml/etree/ElementPath.py +0 -423
  1520. package/Lib/xml/etree/ElementTree.py +0 -2085
  1521. package/Lib/xml/etree/__init__.py +0 -33
  1522. package/Lib/xml/sax/__init__.py +0 -94
  1523. package/Lib/xml/sax/_exceptions.py +0 -127
  1524. package/Lib/xml/sax/expatreader.py +0 -454
  1525. package/Lib/xml/sax/handler.py +0 -387
  1526. package/Lib/xml/sax/xmlreader.py +0 -378
  1527. package/Lib/xmlrpc/client.py +0 -1529
  1528. package/Lib/xmlrpc/server.py +0 -1002
  1529. package/Lib/zipapp.py +0 -206
  1530. package/Lib/zipfile/__init__.py +0 -2327
  1531. package/Lib/zipfile/__main__.py +0 -4
  1532. package/Lib/zipfile/_path/__init__.py +0 -412
  1533. package/Lib/zipfile/_path/glob.py +0 -53
  1534. package/Lib/zipimport.py +0 -712
  1535. package/Lib/zoneinfo/_common.py +0 -164
  1536. package/Lib/zoneinfo/_tzpath.py +0 -181
  1537. package/Lib/zoneinfo/_zoneinfo.py +0 -772
  1538. package/Scripts/.empty +0 -0
  1539. package/include/Python.h +0 -109
  1540. package/include/abstract.h +0 -899
  1541. package/include/bltinmodule.h +0 -14
  1542. package/include/boolobject.h +0 -42
  1543. package/include/bytearrayobject.h +0 -44
  1544. package/include/bytesobject.h +0 -69
  1545. package/include/ceval.h +0 -168
  1546. package/include/codecs.h +0 -248
  1547. package/include/compile.h +0 -22
  1548. package/include/complexobject.h +0 -30
  1549. package/include/cpython/abstract.h +0 -206
  1550. package/include/cpython/bytearrayobject.h +0 -34
  1551. package/include/cpython/bytesobject.h +0 -129
  1552. package/include/cpython/cellobject.h +0 -44
  1553. package/include/cpython/ceval.h +0 -35
  1554. package/include/cpython/classobject.h +0 -71
  1555. package/include/cpython/code.h +0 -389
  1556. package/include/cpython/compile.h +0 -69
  1557. package/include/cpython/complexobject.h +0 -44
  1558. package/include/cpython/context.h +0 -78
  1559. package/include/cpython/descrobject.h +0 -64
  1560. package/include/cpython/dictobject.h +0 -118
  1561. package/include/cpython/fileobject.h +0 -19
  1562. package/include/cpython/fileutils.h +0 -8
  1563. package/include/cpython/floatobject.h +0 -27
  1564. package/include/cpython/frameobject.h +0 -29
  1565. package/include/cpython/funcobject.h +0 -190
  1566. package/include/cpython/genobject.h +0 -89
  1567. package/include/cpython/import.h +0 -46
  1568. package/include/cpython/initconfig.h +0 -256
  1569. package/include/cpython/interpreteridobject.h +0 -11
  1570. package/include/cpython/listobject.h +0 -47
  1571. package/include/cpython/longintrepr.h +0 -133
  1572. package/include/cpython/longobject.h +0 -100
  1573. package/include/cpython/memoryobject.h +0 -52
  1574. package/include/cpython/methodobject.h +0 -66
  1575. package/include/cpython/modsupport.h +0 -109
  1576. package/include/cpython/object.h +0 -575
  1577. package/include/cpython/objimpl.h +0 -95
  1578. package/include/cpython/odictobject.h +0 -43
  1579. package/include/cpython/picklebufobject.h +0 -31
  1580. package/include/cpython/pthread_stubs.h +0 -88
  1581. package/include/cpython/pyctype.h +0 -39
  1582. package/include/cpython/pydebug.h +0 -38
  1583. package/include/cpython/pyerrors.h +0 -178
  1584. package/include/cpython/pyfpe.h +0 -15
  1585. package/include/cpython/pyframe.h +0 -35
  1586. package/include/cpython/pylifecycle.h +0 -111
  1587. package/include/cpython/pymem.h +0 -98
  1588. package/include/cpython/pystate.h +0 -456
  1589. package/include/cpython/pythonrun.h +0 -121
  1590. package/include/cpython/pythread.h +0 -42
  1591. package/include/cpython/pytime.h +0 -331
  1592. package/include/cpython/setobject.h +0 -72
  1593. package/include/cpython/sysmodule.h +0 -16
  1594. package/include/cpython/traceback.h +0 -16
  1595. package/include/cpython/tupleobject.h +0 -39
  1596. package/include/cpython/unicodeobject.h +0 -963
  1597. package/include/cpython/warnings.h +0 -20
  1598. package/include/cpython/weakrefobject.h +0 -56
  1599. package/include/datetime.h +0 -267
  1600. package/include/descrobject.h +0 -100
  1601. package/include/dictobject.h +0 -97
  1602. package/include/dynamic_annotations.h +0 -499
  1603. package/include/enumobject.h +0 -17
  1604. package/include/errcode.h +0 -38
  1605. package/include/exports.h +0 -36
  1606. package/include/fileobject.h +0 -49
  1607. package/include/fileutils.h +0 -26
  1608. package/include/floatobject.h +0 -54
  1609. package/include/frameobject.h +0 -20
  1610. package/include/genericaliasobject.h +0 -14
  1611. package/include/import.h +0 -98
  1612. package/include/internal/pycore_abstract.h +0 -25
  1613. package/include/internal/pycore_asdl.h +0 -112
  1614. package/include/internal/pycore_ast.h +0 -922
  1615. package/include/internal/pycore_ast_state.h +0 -265
  1616. package/include/internal/pycore_atexit.h +0 -57
  1617. package/include/internal/pycore_atomic.h +0 -557
  1618. package/include/internal/pycore_atomic_funcs.h +0 -94
  1619. package/include/internal/pycore_bitutils.h +0 -186
  1620. package/include/internal/pycore_blocks_output_buffer.h +0 -317
  1621. package/include/internal/pycore_bytes_methods.h +0 -73
  1622. package/include/internal/pycore_bytesobject.h +0 -47
  1623. package/include/internal/pycore_call.h +0 -133
  1624. package/include/internal/pycore_ceval.h +0 -164
  1625. package/include/internal/pycore_ceval_state.h +0 -103
  1626. package/include/internal/pycore_code.h +0 -496
  1627. package/include/internal/pycore_compile.h +0 -118
  1628. package/include/internal/pycore_condvar.h +0 -99
  1629. package/include/internal/pycore_context.h +0 -71
  1630. package/include/internal/pycore_descrobject.h +0 -26
  1631. package/include/internal/pycore_dict.h +0 -199
  1632. package/include/internal/pycore_dict_state.h +0 -50
  1633. package/include/internal/pycore_dtoa.h +0 -69
  1634. package/include/internal/pycore_emscripten_signal.h +0 -25
  1635. package/include/internal/pycore_exceptions.h +0 -37
  1636. package/include/internal/pycore_faulthandler.h +0 -99
  1637. package/include/internal/pycore_fileutils.h +0 -292
  1638. package/include/internal/pycore_fileutils_windows.h +0 -98
  1639. package/include/internal/pycore_floatobject.h +0 -71
  1640. package/include/internal/pycore_flowgraph.h +0 -120
  1641. package/include/internal/pycore_format.h +0 -27
  1642. package/include/internal/pycore_frame.h +0 -283
  1643. package/include/internal/pycore_function.h +0 -26
  1644. package/include/internal/pycore_gc.h +0 -211
  1645. package/include/internal/pycore_genobject.h +0 -49
  1646. package/include/internal/pycore_getopt.h +0 -22
  1647. package/include/internal/pycore_gil.h +0 -50
  1648. package/include/internal/pycore_global_objects.h +0 -105
  1649. package/include/internal/pycore_global_objects_fini_generated.h +0 -1517
  1650. package/include/internal/pycore_global_strings.h +0 -777
  1651. package/include/internal/pycore_hamt.h +0 -134
  1652. package/include/internal/pycore_hashtable.h +0 -149
  1653. package/include/internal/pycore_import.h +0 -183
  1654. package/include/internal/pycore_initconfig.h +0 -179
  1655. package/include/internal/pycore_instruments.h +0 -106
  1656. package/include/internal/pycore_interp.h +0 -275
  1657. package/include/internal/pycore_intrinsics.h +0 -32
  1658. package/include/internal/pycore_list.h +0 -83
  1659. package/include/internal/pycore_long.h +0 -258
  1660. package/include/internal/pycore_memoryobject.h +0 -18
  1661. package/include/internal/pycore_moduleobject.h +0 -45
  1662. package/include/internal/pycore_namespace.h +0 -20
  1663. package/include/internal/pycore_object.h +0 -455
  1664. package/include/internal/pycore_object_state.h +0 -42
  1665. package/include/internal/pycore_obmalloc.h +0 -700
  1666. package/include/internal/pycore_obmalloc_init.h +0 -73
  1667. package/include/internal/pycore_opcode.h +0 -587
  1668. package/include/internal/pycore_opcode_utils.h +0 -92
  1669. package/include/internal/pycore_parser.h +0 -66
  1670. package/include/internal/pycore_pathconfig.h +0 -24
  1671. package/include/internal/pycore_pyarena.h +0 -64
  1672. package/include/internal/pycore_pyerrors.h +0 -129
  1673. package/include/internal/pycore_pyhash.h +0 -40
  1674. package/include/internal/pycore_pylifecycle.h +0 -99
  1675. package/include/internal/pycore_pymath.h +0 -205
  1676. package/include/internal/pycore_pymem.h +0 -98
  1677. package/include/internal/pycore_pymem_init.h +0 -85
  1678. package/include/internal/pycore_pystate.h +0 -180
  1679. package/include/internal/pycore_pythread.h +0 -81
  1680. package/include/internal/pycore_range.h +0 -21
  1681. package/include/internal/pycore_runtime.h +0 -235
  1682. package/include/internal/pycore_runtime_init.h +0 -188
  1683. package/include/internal/pycore_runtime_init_generated.h +0 -1511
  1684. package/include/internal/pycore_signal.h +0 -98
  1685. package/include/internal/pycore_sliceobject.h +0 -22
  1686. package/include/internal/pycore_strhex.h +0 -36
  1687. package/include/internal/pycore_structseq.h +0 -39
  1688. package/include/internal/pycore_symtable.h +0 -160
  1689. package/include/internal/pycore_sysmodule.h +0 -34
  1690. package/include/internal/pycore_time.h +0 -25
  1691. package/include/internal/pycore_token.h +0 -108
  1692. package/include/internal/pycore_traceback.h +0 -101
  1693. package/include/internal/pycore_tracemalloc.h +0 -123
  1694. package/include/internal/pycore_tuple.h +0 -79
  1695. package/include/internal/pycore_typeobject.h +0 -151
  1696. package/include/internal/pycore_typevarobject.h +0 -24
  1697. package/include/internal/pycore_ucnhash.h +0 -34
  1698. package/include/internal/pycore_unicodeobject.h +0 -86
  1699. package/include/internal/pycore_unicodeobject_generated.h +0 -2832
  1700. package/include/internal/pycore_unionobject.h +0 -23
  1701. package/include/internal/pycore_warnings.h +0 -29
  1702. package/include/interpreteridobject.h +0 -17
  1703. package/include/intrcheck.h +0 -30
  1704. package/include/iterobject.h +0 -27
  1705. package/include/listobject.h +0 -52
  1706. package/include/longobject.h +0 -108
  1707. package/include/marshal.h +0 -31
  1708. package/include/memoryobject.h +0 -34
  1709. package/include/methodobject.h +0 -132
  1710. package/include/modsupport.h +0 -168
  1711. package/include/moduleobject.h +0 -119
  1712. package/include/object.h +0 -993
  1713. package/include/objimpl.h +0 -234
  1714. package/include/opcode.h +0 -271
  1715. package/include/osdefs.h +0 -51
  1716. package/include/osmodule.h +0 -17
  1717. package/include/patchlevel.h +0 -35
  1718. package/include/py_curses.h +0 -99
  1719. package/include/pybuffer.h +0 -145
  1720. package/include/pycapsule.h +0 -59
  1721. package/include/pyconfig.h +0 -742
  1722. package/include/pydtrace.h +0 -59
  1723. package/include/pyerrors.h +0 -337
  1724. package/include/pyexpat.h +0 -57
  1725. package/include/pyframe.h +0 -26
  1726. package/include/pyhash.h +0 -144
  1727. package/include/pylifecycle.h +0 -78
  1728. package/include/pymacconfig.h +0 -99
  1729. package/include/pymacro.h +0 -172
  1730. package/include/pymath.h +0 -62
  1731. package/include/pymem.h +0 -104
  1732. package/include/pyport.h +0 -782
  1733. package/include/pystate.h +0 -132
  1734. package/include/pystats.h +0 -110
  1735. package/include/pystrcmp.h +0 -23
  1736. package/include/pystrtod.h +0 -46
  1737. package/include/pythonrun.h +0 -49
  1738. package/include/pythread.h +0 -135
  1739. package/include/pytypedefs.h +0 -30
  1740. package/include/rangeobject.h +0 -27
  1741. package/include/setobject.h +0 -49
  1742. package/include/sliceobject.h +0 -65
  1743. package/include/structmember.h +0 -56
  1744. package/include/structseq.h +0 -49
  1745. package/include/sysmodule.h +0 -54
  1746. package/include/traceback.h +0 -26
  1747. package/include/tracemalloc.h +0 -77
  1748. package/include/tupleobject.h +0 -46
  1749. package/include/typeslots.h +0 -88
  1750. package/include/unicodeobject.h +0 -1020
  1751. package/include/warnings.h +0 -45
  1752. package/include/weakrefobject.h +0 -42
  1753. package/libs/_asyncio.lib +0 -0
  1754. package/libs/_bz2.lib +0 -0
  1755. package/libs/_ctypes.lib +0 -0
  1756. package/libs/_ctypes_test.lib +0 -0
  1757. package/libs/_decimal.lib +0 -0
  1758. package/libs/_elementtree.lib +0 -0
  1759. package/libs/_hashlib.lib +0 -0
  1760. package/libs/_lzma.lib +0 -0
  1761. package/libs/_msi.lib +0 -0
  1762. package/libs/_multiprocessing.lib +0 -0
  1763. package/libs/_overlapped.lib +0 -0
  1764. package/libs/_queue.lib +0 -0
  1765. package/libs/_socket.lib +0 -0
  1766. package/libs/_sqlite3.lib +0 -0
  1767. package/libs/_ssl.lib +0 -0
  1768. package/libs/_testbuffer.lib +0 -0
  1769. package/libs/_testcapi.lib +0 -0
  1770. package/libs/_testclinic.lib +0 -0
  1771. package/libs/_testconsole.lib +0 -0
  1772. package/libs/_testimportmultiple.lib +0 -0
  1773. package/libs/_testinternalcapi.lib +0 -0
  1774. package/libs/_testmultiphase.lib +0 -0
  1775. package/libs/_testsinglephase.lib +0 -0
  1776. package/libs/_tkinter.lib +0 -0
  1777. package/libs/_uuid.lib +0 -0
  1778. package/libs/_wmi.lib +0 -0
  1779. package/libs/_zoneinfo.lib +0 -0
  1780. package/libs/pyexpat.lib +0 -0
  1781. package/libs/python3.lib +0 -0
  1782. package/libs/python312.lib +0 -0
  1783. package/libs/select.lib +0 -0
  1784. package/libs/sqlite3.lib +0 -0
  1785. package/libs/unicodedata.lib +0 -0
  1786. package/libs/winsound.lib +0 -0
  1787. package/python.exe +0 -0
  1788. package/python3.dll +0 -0
  1789. package/python312.dll +0 -0
  1790. package/pythonw.exe +0 -0
  1791. package/tcl/dde1.4/pkgIndex.tcl +0 -12
  1792. package/tcl/dde1.4/tcldde14.dll +0 -0
  1793. package/tcl/nmake/nmakehlp.c +0 -815
  1794. package/tcl/nmake/rules.vc +0 -1869
  1795. package/tcl/nmake/targets.vc +0 -98
  1796. package/tcl/nmake/tcl.nmake +0 -4
  1797. package/tcl/reg1.3/pkgIndex.tcl +0 -9
  1798. package/tcl/reg1.3/tclreg13.dll +0 -0
  1799. package/tcl/tcl8/8.4/platform/shell-1.1.4.tm +0 -241
  1800. package/tcl/tcl8/8.4/platform-1.0.18.tm +0 -439
  1801. package/tcl/tcl8/8.5/msgcat-1.6.1.tm +0 -1210
  1802. package/tcl/tcl8/8.5/tcltest-2.5.3.tm +0 -3515
  1803. package/tcl/tcl8/8.6/http-2.9.5.tm +0 -3506
  1804. package/tcl/tcl8.6/auto.tcl +0 -648
  1805. package/tcl/tcl8.6/clock.tcl +0 -4546
  1806. package/tcl/tcl8.6/encoding/ascii.enc +0 -20
  1807. package/tcl/tcl8.6/encoding/big5.enc +0 -1516
  1808. package/tcl/tcl8.6/encoding/cns11643.enc +0 -1584
  1809. package/tcl/tcl8.6/encoding/cp1250.enc +0 -20
  1810. package/tcl/tcl8.6/encoding/cp1251.enc +0 -20
  1811. package/tcl/tcl8.6/encoding/cp1252.enc +0 -20
  1812. package/tcl/tcl8.6/encoding/cp1253.enc +0 -20
  1813. package/tcl/tcl8.6/encoding/cp1254.enc +0 -20
  1814. package/tcl/tcl8.6/encoding/cp1255.enc +0 -20
  1815. package/tcl/tcl8.6/encoding/cp1256.enc +0 -20
  1816. package/tcl/tcl8.6/encoding/cp1257.enc +0 -20
  1817. package/tcl/tcl8.6/encoding/cp1258.enc +0 -20
  1818. package/tcl/tcl8.6/encoding/cp437.enc +0 -20
  1819. package/tcl/tcl8.6/encoding/cp737.enc +0 -20
  1820. package/tcl/tcl8.6/encoding/cp775.enc +0 -20
  1821. package/tcl/tcl8.6/encoding/cp850.enc +0 -20
  1822. package/tcl/tcl8.6/encoding/cp852.enc +0 -20
  1823. package/tcl/tcl8.6/encoding/cp855.enc +0 -20
  1824. package/tcl/tcl8.6/encoding/cp857.enc +0 -20
  1825. package/tcl/tcl8.6/encoding/cp860.enc +0 -20
  1826. package/tcl/tcl8.6/encoding/cp861.enc +0 -20
  1827. package/tcl/tcl8.6/encoding/cp862.enc +0 -20
  1828. package/tcl/tcl8.6/encoding/cp863.enc +0 -20
  1829. package/tcl/tcl8.6/encoding/cp864.enc +0 -20
  1830. package/tcl/tcl8.6/encoding/cp865.enc +0 -20
  1831. package/tcl/tcl8.6/encoding/cp866.enc +0 -20
  1832. package/tcl/tcl8.6/encoding/cp869.enc +0 -20
  1833. package/tcl/tcl8.6/encoding/cp874.enc +0 -20
  1834. package/tcl/tcl8.6/encoding/cp932.enc +0 -801
  1835. package/tcl/tcl8.6/encoding/cp936.enc +0 -2162
  1836. package/tcl/tcl8.6/encoding/cp949.enc +0 -2128
  1837. package/tcl/tcl8.6/encoding/cp950.enc +0 -1499
  1838. package/tcl/tcl8.6/encoding/dingbats.enc +0 -20
  1839. package/tcl/tcl8.6/encoding/ebcdic.enc +0 -19
  1840. package/tcl/tcl8.6/encoding/euc-cn.enc +0 -1397
  1841. package/tcl/tcl8.6/encoding/euc-jp.enc +0 -1353
  1842. package/tcl/tcl8.6/encoding/euc-kr.enc +0 -1533
  1843. package/tcl/tcl8.6/encoding/gb12345.enc +0 -1414
  1844. package/tcl/tcl8.6/encoding/gb1988.enc +0 -20
  1845. package/tcl/tcl8.6/encoding/gb2312-raw.enc +0 -1380
  1846. package/tcl/tcl8.6/encoding/gb2312.enc +0 -1397
  1847. package/tcl/tcl8.6/encoding/iso2022-jp.enc +0 -12
  1848. package/tcl/tcl8.6/encoding/iso2022-kr.enc +0 -7
  1849. package/tcl/tcl8.6/encoding/iso2022.enc +0 -14
  1850. package/tcl/tcl8.6/encoding/iso8859-1.enc +0 -20
  1851. package/tcl/tcl8.6/encoding/iso8859-10.enc +0 -20
  1852. package/tcl/tcl8.6/encoding/iso8859-11.enc +0 -20
  1853. package/tcl/tcl8.6/encoding/iso8859-13.enc +0 -20
  1854. package/tcl/tcl8.6/encoding/iso8859-14.enc +0 -20
  1855. package/tcl/tcl8.6/encoding/iso8859-15.enc +0 -20
  1856. package/tcl/tcl8.6/encoding/iso8859-16.enc +0 -20
  1857. package/tcl/tcl8.6/encoding/iso8859-2.enc +0 -20
  1858. package/tcl/tcl8.6/encoding/iso8859-3.enc +0 -20
  1859. package/tcl/tcl8.6/encoding/iso8859-4.enc +0 -20
  1860. package/tcl/tcl8.6/encoding/iso8859-5.enc +0 -20
  1861. package/tcl/tcl8.6/encoding/iso8859-6.enc +0 -20
  1862. package/tcl/tcl8.6/encoding/iso8859-7.enc +0 -20
  1863. package/tcl/tcl8.6/encoding/iso8859-8.enc +0 -20
  1864. package/tcl/tcl8.6/encoding/iso8859-9.enc +0 -20
  1865. package/tcl/tcl8.6/encoding/jis0201.enc +0 -20
  1866. package/tcl/tcl8.6/encoding/jis0208.enc +0 -1319
  1867. package/tcl/tcl8.6/encoding/jis0212.enc +0 -1159
  1868. package/tcl/tcl8.6/encoding/koi8-r.enc +0 -20
  1869. package/tcl/tcl8.6/encoding/koi8-u.enc +0 -20
  1870. package/tcl/tcl8.6/encoding/ksc5601.enc +0 -1516
  1871. package/tcl/tcl8.6/encoding/macCentEuro.enc +0 -20
  1872. package/tcl/tcl8.6/encoding/macCroatian.enc +0 -20
  1873. package/tcl/tcl8.6/encoding/macCyrillic.enc +0 -20
  1874. package/tcl/tcl8.6/encoding/macDingbats.enc +0 -20
  1875. package/tcl/tcl8.6/encoding/macGreek.enc +0 -20
  1876. package/tcl/tcl8.6/encoding/macIceland.enc +0 -20
  1877. package/tcl/tcl8.6/encoding/macJapan.enc +0 -785
  1878. package/tcl/tcl8.6/encoding/macRoman.enc +0 -20
  1879. package/tcl/tcl8.6/encoding/macRomania.enc +0 -20
  1880. package/tcl/tcl8.6/encoding/macThai.enc +0 -20
  1881. package/tcl/tcl8.6/encoding/macTurkish.enc +0 -20
  1882. package/tcl/tcl8.6/encoding/macUkraine.enc +0 -20
  1883. package/tcl/tcl8.6/encoding/shiftjis.enc +0 -690
  1884. package/tcl/tcl8.6/encoding/symbol.enc +0 -20
  1885. package/tcl/tcl8.6/encoding/tis-620.enc +0 -20
  1886. package/tcl/tcl8.6/history.tcl +0 -335
  1887. package/tcl/tcl8.6/http1.0/http.tcl +0 -377
  1888. package/tcl/tcl8.6/http1.0/pkgIndex.tcl +0 -11
  1889. package/tcl/tcl8.6/init.tcl +0 -827
  1890. package/tcl/tcl8.6/msgs/af.msg +0 -49
  1891. package/tcl/tcl8.6/msgs/af_za.msg +0 -6
  1892. package/tcl/tcl8.6/msgs/ar.msg +0 -54
  1893. package/tcl/tcl8.6/msgs/ar_in.msg +0 -6
  1894. package/tcl/tcl8.6/msgs/ar_jo.msg +0 -39
  1895. package/tcl/tcl8.6/msgs/ar_lb.msg +0 -39
  1896. package/tcl/tcl8.6/msgs/ar_sy.msg +0 -39
  1897. package/tcl/tcl8.6/msgs/be.msg +0 -52
  1898. package/tcl/tcl8.6/msgs/bg.msg +0 -52
  1899. package/tcl/tcl8.6/msgs/bn.msg +0 -49
  1900. package/tcl/tcl8.6/msgs/bn_in.msg +0 -6
  1901. package/tcl/tcl8.6/msgs/ca.msg +0 -50
  1902. package/tcl/tcl8.6/msgs/cs.msg +0 -54
  1903. package/tcl/tcl8.6/msgs/da.msg +0 -52
  1904. package/tcl/tcl8.6/msgs/de.msg +0 -54
  1905. package/tcl/tcl8.6/msgs/de_at.msg +0 -35
  1906. package/tcl/tcl8.6/msgs/de_be.msg +0 -53
  1907. package/tcl/tcl8.6/msgs/el.msg +0 -52
  1908. package/tcl/tcl8.6/msgs/en_au.msg +0 -7
  1909. package/tcl/tcl8.6/msgs/en_be.msg +0 -7
  1910. package/tcl/tcl8.6/msgs/en_bw.msg +0 -6
  1911. package/tcl/tcl8.6/msgs/en_ca.msg +0 -7
  1912. package/tcl/tcl8.6/msgs/en_gb.msg +0 -7
  1913. package/tcl/tcl8.6/msgs/en_hk.msg +0 -8
  1914. package/tcl/tcl8.6/msgs/en_ie.msg +0 -7
  1915. package/tcl/tcl8.6/msgs/en_in.msg +0 -8
  1916. package/tcl/tcl8.6/msgs/en_nz.msg +0 -7
  1917. package/tcl/tcl8.6/msgs/en_ph.msg +0 -8
  1918. package/tcl/tcl8.6/msgs/en_sg.msg +0 -6
  1919. package/tcl/tcl8.6/msgs/en_za.msg +0 -6
  1920. package/tcl/tcl8.6/msgs/en_zw.msg +0 -6
  1921. package/tcl/tcl8.6/msgs/eo.msg +0 -54
  1922. package/tcl/tcl8.6/msgs/es.msg +0 -52
  1923. package/tcl/tcl8.6/msgs/es_ar.msg +0 -6
  1924. package/tcl/tcl8.6/msgs/es_bo.msg +0 -6
  1925. package/tcl/tcl8.6/msgs/es_cl.msg +0 -6
  1926. package/tcl/tcl8.6/msgs/es_co.msg +0 -6
  1927. package/tcl/tcl8.6/msgs/es_cr.msg +0 -6
  1928. package/tcl/tcl8.6/msgs/es_do.msg +0 -6
  1929. package/tcl/tcl8.6/msgs/es_ec.msg +0 -6
  1930. package/tcl/tcl8.6/msgs/es_gt.msg +0 -6
  1931. package/tcl/tcl8.6/msgs/es_hn.msg +0 -6
  1932. package/tcl/tcl8.6/msgs/es_mx.msg +0 -6
  1933. package/tcl/tcl8.6/msgs/es_ni.msg +0 -6
  1934. package/tcl/tcl8.6/msgs/es_pa.msg +0 -6
  1935. package/tcl/tcl8.6/msgs/es_pe.msg +0 -6
  1936. package/tcl/tcl8.6/msgs/es_pr.msg +0 -6
  1937. package/tcl/tcl8.6/msgs/es_py.msg +0 -6
  1938. package/tcl/tcl8.6/msgs/es_sv.msg +0 -6
  1939. package/tcl/tcl8.6/msgs/es_uy.msg +0 -6
  1940. package/tcl/tcl8.6/msgs/es_ve.msg +0 -6
  1941. package/tcl/tcl8.6/msgs/et.msg +0 -52
  1942. package/tcl/tcl8.6/msgs/eu.msg +0 -47
  1943. package/tcl/tcl8.6/msgs/eu_es.msg +0 -7
  1944. package/tcl/tcl8.6/msgs/fa.msg +0 -47
  1945. package/tcl/tcl8.6/msgs/fa_in.msg +0 -52
  1946. package/tcl/tcl8.6/msgs/fa_ir.msg +0 -9
  1947. package/tcl/tcl8.6/msgs/fi.msg +0 -50
  1948. package/tcl/tcl8.6/msgs/fo.msg +0 -47
  1949. package/tcl/tcl8.6/msgs/fo_fo.msg +0 -7
  1950. package/tcl/tcl8.6/msgs/fr.msg +0 -52
  1951. package/tcl/tcl8.6/msgs/fr_be.msg +0 -7
  1952. package/tcl/tcl8.6/msgs/fr_ca.msg +0 -7
  1953. package/tcl/tcl8.6/msgs/fr_ch.msg +0 -7
  1954. package/tcl/tcl8.6/msgs/ga.msg +0 -47
  1955. package/tcl/tcl8.6/msgs/ga_ie.msg +0 -7
  1956. package/tcl/tcl8.6/msgs/gl.msg +0 -47
  1957. package/tcl/tcl8.6/msgs/gl_es.msg +0 -6
  1958. package/tcl/tcl8.6/msgs/gv.msg +0 -47
  1959. package/tcl/tcl8.6/msgs/gv_gb.msg +0 -6
  1960. package/tcl/tcl8.6/msgs/he.msg +0 -52
  1961. package/tcl/tcl8.6/msgs/hi.msg +0 -39
  1962. package/tcl/tcl8.6/msgs/hi_in.msg +0 -6
  1963. package/tcl/tcl8.6/msgs/hr.msg +0 -50
  1964. package/tcl/tcl8.6/msgs/hu.msg +0 -54
  1965. package/tcl/tcl8.6/msgs/id.msg +0 -47
  1966. package/tcl/tcl8.6/msgs/id_id.msg +0 -6
  1967. package/tcl/tcl8.6/msgs/is.msg +0 -50
  1968. package/tcl/tcl8.6/msgs/it.msg +0 -54
  1969. package/tcl/tcl8.6/msgs/it_ch.msg +0 -6
  1970. package/tcl/tcl8.6/msgs/ja.msg +0 -44
  1971. package/tcl/tcl8.6/msgs/kl.msg +0 -47
  1972. package/tcl/tcl8.6/msgs/kl_gl.msg +0 -7
  1973. package/tcl/tcl8.6/msgs/ko.msg +0 -55
  1974. package/tcl/tcl8.6/msgs/ko_kr.msg +0 -8
  1975. package/tcl/tcl8.6/msgs/kok.msg +0 -39
  1976. package/tcl/tcl8.6/msgs/kok_in.msg +0 -6
  1977. package/tcl/tcl8.6/msgs/kw.msg +0 -47
  1978. package/tcl/tcl8.6/msgs/kw_gb.msg +0 -6
  1979. package/tcl/tcl8.6/msgs/lt.msg +0 -52
  1980. package/tcl/tcl8.6/msgs/lv.msg +0 -52
  1981. package/tcl/tcl8.6/msgs/mk.msg +0 -52
  1982. package/tcl/tcl8.6/msgs/mr.msg +0 -39
  1983. package/tcl/tcl8.6/msgs/mr_in.msg +0 -6
  1984. package/tcl/tcl8.6/msgs/ms.msg +0 -47
  1985. package/tcl/tcl8.6/msgs/ms_my.msg +0 -6
  1986. package/tcl/tcl8.6/msgs/mt.msg +0 -27
  1987. package/tcl/tcl8.6/msgs/nb.msg +0 -52
  1988. package/tcl/tcl8.6/msgs/nl.msg +0 -50
  1989. package/tcl/tcl8.6/msgs/nl_be.msg +0 -7
  1990. package/tcl/tcl8.6/msgs/nn.msg +0 -52
  1991. package/tcl/tcl8.6/msgs/pl.msg +0 -52
  1992. package/tcl/tcl8.6/msgs/pt.msg +0 -50
  1993. package/tcl/tcl8.6/msgs/pt_br.msg +0 -7
  1994. package/tcl/tcl8.6/msgs/ro.msg +0 -52
  1995. package/tcl/tcl8.6/msgs/ru.msg +0 -52
  1996. package/tcl/tcl8.6/msgs/ru_ua.msg +0 -6
  1997. package/tcl/tcl8.6/msgs/sh.msg +0 -52
  1998. package/tcl/tcl8.6/msgs/sk.msg +0 -52
  1999. package/tcl/tcl8.6/msgs/sl.msg +0 -52
  2000. package/tcl/tcl8.6/msgs/sq.msg +0 -54
  2001. package/tcl/tcl8.6/msgs/sr.msg +0 -52
  2002. package/tcl/tcl8.6/msgs/sv.msg +0 -52
  2003. package/tcl/tcl8.6/msgs/sw.msg +0 -49
  2004. package/tcl/tcl8.6/msgs/ta.msg +0 -39
  2005. package/tcl/tcl8.6/msgs/ta_in.msg +0 -6
  2006. package/tcl/tcl8.6/msgs/te.msg +0 -47
  2007. package/tcl/tcl8.6/msgs/te_in.msg +0 -8
  2008. package/tcl/tcl8.6/msgs/th.msg +0 -54
  2009. package/tcl/tcl8.6/msgs/tr.msg +0 -50
  2010. package/tcl/tcl8.6/msgs/uk.msg +0 -52
  2011. package/tcl/tcl8.6/msgs/vi.msg +0 -50
  2012. package/tcl/tcl8.6/msgs/zh.msg +0 -55
  2013. package/tcl/tcl8.6/msgs/zh_cn.msg +0 -7
  2014. package/tcl/tcl8.6/msgs/zh_hk.msg +0 -28
  2015. package/tcl/tcl8.6/msgs/zh_sg.msg +0 -8
  2016. package/tcl/tcl8.6/msgs/zh_tw.msg +0 -8
  2017. package/tcl/tcl8.6/opt0.4/optparse.tcl +0 -1072
  2018. package/tcl/tcl8.6/opt0.4/pkgIndex.tcl +0 -12
  2019. package/tcl/tcl8.6/package.tcl +0 -751
  2020. package/tcl/tcl8.6/parray.tcl +0 -28
  2021. package/tcl/tcl8.6/safe.tcl +0 -1289
  2022. package/tcl/tcl8.6/tclIndex +0 -78
  2023. package/tcl/tcl8.6/tm.tcl +0 -380
  2024. package/tcl/tcl8.6/tzdata/Africa/Abidjan +0 -6
  2025. package/tcl/tcl8.6/tzdata/Africa/Accra +0 -5
  2026. package/tcl/tcl8.6/tzdata/Africa/Addis_Ababa +0 -5
  2027. package/tcl/tcl8.6/tzdata/Africa/Algiers +0 -39
  2028. package/tcl/tcl8.6/tzdata/Africa/Asmara +0 -5
  2029. package/tcl/tcl8.6/tzdata/Africa/Asmera +0 -5
  2030. package/tcl/tcl8.6/tzdata/Africa/Bamako +0 -5
  2031. package/tcl/tcl8.6/tzdata/Africa/Bangui +0 -5
  2032. package/tcl/tcl8.6/tzdata/Africa/Banjul +0 -5
  2033. package/tcl/tcl8.6/tzdata/Africa/Bissau +0 -7
  2034. package/tcl/tcl8.6/tzdata/Africa/Blantyre +0 -5
  2035. package/tcl/tcl8.6/tzdata/Africa/Brazzaville +0 -5
  2036. package/tcl/tcl8.6/tzdata/Africa/Bujumbura +0 -5
  2037. package/tcl/tcl8.6/tzdata/Africa/Cairo +0 -132
  2038. package/tcl/tcl8.6/tzdata/Africa/Casablanca +0 -202
  2039. package/tcl/tcl8.6/tzdata/Africa/Ceuta +0 -259
  2040. package/tcl/tcl8.6/tzdata/Africa/Conakry +0 -5
  2041. package/tcl/tcl8.6/tzdata/Africa/Dakar +0 -5
  2042. package/tcl/tcl8.6/tzdata/Africa/Dar_es_Salaam +0 -5
  2043. package/tcl/tcl8.6/tzdata/Africa/Djibouti +0 -5
  2044. package/tcl/tcl8.6/tzdata/Africa/Douala +0 -5
  2045. package/tcl/tcl8.6/tzdata/Africa/El_Aaiun +0 -191
  2046. package/tcl/tcl8.6/tzdata/Africa/Freetown +0 -5
  2047. package/tcl/tcl8.6/tzdata/Africa/Gaborone +0 -5
  2048. package/tcl/tcl8.6/tzdata/Africa/Harare +0 -5
  2049. package/tcl/tcl8.6/tzdata/Africa/Johannesburg +0 -11
  2050. package/tcl/tcl8.6/tzdata/Africa/Juba +0 -40
  2051. package/tcl/tcl8.6/tzdata/Africa/Kampala +0 -5
  2052. package/tcl/tcl8.6/tzdata/Africa/Khartoum +0 -40
  2053. package/tcl/tcl8.6/tzdata/Africa/Kigali +0 -5
  2054. package/tcl/tcl8.6/tzdata/Africa/Kinshasa +0 -5
  2055. package/tcl/tcl8.6/tzdata/Africa/Lagos +0 -9
  2056. package/tcl/tcl8.6/tzdata/Africa/Libreville +0 -5
  2057. package/tcl/tcl8.6/tzdata/Africa/Lome +0 -5
  2058. package/tcl/tcl8.6/tzdata/Africa/Luanda +0 -5
  2059. package/tcl/tcl8.6/tzdata/Africa/Lubumbashi +0 -5
  2060. package/tcl/tcl8.6/tzdata/Africa/Lusaka +0 -5
  2061. package/tcl/tcl8.6/tzdata/Africa/Malabo +0 -5
  2062. package/tcl/tcl8.6/tzdata/Africa/Maputo +0 -6
  2063. package/tcl/tcl8.6/tzdata/Africa/Maseru +0 -5
  2064. package/tcl/tcl8.6/tzdata/Africa/Mbabane +0 -5
  2065. package/tcl/tcl8.6/tzdata/Africa/Mogadishu +0 -5
  2066. package/tcl/tcl8.6/tzdata/Africa/Monrovia +0 -8
  2067. package/tcl/tcl8.6/tzdata/Africa/Nairobi +0 -10
  2068. package/tcl/tcl8.6/tzdata/Africa/Ndjamena +0 -8
  2069. package/tcl/tcl8.6/tzdata/Africa/Niamey +0 -5
  2070. package/tcl/tcl8.6/tzdata/Africa/Nouakchott +0 -5
  2071. package/tcl/tcl8.6/tzdata/Africa/Ouagadougou +0 -5
  2072. package/tcl/tcl8.6/tzdata/Africa/Porto-Novo +0 -5
  2073. package/tcl/tcl8.6/tzdata/Africa/Sao_Tome +0 -9
  2074. package/tcl/tcl8.6/tzdata/Africa/Timbuktu +0 -5
  2075. package/tcl/tcl8.6/tzdata/Africa/Tripoli +0 -34
  2076. package/tcl/tcl8.6/tzdata/Africa/Tunis +0 -39
  2077. package/tcl/tcl8.6/tzdata/Africa/Windhoek +0 -58
  2078. package/tcl/tcl8.6/tzdata/America/Adak +0 -276
  2079. package/tcl/tcl8.6/tzdata/America/Anchorage +0 -275
  2080. package/tcl/tcl8.6/tzdata/America/Anguilla +0 -5
  2081. package/tcl/tcl8.6/tzdata/America/Antigua +0 -5
  2082. package/tcl/tcl8.6/tzdata/America/Araguaina +0 -60
  2083. package/tcl/tcl8.6/tzdata/America/Argentina/Buenos_Aires +0 -67
  2084. package/tcl/tcl8.6/tzdata/America/Argentina/Catamarca +0 -68
  2085. package/tcl/tcl8.6/tzdata/America/Argentina/ComodRivadavia +0 -5
  2086. package/tcl/tcl8.6/tzdata/America/Argentina/Cordoba +0 -67
  2087. package/tcl/tcl8.6/tzdata/America/Argentina/Jujuy +0 -67
  2088. package/tcl/tcl8.6/tzdata/America/Argentina/La_Rioja +0 -69
  2089. package/tcl/tcl8.6/tzdata/America/Argentina/Mendoza +0 -68
  2090. package/tcl/tcl8.6/tzdata/America/Argentina/Rio_Gallegos +0 -68
  2091. package/tcl/tcl8.6/tzdata/America/Argentina/Salta +0 -66
  2092. package/tcl/tcl8.6/tzdata/America/Argentina/San_Juan +0 -69
  2093. package/tcl/tcl8.6/tzdata/America/Argentina/San_Luis +0 -68
  2094. package/tcl/tcl8.6/tzdata/America/Argentina/Tucuman +0 -69
  2095. package/tcl/tcl8.6/tzdata/America/Argentina/Ushuaia +0 -68
  2096. package/tcl/tcl8.6/tzdata/America/Aruba +0 -5
  2097. package/tcl/tcl8.6/tzdata/America/Asuncion +0 -259
  2098. package/tcl/tcl8.6/tzdata/America/Atikokan +0 -5
  2099. package/tcl/tcl8.6/tzdata/America/Atka +0 -5
  2100. package/tcl/tcl8.6/tzdata/America/Bahia +0 -68
  2101. package/tcl/tcl8.6/tzdata/America/Bahia_Banderas +0 -222
  2102. package/tcl/tcl8.6/tzdata/America/Barbados +0 -22
  2103. package/tcl/tcl8.6/tzdata/America/Belem +0 -35
  2104. package/tcl/tcl8.6/tzdata/America/Belize +0 -103
  2105. package/tcl/tcl8.6/tzdata/America/Blanc-Sablon +0 -5
  2106. package/tcl/tcl8.6/tzdata/America/Boa_Vista +0 -40
  2107. package/tcl/tcl8.6/tzdata/America/Bogota +0 -9
  2108. package/tcl/tcl8.6/tzdata/America/Boise +0 -281
  2109. package/tcl/tcl8.6/tzdata/America/Buenos_Aires +0 -5
  2110. package/tcl/tcl8.6/tzdata/America/Cambridge_Bay +0 -252
  2111. package/tcl/tcl8.6/tzdata/America/Campo_Grande +0 -96
  2112. package/tcl/tcl8.6/tzdata/America/Cancun +0 -47
  2113. package/tcl/tcl8.6/tzdata/America/Caracas +0 -10
  2114. package/tcl/tcl8.6/tzdata/America/Catamarca +0 -5
  2115. package/tcl/tcl8.6/tzdata/America/Cayenne +0 -7
  2116. package/tcl/tcl8.6/tzdata/America/Cayman +0 -5
  2117. package/tcl/tcl8.6/tzdata/America/Chicago +0 -369
  2118. package/tcl/tcl8.6/tzdata/America/Chihuahua +0 -221
  2119. package/tcl/tcl8.6/tzdata/America/Coral_Harbour +0 -5
  2120. package/tcl/tcl8.6/tzdata/America/Cordoba +0 -5
  2121. package/tcl/tcl8.6/tzdata/America/Costa_Rica +0 -15
  2122. package/tcl/tcl8.6/tzdata/America/Creston +0 -5
  2123. package/tcl/tcl8.6/tzdata/America/Cuiaba +0 -96
  2124. package/tcl/tcl8.6/tzdata/America/Curacao +0 -5
  2125. package/tcl/tcl8.6/tzdata/America/Danmarkshavn +0 -39
  2126. package/tcl/tcl8.6/tzdata/America/Dawson +0 -98
  2127. package/tcl/tcl8.6/tzdata/America/Dawson_Creek +0 -64
  2128. package/tcl/tcl8.6/tzdata/America/Denver +0 -291
  2129. package/tcl/tcl8.6/tzdata/America/Detroit +0 -275
  2130. package/tcl/tcl8.6/tzdata/America/Dominica +0 -5
  2131. package/tcl/tcl8.6/tzdata/America/Edmonton +0 -280
  2132. package/tcl/tcl8.6/tzdata/America/Eirunepe +0 -41
  2133. package/tcl/tcl8.6/tzdata/America/El_Salvador +0 -10
  2134. package/tcl/tcl8.6/tzdata/America/Ensenada +0 -5
  2135. package/tcl/tcl8.6/tzdata/America/Fort_Nelson +0 -151
  2136. package/tcl/tcl8.6/tzdata/America/Fort_Wayne +0 -5
  2137. package/tcl/tcl8.6/tzdata/America/Fortaleza +0 -48
  2138. package/tcl/tcl8.6/tzdata/America/Glace_Bay +0 -273
  2139. package/tcl/tcl8.6/tzdata/America/Godthab +0 -5
  2140. package/tcl/tcl8.6/tzdata/America/Goose_Bay +0 -338
  2141. package/tcl/tcl8.6/tzdata/America/Grand_Turk +0 -245
  2142. package/tcl/tcl8.6/tzdata/America/Grenada +0 -5
  2143. package/tcl/tcl8.6/tzdata/America/Guadeloupe +0 -5
  2144. package/tcl/tcl8.6/tzdata/America/Guatemala +0 -14
  2145. package/tcl/tcl8.6/tzdata/America/Guayaquil +0 -9
  2146. package/tcl/tcl8.6/tzdata/America/Guyana +0 -9
  2147. package/tcl/tcl8.6/tzdata/America/Halifax +0 -361
  2148. package/tcl/tcl8.6/tzdata/America/Havana +0 -285
  2149. package/tcl/tcl8.6/tzdata/America/Hermosillo +0 -21
  2150. package/tcl/tcl8.6/tzdata/America/Indiana/Indianapolis +0 -234
  2151. package/tcl/tcl8.6/tzdata/America/Indiana/Knox +0 -285
  2152. package/tcl/tcl8.6/tzdata/America/Indiana/Marengo +0 -236
  2153. package/tcl/tcl8.6/tzdata/America/Indiana/Petersburg +0 -247
  2154. package/tcl/tcl8.6/tzdata/America/Indiana/Tell_City +0 -230
  2155. package/tcl/tcl8.6/tzdata/America/Indiana/Vevay +0 -213
  2156. package/tcl/tcl8.6/tzdata/America/Indiana/Vincennes +0 -234
  2157. package/tcl/tcl8.6/tzdata/America/Indiana/Winamac +0 -240
  2158. package/tcl/tcl8.6/tzdata/America/Indianapolis +0 -5
  2159. package/tcl/tcl8.6/tzdata/America/Inuvik +0 -249
  2160. package/tcl/tcl8.6/tzdata/America/Iqaluit +0 -250
  2161. package/tcl/tcl8.6/tzdata/America/Jamaica +0 -29
  2162. package/tcl/tcl8.6/tzdata/America/Jujuy +0 -5
  2163. package/tcl/tcl8.6/tzdata/America/Juneau +0 -276
  2164. package/tcl/tcl8.6/tzdata/America/Kentucky/Louisville +0 -311
  2165. package/tcl/tcl8.6/tzdata/America/Kentucky/Monticello +0 -279
  2166. package/tcl/tcl8.6/tzdata/America/Knox_IN +0 -5
  2167. package/tcl/tcl8.6/tzdata/America/Kralendijk +0 -5
  2168. package/tcl/tcl8.6/tzdata/America/La_Paz +0 -8
  2169. package/tcl/tcl8.6/tzdata/America/Lima +0 -16
  2170. package/tcl/tcl8.6/tzdata/America/Los_Angeles +0 -317
  2171. package/tcl/tcl8.6/tzdata/America/Louisville +0 -5
  2172. package/tcl/tcl8.6/tzdata/America/Lower_Princes +0 -5
  2173. package/tcl/tcl8.6/tzdata/America/Maceio +0 -52
  2174. package/tcl/tcl8.6/tzdata/America/Managua +0 -21
  2175. package/tcl/tcl8.6/tzdata/America/Manaus +0 -39
  2176. package/tcl/tcl8.6/tzdata/America/Marigot +0 -5
  2177. package/tcl/tcl8.6/tzdata/America/Martinique +0 -9
  2178. package/tcl/tcl8.6/tzdata/America/Matamoros +0 -219
  2179. package/tcl/tcl8.6/tzdata/America/Mazatlan +0 -222
  2180. package/tcl/tcl8.6/tzdata/America/Mendoza +0 -5
  2181. package/tcl/tcl8.6/tzdata/America/Menominee +0 -274
  2182. package/tcl/tcl8.6/tzdata/America/Merida +0 -216
  2183. package/tcl/tcl8.6/tzdata/America/Metlakatla +0 -213
  2184. package/tcl/tcl8.6/tzdata/America/Mexico_City +0 -228
  2185. package/tcl/tcl8.6/tzdata/America/Miquelon +0 -234
  2186. package/tcl/tcl8.6/tzdata/America/Moncton +0 -342
  2187. package/tcl/tcl8.6/tzdata/America/Monterrey +0 -218
  2188. package/tcl/tcl8.6/tzdata/America/Montevideo +0 -96
  2189. package/tcl/tcl8.6/tzdata/America/Montreal +0 -5
  2190. package/tcl/tcl8.6/tzdata/America/Montserrat +0 -5
  2191. package/tcl/tcl8.6/tzdata/America/Nassau +0 -5
  2192. package/tcl/tcl8.6/tzdata/America/New_York +0 -369
  2193. package/tcl/tcl8.6/tzdata/America/Nipigon +0 -264
  2194. package/tcl/tcl8.6/tzdata/America/Nome +0 -276
  2195. package/tcl/tcl8.6/tzdata/America/Noronha +0 -48
  2196. package/tcl/tcl8.6/tzdata/America/North_Dakota/Beulah +0 -279
  2197. package/tcl/tcl8.6/tzdata/America/North_Dakota/Center +0 -279
  2198. package/tcl/tcl8.6/tzdata/America/North_Dakota/New_Salem +0 -279
  2199. package/tcl/tcl8.6/tzdata/America/Nuuk +0 -246
  2200. package/tcl/tcl8.6/tzdata/America/Ojinaga +0 -222
  2201. package/tcl/tcl8.6/tzdata/America/Panama +0 -7
  2202. package/tcl/tcl8.6/tzdata/America/Pangnirtung +0 -252
  2203. package/tcl/tcl8.6/tzdata/America/Paramaribo +0 -9
  2204. package/tcl/tcl8.6/tzdata/America/Phoenix +0 -17
  2205. package/tcl/tcl8.6/tzdata/America/Port-au-Prince +0 -215
  2206. package/tcl/tcl8.6/tzdata/America/Port_of_Spain +0 -5
  2207. package/tcl/tcl8.6/tzdata/America/Porto_Acre +0 -5
  2208. package/tcl/tcl8.6/tzdata/America/Porto_Velho +0 -35
  2209. package/tcl/tcl8.6/tzdata/America/Puerto_Rico +0 -10
  2210. package/tcl/tcl8.6/tzdata/America/Punta_Arenas +0 -122
  2211. package/tcl/tcl8.6/tzdata/America/Rainy_River +0 -264
  2212. package/tcl/tcl8.6/tzdata/America/Rankin_Inlet +0 -248
  2213. package/tcl/tcl8.6/tzdata/America/Recife +0 -48
  2214. package/tcl/tcl8.6/tzdata/America/Regina +0 -58
  2215. package/tcl/tcl8.6/tzdata/America/Resolute +0 -248
  2216. package/tcl/tcl8.6/tzdata/America/Rio_Branco +0 -37
  2217. package/tcl/tcl8.6/tzdata/America/Rosario +0 -5
  2218. package/tcl/tcl8.6/tzdata/America/Santa_Isabel +0 -5
  2219. package/tcl/tcl8.6/tzdata/America/Santarem +0 -36
  2220. package/tcl/tcl8.6/tzdata/America/Santiago +0 -289
  2221. package/tcl/tcl8.6/tzdata/America/Santo_Domingo +0 -21
  2222. package/tcl/tcl8.6/tzdata/America/Sao_Paulo +0 -97
  2223. package/tcl/tcl8.6/tzdata/America/Scoresbysund +0 -246
  2224. package/tcl/tcl8.6/tzdata/America/Shiprock +0 -5
  2225. package/tcl/tcl8.6/tzdata/America/Sitka +0 -275
  2226. package/tcl/tcl8.6/tzdata/America/St_Barthelemy +0 -5
  2227. package/tcl/tcl8.6/tzdata/America/St_Johns +0 -372
  2228. package/tcl/tcl8.6/tzdata/America/St_Kitts +0 -5
  2229. package/tcl/tcl8.6/tzdata/America/St_Lucia +0 -5
  2230. package/tcl/tcl8.6/tzdata/America/St_Thomas +0 -5
  2231. package/tcl/tcl8.6/tzdata/America/St_Vincent +0 -5
  2232. package/tcl/tcl8.6/tzdata/America/Swift_Current +0 -29
  2233. package/tcl/tcl8.6/tzdata/America/Tegucigalpa +0 -12
  2234. package/tcl/tcl8.6/tzdata/America/Thule +0 -224
  2235. package/tcl/tcl8.6/tzdata/America/Thunder_Bay +0 -272
  2236. package/tcl/tcl8.6/tzdata/America/Tijuana +0 -285
  2237. package/tcl/tcl8.6/tzdata/America/Toronto +0 -365
  2238. package/tcl/tcl8.6/tzdata/America/Tortola +0 -5
  2239. package/tcl/tcl8.6/tzdata/America/Vancouver +0 -320
  2240. package/tcl/tcl8.6/tzdata/America/Virgin +0 -5
  2241. package/tcl/tcl8.6/tzdata/America/Whitehorse +0 -98
  2242. package/tcl/tcl8.6/tzdata/America/Winnipeg +0 -316
  2243. package/tcl/tcl8.6/tzdata/America/Yakutat +0 -276
  2244. package/tcl/tcl8.6/tzdata/America/Yellowknife +0 -252
  2245. package/tcl/tcl8.6/tzdata/Antarctica/Casey +0 -17
  2246. package/tcl/tcl8.6/tzdata/Antarctica/Davis +0 -12
  2247. package/tcl/tcl8.6/tzdata/Antarctica/DumontDUrville +0 -5
  2248. package/tcl/tcl8.6/tzdata/Antarctica/Macquarie +0 -276
  2249. package/tcl/tcl8.6/tzdata/Antarctica/Mawson +0 -7
  2250. package/tcl/tcl8.6/tzdata/Antarctica/McMurdo +0 -5
  2251. package/tcl/tcl8.6/tzdata/Antarctica/Palmer +0 -87
  2252. package/tcl/tcl8.6/tzdata/Antarctica/Rothera +0 -6
  2253. package/tcl/tcl8.6/tzdata/Antarctica/South_Pole +0 -5
  2254. package/tcl/tcl8.6/tzdata/Antarctica/Syowa +0 -5
  2255. package/tcl/tcl8.6/tzdata/Antarctica/Troll +0 -196
  2256. package/tcl/tcl8.6/tzdata/Antarctica/Vostok +0 -6
  2257. package/tcl/tcl8.6/tzdata/Arctic/Longyearbyen +0 -5
  2258. package/tcl/tcl8.6/tzdata/Asia/Aden +0 -5
  2259. package/tcl/tcl8.6/tzdata/Asia/Almaty +0 -57
  2260. package/tcl/tcl8.6/tzdata/Asia/Amman +0 -246
  2261. package/tcl/tcl8.6/tzdata/Asia/Anadyr +0 -72
  2262. package/tcl/tcl8.6/tzdata/Asia/Aqtau +0 -58
  2263. package/tcl/tcl8.6/tzdata/Asia/Aqtobe +0 -58
  2264. package/tcl/tcl8.6/tzdata/Asia/Ashgabat +0 -31
  2265. package/tcl/tcl8.6/tzdata/Asia/Ashkhabad +0 -5
  2266. package/tcl/tcl8.6/tzdata/Asia/Atyrau +0 -58
  2267. package/tcl/tcl8.6/tzdata/Asia/Baghdad +0 -59
  2268. package/tcl/tcl8.6/tzdata/Asia/Bahrain +0 -5
  2269. package/tcl/tcl8.6/tzdata/Asia/Baku +0 -74
  2270. package/tcl/tcl8.6/tzdata/Asia/Bangkok +0 -7
  2271. package/tcl/tcl8.6/tzdata/Asia/Barnaul +0 -73
  2272. package/tcl/tcl8.6/tzdata/Asia/Beirut +0 -270
  2273. package/tcl/tcl8.6/tzdata/Asia/Bishkek +0 -58
  2274. package/tcl/tcl8.6/tzdata/Asia/Brunei +0 -7
  2275. package/tcl/tcl8.6/tzdata/Asia/Calcutta +0 -5
  2276. package/tcl/tcl8.6/tzdata/Asia/Chita +0 -72
  2277. package/tcl/tcl8.6/tzdata/Asia/Choibalsan +0 -56
  2278. package/tcl/tcl8.6/tzdata/Asia/Chongqing +0 -5
  2279. package/tcl/tcl8.6/tzdata/Asia/Chungking +0 -5
  2280. package/tcl/tcl8.6/tzdata/Asia/Colombo +0 -13
  2281. package/tcl/tcl8.6/tzdata/Asia/Dacca +0 -5
  2282. package/tcl/tcl8.6/tzdata/Asia/Damascus +0 -280
  2283. package/tcl/tcl8.6/tzdata/Asia/Dhaka +0 -13
  2284. package/tcl/tcl8.6/tzdata/Asia/Dili +0 -9
  2285. package/tcl/tcl8.6/tzdata/Asia/Dubai +0 -6
  2286. package/tcl/tcl8.6/tzdata/Asia/Dushanbe +0 -29
  2287. package/tcl/tcl8.6/tzdata/Asia/Famagusta +0 -256
  2288. package/tcl/tcl8.6/tzdata/Asia/Gaza +0 -284
  2289. package/tcl/tcl8.6/tzdata/Asia/Harbin +0 -5
  2290. package/tcl/tcl8.6/tzdata/Asia/Hebron +0 -283
  2291. package/tcl/tcl8.6/tzdata/Asia/Ho_Chi_Minh +0 -14
  2292. package/tcl/tcl8.6/tzdata/Asia/Hong_Kong +0 -75
  2293. package/tcl/tcl8.6/tzdata/Asia/Hovd +0 -55
  2294. package/tcl/tcl8.6/tzdata/Asia/Irkutsk +0 -72
  2295. package/tcl/tcl8.6/tzdata/Asia/Istanbul +0 -5
  2296. package/tcl/tcl8.6/tzdata/Asia/Jakarta +0 -13
  2297. package/tcl/tcl8.6/tzdata/Asia/Jayapura +0 -8
  2298. package/tcl/tcl8.6/tzdata/Asia/Jerusalem +0 -278
  2299. package/tcl/tcl8.6/tzdata/Asia/Kabul +0 -7
  2300. package/tcl/tcl8.6/tzdata/Asia/Kamchatka +0 -71
  2301. package/tcl/tcl8.6/tzdata/Asia/Karachi +0 -16
  2302. package/tcl/tcl8.6/tzdata/Asia/Kashgar +0 -5
  2303. package/tcl/tcl8.6/tzdata/Asia/Kathmandu +0 -7
  2304. package/tcl/tcl8.6/tzdata/Asia/Katmandu +0 -5
  2305. package/tcl/tcl8.6/tzdata/Asia/Khandyga +0 -73
  2306. package/tcl/tcl8.6/tzdata/Asia/Kolkata +0 -12
  2307. package/tcl/tcl8.6/tzdata/Asia/Krasnoyarsk +0 -71
  2308. package/tcl/tcl8.6/tzdata/Asia/Kuala_Lumpur +0 -13
  2309. package/tcl/tcl8.6/tzdata/Asia/Kuching +0 -23
  2310. package/tcl/tcl8.6/tzdata/Asia/Kuwait +0 -5
  2311. package/tcl/tcl8.6/tzdata/Asia/Macao +0 -5
  2312. package/tcl/tcl8.6/tzdata/Asia/Macau +0 -76
  2313. package/tcl/tcl8.6/tzdata/Asia/Magadan +0 -72
  2314. package/tcl/tcl8.6/tzdata/Asia/Makassar +0 -9
  2315. package/tcl/tcl8.6/tzdata/Asia/Manila +0 -15
  2316. package/tcl/tcl8.6/tzdata/Asia/Muscat +0 -5
  2317. package/tcl/tcl8.6/tzdata/Asia/Nicosia +0 -257
  2318. package/tcl/tcl8.6/tzdata/Asia/Novokuznetsk +0 -71
  2319. package/tcl/tcl8.6/tzdata/Asia/Novosibirsk +0 -73
  2320. package/tcl/tcl8.6/tzdata/Asia/Omsk +0 -71
  2321. package/tcl/tcl8.6/tzdata/Asia/Oral +0 -58
  2322. package/tcl/tcl8.6/tzdata/Asia/Phnom_Penh +0 -5
  2323. package/tcl/tcl8.6/tzdata/Asia/Pontianak +0 -13
  2324. package/tcl/tcl8.6/tzdata/Asia/Pyongyang +0 -10
  2325. package/tcl/tcl8.6/tzdata/Asia/Qatar +0 -7
  2326. package/tcl/tcl8.6/tzdata/Asia/Qostanay +0 -58
  2327. package/tcl/tcl8.6/tzdata/Asia/Qyzylorda +0 -58
  2328. package/tcl/tcl8.6/tzdata/Asia/Rangoon +0 -5
  2329. package/tcl/tcl8.6/tzdata/Asia/Riyadh +0 -6
  2330. package/tcl/tcl8.6/tzdata/Asia/Saigon +0 -5
  2331. package/tcl/tcl8.6/tzdata/Asia/Sakhalin +0 -73
  2332. package/tcl/tcl8.6/tzdata/Asia/Samarkand +0 -31
  2333. package/tcl/tcl8.6/tzdata/Asia/Seoul +0 -34
  2334. package/tcl/tcl8.6/tzdata/Asia/Shanghai +0 -34
  2335. package/tcl/tcl8.6/tzdata/Asia/Singapore +0 -13
  2336. package/tcl/tcl8.6/tzdata/Asia/Srednekolymsk +0 -71
  2337. package/tcl/tcl8.6/tzdata/Asia/Taipei +0 -46
  2338. package/tcl/tcl8.6/tzdata/Asia/Tashkent +0 -31
  2339. package/tcl/tcl8.6/tzdata/Asia/Tbilisi +0 -60
  2340. package/tcl/tcl8.6/tzdata/Asia/Tehran +0 -229
  2341. package/tcl/tcl8.6/tzdata/Asia/Tel_Aviv +0 -5
  2342. package/tcl/tcl8.6/tzdata/Asia/Thimbu +0 -5
  2343. package/tcl/tcl8.6/tzdata/Asia/Thimphu +0 -7
  2344. package/tcl/tcl8.6/tzdata/Asia/Tokyo +0 -14
  2345. package/tcl/tcl8.6/tzdata/Asia/Tomsk +0 -73
  2346. package/tcl/tcl8.6/tzdata/Asia/Ujung_Pandang +0 -5
  2347. package/tcl/tcl8.6/tzdata/Asia/Ulaanbaatar +0 -55
  2348. package/tcl/tcl8.6/tzdata/Asia/Ulan_Bator +0 -5
  2349. package/tcl/tcl8.6/tzdata/Asia/Urumqi +0 -6
  2350. package/tcl/tcl8.6/tzdata/Asia/Ust-Nera +0 -71
  2351. package/tcl/tcl8.6/tzdata/Asia/Vientiane +0 -5
  2352. package/tcl/tcl8.6/tzdata/Asia/Vladivostok +0 -71
  2353. package/tcl/tcl8.6/tzdata/Asia/Yakutsk +0 -71
  2354. package/tcl/tcl8.6/tzdata/Asia/Yangon +0 -9
  2355. package/tcl/tcl8.6/tzdata/Asia/Yekaterinburg +0 -72
  2356. package/tcl/tcl8.6/tzdata/Asia/Yerevan +0 -70
  2357. package/tcl/tcl8.6/tzdata/Atlantic/Azores +0 -347
  2358. package/tcl/tcl8.6/tzdata/Atlantic/Bermuda +0 -286
  2359. package/tcl/tcl8.6/tzdata/Atlantic/Canary +0 -247
  2360. package/tcl/tcl8.6/tzdata/Atlantic/Cape_Verde +0 -9
  2361. package/tcl/tcl8.6/tzdata/Atlantic/Faeroe +0 -5
  2362. package/tcl/tcl8.6/tzdata/Atlantic/Faroe +0 -245
  2363. package/tcl/tcl8.6/tzdata/Atlantic/Jan_Mayen +0 -5
  2364. package/tcl/tcl8.6/tzdata/Atlantic/Madeira +0 -348
  2365. package/tcl/tcl8.6/tzdata/Atlantic/Reykjavik +0 -73
  2366. package/tcl/tcl8.6/tzdata/Atlantic/South_Georgia +0 -6
  2367. package/tcl/tcl8.6/tzdata/Atlantic/St_Helena +0 -5
  2368. package/tcl/tcl8.6/tzdata/Atlantic/Stanley +0 -75
  2369. package/tcl/tcl8.6/tzdata/Australia/ACT +0 -5
  2370. package/tcl/tcl8.6/tzdata/Australia/Adelaide +0 -273
  2371. package/tcl/tcl8.6/tzdata/Australia/Brisbane +0 -23
  2372. package/tcl/tcl8.6/tzdata/Australia/Broken_Hill +0 -275
  2373. package/tcl/tcl8.6/tzdata/Australia/Canberra +0 -5
  2374. package/tcl/tcl8.6/tzdata/Australia/Currie +0 -5
  2375. package/tcl/tcl8.6/tzdata/Australia/Darwin +0 -15
  2376. package/tcl/tcl8.6/tzdata/Australia/Eucla +0 -25
  2377. package/tcl/tcl8.6/tzdata/Australia/Hobart +0 -285
  2378. package/tcl/tcl8.6/tzdata/Australia/LHI +0 -5
  2379. package/tcl/tcl8.6/tzdata/Australia/Lindeman +0 -28
  2380. package/tcl/tcl8.6/tzdata/Australia/Lord_Howe +0 -245
  2381. package/tcl/tcl8.6/tzdata/Australia/Melbourne +0 -272
  2382. package/tcl/tcl8.6/tzdata/Australia/NSW +0 -5
  2383. package/tcl/tcl8.6/tzdata/Australia/North +0 -5
  2384. package/tcl/tcl8.6/tzdata/Australia/Perth +0 -25
  2385. package/tcl/tcl8.6/tzdata/Australia/Queensland +0 -5
  2386. package/tcl/tcl8.6/tzdata/Australia/South +0 -5
  2387. package/tcl/tcl8.6/tzdata/Australia/Sydney +0 -272
  2388. package/tcl/tcl8.6/tzdata/Australia/Tasmania +0 -5
  2389. package/tcl/tcl8.6/tzdata/Australia/Victoria +0 -5
  2390. package/tcl/tcl8.6/tzdata/Australia/West +0 -5
  2391. package/tcl/tcl8.6/tzdata/Australia/Yancowinna +0 -5
  2392. package/tcl/tcl8.6/tzdata/Brazil/Acre +0 -5
  2393. package/tcl/tcl8.6/tzdata/Brazil/DeNoronha +0 -5
  2394. package/tcl/tcl8.6/tzdata/Brazil/East +0 -5
  2395. package/tcl/tcl8.6/tzdata/Brazil/West +0 -5
  2396. package/tcl/tcl8.6/tzdata/CET +0 -265
  2397. package/tcl/tcl8.6/tzdata/CST6CDT +0 -278
  2398. package/tcl/tcl8.6/tzdata/Canada/Atlantic +0 -5
  2399. package/tcl/tcl8.6/tzdata/Canada/Central +0 -5
  2400. package/tcl/tcl8.6/tzdata/Canada/East-Saskatchewan +0 -5
  2401. package/tcl/tcl8.6/tzdata/Canada/Eastern +0 -5
  2402. package/tcl/tcl8.6/tzdata/Canada/Mountain +0 -5
  2403. package/tcl/tcl8.6/tzdata/Canada/Newfoundland +0 -5
  2404. package/tcl/tcl8.6/tzdata/Canada/Pacific +0 -5
  2405. package/tcl/tcl8.6/tzdata/Canada/Saskatchewan +0 -5
  2406. package/tcl/tcl8.6/tzdata/Canada/Yukon +0 -5
  2407. package/tcl/tcl8.6/tzdata/Chile/Continental +0 -5
  2408. package/tcl/tcl8.6/tzdata/Chile/EasterIsland +0 -5
  2409. package/tcl/tcl8.6/tzdata/Cuba +0 -5
  2410. package/tcl/tcl8.6/tzdata/EET +0 -251
  2411. package/tcl/tcl8.6/tzdata/EST +0 -5
  2412. package/tcl/tcl8.6/tzdata/EST5EDT +0 -278
  2413. package/tcl/tcl8.6/tzdata/Egypt +0 -5
  2414. package/tcl/tcl8.6/tzdata/Eire +0 -5
  2415. package/tcl/tcl8.6/tzdata/Etc/GMT +0 -5
  2416. package/tcl/tcl8.6/tzdata/Etc/GMT+0 +0 -5
  2417. package/tcl/tcl8.6/tzdata/Etc/GMT+1 +0 -5
  2418. package/tcl/tcl8.6/tzdata/Etc/GMT+10 +0 -5
  2419. package/tcl/tcl8.6/tzdata/Etc/GMT+11 +0 -5
  2420. package/tcl/tcl8.6/tzdata/Etc/GMT+12 +0 -5
  2421. package/tcl/tcl8.6/tzdata/Etc/GMT+2 +0 -5
  2422. package/tcl/tcl8.6/tzdata/Etc/GMT+3 +0 -5
  2423. package/tcl/tcl8.6/tzdata/Etc/GMT+4 +0 -5
  2424. package/tcl/tcl8.6/tzdata/Etc/GMT+5 +0 -5
  2425. package/tcl/tcl8.6/tzdata/Etc/GMT+6 +0 -5
  2426. package/tcl/tcl8.6/tzdata/Etc/GMT+7 +0 -5
  2427. package/tcl/tcl8.6/tzdata/Etc/GMT+8 +0 -5
  2428. package/tcl/tcl8.6/tzdata/Etc/GMT+9 +0 -5
  2429. package/tcl/tcl8.6/tzdata/Etc/GMT-0 +0 -5
  2430. package/tcl/tcl8.6/tzdata/Etc/GMT-1 +0 -5
  2431. package/tcl/tcl8.6/tzdata/Etc/GMT-10 +0 -5
  2432. package/tcl/tcl8.6/tzdata/Etc/GMT-11 +0 -5
  2433. package/tcl/tcl8.6/tzdata/Etc/GMT-12 +0 -5
  2434. package/tcl/tcl8.6/tzdata/Etc/GMT-13 +0 -5
  2435. package/tcl/tcl8.6/tzdata/Etc/GMT-14 +0 -5
  2436. package/tcl/tcl8.6/tzdata/Etc/GMT-2 +0 -5
  2437. package/tcl/tcl8.6/tzdata/Etc/GMT-3 +0 -5
  2438. package/tcl/tcl8.6/tzdata/Etc/GMT-4 +0 -5
  2439. package/tcl/tcl8.6/tzdata/Etc/GMT-5 +0 -5
  2440. package/tcl/tcl8.6/tzdata/Etc/GMT-6 +0 -5
  2441. package/tcl/tcl8.6/tzdata/Etc/GMT-7 +0 -5
  2442. package/tcl/tcl8.6/tzdata/Etc/GMT-8 +0 -5
  2443. package/tcl/tcl8.6/tzdata/Etc/GMT-9 +0 -5
  2444. package/tcl/tcl8.6/tzdata/Etc/GMT0 +0 -5
  2445. package/tcl/tcl8.6/tzdata/Etc/Greenwich +0 -5
  2446. package/tcl/tcl8.6/tzdata/Etc/UCT +0 -5
  2447. package/tcl/tcl8.6/tzdata/Etc/UTC +0 -5
  2448. package/tcl/tcl8.6/tzdata/Etc/Universal +0 -5
  2449. package/tcl/tcl8.6/tzdata/Etc/Zulu +0 -5
  2450. package/tcl/tcl8.6/tzdata/Europe/Amsterdam +0 -310
  2451. package/tcl/tcl8.6/tzdata/Europe/Andorra +0 -237
  2452. package/tcl/tcl8.6/tzdata/Europe/Astrakhan +0 -71
  2453. package/tcl/tcl8.6/tzdata/Europe/Athens +0 -268
  2454. package/tcl/tcl8.6/tzdata/Europe/Belfast +0 -5
  2455. package/tcl/tcl8.6/tzdata/Europe/Belgrade +0 -250
  2456. package/tcl/tcl8.6/tzdata/Europe/Berlin +0 -274
  2457. package/tcl/tcl8.6/tzdata/Europe/Bratislava +0 -5
  2458. package/tcl/tcl8.6/tzdata/Europe/Brussels +0 -316
  2459. package/tcl/tcl8.6/tzdata/Europe/Bucharest +0 -268
  2460. package/tcl/tcl8.6/tzdata/Europe/Budapest +0 -283
  2461. package/tcl/tcl8.6/tzdata/Europe/Busingen +0 -5
  2462. package/tcl/tcl8.6/tzdata/Europe/Chisinau +0 -272
  2463. package/tcl/tcl8.6/tzdata/Europe/Copenhagen +0 -264
  2464. package/tcl/tcl8.6/tzdata/Europe/Dublin +0 -358
  2465. package/tcl/tcl8.6/tzdata/Europe/Gibraltar +0 -328
  2466. package/tcl/tcl8.6/tzdata/Europe/Guernsey +0 -5
  2467. package/tcl/tcl8.6/tzdata/Europe/Helsinki +0 -248
  2468. package/tcl/tcl8.6/tzdata/Europe/Isle_of_Man +0 -5
  2469. package/tcl/tcl8.6/tzdata/Europe/Istanbul +0 -125
  2470. package/tcl/tcl8.6/tzdata/Europe/Jersey +0 -5
  2471. package/tcl/tcl8.6/tzdata/Europe/Kaliningrad +0 -86
  2472. package/tcl/tcl8.6/tzdata/Europe/Kiev +0 -251
  2473. package/tcl/tcl8.6/tzdata/Europe/Kirov +0 -70
  2474. package/tcl/tcl8.6/tzdata/Europe/Lisbon +0 -353
  2475. package/tcl/tcl8.6/tzdata/Europe/Ljubljana +0 -5
  2476. package/tcl/tcl8.6/tzdata/Europe/London +0 -372
  2477. package/tcl/tcl8.6/tzdata/Europe/Luxembourg +0 -313
  2478. package/tcl/tcl8.6/tzdata/Europe/Madrid +0 -292
  2479. package/tcl/tcl8.6/tzdata/Europe/Malta +0 -299
  2480. package/tcl/tcl8.6/tzdata/Europe/Mariehamn +0 -5
  2481. package/tcl/tcl8.6/tzdata/Europe/Minsk +0 -75
  2482. package/tcl/tcl8.6/tzdata/Europe/Monaco +0 -315
  2483. package/tcl/tcl8.6/tzdata/Europe/Moscow +0 -83
  2484. package/tcl/tcl8.6/tzdata/Europe/Nicosia +0 -5
  2485. package/tcl/tcl8.6/tzdata/Europe/Oslo +0 -271
  2486. package/tcl/tcl8.6/tzdata/Europe/Paris +0 -314
  2487. package/tcl/tcl8.6/tzdata/Europe/Podgorica +0 -5
  2488. package/tcl/tcl8.6/tzdata/Europe/Prague +0 -275
  2489. package/tcl/tcl8.6/tzdata/Europe/Riga +0 -258
  2490. package/tcl/tcl8.6/tzdata/Europe/Rome +0 -302
  2491. package/tcl/tcl8.6/tzdata/Europe/Samara +0 -73
  2492. package/tcl/tcl8.6/tzdata/Europe/San_Marino +0 -5
  2493. package/tcl/tcl8.6/tzdata/Europe/Sarajevo +0 -5
  2494. package/tcl/tcl8.6/tzdata/Europe/Saratov +0 -71
  2495. package/tcl/tcl8.6/tzdata/Europe/Simferopol +0 -82
  2496. package/tcl/tcl8.6/tzdata/Europe/Skopje +0 -5
  2497. package/tcl/tcl8.6/tzdata/Europe/Sofia +0 -258
  2498. package/tcl/tcl8.6/tzdata/Europe/Stockholm +0 -250
  2499. package/tcl/tcl8.6/tzdata/Europe/Tallinn +0 -254
  2500. package/tcl/tcl8.6/tzdata/Europe/Tirane +0 -263
  2501. package/tcl/tcl8.6/tzdata/Europe/Tiraspol +0 -5
  2502. package/tcl/tcl8.6/tzdata/Europe/Ulyanovsk +0 -73
  2503. package/tcl/tcl8.6/tzdata/Europe/Uzhgorod +0 -254
  2504. package/tcl/tcl8.6/tzdata/Europe/Vaduz +0 -5
  2505. package/tcl/tcl8.6/tzdata/Europe/Vatican +0 -5
  2506. package/tcl/tcl8.6/tzdata/Europe/Vienna +0 -271
  2507. package/tcl/tcl8.6/tzdata/Europe/Vilnius +0 -252
  2508. package/tcl/tcl8.6/tzdata/Europe/Volgograd +0 -73
  2509. package/tcl/tcl8.6/tzdata/Europe/Warsaw +0 -296
  2510. package/tcl/tcl8.6/tzdata/Europe/Zagreb +0 -5
  2511. package/tcl/tcl8.6/tzdata/Europe/Zaporozhye +0 -252
  2512. package/tcl/tcl8.6/tzdata/Europe/Zurich +0 -250
  2513. package/tcl/tcl8.6/tzdata/GB +0 -5
  2514. package/tcl/tcl8.6/tzdata/GB-Eire +0 -5
  2515. package/tcl/tcl8.6/tzdata/GMT +0 -5
  2516. package/tcl/tcl8.6/tzdata/GMT+0 +0 -5
  2517. package/tcl/tcl8.6/tzdata/GMT-0 +0 -5
  2518. package/tcl/tcl8.6/tzdata/GMT0 +0 -5
  2519. package/tcl/tcl8.6/tzdata/Greenwich +0 -5
  2520. package/tcl/tcl8.6/tzdata/HST +0 -5
  2521. package/tcl/tcl8.6/tzdata/Hongkong +0 -5
  2522. package/tcl/tcl8.6/tzdata/Iceland +0 -5
  2523. package/tcl/tcl8.6/tzdata/Indian/Antananarivo +0 -5
  2524. package/tcl/tcl8.6/tzdata/Indian/Chagos +0 -7
  2525. package/tcl/tcl8.6/tzdata/Indian/Christmas +0 -6
  2526. package/tcl/tcl8.6/tzdata/Indian/Cocos +0 -6
  2527. package/tcl/tcl8.6/tzdata/Indian/Comoro +0 -5
  2528. package/tcl/tcl8.6/tzdata/Indian/Kerguelen +0 -6
  2529. package/tcl/tcl8.6/tzdata/Indian/Mahe +0 -6
  2530. package/tcl/tcl8.6/tzdata/Indian/Maldives +0 -7
  2531. package/tcl/tcl8.6/tzdata/Indian/Mauritius +0 -10
  2532. package/tcl/tcl8.6/tzdata/Indian/Mayotte +0 -5
  2533. package/tcl/tcl8.6/tzdata/Indian/Reunion +0 -6
  2534. package/tcl/tcl8.6/tzdata/Iran +0 -5
  2535. package/tcl/tcl8.6/tzdata/Israel +0 -5
  2536. package/tcl/tcl8.6/tzdata/Jamaica +0 -5
  2537. package/tcl/tcl8.6/tzdata/Japan +0 -5
  2538. package/tcl/tcl8.6/tzdata/Kwajalein +0 -5
  2539. package/tcl/tcl8.6/tzdata/Libya +0 -5
  2540. package/tcl/tcl8.6/tzdata/MET +0 -265
  2541. package/tcl/tcl8.6/tzdata/MST +0 -5
  2542. package/tcl/tcl8.6/tzdata/MST7MDT +0 -278
  2543. package/tcl/tcl8.6/tzdata/Mexico/BajaNorte +0 -5
  2544. package/tcl/tcl8.6/tzdata/Mexico/BajaSur +0 -5
  2545. package/tcl/tcl8.6/tzdata/Mexico/General +0 -5
  2546. package/tcl/tcl8.6/tzdata/NZ +0 -5
  2547. package/tcl/tcl8.6/tzdata/NZ-CHAT +0 -5
  2548. package/tcl/tcl8.6/tzdata/Navajo +0 -5
  2549. package/tcl/tcl8.6/tzdata/PRC +0 -5
  2550. package/tcl/tcl8.6/tzdata/PST8PDT +0 -278
  2551. package/tcl/tcl8.6/tzdata/Pacific/Apia +0 -31
  2552. package/tcl/tcl8.6/tzdata/Pacific/Auckland +0 -285
  2553. package/tcl/tcl8.6/tzdata/Pacific/Bougainville +0 -10
  2554. package/tcl/tcl8.6/tzdata/Pacific/Chatham +0 -258
  2555. package/tcl/tcl8.6/tzdata/Pacific/Chuuk +0 -11
  2556. package/tcl/tcl8.6/tzdata/Pacific/Easter +0 -268
  2557. package/tcl/tcl8.6/tzdata/Pacific/Efate +0 -28
  2558. package/tcl/tcl8.6/tzdata/Pacific/Enderbury +0 -5
  2559. package/tcl/tcl8.6/tzdata/Pacific/Fakaofo +0 -7
  2560. package/tcl/tcl8.6/tzdata/Pacific/Fiji +0 -189
  2561. package/tcl/tcl8.6/tzdata/Pacific/Funafuti +0 -6
  2562. package/tcl/tcl8.6/tzdata/Pacific/Galapagos +0 -9
  2563. package/tcl/tcl8.6/tzdata/Pacific/Gambier +0 -6
  2564. package/tcl/tcl8.6/tzdata/Pacific/Guadalcanal +0 -6
  2565. package/tcl/tcl8.6/tzdata/Pacific/Guam +0 -26
  2566. package/tcl/tcl8.6/tzdata/Pacific/Honolulu +0 -12
  2567. package/tcl/tcl8.6/tzdata/Pacific/Johnston +0 -5
  2568. package/tcl/tcl8.6/tzdata/Pacific/Kanton +0 -8
  2569. package/tcl/tcl8.6/tzdata/Pacific/Kiritimati +0 -8
  2570. package/tcl/tcl8.6/tzdata/Pacific/Kosrae +0 -14
  2571. package/tcl/tcl8.6/tzdata/Pacific/Kwajalein +0 -11
  2572. package/tcl/tcl8.6/tzdata/Pacific/Majuro +0 -12
  2573. package/tcl/tcl8.6/tzdata/Pacific/Marquesas +0 -6
  2574. package/tcl/tcl8.6/tzdata/Pacific/Midway +0 -5
  2575. package/tcl/tcl8.6/tzdata/Pacific/Nauru +0 -9
  2576. package/tcl/tcl8.6/tzdata/Pacific/Niue +0 -7
  2577. package/tcl/tcl8.6/tzdata/Pacific/Norfolk +0 -172
  2578. package/tcl/tcl8.6/tzdata/Pacific/Noumea +0 -12
  2579. package/tcl/tcl8.6/tzdata/Pacific/Pago_Pago +0 -7
  2580. package/tcl/tcl8.6/tzdata/Pacific/Palau +0 -7
  2581. package/tcl/tcl8.6/tzdata/Pacific/Pitcairn +0 -7
  2582. package/tcl/tcl8.6/tzdata/Pacific/Pohnpei +0 -12
  2583. package/tcl/tcl8.6/tzdata/Pacific/Ponape +0 -5
  2584. package/tcl/tcl8.6/tzdata/Pacific/Port_Moresby +0 -7
  2585. package/tcl/tcl8.6/tzdata/Pacific/Rarotonga +0 -33
  2586. package/tcl/tcl8.6/tzdata/Pacific/Saipan +0 -5
  2587. package/tcl/tcl8.6/tzdata/Pacific/Samoa +0 -5
  2588. package/tcl/tcl8.6/tzdata/Pacific/Tahiti +0 -6
  2589. package/tcl/tcl8.6/tzdata/Pacific/Tarawa +0 -6
  2590. package/tcl/tcl8.6/tzdata/Pacific/Tongatapu +0 -16
  2591. package/tcl/tcl8.6/tzdata/Pacific/Truk +0 -5
  2592. package/tcl/tcl8.6/tzdata/Pacific/Wake +0 -6
  2593. package/tcl/tcl8.6/tzdata/Pacific/Wallis +0 -6
  2594. package/tcl/tcl8.6/tzdata/Pacific/Yap +0 -5
  2595. package/tcl/tcl8.6/tzdata/Poland +0 -5
  2596. package/tcl/tcl8.6/tzdata/Portugal +0 -5
  2597. package/tcl/tcl8.6/tzdata/ROC +0 -5
  2598. package/tcl/tcl8.6/tzdata/ROK +0 -5
  2599. package/tcl/tcl8.6/tzdata/Singapore +0 -5
  2600. package/tcl/tcl8.6/tzdata/SystemV/AST4 +0 -5
  2601. package/tcl/tcl8.6/tzdata/SystemV/AST4ADT +0 -5
  2602. package/tcl/tcl8.6/tzdata/SystemV/CST6 +0 -5
  2603. package/tcl/tcl8.6/tzdata/SystemV/CST6CDT +0 -5
  2604. package/tcl/tcl8.6/tzdata/SystemV/EST5 +0 -5
  2605. package/tcl/tcl8.6/tzdata/SystemV/EST5EDT +0 -5
  2606. package/tcl/tcl8.6/tzdata/SystemV/HST10 +0 -5
  2607. package/tcl/tcl8.6/tzdata/SystemV/MST7 +0 -5
  2608. package/tcl/tcl8.6/tzdata/SystemV/MST7MDT +0 -5
  2609. package/tcl/tcl8.6/tzdata/SystemV/PST8 +0 -5
  2610. package/tcl/tcl8.6/tzdata/SystemV/PST8PDT +0 -5
  2611. package/tcl/tcl8.6/tzdata/SystemV/YST9 +0 -5
  2612. package/tcl/tcl8.6/tzdata/SystemV/YST9YDT +0 -5
  2613. package/tcl/tcl8.6/tzdata/Turkey +0 -5
  2614. package/tcl/tcl8.6/tzdata/UCT +0 -5
  2615. package/tcl/tcl8.6/tzdata/US/Alaska +0 -5
  2616. package/tcl/tcl8.6/tzdata/US/Aleutian +0 -5
  2617. package/tcl/tcl8.6/tzdata/US/Arizona +0 -5
  2618. package/tcl/tcl8.6/tzdata/US/Central +0 -5
  2619. package/tcl/tcl8.6/tzdata/US/East-Indiana +0 -5
  2620. package/tcl/tcl8.6/tzdata/US/Eastern +0 -5
  2621. package/tcl/tcl8.6/tzdata/US/Hawaii +0 -5
  2622. package/tcl/tcl8.6/tzdata/US/Indiana-Starke +0 -5
  2623. package/tcl/tcl8.6/tzdata/US/Michigan +0 -5
  2624. package/tcl/tcl8.6/tzdata/US/Mountain +0 -5
  2625. package/tcl/tcl8.6/tzdata/US/Pacific +0 -5
  2626. package/tcl/tcl8.6/tzdata/US/Pacific-New +0 -5
  2627. package/tcl/tcl8.6/tzdata/US/Samoa +0 -5
  2628. package/tcl/tcl8.6/tzdata/UTC +0 -5
  2629. package/tcl/tcl8.6/tzdata/Universal +0 -5
  2630. package/tcl/tcl8.6/tzdata/W-SU +0 -5
  2631. package/tcl/tcl8.6/tzdata/WET +0 -251
  2632. package/tcl/tcl8.6/tzdata/Zulu +0 -5
  2633. package/tcl/tcl8.6/word.tcl +0 -154
  2634. package/tcl/tcl86t.lib +0 -0
  2635. package/tcl/tclConfig.sh +0 -181
  2636. package/tcl/tclooConfig.sh +0 -19
  2637. package/tcl/tclstub86.lib +0 -0
  2638. package/tcl/tix8.4.3/Balloon.tcl +0 -585
  2639. package/tcl/tix8.4.3/BtnBox.tcl +0 -120
  2640. package/tcl/tix8.4.3/CObjView.tcl +0 -360
  2641. package/tcl/tix8.4.3/ChkList.tcl +0 -239
  2642. package/tcl/tix8.4.3/ComboBox.tcl +0 -1558
  2643. package/tcl/tix8.4.3/Compat.tcl +0 -33
  2644. package/tcl/tix8.4.3/Console.tcl +0 -612
  2645. package/tcl/tix8.4.3/Control.tcl +0 -482
  2646. package/tcl/tix8.4.3/DefSchm.tcl +0 -103
  2647. package/tcl/tix8.4.3/DialogS.tcl +0 -175
  2648. package/tcl/tix8.4.3/DirBox.tcl +0 -207
  2649. package/tcl/tix8.4.3/DirDlg.tcl +0 -95
  2650. package/tcl/tix8.4.3/DirList.tcl +0 -272
  2651. package/tcl/tix8.4.3/DirTree.tcl +0 -350
  2652. package/tcl/tix8.4.3/DragDrop.tcl +0 -166
  2653. package/tcl/tix8.4.3/DtlList.tcl +0 -49
  2654. package/tcl/tix8.4.3/EFileBox.tcl +0 -436
  2655. package/tcl/tix8.4.3/EFileDlg.tcl +0 -65
  2656. package/tcl/tix8.4.3/Event.tcl +0 -217
  2657. package/tcl/tix8.4.3/FileBox.tcl +0 -568
  2658. package/tcl/tix8.4.3/FileCbx.tcl +0 -108
  2659. package/tcl/tix8.4.3/FileDlg.tcl +0 -75
  2660. package/tcl/tix8.4.3/FileEnt.tcl +0 -270
  2661. package/tcl/tix8.4.3/FloatEnt.tcl +0 -132
  2662. package/tcl/tix8.4.3/Grid.tcl +0 -1122
  2663. package/tcl/tix8.4.3/HList.tcl +0 -917
  2664. package/tcl/tix8.4.3/HListDD.tcl +0 -204
  2665. package/tcl/tix8.4.3/IconView.tcl +0 -272
  2666. package/tcl/tix8.4.3/Init.tcl +0 -232
  2667. package/tcl/tix8.4.3/LabEntry.tcl +0 -86
  2668. package/tcl/tix8.4.3/LabFrame.tcl +0 -49
  2669. package/tcl/tix8.4.3/LabWidg.tcl +0 -157
  2670. package/tcl/tix8.4.3/ListNBk.tcl +0 -153
  2671. package/tcl/tix8.4.3/Makefile +0 -5
  2672. package/tcl/tix8.4.3/Meter.tcl +0 -137
  2673. package/tcl/tix8.4.3/MultView.tcl +0 -157
  2674. package/tcl/tix8.4.3/NoteBook.tcl +0 -247
  2675. package/tcl/tix8.4.3/OldUtil.tcl +0 -108
  2676. package/tcl/tix8.4.3/OptMenu.tcl +0 -394
  2677. package/tcl/tix8.4.3/PanedWin.tcl +0 -1215
  2678. package/tcl/tix8.4.3/PopMenu.tcl +0 -239
  2679. package/tcl/tix8.4.3/Primitiv.tcl +0 -428
  2680. package/tcl/tix8.4.3/ResizeH.tcl +0 -505
  2681. package/tcl/tix8.4.3/SGrid.tcl +0 -243
  2682. package/tcl/tix8.4.3/SHList.tcl +0 -140
  2683. package/tcl/tix8.4.3/SListBox.tcl +0 -295
  2684. package/tcl/tix8.4.3/STList.tcl +0 -93
  2685. package/tcl/tix8.4.3/SText.tcl +0 -134
  2686. package/tcl/tix8.4.3/SWidget.tcl +0 -465
  2687. package/tcl/tix8.4.3/SWindow.tcl +0 -274
  2688. package/tcl/tix8.4.3/Select.tcl +0 -300
  2689. package/tcl/tix8.4.3/Shell.tcl +0 -47
  2690. package/tcl/tix8.4.3/SimpDlg.tcl +0 -47
  2691. package/tcl/tix8.4.3/StackWin.tcl +0 -84
  2692. package/tcl/tix8.4.3/StatBar.tcl +0 -56
  2693. package/tcl/tix8.4.3/StdBBox.tcl +0 -71
  2694. package/tcl/tix8.4.3/StdShell.tcl +0 -49
  2695. package/tcl/tix8.4.3/TList.tcl +0 -953
  2696. package/tcl/tix8.4.3/Tix.tcl +0 -398
  2697. package/tcl/tix8.4.3/Tree.tcl +0 -211
  2698. package/tcl/tix8.4.3/Utils.tcl +0 -442
  2699. package/tcl/tix8.4.3/VResize.tcl +0 -211
  2700. package/tcl/tix8.4.3/VStack.tcl +0 -430
  2701. package/tcl/tix8.4.3/VTree.tcl +0 -195
  2702. package/tcl/tix8.4.3/Variable.tcl +0 -101
  2703. package/tcl/tix8.4.3/WInfo.tcl +0 -40
  2704. package/tcl/tix8.4.3/bitmaps/act_fold.gif +0 -0
  2705. package/tcl/tix8.4.3/bitmaps/act_fold.xbm +0 -5
  2706. package/tcl/tix8.4.3/bitmaps/act_fold.xpm +0 -22
  2707. package/tcl/tix8.4.3/bitmaps/balarrow.xbm +0 -4
  2708. package/tcl/tix8.4.3/bitmaps/cbxarrow.xbm +0 -6
  2709. package/tcl/tix8.4.3/bitmaps/ck_def.xbm +0 -6
  2710. package/tcl/tix8.4.3/bitmaps/ck_off.xbm +0 -6
  2711. package/tcl/tix8.4.3/bitmaps/ck_on.xbm +0 -6
  2712. package/tcl/tix8.4.3/bitmaps/cross.xbm +0 -6
  2713. package/tcl/tix8.4.3/bitmaps/decr.xbm +0 -4
  2714. package/tcl/tix8.4.3/bitmaps/drop.xbm +0 -8
  2715. package/tcl/tix8.4.3/bitmaps/file.gif +0 -0
  2716. package/tcl/tix8.4.3/bitmaps/file.xbm +0 -5
  2717. package/tcl/tix8.4.3/bitmaps/file.xpm +0 -18
  2718. package/tcl/tix8.4.3/bitmaps/folder.gif +0 -0
  2719. package/tcl/tix8.4.3/bitmaps/folder.xbm +0 -5
  2720. package/tcl/tix8.4.3/bitmaps/folder.xpm +0 -21
  2721. package/tcl/tix8.4.3/bitmaps/harddisk.xbm +0 -14
  2722. package/tcl/tix8.4.3/bitmaps/hourglas.mask +0 -16
  2723. package/tcl/tix8.4.3/bitmaps/hourglas.xbm +0 -16
  2724. package/tcl/tix8.4.3/bitmaps/incr.xbm +0 -4
  2725. package/tcl/tix8.4.3/bitmaps/info.gif +0 -0
  2726. package/tcl/tix8.4.3/bitmaps/info.xpm +0 -38
  2727. package/tcl/tix8.4.3/bitmaps/maximize.xbm +0 -6
  2728. package/tcl/tix8.4.3/bitmaps/minimize.xbm +0 -6
  2729. package/tcl/tix8.4.3/bitmaps/minus.gif +0 -0
  2730. package/tcl/tix8.4.3/bitmaps/minus.xbm +0 -5
  2731. package/tcl/tix8.4.3/bitmaps/minus.xpm +0 -14
  2732. package/tcl/tix8.4.3/bitmaps/minusarm.gif +0 -0
  2733. package/tcl/tix8.4.3/bitmaps/minusarm.xbm +0 -5
  2734. package/tcl/tix8.4.3/bitmaps/minusarm.xpm +0 -15
  2735. package/tcl/tix8.4.3/bitmaps/mktransgif.tcl +0 -14
  2736. package/tcl/tix8.4.3/bitmaps/network.xbm +0 -14
  2737. package/tcl/tix8.4.3/bitmaps/no_entry.gif +0 -0
  2738. package/tcl/tix8.4.3/bitmaps/no_entry.xpm +0 -39
  2739. package/tcl/tix8.4.3/bitmaps/openfile.xbm +0 -5
  2740. package/tcl/tix8.4.3/bitmaps/openfold.gif +0 -0
  2741. package/tcl/tix8.4.3/bitmaps/openfold.xbm +0 -5
  2742. package/tcl/tix8.4.3/bitmaps/openfold.xpm +0 -21
  2743. package/tcl/tix8.4.3/bitmaps/plus.gif +0 -0
  2744. package/tcl/tix8.4.3/bitmaps/plus.xbm +0 -5
  2745. package/tcl/tix8.4.3/bitmaps/plus.xpm +0 -14
  2746. package/tcl/tix8.4.3/bitmaps/plusarm.gif +0 -0
  2747. package/tcl/tix8.4.3/bitmaps/plusarm.xbm +0 -5
  2748. package/tcl/tix8.4.3/bitmaps/plusarm.xpm +0 -15
  2749. package/tcl/tix8.4.3/bitmaps/resize1.xbm +0 -8
  2750. package/tcl/tix8.4.3/bitmaps/resize2.xbm +0 -8
  2751. package/tcl/tix8.4.3/bitmaps/restore.xbm +0 -6
  2752. package/tcl/tix8.4.3/bitmaps/srcfile.gif +0 -0
  2753. package/tcl/tix8.4.3/bitmaps/srcfile.xbm +0 -5
  2754. package/tcl/tix8.4.3/bitmaps/srcfile.xpm +0 -18
  2755. package/tcl/tix8.4.3/bitmaps/system.xbm +0 -6
  2756. package/tcl/tix8.4.3/bitmaps/textfile.gif +0 -0
  2757. package/tcl/tix8.4.3/bitmaps/textfile.xbm +0 -5
  2758. package/tcl/tix8.4.3/bitmaps/textfile.xpm +0 -18
  2759. package/tcl/tix8.4.3/bitmaps/tick.xbm +0 -6
  2760. package/tcl/tix8.4.3/bitmaps/warning.gif +0 -0
  2761. package/tcl/tix8.4.3/bitmaps/warning.xpm +0 -38
  2762. package/tcl/tix8.4.3/demos/MkChoose.tcl +0 -280
  2763. package/tcl/tix8.4.3/demos/MkDirLis.tcl +0 -69
  2764. package/tcl/tix8.4.3/demos/MkSample.tcl +0 -270
  2765. package/tcl/tix8.4.3/demos/MkScroll.tcl +0 -160
  2766. package/tcl/tix8.4.3/demos/bitmaps/about.xpm +0 -50
  2767. package/tcl/tix8.4.3/demos/bitmaps/bold.xbm +0 -6
  2768. package/tcl/tix8.4.3/demos/bitmaps/capital.xbm +0 -6
  2769. package/tcl/tix8.4.3/demos/bitmaps/centerj.xbm +0 -6
  2770. package/tcl/tix8.4.3/demos/bitmaps/code.xpm +0 -22
  2771. package/tcl/tix8.4.3/demos/bitmaps/combobox.xbm +0 -14
  2772. package/tcl/tix8.4.3/demos/bitmaps/combobox.xpm +0 -49
  2773. package/tcl/tix8.4.3/demos/bitmaps/drivea.xbm +0 -14
  2774. package/tcl/tix8.4.3/demos/bitmaps/drivea.xpm +0 -43
  2775. package/tcl/tix8.4.3/demos/bitmaps/exit.xpm +0 -48
  2776. package/tcl/tix8.4.3/demos/bitmaps/filebox.xbm +0 -14
  2777. package/tcl/tix8.4.3/demos/bitmaps/filebox.xpm +0 -49
  2778. package/tcl/tix8.4.3/demos/bitmaps/harddisk.xbm +0 -14
  2779. package/tcl/tix8.4.3/demos/bitmaps/harddisk.xpm +0 -43
  2780. package/tcl/tix8.4.3/demos/bitmaps/italic.xbm +0 -6
  2781. package/tcl/tix8.4.3/demos/bitmaps/justify.xbm +0 -6
  2782. package/tcl/tix8.4.3/demos/bitmaps/leftj.xbm +0 -6
  2783. package/tcl/tix8.4.3/demos/bitmaps/netw.xbm +0 -14
  2784. package/tcl/tix8.4.3/demos/bitmaps/netw.xpm +0 -45
  2785. package/tcl/tix8.4.3/demos/bitmaps/network.xbm +0 -14
  2786. package/tcl/tix8.4.3/demos/bitmaps/network.xpm +0 -45
  2787. package/tcl/tix8.4.3/demos/bitmaps/optmenu.xpm +0 -48
  2788. package/tcl/tix8.4.3/demos/bitmaps/rightj.xbm +0 -6
  2789. package/tcl/tix8.4.3/demos/bitmaps/select.xpm +0 -52
  2790. package/tcl/tix8.4.3/demos/bitmaps/tix.gif +0 -0
  2791. package/tcl/tix8.4.3/demos/bitmaps/underlin.xbm +0 -6
  2792. package/tcl/tix8.4.3/demos/samples/AllSampl.tcl +0 -201
  2793. package/tcl/tix8.4.3/demos/samples/ArrowBtn.tcl +0 -187
  2794. package/tcl/tix8.4.3/demos/samples/Balloon.tcl +0 -48
  2795. package/tcl/tix8.4.3/demos/samples/BtnBox.tcl +0 -57
  2796. package/tcl/tix8.4.3/demos/samples/CObjView.tcl +0 -80
  2797. package/tcl/tix8.4.3/demos/samples/ChkList.tcl +0 -179
  2798. package/tcl/tix8.4.3/demos/samples/CmpImg.tcl +0 -64
  2799. package/tcl/tix8.4.3/demos/samples/CmpImg1.tcl +0 -182
  2800. package/tcl/tix8.4.3/demos/samples/CmpImg2.tcl +0 -136
  2801. package/tcl/tix8.4.3/demos/samples/CmpImg3.tcl +0 -90
  2802. package/tcl/tix8.4.3/demos/samples/CmpImg4.tcl +0 -125
  2803. package/tcl/tix8.4.3/demos/samples/ComboBox.tcl +0 -119
  2804. package/tcl/tix8.4.3/demos/samples/Control.tcl +0 -133
  2805. package/tcl/tix8.4.3/demos/samples/DirDlg.tcl +0 -90
  2806. package/tcl/tix8.4.3/demos/samples/DirList.tcl +0 -91
  2807. package/tcl/tix8.4.3/demos/samples/DirTree.tcl +0 -92
  2808. package/tcl/tix8.4.3/demos/samples/DragDrop.tcl +0 -50
  2809. package/tcl/tix8.4.3/demos/samples/DynTree.tcl +0 -149
  2810. package/tcl/tix8.4.3/demos/samples/EFileDlg.tcl +0 -104
  2811. package/tcl/tix8.4.3/demos/samples/EditGrid.tcl +0 -281
  2812. package/tcl/tix8.4.3/demos/samples/FileDlg.tcl +0 -98
  2813. package/tcl/tix8.4.3/demos/samples/FileEnt.tcl +0 -81
  2814. package/tcl/tix8.4.3/demos/samples/HList1.tcl +0 -159
  2815. package/tcl/tix8.4.3/demos/samples/LabEntry.tcl +0 -94
  2816. package/tcl/tix8.4.3/demos/samples/LabFrame.tcl +0 -85
  2817. package/tcl/tix8.4.3/demos/samples/ListNBK.tcl +0 -86
  2818. package/tcl/tix8.4.3/demos/samples/Meter.tcl +0 -77
  2819. package/tcl/tix8.4.3/demos/samples/NoteBook.tcl +0 -102
  2820. package/tcl/tix8.4.3/demos/samples/OptMenu.tcl +0 -103
  2821. package/tcl/tix8.4.3/demos/samples/PanedWin.tcl +0 -112
  2822. package/tcl/tix8.4.3/demos/samples/PopMenu.tcl +0 -73
  2823. package/tcl/tix8.4.3/demos/samples/SGrid0.tcl +0 -135
  2824. package/tcl/tix8.4.3/demos/samples/SGrid1.tcl +0 -215
  2825. package/tcl/tix8.4.3/demos/samples/SHList.tcl +0 -111
  2826. package/tcl/tix8.4.3/demos/samples/SHList2.tcl +0 -159
  2827. package/tcl/tix8.4.3/demos/samples/SListBox.tcl +0 -84
  2828. package/tcl/tix8.4.3/demos/samples/STList1.tcl +0 -57
  2829. package/tcl/tix8.4.3/demos/samples/STList2.tcl +0 -85
  2830. package/tcl/tix8.4.3/demos/samples/STList3.tcl +0 -112
  2831. package/tcl/tix8.4.3/demos/samples/SText.tcl +0 -75
  2832. package/tcl/tix8.4.3/demos/samples/SWindow.tcl +0 -89
  2833. package/tcl/tix8.4.3/demos/samples/Sample.tcl +0 -36
  2834. package/tcl/tix8.4.3/demos/samples/Select.tcl +0 -114
  2835. package/tcl/tix8.4.3/demos/samples/StdBBox.tcl +0 -65
  2836. package/tcl/tix8.4.3/demos/samples/Tree.tcl +0 -91
  2837. package/tcl/tix8.4.3/demos/samples/Xpm.tcl +0 -89
  2838. package/tcl/tix8.4.3/demos/samples/Xpm1.tcl +0 -108
  2839. package/tcl/tix8.4.3/demos/tclIndex +0 -55
  2840. package/tcl/tix8.4.3/demos/tixwidgets.tcl +0 -344
  2841. package/tcl/tix8.4.3/demos/widget +0 -450
  2842. package/tcl/tix8.4.3/fs.tcl +0 -170
  2843. package/tcl/tix8.4.3/pkgIndex.tcl +0 -2
  2844. package/tcl/tix8.4.3/pref/10Point.fs +0 -23
  2845. package/tcl/tix8.4.3/pref/10Point.fsc +0 -44
  2846. package/tcl/tix8.4.3/pref/12Point.fs +0 -23
  2847. package/tcl/tix8.4.3/pref/12Point.fsc +0 -44
  2848. package/tcl/tix8.4.3/pref/14Point.fs +0 -22
  2849. package/tcl/tix8.4.3/pref/14Point.fsc +0 -50
  2850. package/tcl/tix8.4.3/pref/Bisque.cs +0 -35
  2851. package/tcl/tix8.4.3/pref/Bisque.csc +0 -338
  2852. package/tcl/tix8.4.3/pref/Blue.cs +0 -35
  2853. package/tcl/tix8.4.3/pref/Blue.csc +0 -338
  2854. package/tcl/tix8.4.3/pref/Gray.cs +0 -36
  2855. package/tcl/tix8.4.3/pref/Gray.csc +0 -339
  2856. package/tcl/tix8.4.3/pref/Makefile +0 -48
  2857. package/tcl/tix8.4.3/pref/Old12Pt.fs +0 -14
  2858. package/tcl/tix8.4.3/pref/Old14Pt.fs +0 -13
  2859. package/tcl/tix8.4.3/pref/SGIGray.cs +0 -38
  2860. package/tcl/tix8.4.3/pref/SGIGray.csc +0 -339
  2861. package/tcl/tix8.4.3/pref/TK.cs +0 -35
  2862. package/tcl/tix8.4.3/pref/TK.csc +0 -72
  2863. package/tcl/tix8.4.3/pref/TK.fs +0 -16
  2864. package/tcl/tix8.4.3/pref/TK.fsc +0 -19
  2865. package/tcl/tix8.4.3/pref/TixGray.cs +0 -36
  2866. package/tcl/tix8.4.3/pref/TixGray.csc +0 -339
  2867. package/tcl/tix8.4.3/pref/TkWin.cs +0 -68
  2868. package/tcl/tix8.4.3/pref/TkWin.csc +0 -333
  2869. package/tcl/tix8.4.3/pref/TkWin.fs +0 -16
  2870. package/tcl/tix8.4.3/pref/TkWin.fsc +0 -34
  2871. package/tcl/tix8.4.3/pref/WmDefault.cs +0 -45
  2872. package/tcl/tix8.4.3/pref/WmDefault.csc +0 -316
  2873. package/tcl/tix8.4.3/pref/WmDefault.fs +0 -23
  2874. package/tcl/tix8.4.3/pref/WmDefault.fsc +0 -57
  2875. package/tcl/tix8.4.3/pref/WmDefault.py +0 -96
  2876. package/tcl/tix8.4.3/pref/WmDefault.tcl +0 -1053
  2877. package/tcl/tix8.4.3/pref/WmDefault.txt +0 -142
  2878. package/tcl/tix8.4.3/pref/pkgIndex.tcl +0 -9
  2879. package/tcl/tix8.4.3/pref/tixmkpref +0 -381
  2880. package/tcl/tix8.4.3/tix84.dll +0 -0
  2881. package/tcl/tix8.4.3/tix84.lib +0 -0
  2882. package/tcl/tk8.6/bgerror.tcl +0 -272
  2883. package/tcl/tk8.6/button.tcl +0 -782
  2884. package/tcl/tk8.6/choosedir.tcl +0 -308
  2885. package/tcl/tk8.6/clrpick.tcl +0 -695
  2886. package/tcl/tk8.6/comdlg.tcl +0 -322
  2887. package/tcl/tk8.6/console.tcl +0 -1150
  2888. package/tcl/tk8.6/demos/README +0 -44
  2889. package/tcl/tk8.6/demos/anilabel.tcl +0 -160
  2890. package/tcl/tk8.6/demos/aniwave.tcl +0 -104
  2891. package/tcl/tk8.6/demos/arrow.tcl +0 -241
  2892. package/tcl/tk8.6/demos/bind.tcl +0 -78
  2893. package/tcl/tk8.6/demos/bitmap.tcl +0 -52
  2894. package/tcl/tk8.6/demos/browse +0 -66
  2895. package/tcl/tk8.6/demos/button.tcl +0 -47
  2896. package/tcl/tk8.6/demos/check.tcl +0 -71
  2897. package/tcl/tk8.6/demos/clrpick.tcl +0 -54
  2898. package/tcl/tk8.6/demos/colors.tcl +0 -99
  2899. package/tcl/tk8.6/demos/combo.tcl +0 -61
  2900. package/tcl/tk8.6/demos/cscroll.tcl +0 -172
  2901. package/tcl/tk8.6/demos/ctext.tcl +0 -176
  2902. package/tcl/tk8.6/demos/dialog1.tcl +0 -25
  2903. package/tcl/tk8.6/demos/dialog2.tcl +0 -18
  2904. package/tcl/tk8.6/demos/en.msg +0 -97
  2905. package/tcl/tk8.6/demos/entry1.tcl +0 -34
  2906. package/tcl/tk8.6/demos/entry2.tcl +0 -46
  2907. package/tcl/tk8.6/demos/entry3.tcl +0 -185
  2908. package/tcl/tk8.6/demos/filebox.tcl +0 -81
  2909. package/tcl/tk8.6/demos/floor.tcl +0 -1371
  2910. package/tcl/tk8.6/demos/fontchoose.tcl +0 -67
  2911. package/tcl/tk8.6/demos/form.tcl +0 -38
  2912. package/tcl/tk8.6/demos/goldberg.tcl +0 -1833
  2913. package/tcl/tk8.6/demos/hello +0 -22
  2914. package/tcl/tk8.6/demos/hscale.tcl +0 -45
  2915. package/tcl/tk8.6/demos/icon.tcl +0 -51
  2916. package/tcl/tk8.6/demos/image1.tcl +0 -35
  2917. package/tcl/tk8.6/demos/image2.tcl +0 -108
  2918. package/tcl/tk8.6/demos/images/earth.gif +0 -0
  2919. package/tcl/tk8.6/demos/images/earthmenu.png +0 -0
  2920. package/tcl/tk8.6/demos/images/earthris.gif +0 -0
  2921. package/tcl/tk8.6/demos/images/flagdown.xbm +0 -27
  2922. package/tcl/tk8.6/demos/images/flagup.xbm +0 -27
  2923. package/tcl/tk8.6/demos/images/gray25.xbm +0 -6
  2924. package/tcl/tk8.6/demos/images/letters.xbm +0 -27
  2925. package/tcl/tk8.6/demos/images/noletter.xbm +0 -27
  2926. package/tcl/tk8.6/demos/images/ouster.png +0 -0
  2927. package/tcl/tk8.6/demos/images/pattern.xbm +0 -6
  2928. package/tcl/tk8.6/demos/images/tcllogo.gif +0 -0
  2929. package/tcl/tk8.6/demos/images/teapot.ppm +0 -56
  2930. package/tcl/tk8.6/demos/items.tcl +0 -302
  2931. package/tcl/tk8.6/demos/ixset +0 -328
  2932. package/tcl/tk8.6/demos/knightstour.tcl +0 -268
  2933. package/tcl/tk8.6/demos/label.tcl +0 -40
  2934. package/tcl/tk8.6/demos/labelframe.tcl +0 -76
  2935. package/tcl/tk8.6/demos/license.terms +0 -40
  2936. package/tcl/tk8.6/demos/mclist.tcl +0 -119
  2937. package/tcl/tk8.6/demos/menu.tcl +0 -180
  2938. package/tcl/tk8.6/demos/menubu.tcl +0 -90
  2939. package/tcl/tk8.6/demos/msgbox.tcl +0 -62
  2940. package/tcl/tk8.6/demos/nl.msg +0 -125
  2941. package/tcl/tk8.6/demos/paned1.tcl +0 -32
  2942. package/tcl/tk8.6/demos/paned2.tcl +0 -74
  2943. package/tcl/tk8.6/demos/pendulum.tcl +0 -197
  2944. package/tcl/tk8.6/demos/plot.tcl +0 -97
  2945. package/tcl/tk8.6/demos/puzzle.tcl +0 -82
  2946. package/tcl/tk8.6/demos/radio.tcl +0 -66
  2947. package/tcl/tk8.6/demos/rmt +0 -210
  2948. package/tcl/tk8.6/demos/rolodex +0 -204
  2949. package/tcl/tk8.6/demos/ruler.tcl +0 -175
  2950. package/tcl/tk8.6/demos/sayings.tcl +0 -44
  2951. package/tcl/tk8.6/demos/search.tcl +0 -139
  2952. package/tcl/tk8.6/demos/spin.tcl +0 -53
  2953. package/tcl/tk8.6/demos/square +0 -60
  2954. package/tcl/tk8.6/demos/states.tcl +0 -54
  2955. package/tcl/tk8.6/demos/style.tcl +0 -155
  2956. package/tcl/tk8.6/demos/tclIndex +0 -67
  2957. package/tcl/tk8.6/demos/tcolor +0 -358
  2958. package/tcl/tk8.6/demos/text.tcl +0 -113
  2959. package/tcl/tk8.6/demos/textpeer.tcl +0 -62
  2960. package/tcl/tk8.6/demos/timer +0 -47
  2961. package/tcl/tk8.6/demos/toolbar.tcl +0 -92
  2962. package/tcl/tk8.6/demos/tree.tcl +0 -89
  2963. package/tcl/tk8.6/demos/ttkbut.tcl +0 -84
  2964. package/tcl/tk8.6/demos/ttkmenu.tcl +0 -53
  2965. package/tcl/tk8.6/demos/ttknote.tcl +0 -57
  2966. package/tcl/tk8.6/demos/ttkpane.tcl +0 -112
  2967. package/tcl/tk8.6/demos/ttkprogress.tcl +0 -46
  2968. package/tcl/tk8.6/demos/ttkscale.tcl +0 -39
  2969. package/tcl/tk8.6/demos/twind.tcl +0 -351
  2970. package/tcl/tk8.6/demos/unicodeout.tcl +0 -145
  2971. package/tcl/tk8.6/demos/vscale.tcl +0 -46
  2972. package/tcl/tk8.6/demos/widget +0 -734
  2973. package/tcl/tk8.6/dialog.tcl +0 -175
  2974. package/tcl/tk8.6/entry.tcl +0 -686
  2975. package/tcl/tk8.6/focus.tcl +0 -178
  2976. package/tcl/tk8.6/fontchooser.tcl +0 -456
  2977. package/tcl/tk8.6/iconlist.tcl +0 -717
  2978. package/tcl/tk8.6/icons.tcl +0 -153
  2979. package/tcl/tk8.6/images/README +0 -7
  2980. package/tcl/tk8.6/images/logo.eps +0 -2091
  2981. package/tcl/tk8.6/images/logo100.gif +0 -0
  2982. package/tcl/tk8.6/images/logo64.gif +0 -0
  2983. package/tcl/tk8.6/images/logoLarge.gif +0 -0
  2984. package/tcl/tk8.6/images/logoMed.gif +0 -0
  2985. package/tcl/tk8.6/images/pwrdLogo.eps +0 -1897
  2986. package/tcl/tk8.6/images/pwrdLogo100.gif +0 -0
  2987. package/tcl/tk8.6/images/pwrdLogo150.gif +0 -0
  2988. package/tcl/tk8.6/images/pwrdLogo175.gif +0 -0
  2989. package/tcl/tk8.6/images/pwrdLogo200.gif +0 -0
  2990. package/tcl/tk8.6/images/pwrdLogo75.gif +0 -0
  2991. package/tcl/tk8.6/images/tai-ku.gif +0 -0
  2992. package/tcl/tk8.6/license.terms +0 -40
  2993. package/tcl/tk8.6/listbox.tcl +0 -560
  2994. package/tcl/tk8.6/megawidget.tcl +0 -297
  2995. package/tcl/tk8.6/menu.tcl +0 -1377
  2996. package/tcl/tk8.6/mkpsenc.tcl +0 -1488
  2997. package/tcl/tk8.6/msgbox.tcl +0 -427
  2998. package/tcl/tk8.6/msgs/cs.msg +0 -77
  2999. package/tcl/tk8.6/msgs/da.msg +0 -78
  3000. package/tcl/tk8.6/msgs/de.msg +0 -91
  3001. package/tcl/tk8.6/msgs/el.msg +0 -86
  3002. package/tcl/tk8.6/msgs/en.msg +0 -91
  3003. package/tcl/tk8.6/msgs/en_gb.msg +0 -3
  3004. package/tcl/tk8.6/msgs/eo.msg +0 -75
  3005. package/tcl/tk8.6/msgs/es.msg +0 -76
  3006. package/tcl/tk8.6/msgs/fr.msg +0 -72
  3007. package/tcl/tk8.6/msgs/hu.msg +0 -78
  3008. package/tcl/tk8.6/msgs/it.msg +0 -73
  3009. package/tcl/tk8.6/msgs/nl.msg +0 -91
  3010. package/tcl/tk8.6/msgs/pl.msg +0 -91
  3011. package/tcl/tk8.6/msgs/pt.msg +0 -74
  3012. package/tcl/tk8.6/msgs/ru.msg +0 -75
  3013. package/tcl/tk8.6/msgs/sv.msg +0 -76
  3014. package/tcl/tk8.6/obsolete.tcl +0 -178
  3015. package/tcl/tk8.6/optMenu.tcl +0 -43
  3016. package/tcl/tk8.6/palette.tcl +0 -244
  3017. package/tcl/tk8.6/panedwindow.tcl +0 -194
  3018. package/tcl/tk8.6/pkgIndex.tcl +0 -7
  3019. package/tcl/tk8.6/safetk.tcl +0 -262
  3020. package/tcl/tk8.6/scale.tcl +0 -290
  3021. package/tcl/tk8.6/scrlbar.tcl +0 -456
  3022. package/tcl/tk8.6/spinbox.tcl +0 -593
  3023. package/tcl/tk8.6/tclIndex +0 -253
  3024. package/tcl/tk8.6/tearoff.tcl +0 -184
  3025. package/tcl/tk8.6/text.tcl +0 -1237
  3026. package/tcl/tk8.6/tk.tcl +0 -712
  3027. package/tcl/tk8.6/tkfbox.tcl +0 -1240
  3028. package/tcl/tk8.6/ttk/altTheme.tcl +0 -109
  3029. package/tcl/tk8.6/ttk/aquaTheme.tcl +0 -119
  3030. package/tcl/tk8.6/ttk/button.tcl +0 -83
  3031. package/tcl/tk8.6/ttk/clamTheme.tcl +0 -147
  3032. package/tcl/tk8.6/ttk/classicTheme.tcl +0 -115
  3033. package/tcl/tk8.6/ttk/combobox.tcl +0 -448
  3034. package/tcl/tk8.6/ttk/cursors.tcl +0 -208
  3035. package/tcl/tk8.6/ttk/defaults.tcl +0 -143
  3036. package/tcl/tk8.6/ttk/entry.tcl +0 -632
  3037. package/tcl/tk8.6/ttk/fonts.tcl +0 -157
  3038. package/tcl/tk8.6/ttk/menubutton.tcl +0 -241
  3039. package/tcl/tk8.6/ttk/notebook.tcl +0 -199
  3040. package/tcl/tk8.6/ttk/panedwindow.tcl +0 -91
  3041. package/tcl/tk8.6/ttk/progress.tcl +0 -49
  3042. package/tcl/tk8.6/ttk/scale.tcl +0 -94
  3043. package/tcl/tk8.6/ttk/scrollbar.tcl +0 -126
  3044. package/tcl/tk8.6/ttk/sizegrip.tcl +0 -102
  3045. package/tcl/tk8.6/ttk/spinbox.tcl +0 -192
  3046. package/tcl/tk8.6/ttk/treeview.tcl +0 -383
  3047. package/tcl/tk8.6/ttk/ttk.tcl +0 -176
  3048. package/tcl/tk8.6/ttk/utils.tcl +0 -337
  3049. package/tcl/tk8.6/ttk/vistaTheme.tcl +0 -229
  3050. package/tcl/tk8.6/ttk/winTheme.tcl +0 -84
  3051. package/tcl/tk8.6/ttk/xpTheme.tcl +0 -67
  3052. package/tcl/tk8.6/unsupported.tcl +0 -269
  3053. package/tcl/tk8.6/xmfbox.tcl +0 -989
  3054. package/tcl/tk86t.lib +0 -0
  3055. package/tcl/tkstub86.lib +0 -0
  3056. package/vcruntime140.dll +0 -0
  3057. package/vcruntime140_1.dll +0 -0
  3058. /package/{Lib → lib/python3.9}/_py_abc.py +0 -0
  3059. /package/{Lib → lib/python3.9}/_threading_local.py +0 -0
  3060. /package/{Lib → lib/python3.9}/antigravity.py +0 -0
  3061. /package/{Lib → lib/python3.9}/asyncio/format_helpers.py +0 -0
  3062. /package/{Lib → lib/python3.9}/asyncio/log.py +0 -0
  3063. /package/{Lib → lib/python3.9}/asyncio/windows_utils.py +0 -0
  3064. /package/{Lib → lib/python3.9}/concurrent/__init__.py +0 -0
  3065. /package/{Lib → lib/python3.9}/contextvars.py +0 -0
  3066. /package/{Lib → lib/python3.9}/ctypes/macholib/README.ctypes +0 -0
  3067. /package/{Lib → lib/python3.9}/ctypes/macholib/__init__.py +0 -0
  3068. /package/{Lib → lib/python3.9}/curses/__init__.py +0 -0
  3069. /package/{Lib → lib/python3.9}/curses/has_key.py +0 -0
  3070. /package/{Lib → lib/python3.9}/curses/panel.py +0 -0
  3071. /package/{Lib → lib/python3.9}/dbm/gnu.py +0 -0
  3072. /package/{Lib → lib/python3.9}/dbm/ndbm.py +0 -0
  3073. /package/{Lib → lib/python3.9}/email/architecture.rst +0 -0
  3074. /package/{Lib/__phello__/ham → lib/python3.9/email/mime}/__init__.py +0 -0
  3075. /package/{Lib → lib/python3.9}/encodings/aliases.py +0 -0
  3076. /package/{Lib → lib/python3.9}/encodings/ascii.py +0 -0
  3077. /package/{Lib → lib/python3.9}/encodings/base64_codec.py +0 -0
  3078. /package/{Lib → lib/python3.9}/encodings/big5.py +0 -0
  3079. /package/{Lib → lib/python3.9}/encodings/big5hkscs.py +0 -0
  3080. /package/{Lib → lib/python3.9}/encodings/bz2_codec.py +0 -0
  3081. /package/{Lib → lib/python3.9}/encodings/charmap.py +0 -0
  3082. /package/{Lib → lib/python3.9}/encodings/cp037.py +0 -0
  3083. /package/{Lib → lib/python3.9}/encodings/cp1006.py +0 -0
  3084. /package/{Lib → lib/python3.9}/encodings/cp1026.py +0 -0
  3085. /package/{Lib → lib/python3.9}/encodings/cp1125.py +0 -0
  3086. /package/{Lib → lib/python3.9}/encodings/cp1140.py +0 -0
  3087. /package/{Lib → lib/python3.9}/encodings/cp1250.py +0 -0
  3088. /package/{Lib → lib/python3.9}/encodings/cp1251.py +0 -0
  3089. /package/{Lib → lib/python3.9}/encodings/cp1252.py +0 -0
  3090. /package/{Lib → lib/python3.9}/encodings/cp1253.py +0 -0
  3091. /package/{Lib → lib/python3.9}/encodings/cp1254.py +0 -0
  3092. /package/{Lib → lib/python3.9}/encodings/cp1255.py +0 -0
  3093. /package/{Lib → lib/python3.9}/encodings/cp1256.py +0 -0
  3094. /package/{Lib → lib/python3.9}/encodings/cp1257.py +0 -0
  3095. /package/{Lib → lib/python3.9}/encodings/cp1258.py +0 -0
  3096. /package/{Lib → lib/python3.9}/encodings/cp273.py +0 -0
  3097. /package/{Lib → lib/python3.9}/encodings/cp424.py +0 -0
  3098. /package/{Lib → lib/python3.9}/encodings/cp437.py +0 -0
  3099. /package/{Lib → lib/python3.9}/encodings/cp500.py +0 -0
  3100. /package/{Lib → lib/python3.9}/encodings/cp720.py +0 -0
  3101. /package/{Lib → lib/python3.9}/encodings/cp737.py +0 -0
  3102. /package/{Lib → lib/python3.9}/encodings/cp775.py +0 -0
  3103. /package/{Lib → lib/python3.9}/encodings/cp850.py +0 -0
  3104. /package/{Lib → lib/python3.9}/encodings/cp852.py +0 -0
  3105. /package/{Lib → lib/python3.9}/encodings/cp855.py +0 -0
  3106. /package/{Lib → lib/python3.9}/encodings/cp856.py +0 -0
  3107. /package/{Lib → lib/python3.9}/encodings/cp857.py +0 -0
  3108. /package/{Lib → lib/python3.9}/encodings/cp858.py +0 -0
  3109. /package/{Lib → lib/python3.9}/encodings/cp860.py +0 -0
  3110. /package/{Lib → lib/python3.9}/encodings/cp861.py +0 -0
  3111. /package/{Lib → lib/python3.9}/encodings/cp862.py +0 -0
  3112. /package/{Lib → lib/python3.9}/encodings/cp863.py +0 -0
  3113. /package/{Lib → lib/python3.9}/encodings/cp864.py +0 -0
  3114. /package/{Lib → lib/python3.9}/encodings/cp865.py +0 -0
  3115. /package/{Lib → lib/python3.9}/encodings/cp866.py +0 -0
  3116. /package/{Lib → lib/python3.9}/encodings/cp869.py +0 -0
  3117. /package/{Lib → lib/python3.9}/encodings/cp874.py +0 -0
  3118. /package/{Lib → lib/python3.9}/encodings/cp875.py +0 -0
  3119. /package/{Lib → lib/python3.9}/encodings/cp932.py +0 -0
  3120. /package/{Lib → lib/python3.9}/encodings/cp949.py +0 -0
  3121. /package/{Lib → lib/python3.9}/encodings/cp950.py +0 -0
  3122. /package/{Lib → lib/python3.9}/encodings/euc_jis_2004.py +0 -0
  3123. /package/{Lib → lib/python3.9}/encodings/euc_jisx0213.py +0 -0
  3124. /package/{Lib → lib/python3.9}/encodings/euc_jp.py +0 -0
  3125. /package/{Lib → lib/python3.9}/encodings/euc_kr.py +0 -0
  3126. /package/{Lib → lib/python3.9}/encodings/gb18030.py +0 -0
  3127. /package/{Lib → lib/python3.9}/encodings/gb2312.py +0 -0
  3128. /package/{Lib → lib/python3.9}/encodings/gbk.py +0 -0
  3129. /package/{Lib → lib/python3.9}/encodings/hex_codec.py +0 -0
  3130. /package/{Lib → lib/python3.9}/encodings/hp_roman8.py +0 -0
  3131. /package/{Lib → lib/python3.9}/encodings/hz.py +0 -0
  3132. /package/{Lib → lib/python3.9}/encodings/iso2022_jp.py +0 -0
  3133. /package/{Lib → lib/python3.9}/encodings/iso2022_jp_1.py +0 -0
  3134. /package/{Lib → lib/python3.9}/encodings/iso2022_jp_2.py +0 -0
  3135. /package/{Lib → lib/python3.9}/encodings/iso2022_jp_2004.py +0 -0
  3136. /package/{Lib → lib/python3.9}/encodings/iso2022_jp_3.py +0 -0
  3137. /package/{Lib → lib/python3.9}/encodings/iso2022_jp_ext.py +0 -0
  3138. /package/{Lib → lib/python3.9}/encodings/iso2022_kr.py +0 -0
  3139. /package/{Lib → lib/python3.9}/encodings/iso8859_1.py +0 -0
  3140. /package/{Lib → lib/python3.9}/encodings/iso8859_10.py +0 -0
  3141. /package/{Lib → lib/python3.9}/encodings/iso8859_11.py +0 -0
  3142. /package/{Lib → lib/python3.9}/encodings/iso8859_13.py +0 -0
  3143. /package/{Lib → lib/python3.9}/encodings/iso8859_14.py +0 -0
  3144. /package/{Lib → lib/python3.9}/encodings/iso8859_15.py +0 -0
  3145. /package/{Lib → lib/python3.9}/encodings/iso8859_16.py +0 -0
  3146. /package/{Lib → lib/python3.9}/encodings/iso8859_2.py +0 -0
  3147. /package/{Lib → lib/python3.9}/encodings/iso8859_3.py +0 -0
  3148. /package/{Lib → lib/python3.9}/encodings/iso8859_4.py +0 -0
  3149. /package/{Lib → lib/python3.9}/encodings/iso8859_5.py +0 -0
  3150. /package/{Lib → lib/python3.9}/encodings/iso8859_6.py +0 -0
  3151. /package/{Lib → lib/python3.9}/encodings/iso8859_7.py +0 -0
  3152. /package/{Lib → lib/python3.9}/encodings/iso8859_8.py +0 -0
  3153. /package/{Lib → lib/python3.9}/encodings/iso8859_9.py +0 -0
  3154. /package/{Lib → lib/python3.9}/encodings/johab.py +0 -0
  3155. /package/{Lib → lib/python3.9}/encodings/koi8_r.py +0 -0
  3156. /package/{Lib → lib/python3.9}/encodings/koi8_t.py +0 -0
  3157. /package/{Lib → lib/python3.9}/encodings/koi8_u.py +0 -0
  3158. /package/{Lib → lib/python3.9}/encodings/kz1048.py +0 -0
  3159. /package/{Lib → lib/python3.9}/encodings/latin_1.py +0 -0
  3160. /package/{Lib → lib/python3.9}/encodings/mac_arabic.py +0 -0
  3161. /package/{Lib → lib/python3.9}/encodings/mac_croatian.py +0 -0
  3162. /package/{Lib → lib/python3.9}/encodings/mac_cyrillic.py +0 -0
  3163. /package/{Lib → lib/python3.9}/encodings/mac_farsi.py +0 -0
  3164. /package/{Lib → lib/python3.9}/encodings/mac_greek.py +0 -0
  3165. /package/{Lib → lib/python3.9}/encodings/mac_iceland.py +0 -0
  3166. /package/{Lib → lib/python3.9}/encodings/mac_latin2.py +0 -0
  3167. /package/{Lib → lib/python3.9}/encodings/mac_roman.py +0 -0
  3168. /package/{Lib → lib/python3.9}/encodings/mac_romanian.py +0 -0
  3169. /package/{Lib → lib/python3.9}/encodings/mac_turkish.py +0 -0
  3170. /package/{Lib → lib/python3.9}/encodings/mbcs.py +0 -0
  3171. /package/{Lib → lib/python3.9}/encodings/oem.py +0 -0
  3172. /package/{Lib → lib/python3.9}/encodings/palmos.py +0 -0
  3173. /package/{Lib → lib/python3.9}/encodings/ptcp154.py +0 -0
  3174. /package/{Lib → lib/python3.9}/encodings/punycode.py +0 -0
  3175. /package/{Lib → lib/python3.9}/encodings/quopri_codec.py +0 -0
  3176. /package/{Lib → lib/python3.9}/encodings/shift_jis.py +0 -0
  3177. /package/{Lib → lib/python3.9}/encodings/shift_jis_2004.py +0 -0
  3178. /package/{Lib → lib/python3.9}/encodings/shift_jisx0213.py +0 -0
  3179. /package/{Lib → lib/python3.9}/encodings/tis_620.py +0 -0
  3180. /package/{Lib → lib/python3.9}/encodings/undefined.py +0 -0
  3181. /package/{Lib → lib/python3.9}/encodings/utf_16.py +0 -0
  3182. /package/{Lib → lib/python3.9}/encodings/utf_16_be.py +0 -0
  3183. /package/{Lib → lib/python3.9}/encodings/utf_16_le.py +0 -0
  3184. /package/{Lib → lib/python3.9}/encodings/utf_32.py +0 -0
  3185. /package/{Lib → lib/python3.9}/encodings/utf_32_be.py +0 -0
  3186. /package/{Lib → lib/python3.9}/encodings/utf_32_le.py +0 -0
  3187. /package/{Lib → lib/python3.9}/encodings/utf_7.py +0 -0
  3188. /package/{Lib → lib/python3.9}/encodings/utf_8.py +0 -0
  3189. /package/{Lib → lib/python3.9}/encodings/utf_8_sig.py +0 -0
  3190. /package/{Lib → lib/python3.9}/encodings/uu_codec.py +0 -0
  3191. /package/{Lib → lib/python3.9}/encodings/zlib_codec.py +0 -0
  3192. /package/{Lib → lib/python3.9}/multiprocessing/__init__.py +0 -0
  3193. /package/{Lib → lib/python3.9}/multiprocessing/dummy/__init__.py +0 -0
  3194. /package/{Lib → lib/python3.9}/multiprocessing/dummy/connection.py +0 -0
  3195. /package/{Lib → lib/python3.9}/multiprocessing/heap.py +0 -0
  3196. /package/{Lib → lib/python3.9}/multiprocessing/popen_fork.py +0 -0
  3197. /package/{Lib → lib/python3.9}/multiprocessing/popen_forkserver.py +0 -0
  3198. /package/{Lib → lib/python3.9}/multiprocessing/popen_spawn_posix.py +0 -0
  3199. /package/{Lib → lib/python3.9}/multiprocessing/reduction.py +0 -0
  3200. /package/{Lib → lib/python3.9}/multiprocessing/sharedctypes.py +0 -0
  3201. /package/{Lib → lib/python3.9}/optparse.py +0 -0
  3202. /package/{Lib/email/mime → lib/python3.9/pydoc_data}/__init__.py +0 -0
  3203. /package/{Lib → lib/python3.9}/stat.py +0 -0
  3204. /package/{Lib → lib/python3.9}/stringprep.py +0 -0
  3205. /package/{Lib → lib/python3.9}/struct.py +0 -0
  3206. /package/{Lib → lib/python3.9}/this.py +0 -0
  3207. /package/{Lib → lib/python3.9}/unittest/__main__.py +0 -0
  3208. /package/{Lib → lib/python3.9}/unittest/signals.py +0 -0
  3209. /package/{Lib → lib/python3.9}/unittest/util.py +0 -0
  3210. /package/{Lib/pydoc_data → lib/python3.9/urllib}/__init__.py +0 -0
  3211. /package/{Lib → lib/python3.9}/urllib/response.py +0 -0
  3212. /package/{Lib → lib/python3.9}/venv/__main__.py +0 -0
  3213. /package/{Lib → lib/python3.9}/wsgiref/headers.py +0 -0
  3214. /package/{Lib → lib/python3.9}/wsgiref/simple_server.py +0 -0
  3215. /package/{Lib → lib/python3.9}/xml/__init__.py +0 -0
  3216. /package/{Lib → lib/python3.9}/xml/dom/NodeFilter.py +0 -0
  3217. /package/{Lib → lib/python3.9}/xml/dom/__init__.py +0 -0
  3218. /package/{Lib → lib/python3.9}/xml/dom/domreg.py +0 -0
  3219. /package/{Lib → lib/python3.9}/xml/dom/minicompat.py +0 -0
  3220. /package/{Lib → lib/python3.9}/xml/etree/cElementTree.py +0 -0
  3221. /package/{Lib → lib/python3.9}/xml/parsers/__init__.py +0 -0
  3222. /package/{Lib → lib/python3.9}/xml/parsers/expat.py +0 -0
  3223. /package/{Lib → lib/python3.9}/xml/sax/saxutils.py +0 -0
  3224. /package/{Lib → lib/python3.9}/xmlrpc/__init__.py +0 -0
  3225. /package/{Lib → lib/python3.9}/zoneinfo/__init__.py +0 -0
package/Lib/typing.py DELETED
@@ -1,3494 +0,0 @@
1
- """
2
- The typing module: Support for gradual typing as defined by PEP 484 and subsequent PEPs.
3
-
4
- Among other things, the module includes the following:
5
- * Generic, Protocol, and internal machinery to support generic aliases.
6
- All subscripted types like X[int], Union[int, str] are generic aliases.
7
- * Various "special forms" that have unique meanings in type annotations:
8
- NoReturn, Never, ClassVar, Self, Concatenate, Unpack, and others.
9
- * Classes whose instances can be type arguments to generic classes and functions:
10
- TypeVar, ParamSpec, TypeVarTuple.
11
- * Public helper functions: get_type_hints, overload, cast, final, and others.
12
- * Several protocols to support duck-typing:
13
- SupportsFloat, SupportsIndex, SupportsAbs, and others.
14
- * Special types: NewType, NamedTuple, TypedDict.
15
- * Deprecated wrapper submodules for re and io related types.
16
- * Deprecated aliases for builtin types and collections.abc ABCs.
17
-
18
- Any name not present in __all__ is an implementation detail
19
- that may be changed without notice. Use at your own risk!
20
- """
21
-
22
- from abc import abstractmethod, ABCMeta
23
- import collections
24
- from collections import defaultdict
25
- import collections.abc
26
- import copyreg
27
- import contextlib
28
- import functools
29
- import operator
30
- import re as stdlib_re # Avoid confusion with the re we export.
31
- import sys
32
- import types
33
- import warnings
34
- from types import WrapperDescriptorType, MethodWrapperType, MethodDescriptorType, GenericAlias
35
-
36
- from _typing import (
37
- _idfunc,
38
- TypeVar,
39
- ParamSpec,
40
- TypeVarTuple,
41
- ParamSpecArgs,
42
- ParamSpecKwargs,
43
- TypeAliasType,
44
- Generic,
45
- )
46
-
47
- # Please keep __all__ alphabetized within each category.
48
- __all__ = [
49
- # Super-special typing primitives.
50
- 'Annotated',
51
- 'Any',
52
- 'Callable',
53
- 'ClassVar',
54
- 'Concatenate',
55
- 'Final',
56
- 'ForwardRef',
57
- 'Generic',
58
- 'Literal',
59
- 'Optional',
60
- 'ParamSpec',
61
- 'Protocol',
62
- 'Tuple',
63
- 'Type',
64
- 'TypeVar',
65
- 'TypeVarTuple',
66
- 'Union',
67
-
68
- # ABCs (from collections.abc).
69
- 'AbstractSet', # collections.abc.Set.
70
- 'ByteString',
71
- 'Container',
72
- 'ContextManager',
73
- 'Hashable',
74
- 'ItemsView',
75
- 'Iterable',
76
- 'Iterator',
77
- 'KeysView',
78
- 'Mapping',
79
- 'MappingView',
80
- 'MutableMapping',
81
- 'MutableSequence',
82
- 'MutableSet',
83
- 'Sequence',
84
- 'Sized',
85
- 'ValuesView',
86
- 'Awaitable',
87
- 'AsyncIterator',
88
- 'AsyncIterable',
89
- 'Coroutine',
90
- 'Collection',
91
- 'AsyncGenerator',
92
- 'AsyncContextManager',
93
-
94
- # Structural checks, a.k.a. protocols.
95
- 'Reversible',
96
- 'SupportsAbs',
97
- 'SupportsBytes',
98
- 'SupportsComplex',
99
- 'SupportsFloat',
100
- 'SupportsIndex',
101
- 'SupportsInt',
102
- 'SupportsRound',
103
-
104
- # Concrete collection types.
105
- 'ChainMap',
106
- 'Counter',
107
- 'Deque',
108
- 'Dict',
109
- 'DefaultDict',
110
- 'List',
111
- 'OrderedDict',
112
- 'Set',
113
- 'FrozenSet',
114
- 'NamedTuple', # Not really a type.
115
- 'TypedDict', # Not really a type.
116
- 'Generator',
117
-
118
- # Other concrete types.
119
- 'BinaryIO',
120
- 'IO',
121
- 'Match',
122
- 'Pattern',
123
- 'TextIO',
124
-
125
- # One-off things.
126
- 'AnyStr',
127
- 'assert_type',
128
- 'assert_never',
129
- 'cast',
130
- 'clear_overloads',
131
- 'dataclass_transform',
132
- 'final',
133
- 'get_args',
134
- 'get_origin',
135
- 'get_overloads',
136
- 'get_type_hints',
137
- 'is_typeddict',
138
- 'LiteralString',
139
- 'Never',
140
- 'NewType',
141
- 'no_type_check',
142
- 'no_type_check_decorator',
143
- 'NoReturn',
144
- 'NotRequired',
145
- 'overload',
146
- 'override',
147
- 'ParamSpecArgs',
148
- 'ParamSpecKwargs',
149
- 'Required',
150
- 'reveal_type',
151
- 'runtime_checkable',
152
- 'Self',
153
- 'Text',
154
- 'TYPE_CHECKING',
155
- 'TypeAlias',
156
- 'TypeGuard',
157
- 'TypeAliasType',
158
- 'Unpack',
159
- ]
160
-
161
- # The pseudo-submodules 're' and 'io' are part of the public
162
- # namespace, but excluded from __all__ because they might stomp on
163
- # legitimate imports of those modules.
164
-
165
-
166
- def _type_convert(arg, module=None, *, allow_special_forms=False):
167
- """For converting None to type(None), and strings to ForwardRef."""
168
- if arg is None:
169
- return type(None)
170
- if isinstance(arg, str):
171
- return ForwardRef(arg, module=module, is_class=allow_special_forms)
172
- return arg
173
-
174
-
175
- def _type_check(arg, msg, is_argument=True, module=None, *, allow_special_forms=False):
176
- """Check that the argument is a type, and return it (internal helper).
177
-
178
- As a special case, accept None and return type(None) instead. Also wrap strings
179
- into ForwardRef instances. Consider several corner cases, for example plain
180
- special forms like Union are not valid, while Union[int, str] is OK, etc.
181
- The msg argument is a human-readable error message, e.g.::
182
-
183
- "Union[arg, ...]: arg should be a type."
184
-
185
- We append the repr() of the actual value (truncated to 100 chars).
186
- """
187
- invalid_generic_forms = (Generic, Protocol)
188
- if not allow_special_forms:
189
- invalid_generic_forms += (ClassVar,)
190
- if is_argument:
191
- invalid_generic_forms += (Final,)
192
-
193
- arg = _type_convert(arg, module=module, allow_special_forms=allow_special_forms)
194
- if (isinstance(arg, _GenericAlias) and
195
- arg.__origin__ in invalid_generic_forms):
196
- raise TypeError(f"{arg} is not valid as type argument")
197
- if arg in (Any, LiteralString, NoReturn, Never, Self, TypeAlias):
198
- return arg
199
- if allow_special_forms and arg in (ClassVar, Final):
200
- return arg
201
- if isinstance(arg, _SpecialForm) or arg in (Generic, Protocol):
202
- raise TypeError(f"Plain {arg} is not valid as type argument")
203
- if type(arg) is tuple:
204
- raise TypeError(f"{msg} Got {arg!r:.100}.")
205
- return arg
206
-
207
-
208
- def _is_param_expr(arg):
209
- return arg is ... or isinstance(arg,
210
- (tuple, list, ParamSpec, _ConcatenateGenericAlias))
211
-
212
-
213
- def _should_unflatten_callable_args(typ, args):
214
- """Internal helper for munging collections.abc.Callable's __args__.
215
-
216
- The canonical representation for a Callable's __args__ flattens the
217
- argument types, see https://github.com/python/cpython/issues/86361.
218
-
219
- For example::
220
-
221
- >>> import collections.abc
222
- >>> P = ParamSpec('P')
223
- >>> collections.abc.Callable[[int, int], str].__args__ == (int, int, str)
224
- True
225
- >>> collections.abc.Callable[P, str].__args__ == (P, str)
226
- True
227
-
228
- As a result, if we need to reconstruct the Callable from its __args__,
229
- we need to unflatten it.
230
- """
231
- return (
232
- typ.__origin__ is collections.abc.Callable
233
- and not (len(args) == 2 and _is_param_expr(args[0]))
234
- )
235
-
236
-
237
- def _type_repr(obj):
238
- """Return the repr() of an object, special-casing types (internal helper).
239
-
240
- If obj is a type, we return a shorter version than the default
241
- type.__repr__, based on the module and qualified name, which is
242
- typically enough to uniquely identify a type. For everything
243
- else, we fall back on repr(obj).
244
- """
245
- # When changing this function, don't forget about
246
- # `_collections_abc._type_repr`, which does the same thing
247
- # and must be consistent with this one.
248
- if isinstance(obj, type):
249
- if obj.__module__ == 'builtins':
250
- return obj.__qualname__
251
- return f'{obj.__module__}.{obj.__qualname__}'
252
- if obj is ...:
253
- return '...'
254
- if isinstance(obj, types.FunctionType):
255
- return obj.__name__
256
- if isinstance(obj, tuple):
257
- # Special case for `repr` of types with `ParamSpec`:
258
- return '[' + ', '.join(_type_repr(t) for t in obj) + ']'
259
- return repr(obj)
260
-
261
-
262
- def _collect_parameters(args):
263
- """Collect all type variables and parameter specifications in args
264
- in order of first appearance (lexicographic order).
265
-
266
- For example::
267
-
268
- >>> P = ParamSpec('P')
269
- >>> T = TypeVar('T')
270
- >>> _collect_parameters((T, Callable[P, T]))
271
- (~T, ~P)
272
- """
273
- parameters = []
274
- for t in args:
275
- if isinstance(t, type):
276
- # We don't want __parameters__ descriptor of a bare Python class.
277
- pass
278
- elif isinstance(t, tuple):
279
- # `t` might be a tuple, when `ParamSpec` is substituted with
280
- # `[T, int]`, or `[int, *Ts]`, etc.
281
- for x in t:
282
- for collected in _collect_parameters([x]):
283
- if collected not in parameters:
284
- parameters.append(collected)
285
- elif hasattr(t, '__typing_subst__'):
286
- if t not in parameters:
287
- parameters.append(t)
288
- else:
289
- for x in getattr(t, '__parameters__', ()):
290
- if x not in parameters:
291
- parameters.append(x)
292
- return tuple(parameters)
293
-
294
-
295
- def _check_generic(cls, parameters, elen):
296
- """Check correct count for parameters of a generic cls (internal helper).
297
-
298
- This gives a nice error message in case of count mismatch.
299
- """
300
- if not elen:
301
- raise TypeError(f"{cls} is not a generic class")
302
- alen = len(parameters)
303
- if alen != elen:
304
- raise TypeError(f"Too {'many' if alen > elen else 'few'} arguments for {cls};"
305
- f" actual {alen}, expected {elen}")
306
-
307
- def _unpack_args(args):
308
- newargs = []
309
- for arg in args:
310
- subargs = getattr(arg, '__typing_unpacked_tuple_args__', None)
311
- if subargs is not None and not (subargs and subargs[-1] is ...):
312
- newargs.extend(subargs)
313
- else:
314
- newargs.append(arg)
315
- return newargs
316
-
317
- def _deduplicate(params, *, unhashable_fallback=False):
318
- # Weed out strict duplicates, preserving the first of each occurrence.
319
- try:
320
- return dict.fromkeys(params)
321
- except TypeError:
322
- if not unhashable_fallback:
323
- raise
324
- # Happens for cases like `Annotated[dict, {'x': IntValidator()}]`
325
- return _deduplicate_unhashable(params)
326
-
327
- def _deduplicate_unhashable(unhashable_params):
328
- new_unhashable = []
329
- for t in unhashable_params:
330
- if t not in new_unhashable:
331
- new_unhashable.append(t)
332
- return new_unhashable
333
-
334
- def _compare_args_orderless(first_args, second_args):
335
- first_unhashable = _deduplicate_unhashable(first_args)
336
- second_unhashable = _deduplicate_unhashable(second_args)
337
- t = list(second_unhashable)
338
- try:
339
- for elem in first_unhashable:
340
- t.remove(elem)
341
- except ValueError:
342
- return False
343
- return not t
344
-
345
- def _remove_dups_flatten(parameters):
346
- """Internal helper for Union creation and substitution.
347
-
348
- Flatten Unions among parameters, then remove duplicates.
349
- """
350
- # Flatten out Union[Union[...], ...].
351
- params = []
352
- for p in parameters:
353
- if isinstance(p, (_UnionGenericAlias, types.UnionType)):
354
- params.extend(p.__args__)
355
- else:
356
- params.append(p)
357
-
358
- return tuple(_deduplicate(params, unhashable_fallback=True))
359
-
360
-
361
- def _flatten_literal_params(parameters):
362
- """Internal helper for Literal creation: flatten Literals among parameters."""
363
- params = []
364
- for p in parameters:
365
- if isinstance(p, _LiteralGenericAlias):
366
- params.extend(p.__args__)
367
- else:
368
- params.append(p)
369
- return tuple(params)
370
-
371
-
372
- _cleanups = []
373
- _caches = {}
374
-
375
-
376
- def _tp_cache(func=None, /, *, typed=False):
377
- """Internal wrapper caching __getitem__ of generic types.
378
-
379
- For non-hashable arguments, the original function is used as a fallback.
380
- """
381
- def decorator(func):
382
- # The callback 'inner' references the newly created lru_cache
383
- # indirectly by performing a lookup in the global '_caches' dictionary.
384
- # This breaks a reference that can be problematic when combined with
385
- # C API extensions that leak references to types. See GH-98253.
386
-
387
- cache = functools.lru_cache(typed=typed)(func)
388
- _caches[func] = cache
389
- _cleanups.append(cache.cache_clear)
390
- del cache
391
-
392
- @functools.wraps(func)
393
- def inner(*args, **kwds):
394
- try:
395
- return _caches[func](*args, **kwds)
396
- except TypeError:
397
- pass # All real errors (not unhashable args) are raised below.
398
- return func(*args, **kwds)
399
- return inner
400
-
401
- if func is not None:
402
- return decorator(func)
403
-
404
- return decorator
405
-
406
-
407
- def _eval_type(t, globalns, localns, type_params=None, *, recursive_guard=frozenset()):
408
- """Evaluate all forward references in the given type t.
409
-
410
- For use of globalns and localns see the docstring for get_type_hints().
411
- recursive_guard is used to prevent infinite recursion with a recursive
412
- ForwardRef.
413
- """
414
- if isinstance(t, ForwardRef):
415
- return t._evaluate(globalns, localns, type_params, recursive_guard=recursive_guard)
416
- if isinstance(t, (_GenericAlias, GenericAlias, types.UnionType)):
417
- if isinstance(t, GenericAlias):
418
- args = tuple(
419
- ForwardRef(arg) if isinstance(arg, str) else arg
420
- for arg in t.__args__
421
- )
422
- is_unpacked = t.__unpacked__
423
- if _should_unflatten_callable_args(t, args):
424
- t = t.__origin__[(args[:-1], args[-1])]
425
- else:
426
- t = t.__origin__[args]
427
- if is_unpacked:
428
- t = Unpack[t]
429
-
430
- ev_args = tuple(
431
- _eval_type(
432
- a, globalns, localns, type_params, recursive_guard=recursive_guard
433
- )
434
- for a in t.__args__
435
- )
436
- if ev_args == t.__args__:
437
- return t
438
- if isinstance(t, GenericAlias):
439
- return GenericAlias(t.__origin__, ev_args)
440
- if isinstance(t, types.UnionType):
441
- return functools.reduce(operator.or_, ev_args)
442
- else:
443
- return t.copy_with(ev_args)
444
- return t
445
-
446
-
447
- class _Final:
448
- """Mixin to prohibit subclassing."""
449
-
450
- __slots__ = ('__weakref__',)
451
-
452
- def __init_subclass__(cls, /, *args, **kwds):
453
- if '_root' not in kwds:
454
- raise TypeError("Cannot subclass special typing classes")
455
-
456
-
457
- class _NotIterable:
458
- """Mixin to prevent iteration, without being compatible with Iterable.
459
-
460
- That is, we could do::
461
-
462
- def __iter__(self): raise TypeError()
463
-
464
- But this would make users of this mixin duck type-compatible with
465
- collections.abc.Iterable - isinstance(foo, Iterable) would be True.
466
-
467
- Luckily, we can instead prevent iteration by setting __iter__ to None, which
468
- is treated specially.
469
- """
470
-
471
- __slots__ = ()
472
- __iter__ = None
473
-
474
-
475
- # Internal indicator of special typing constructs.
476
- # See __doc__ instance attribute for specific docs.
477
- class _SpecialForm(_Final, _NotIterable, _root=True):
478
- __slots__ = ('_name', '__doc__', '_getitem')
479
-
480
- def __init__(self, getitem):
481
- self._getitem = getitem
482
- self._name = getitem.__name__
483
- self.__doc__ = getitem.__doc__
484
-
485
- def __getattr__(self, item):
486
- if item in {'__name__', '__qualname__'}:
487
- return self._name
488
-
489
- raise AttributeError(item)
490
-
491
- def __mro_entries__(self, bases):
492
- raise TypeError(f"Cannot subclass {self!r}")
493
-
494
- def __repr__(self):
495
- return 'typing.' + self._name
496
-
497
- def __reduce__(self):
498
- return self._name
499
-
500
- def __call__(self, *args, **kwds):
501
- raise TypeError(f"Cannot instantiate {self!r}")
502
-
503
- def __or__(self, other):
504
- return Union[self, other]
505
-
506
- def __ror__(self, other):
507
- return Union[other, self]
508
-
509
- def __instancecheck__(self, obj):
510
- raise TypeError(f"{self} cannot be used with isinstance()")
511
-
512
- def __subclasscheck__(self, cls):
513
- raise TypeError(f"{self} cannot be used with issubclass()")
514
-
515
- @_tp_cache
516
- def __getitem__(self, parameters):
517
- return self._getitem(self, parameters)
518
-
519
-
520
- class _LiteralSpecialForm(_SpecialForm, _root=True):
521
- def __getitem__(self, parameters):
522
- if not isinstance(parameters, tuple):
523
- parameters = (parameters,)
524
- return self._getitem(self, *parameters)
525
-
526
-
527
- class _AnyMeta(type):
528
- def __instancecheck__(self, obj):
529
- if self is Any:
530
- raise TypeError("typing.Any cannot be used with isinstance()")
531
- return super().__instancecheck__(obj)
532
-
533
- def __repr__(self):
534
- if self is Any:
535
- return "typing.Any"
536
- return super().__repr__() # respect to subclasses
537
-
538
-
539
- class Any(metaclass=_AnyMeta):
540
- """Special type indicating an unconstrained type.
541
-
542
- - Any is compatible with every type.
543
- - Any assumed to have all methods.
544
- - All values assumed to be instances of Any.
545
-
546
- Note that all the above statements are true from the point of view of
547
- static type checkers. At runtime, Any should not be used with instance
548
- checks.
549
- """
550
-
551
- def __new__(cls, *args, **kwargs):
552
- if cls is Any:
553
- raise TypeError("Any cannot be instantiated")
554
- return super().__new__(cls)
555
-
556
-
557
- @_SpecialForm
558
- def NoReturn(self, parameters):
559
- """Special type indicating functions that never return.
560
-
561
- Example::
562
-
563
- from typing import NoReturn
564
-
565
- def stop() -> NoReturn:
566
- raise Exception('no way')
567
-
568
- NoReturn can also be used as a bottom type, a type that
569
- has no values. Starting in Python 3.11, the Never type should
570
- be used for this concept instead. Type checkers should treat the two
571
- equivalently.
572
- """
573
- raise TypeError(f"{self} is not subscriptable")
574
-
575
- # This is semantically identical to NoReturn, but it is implemented
576
- # separately so that type checkers can distinguish between the two
577
- # if they want.
578
- @_SpecialForm
579
- def Never(self, parameters):
580
- """The bottom type, a type that has no members.
581
-
582
- This can be used to define a function that should never be
583
- called, or a function that never returns::
584
-
585
- from typing import Never
586
-
587
- def never_call_me(arg: Never) -> None:
588
- pass
589
-
590
- def int_or_str(arg: int | str) -> None:
591
- never_call_me(arg) # type checker error
592
- match arg:
593
- case int():
594
- print("It's an int")
595
- case str():
596
- print("It's a str")
597
- case _:
598
- never_call_me(arg) # OK, arg is of type Never
599
- """
600
- raise TypeError(f"{self} is not subscriptable")
601
-
602
-
603
- @_SpecialForm
604
- def Self(self, parameters):
605
- """Used to spell the type of "self" in classes.
606
-
607
- Example::
608
-
609
- from typing import Self
610
-
611
- class Foo:
612
- def return_self(self) -> Self:
613
- ...
614
- return self
615
-
616
- This is especially useful for:
617
- - classmethods that are used as alternative constructors
618
- - annotating an `__enter__` method which returns self
619
- """
620
- raise TypeError(f"{self} is not subscriptable")
621
-
622
-
623
- @_SpecialForm
624
- def LiteralString(self, parameters):
625
- """Represents an arbitrary literal string.
626
-
627
- Example::
628
-
629
- from typing import LiteralString
630
-
631
- def run_query(sql: LiteralString) -> None:
632
- ...
633
-
634
- def caller(arbitrary_string: str, literal_string: LiteralString) -> None:
635
- run_query("SELECT * FROM students") # OK
636
- run_query(literal_string) # OK
637
- run_query("SELECT * FROM " + literal_string) # OK
638
- run_query(arbitrary_string) # type checker error
639
- run_query( # type checker error
640
- f"SELECT * FROM students WHERE name = {arbitrary_string}"
641
- )
642
-
643
- Only string literals and other LiteralStrings are compatible
644
- with LiteralString. This provides a tool to help prevent
645
- security issues such as SQL injection.
646
- """
647
- raise TypeError(f"{self} is not subscriptable")
648
-
649
-
650
- @_SpecialForm
651
- def ClassVar(self, parameters):
652
- """Special type construct to mark class variables.
653
-
654
- An annotation wrapped in ClassVar indicates that a given
655
- attribute is intended to be used as a class variable and
656
- should not be set on instances of that class.
657
-
658
- Usage::
659
-
660
- class Starship:
661
- stats: ClassVar[dict[str, int]] = {} # class variable
662
- damage: int = 10 # instance variable
663
-
664
- ClassVar accepts only types and cannot be further subscribed.
665
-
666
- Note that ClassVar is not a class itself, and should not
667
- be used with isinstance() or issubclass().
668
- """
669
- item = _type_check(parameters, f'{self} accepts only single type.')
670
- return _GenericAlias(self, (item,))
671
-
672
- @_SpecialForm
673
- def Final(self, parameters):
674
- """Special typing construct to indicate final names to type checkers.
675
-
676
- A final name cannot be re-assigned or overridden in a subclass.
677
-
678
- For example::
679
-
680
- MAX_SIZE: Final = 9000
681
- MAX_SIZE += 1 # Error reported by type checker
682
-
683
- class Connection:
684
- TIMEOUT: Final[int] = 10
685
-
686
- class FastConnector(Connection):
687
- TIMEOUT = 1 # Error reported by type checker
688
-
689
- There is no runtime checking of these properties.
690
- """
691
- item = _type_check(parameters, f'{self} accepts only single type.')
692
- return _GenericAlias(self, (item,))
693
-
694
- @_SpecialForm
695
- def Union(self, parameters):
696
- """Union type; Union[X, Y] means either X or Y.
697
-
698
- On Python 3.10 and higher, the | operator
699
- can also be used to denote unions;
700
- X | Y means the same thing to the type checker as Union[X, Y].
701
-
702
- To define a union, use e.g. Union[int, str]. Details:
703
- - The arguments must be types and there must be at least one.
704
- - None as an argument is a special case and is replaced by
705
- type(None).
706
- - Unions of unions are flattened, e.g.::
707
-
708
- assert Union[Union[int, str], float] == Union[int, str, float]
709
-
710
- - Unions of a single argument vanish, e.g.::
711
-
712
- assert Union[int] == int # The constructor actually returns int
713
-
714
- - Redundant arguments are skipped, e.g.::
715
-
716
- assert Union[int, str, int] == Union[int, str]
717
-
718
- - When comparing unions, the argument order is ignored, e.g.::
719
-
720
- assert Union[int, str] == Union[str, int]
721
-
722
- - You cannot subclass or instantiate a union.
723
- - You can use Optional[X] as a shorthand for Union[X, None].
724
- """
725
- if parameters == ():
726
- raise TypeError("Cannot take a Union of no types.")
727
- if not isinstance(parameters, tuple):
728
- parameters = (parameters,)
729
- msg = "Union[arg, ...]: each arg must be a type."
730
- parameters = tuple(_type_check(p, msg) for p in parameters)
731
- parameters = _remove_dups_flatten(parameters)
732
- if len(parameters) == 1:
733
- return parameters[0]
734
- if len(parameters) == 2 and type(None) in parameters:
735
- return _UnionGenericAlias(self, parameters, name="Optional")
736
- return _UnionGenericAlias(self, parameters)
737
-
738
- def _make_union(left, right):
739
- """Used from the C implementation of TypeVar.
740
-
741
- TypeVar.__or__ calls this instead of returning types.UnionType
742
- because we want to allow unions between TypeVars and strings
743
- (forward references).
744
- """
745
- return Union[left, right]
746
-
747
- @_SpecialForm
748
- def Optional(self, parameters):
749
- """Optional[X] is equivalent to Union[X, None]."""
750
- arg = _type_check(parameters, f"{self} requires a single type.")
751
- return Union[arg, type(None)]
752
-
753
- @_LiteralSpecialForm
754
- @_tp_cache(typed=True)
755
- def Literal(self, *parameters):
756
- """Special typing form to define literal types (a.k.a. value types).
757
-
758
- This form can be used to indicate to type checkers that the corresponding
759
- variable or function parameter has a value equivalent to the provided
760
- literal (or one of several literals)::
761
-
762
- def validate_simple(data: Any) -> Literal[True]: # always returns True
763
- ...
764
-
765
- MODE = Literal['r', 'rb', 'w', 'wb']
766
- def open_helper(file: str, mode: MODE) -> str:
767
- ...
768
-
769
- open_helper('/some/path', 'r') # Passes type check
770
- open_helper('/other/path', 'typo') # Error in type checker
771
-
772
- Literal[...] cannot be subclassed. At runtime, an arbitrary value
773
- is allowed as type argument to Literal[...], but type checkers may
774
- impose restrictions.
775
- """
776
- # There is no '_type_check' call because arguments to Literal[...] are
777
- # values, not types.
778
- parameters = _flatten_literal_params(parameters)
779
-
780
- try:
781
- parameters = tuple(p for p, _ in _deduplicate(list(_value_and_type_iter(parameters))))
782
- except TypeError: # unhashable parameters
783
- pass
784
-
785
- return _LiteralGenericAlias(self, parameters)
786
-
787
-
788
- @_SpecialForm
789
- def TypeAlias(self, parameters):
790
- """Special form for marking type aliases.
791
-
792
- Use TypeAlias to indicate that an assignment should
793
- be recognized as a proper type alias definition by type
794
- checkers.
795
-
796
- For example::
797
-
798
- Predicate: TypeAlias = Callable[..., bool]
799
-
800
- It's invalid when used anywhere except as in the example above.
801
- """
802
- raise TypeError(f"{self} is not subscriptable")
803
-
804
-
805
- @_SpecialForm
806
- def Concatenate(self, parameters):
807
- """Special form for annotating higher-order functions.
808
-
809
- ``Concatenate`` can be used in conjunction with ``ParamSpec`` and
810
- ``Callable`` to represent a higher-order function which adds, removes or
811
- transforms the parameters of a callable.
812
-
813
- For example::
814
-
815
- Callable[Concatenate[int, P], int]
816
-
817
- See PEP 612 for detailed information.
818
- """
819
- if parameters == ():
820
- raise TypeError("Cannot take a Concatenate of no types.")
821
- if not isinstance(parameters, tuple):
822
- parameters = (parameters,)
823
- if not (parameters[-1] is ... or isinstance(parameters[-1], ParamSpec)):
824
- raise TypeError("The last parameter to Concatenate should be a "
825
- "ParamSpec variable or ellipsis.")
826
- msg = "Concatenate[arg, ...]: each arg must be a type."
827
- parameters = (*(_type_check(p, msg) for p in parameters[:-1]), parameters[-1])
828
- return _ConcatenateGenericAlias(self, parameters)
829
-
830
-
831
- @_SpecialForm
832
- def TypeGuard(self, parameters):
833
- """Special typing construct for marking user-defined type guard functions.
834
-
835
- ``TypeGuard`` can be used to annotate the return type of a user-defined
836
- type guard function. ``TypeGuard`` only accepts a single type argument.
837
- At runtime, functions marked this way should return a boolean.
838
-
839
- ``TypeGuard`` aims to benefit *type narrowing* -- a technique used by static
840
- type checkers to determine a more precise type of an expression within a
841
- program's code flow. Usually type narrowing is done by analyzing
842
- conditional code flow and applying the narrowing to a block of code. The
843
- conditional expression here is sometimes referred to as a "type guard".
844
-
845
- Sometimes it would be convenient to use a user-defined boolean function
846
- as a type guard. Such a function should use ``TypeGuard[...]`` as its
847
- return type to alert static type checkers to this intention.
848
-
849
- Using ``-> TypeGuard`` tells the static type checker that for a given
850
- function:
851
-
852
- 1. The return value is a boolean.
853
- 2. If the return value is ``True``, the type of its argument
854
- is the type inside ``TypeGuard``.
855
-
856
- For example::
857
-
858
- def is_str_list(val: list[object]) -> TypeGuard[list[str]]:
859
- '''Determines whether all objects in the list are strings'''
860
- return all(isinstance(x, str) for x in val)
861
-
862
- def func1(val: list[object]):
863
- if is_str_list(val):
864
- # Type of ``val`` is narrowed to ``list[str]``.
865
- print(" ".join(val))
866
- else:
867
- # Type of ``val`` remains as ``list[object]``.
868
- print("Not a list of strings!")
869
-
870
- Strict type narrowing is not enforced -- ``TypeB`` need not be a narrower
871
- form of ``TypeA`` (it can even be a wider form) and this may lead to
872
- type-unsafe results. The main reason is to allow for things like
873
- narrowing ``list[object]`` to ``list[str]`` even though the latter is not
874
- a subtype of the former, since ``list`` is invariant. The responsibility of
875
- writing type-safe type guards is left to the user.
876
-
877
- ``TypeGuard`` also works with type variables. For more information, see
878
- PEP 647 (User-Defined Type Guards).
879
- """
880
- item = _type_check(parameters, f'{self} accepts only single type.')
881
- return _GenericAlias(self, (item,))
882
-
883
-
884
- class ForwardRef(_Final, _root=True):
885
- """Internal wrapper to hold a forward reference."""
886
-
887
- __slots__ = ('__forward_arg__', '__forward_code__',
888
- '__forward_evaluated__', '__forward_value__',
889
- '__forward_is_argument__', '__forward_is_class__',
890
- '__forward_module__')
891
-
892
- def __init__(self, arg, is_argument=True, module=None, *, is_class=False):
893
- if not isinstance(arg, str):
894
- raise TypeError(f"Forward reference must be a string -- got {arg!r}")
895
-
896
- # If we do `def f(*args: *Ts)`, then we'll have `arg = '*Ts'`.
897
- # Unfortunately, this isn't a valid expression on its own, so we
898
- # do the unpacking manually.
899
- if arg.startswith('*'):
900
- arg_to_compile = f'({arg},)[0]' # E.g. (*Ts,)[0] or (*tuple[int, int],)[0]
901
- else:
902
- arg_to_compile = arg
903
- try:
904
- code = compile(arg_to_compile, '<string>', 'eval')
905
- except SyntaxError:
906
- raise SyntaxError(f"Forward reference must be an expression -- got {arg!r}")
907
-
908
- self.__forward_arg__ = arg
909
- self.__forward_code__ = code
910
- self.__forward_evaluated__ = False
911
- self.__forward_value__ = None
912
- self.__forward_is_argument__ = is_argument
913
- self.__forward_is_class__ = is_class
914
- self.__forward_module__ = module
915
-
916
- def _evaluate(self, globalns, localns, type_params=None, *, recursive_guard):
917
- if self.__forward_arg__ in recursive_guard:
918
- return self
919
- if not self.__forward_evaluated__ or localns is not globalns:
920
- if globalns is None and localns is None:
921
- globalns = localns = {}
922
- elif globalns is None:
923
- globalns = localns
924
- elif localns is None:
925
- localns = globalns
926
- if self.__forward_module__ is not None:
927
- globalns = getattr(
928
- sys.modules.get(self.__forward_module__, None), '__dict__', globalns
929
- )
930
-
931
- # type parameters require some special handling,
932
- # as they exist in their own scope
933
- # but `eval()` does not have a dedicated parameter for that scope.
934
- # For classes, names in type parameter scopes should override
935
- # names in the global scope (which here are called `localns`!),
936
- # but should in turn be overridden by names in the class scope
937
- # (which here are called `globalns`!)
938
- if type_params:
939
- globalns, localns = dict(globalns), dict(localns)
940
- for param in type_params:
941
- param_name = param.__name__
942
- if not self.__forward_is_class__ or param_name not in globalns:
943
- globalns[param_name] = param
944
- localns.pop(param_name, None)
945
-
946
- type_ = _type_check(
947
- eval(self.__forward_code__, globalns, localns),
948
- "Forward references must evaluate to types.",
949
- is_argument=self.__forward_is_argument__,
950
- allow_special_forms=self.__forward_is_class__,
951
- )
952
- self.__forward_value__ = _eval_type(
953
- type_,
954
- globalns,
955
- localns,
956
- type_params,
957
- recursive_guard=(recursive_guard | {self.__forward_arg__}),
958
- )
959
- self.__forward_evaluated__ = True
960
- return self.__forward_value__
961
-
962
- def __eq__(self, other):
963
- if not isinstance(other, ForwardRef):
964
- return NotImplemented
965
- if self.__forward_evaluated__ and other.__forward_evaluated__:
966
- return (self.__forward_arg__ == other.__forward_arg__ and
967
- self.__forward_value__ == other.__forward_value__)
968
- return (self.__forward_arg__ == other.__forward_arg__ and
969
- self.__forward_module__ == other.__forward_module__)
970
-
971
- def __hash__(self):
972
- return hash((self.__forward_arg__, self.__forward_module__))
973
-
974
- def __or__(self, other):
975
- return Union[self, other]
976
-
977
- def __ror__(self, other):
978
- return Union[other, self]
979
-
980
- def __repr__(self):
981
- if self.__forward_module__ is None:
982
- module_repr = ''
983
- else:
984
- module_repr = f', module={self.__forward_module__!r}'
985
- return f'ForwardRef({self.__forward_arg__!r}{module_repr})'
986
-
987
-
988
- def _is_unpacked_typevartuple(x: Any) -> bool:
989
- return ((not isinstance(x, type)) and
990
- getattr(x, '__typing_is_unpacked_typevartuple__', False))
991
-
992
-
993
- def _is_typevar_like(x: Any) -> bool:
994
- return isinstance(x, (TypeVar, ParamSpec)) or _is_unpacked_typevartuple(x)
995
-
996
-
997
- class _PickleUsingNameMixin:
998
- """Mixin enabling pickling based on self.__name__."""
999
-
1000
- def __reduce__(self):
1001
- return self.__name__
1002
-
1003
-
1004
- def _typevar_subst(self, arg):
1005
- msg = "Parameters to generic types must be types."
1006
- arg = _type_check(arg, msg, is_argument=True)
1007
- if ((isinstance(arg, _GenericAlias) and arg.__origin__ is Unpack) or
1008
- (isinstance(arg, GenericAlias) and getattr(arg, '__unpacked__', False))):
1009
- raise TypeError(f"{arg} is not valid as type argument")
1010
- return arg
1011
-
1012
-
1013
- def _typevartuple_prepare_subst(self, alias, args):
1014
- params = alias.__parameters__
1015
- typevartuple_index = params.index(self)
1016
- for param in params[typevartuple_index + 1:]:
1017
- if isinstance(param, TypeVarTuple):
1018
- raise TypeError(f"More than one TypeVarTuple parameter in {alias}")
1019
-
1020
- alen = len(args)
1021
- plen = len(params)
1022
- left = typevartuple_index
1023
- right = plen - typevartuple_index - 1
1024
- var_tuple_index = None
1025
- fillarg = None
1026
- for k, arg in enumerate(args):
1027
- if not isinstance(arg, type):
1028
- subargs = getattr(arg, '__typing_unpacked_tuple_args__', None)
1029
- if subargs and len(subargs) == 2 and subargs[-1] is ...:
1030
- if var_tuple_index is not None:
1031
- raise TypeError("More than one unpacked arbitrary-length tuple argument")
1032
- var_tuple_index = k
1033
- fillarg = subargs[0]
1034
- if var_tuple_index is not None:
1035
- left = min(left, var_tuple_index)
1036
- right = min(right, alen - var_tuple_index - 1)
1037
- elif left + right > alen:
1038
- raise TypeError(f"Too few arguments for {alias};"
1039
- f" actual {alen}, expected at least {plen-1}")
1040
-
1041
- return (
1042
- *args[:left],
1043
- *([fillarg]*(typevartuple_index - left)),
1044
- tuple(args[left: alen - right]),
1045
- *([fillarg]*(plen - right - left - typevartuple_index - 1)),
1046
- *args[alen - right:],
1047
- )
1048
-
1049
-
1050
- def _paramspec_subst(self, arg):
1051
- if isinstance(arg, (list, tuple)):
1052
- arg = tuple(_type_check(a, "Expected a type.") for a in arg)
1053
- elif not _is_param_expr(arg):
1054
- raise TypeError(f"Expected a list of types, an ellipsis, "
1055
- f"ParamSpec, or Concatenate. Got {arg}")
1056
- return arg
1057
-
1058
-
1059
- def _paramspec_prepare_subst(self, alias, args):
1060
- params = alias.__parameters__
1061
- i = params.index(self)
1062
- if i >= len(args):
1063
- raise TypeError(f"Too few arguments for {alias}")
1064
- # Special case where Z[[int, str, bool]] == Z[int, str, bool] in PEP 612.
1065
- if len(params) == 1 and not _is_param_expr(args[0]):
1066
- assert i == 0
1067
- args = (args,)
1068
- # Convert lists to tuples to help other libraries cache the results.
1069
- elif isinstance(args[i], list):
1070
- args = (*args[:i], tuple(args[i]), *args[i+1:])
1071
- return args
1072
-
1073
-
1074
- @_tp_cache
1075
- def _generic_class_getitem(cls, params):
1076
- """Parameterizes a generic class.
1077
-
1078
- At least, parameterizing a generic class is the *main* thing this method
1079
- does. For example, for some generic class `Foo`, this is called when we
1080
- do `Foo[int]` - there, with `cls=Foo` and `params=int`.
1081
-
1082
- However, note that this method is also called when defining generic
1083
- classes in the first place with `class Foo(Generic[T]): ...`.
1084
- """
1085
- if not isinstance(params, tuple):
1086
- params = (params,)
1087
-
1088
- params = tuple(_type_convert(p) for p in params)
1089
- is_generic_or_protocol = cls in (Generic, Protocol)
1090
-
1091
- if is_generic_or_protocol:
1092
- # Generic and Protocol can only be subscripted with unique type variables.
1093
- if not params:
1094
- raise TypeError(
1095
- f"Parameter list to {cls.__qualname__}[...] cannot be empty"
1096
- )
1097
- if not all(_is_typevar_like(p) for p in params):
1098
- raise TypeError(
1099
- f"Parameters to {cls.__name__}[...] must all be type variables "
1100
- f"or parameter specification variables.")
1101
- if len(set(params)) != len(params):
1102
- raise TypeError(
1103
- f"Parameters to {cls.__name__}[...] must all be unique")
1104
- else:
1105
- # Subscripting a regular Generic subclass.
1106
- for param in cls.__parameters__:
1107
- prepare = getattr(param, '__typing_prepare_subst__', None)
1108
- if prepare is not None:
1109
- params = prepare(cls, params)
1110
- _check_generic(cls, params, len(cls.__parameters__))
1111
-
1112
- new_args = []
1113
- for param, new_arg in zip(cls.__parameters__, params):
1114
- if isinstance(param, TypeVarTuple):
1115
- new_args.extend(new_arg)
1116
- else:
1117
- new_args.append(new_arg)
1118
- params = tuple(new_args)
1119
-
1120
- return _GenericAlias(cls, params)
1121
-
1122
-
1123
- def _generic_init_subclass(cls, *args, **kwargs):
1124
- super(Generic, cls).__init_subclass__(*args, **kwargs)
1125
- tvars = []
1126
- if '__orig_bases__' in cls.__dict__:
1127
- error = Generic in cls.__orig_bases__
1128
- else:
1129
- error = (Generic in cls.__bases__ and
1130
- cls.__name__ != 'Protocol' and
1131
- type(cls) != _TypedDictMeta)
1132
- if error:
1133
- raise TypeError("Cannot inherit from plain Generic")
1134
- if '__orig_bases__' in cls.__dict__:
1135
- tvars = _collect_parameters(cls.__orig_bases__)
1136
- # Look for Generic[T1, ..., Tn].
1137
- # If found, tvars must be a subset of it.
1138
- # If not found, tvars is it.
1139
- # Also check for and reject plain Generic,
1140
- # and reject multiple Generic[...].
1141
- gvars = None
1142
- for base in cls.__orig_bases__:
1143
- if (isinstance(base, _GenericAlias) and
1144
- base.__origin__ is Generic):
1145
- if gvars is not None:
1146
- raise TypeError(
1147
- "Cannot inherit from Generic[...] multiple times.")
1148
- gvars = base.__parameters__
1149
- if gvars is not None:
1150
- tvarset = set(tvars)
1151
- gvarset = set(gvars)
1152
- if not tvarset <= gvarset:
1153
- s_vars = ', '.join(str(t) for t in tvars if t not in gvarset)
1154
- s_args = ', '.join(str(g) for g in gvars)
1155
- raise TypeError(f"Some type variables ({s_vars}) are"
1156
- f" not listed in Generic[{s_args}]")
1157
- tvars = gvars
1158
- cls.__parameters__ = tuple(tvars)
1159
-
1160
-
1161
- def _is_dunder(attr):
1162
- return attr.startswith('__') and attr.endswith('__')
1163
-
1164
- class _BaseGenericAlias(_Final, _root=True):
1165
- """The central part of the internal API.
1166
-
1167
- This represents a generic version of type 'origin' with type arguments 'params'.
1168
- There are two kind of these aliases: user defined and special. The special ones
1169
- are wrappers around builtin collections and ABCs in collections.abc. These must
1170
- have 'name' always set. If 'inst' is False, then the alias can't be instantiated;
1171
- this is used by e.g. typing.List and typing.Dict.
1172
- """
1173
-
1174
- def __init__(self, origin, *, inst=True, name=None):
1175
- self._inst = inst
1176
- self._name = name
1177
- self.__origin__ = origin
1178
- self.__slots__ = None # This is not documented.
1179
-
1180
- def __call__(self, *args, **kwargs):
1181
- if not self._inst:
1182
- raise TypeError(f"Type {self._name} cannot be instantiated; "
1183
- f"use {self.__origin__.__name__}() instead")
1184
- result = self.__origin__(*args, **kwargs)
1185
- try:
1186
- result.__orig_class__ = self
1187
- # Some objects raise TypeError (or something even more exotic)
1188
- # if you try to set attributes on them; we guard against that here
1189
- except Exception:
1190
- pass
1191
- return result
1192
-
1193
- def __mro_entries__(self, bases):
1194
- res = []
1195
- if self.__origin__ not in bases:
1196
- res.append(self.__origin__)
1197
- i = bases.index(self)
1198
- for b in bases[i+1:]:
1199
- if isinstance(b, _BaseGenericAlias) or issubclass(b, Generic):
1200
- break
1201
- else:
1202
- res.append(Generic)
1203
- return tuple(res)
1204
-
1205
- def __getattr__(self, attr):
1206
- if attr in {'__name__', '__qualname__'}:
1207
- return self._name or self.__origin__.__name__
1208
-
1209
- # We are careful for copy and pickle.
1210
- # Also for simplicity we don't relay any dunder names
1211
- if '__origin__' in self.__dict__ and not _is_dunder(attr):
1212
- return getattr(self.__origin__, attr)
1213
- raise AttributeError(attr)
1214
-
1215
- def __setattr__(self, attr, val):
1216
- if _is_dunder(attr) or attr in {'_name', '_inst', '_nparams'}:
1217
- super().__setattr__(attr, val)
1218
- else:
1219
- setattr(self.__origin__, attr, val)
1220
-
1221
- def __instancecheck__(self, obj):
1222
- return self.__subclasscheck__(type(obj))
1223
-
1224
- def __subclasscheck__(self, cls):
1225
- raise TypeError("Subscripted generics cannot be used with"
1226
- " class and instance checks")
1227
-
1228
- def __dir__(self):
1229
- return list(set(super().__dir__()
1230
- + [attr for attr in dir(self.__origin__) if not _is_dunder(attr)]))
1231
-
1232
-
1233
- # Special typing constructs Union, Optional, Generic, Callable and Tuple
1234
- # use three special attributes for internal bookkeeping of generic types:
1235
- # * __parameters__ is a tuple of unique free type parameters of a generic
1236
- # type, for example, Dict[T, T].__parameters__ == (T,);
1237
- # * __origin__ keeps a reference to a type that was subscripted,
1238
- # e.g., Union[T, int].__origin__ == Union, or the non-generic version of
1239
- # the type.
1240
- # * __args__ is a tuple of all arguments used in subscripting,
1241
- # e.g., Dict[T, int].__args__ == (T, int).
1242
-
1243
-
1244
- class _GenericAlias(_BaseGenericAlias, _root=True):
1245
- # The type of parameterized generics.
1246
- #
1247
- # That is, for example, `type(List[int])` is `_GenericAlias`.
1248
- #
1249
- # Objects which are instances of this class include:
1250
- # * Parameterized container types, e.g. `Tuple[int]`, `List[int]`.
1251
- # * Note that native container types, e.g. `tuple`, `list`, use
1252
- # `types.GenericAlias` instead.
1253
- # * Parameterized classes:
1254
- # class C[T]: pass
1255
- # # C[int] is a _GenericAlias
1256
- # * `Callable` aliases, generic `Callable` aliases, and
1257
- # parameterized `Callable` aliases:
1258
- # T = TypeVar('T')
1259
- # # _CallableGenericAlias inherits from _GenericAlias.
1260
- # A = Callable[[], None] # _CallableGenericAlias
1261
- # B = Callable[[T], None] # _CallableGenericAlias
1262
- # C = B[int] # _CallableGenericAlias
1263
- # * Parameterized `Final`, `ClassVar` and `TypeGuard`:
1264
- # # All _GenericAlias
1265
- # Final[int]
1266
- # ClassVar[float]
1267
- # TypeVar[bool]
1268
-
1269
- def __init__(self, origin, args, *, inst=True, name=None):
1270
- super().__init__(origin, inst=inst, name=name)
1271
- if not isinstance(args, tuple):
1272
- args = (args,)
1273
- self.__args__ = tuple(... if a is _TypingEllipsis else
1274
- a for a in args)
1275
- self.__parameters__ = _collect_parameters(args)
1276
- if not name:
1277
- self.__module__ = origin.__module__
1278
-
1279
- def __eq__(self, other):
1280
- if not isinstance(other, _GenericAlias):
1281
- return NotImplemented
1282
- return (self.__origin__ == other.__origin__
1283
- and self.__args__ == other.__args__)
1284
-
1285
- def __hash__(self):
1286
- return hash((self.__origin__, self.__args__))
1287
-
1288
- def __or__(self, right):
1289
- return Union[self, right]
1290
-
1291
- def __ror__(self, left):
1292
- return Union[left, self]
1293
-
1294
- @_tp_cache
1295
- def __getitem__(self, args):
1296
- # Parameterizes an already-parameterized object.
1297
- #
1298
- # For example, we arrive here doing something like:
1299
- # T1 = TypeVar('T1')
1300
- # T2 = TypeVar('T2')
1301
- # T3 = TypeVar('T3')
1302
- # class A(Generic[T1]): pass
1303
- # B = A[T2] # B is a _GenericAlias
1304
- # C = B[T3] # Invokes _GenericAlias.__getitem__
1305
- #
1306
- # We also arrive here when parameterizing a generic `Callable` alias:
1307
- # T = TypeVar('T')
1308
- # C = Callable[[T], None]
1309
- # C[int] # Invokes _GenericAlias.__getitem__
1310
-
1311
- if self.__origin__ in (Generic, Protocol):
1312
- # Can't subscript Generic[...] or Protocol[...].
1313
- raise TypeError(f"Cannot subscript already-subscripted {self}")
1314
- if not self.__parameters__:
1315
- raise TypeError(f"{self} is not a generic class")
1316
-
1317
- # Preprocess `args`.
1318
- if not isinstance(args, tuple):
1319
- args = (args,)
1320
- args = tuple(_type_convert(p) for p in args)
1321
- args = _unpack_args(args)
1322
- new_args = self._determine_new_args(args)
1323
- r = self.copy_with(new_args)
1324
- return r
1325
-
1326
- def _determine_new_args(self, args):
1327
- # Determines new __args__ for __getitem__.
1328
- #
1329
- # For example, suppose we had:
1330
- # T1 = TypeVar('T1')
1331
- # T2 = TypeVar('T2')
1332
- # class A(Generic[T1, T2]): pass
1333
- # T3 = TypeVar('T3')
1334
- # B = A[int, T3]
1335
- # C = B[str]
1336
- # `B.__args__` is `(int, T3)`, so `C.__args__` should be `(int, str)`.
1337
- # Unfortunately, this is harder than it looks, because if `T3` is
1338
- # anything more exotic than a plain `TypeVar`, we need to consider
1339
- # edge cases.
1340
-
1341
- params = self.__parameters__
1342
- # In the example above, this would be {T3: str}
1343
- for param in params:
1344
- prepare = getattr(param, '__typing_prepare_subst__', None)
1345
- if prepare is not None:
1346
- args = prepare(self, args)
1347
- alen = len(args)
1348
- plen = len(params)
1349
- if alen != plen:
1350
- raise TypeError(f"Too {'many' if alen > plen else 'few'} arguments for {self};"
1351
- f" actual {alen}, expected {plen}")
1352
- new_arg_by_param = dict(zip(params, args))
1353
- return tuple(self._make_substitution(self.__args__, new_arg_by_param))
1354
-
1355
- def _make_substitution(self, args, new_arg_by_param):
1356
- """Create a list of new type arguments."""
1357
- new_args = []
1358
- for old_arg in args:
1359
- if isinstance(old_arg, type):
1360
- new_args.append(old_arg)
1361
- continue
1362
-
1363
- substfunc = getattr(old_arg, '__typing_subst__', None)
1364
- if substfunc:
1365
- new_arg = substfunc(new_arg_by_param[old_arg])
1366
- else:
1367
- subparams = getattr(old_arg, '__parameters__', ())
1368
- if not subparams:
1369
- new_arg = old_arg
1370
- else:
1371
- subargs = []
1372
- for x in subparams:
1373
- if isinstance(x, TypeVarTuple):
1374
- subargs.extend(new_arg_by_param[x])
1375
- else:
1376
- subargs.append(new_arg_by_param[x])
1377
- new_arg = old_arg[tuple(subargs)]
1378
-
1379
- if self.__origin__ == collections.abc.Callable and isinstance(new_arg, tuple):
1380
- # Consider the following `Callable`.
1381
- # C = Callable[[int], str]
1382
- # Here, `C.__args__` should be (int, str) - NOT ([int], str).
1383
- # That means that if we had something like...
1384
- # P = ParamSpec('P')
1385
- # T = TypeVar('T')
1386
- # C = Callable[P, T]
1387
- # D = C[[int, str], float]
1388
- # ...we need to be careful; `new_args` should end up as
1389
- # `(int, str, float)` rather than `([int, str], float)`.
1390
- new_args.extend(new_arg)
1391
- elif _is_unpacked_typevartuple(old_arg):
1392
- # Consider the following `_GenericAlias`, `B`:
1393
- # class A(Generic[*Ts]): ...
1394
- # B = A[T, *Ts]
1395
- # If we then do:
1396
- # B[float, int, str]
1397
- # The `new_arg` corresponding to `T` will be `float`, and the
1398
- # `new_arg` corresponding to `*Ts` will be `(int, str)`. We
1399
- # should join all these types together in a flat list
1400
- # `(float, int, str)` - so again, we should `extend`.
1401
- new_args.extend(new_arg)
1402
- elif isinstance(old_arg, tuple):
1403
- # Corner case:
1404
- # P = ParamSpec('P')
1405
- # T = TypeVar('T')
1406
- # class Base(Generic[P]): ...
1407
- # Can be substituted like this:
1408
- # X = Base[[int, T]]
1409
- # In this case, `old_arg` will be a tuple:
1410
- new_args.append(
1411
- tuple(self._make_substitution(old_arg, new_arg_by_param)),
1412
- )
1413
- else:
1414
- new_args.append(new_arg)
1415
- return new_args
1416
-
1417
- def copy_with(self, args):
1418
- return self.__class__(self.__origin__, args, name=self._name, inst=self._inst)
1419
-
1420
- def __repr__(self):
1421
- if self._name:
1422
- name = 'typing.' + self._name
1423
- else:
1424
- name = _type_repr(self.__origin__)
1425
- if self.__args__:
1426
- args = ", ".join([_type_repr(a) for a in self.__args__])
1427
- else:
1428
- # To ensure the repr is eval-able.
1429
- args = "()"
1430
- return f'{name}[{args}]'
1431
-
1432
- def __reduce__(self):
1433
- if self._name:
1434
- origin = globals()[self._name]
1435
- else:
1436
- origin = self.__origin__
1437
- args = tuple(self.__args__)
1438
- if len(args) == 1 and not isinstance(args[0], tuple):
1439
- args, = args
1440
- return operator.getitem, (origin, args)
1441
-
1442
- def __mro_entries__(self, bases):
1443
- if isinstance(self.__origin__, _SpecialForm):
1444
- raise TypeError(f"Cannot subclass {self!r}")
1445
-
1446
- if self._name: # generic version of an ABC or built-in class
1447
- return super().__mro_entries__(bases)
1448
- if self.__origin__ is Generic:
1449
- if Protocol in bases:
1450
- return ()
1451
- i = bases.index(self)
1452
- for b in bases[i+1:]:
1453
- if isinstance(b, _BaseGenericAlias) and b is not self:
1454
- return ()
1455
- return (self.__origin__,)
1456
-
1457
- def __iter__(self):
1458
- yield Unpack[self]
1459
-
1460
-
1461
- # _nparams is the number of accepted parameters, e.g. 0 for Hashable,
1462
- # 1 for List and 2 for Dict. It may be -1 if variable number of
1463
- # parameters are accepted (needs custom __getitem__).
1464
-
1465
- class _SpecialGenericAlias(_NotIterable, _BaseGenericAlias, _root=True):
1466
- def __init__(self, origin, nparams, *, inst=True, name=None):
1467
- if name is None:
1468
- name = origin.__name__
1469
- super().__init__(origin, inst=inst, name=name)
1470
- self._nparams = nparams
1471
- if origin.__module__ == 'builtins':
1472
- self.__doc__ = f'A generic version of {origin.__qualname__}.'
1473
- else:
1474
- self.__doc__ = f'A generic version of {origin.__module__}.{origin.__qualname__}.'
1475
-
1476
- @_tp_cache
1477
- def __getitem__(self, params):
1478
- if not isinstance(params, tuple):
1479
- params = (params,)
1480
- msg = "Parameters to generic types must be types."
1481
- params = tuple(_type_check(p, msg) for p in params)
1482
- _check_generic(self, params, self._nparams)
1483
- return self.copy_with(params)
1484
-
1485
- def copy_with(self, params):
1486
- return _GenericAlias(self.__origin__, params,
1487
- name=self._name, inst=self._inst)
1488
-
1489
- def __repr__(self):
1490
- return 'typing.' + self._name
1491
-
1492
- def __subclasscheck__(self, cls):
1493
- if isinstance(cls, _SpecialGenericAlias):
1494
- return issubclass(cls.__origin__, self.__origin__)
1495
- if not isinstance(cls, _GenericAlias):
1496
- return issubclass(cls, self.__origin__)
1497
- return super().__subclasscheck__(cls)
1498
-
1499
- def __reduce__(self):
1500
- return self._name
1501
-
1502
- def __or__(self, right):
1503
- return Union[self, right]
1504
-
1505
- def __ror__(self, left):
1506
- return Union[left, self]
1507
-
1508
-
1509
- class _DeprecatedGenericAlias(_SpecialGenericAlias, _root=True):
1510
- def __init__(
1511
- self, origin, nparams, *, removal_version, inst=True, name=None
1512
- ):
1513
- super().__init__(origin, nparams, inst=inst, name=name)
1514
- self._removal_version = removal_version
1515
-
1516
- def __instancecheck__(self, inst):
1517
- import warnings
1518
- warnings._deprecated(
1519
- f"{self.__module__}.{self._name}", remove=self._removal_version
1520
- )
1521
- return super().__instancecheck__(inst)
1522
-
1523
-
1524
- class _CallableGenericAlias(_NotIterable, _GenericAlias, _root=True):
1525
- def __repr__(self):
1526
- assert self._name == 'Callable'
1527
- args = self.__args__
1528
- if len(args) == 2 and _is_param_expr(args[0]):
1529
- return super().__repr__()
1530
- return (f'typing.Callable'
1531
- f'[[{", ".join([_type_repr(a) for a in args[:-1]])}], '
1532
- f'{_type_repr(args[-1])}]')
1533
-
1534
- def __reduce__(self):
1535
- args = self.__args__
1536
- if not (len(args) == 2 and _is_param_expr(args[0])):
1537
- args = list(args[:-1]), args[-1]
1538
- return operator.getitem, (Callable, args)
1539
-
1540
-
1541
- class _CallableType(_SpecialGenericAlias, _root=True):
1542
- def copy_with(self, params):
1543
- return _CallableGenericAlias(self.__origin__, params,
1544
- name=self._name, inst=self._inst)
1545
-
1546
- def __getitem__(self, params):
1547
- if not isinstance(params, tuple) or len(params) != 2:
1548
- raise TypeError("Callable must be used as "
1549
- "Callable[[arg, ...], result].")
1550
- args, result = params
1551
- # This relaxes what args can be on purpose to allow things like
1552
- # PEP 612 ParamSpec. Responsibility for whether a user is using
1553
- # Callable[...] properly is deferred to static type checkers.
1554
- if isinstance(args, list):
1555
- params = (tuple(args), result)
1556
- else:
1557
- params = (args, result)
1558
- return self.__getitem_inner__(params)
1559
-
1560
- @_tp_cache
1561
- def __getitem_inner__(self, params):
1562
- args, result = params
1563
- msg = "Callable[args, result]: result must be a type."
1564
- result = _type_check(result, msg)
1565
- if args is Ellipsis:
1566
- return self.copy_with((_TypingEllipsis, result))
1567
- if not isinstance(args, tuple):
1568
- args = (args,)
1569
- args = tuple(_type_convert(arg) for arg in args)
1570
- params = args + (result,)
1571
- return self.copy_with(params)
1572
-
1573
-
1574
- class _TupleType(_SpecialGenericAlias, _root=True):
1575
- @_tp_cache
1576
- def __getitem__(self, params):
1577
- if not isinstance(params, tuple):
1578
- params = (params,)
1579
- if len(params) >= 2 and params[-1] is ...:
1580
- msg = "Tuple[t, ...]: t must be a type."
1581
- params = tuple(_type_check(p, msg) for p in params[:-1])
1582
- return self.copy_with((*params, _TypingEllipsis))
1583
- msg = "Tuple[t0, t1, ...]: each t must be a type."
1584
- params = tuple(_type_check(p, msg) for p in params)
1585
- return self.copy_with(params)
1586
-
1587
-
1588
- class _UnionGenericAlias(_NotIterable, _GenericAlias, _root=True):
1589
- def copy_with(self, params):
1590
- return Union[params]
1591
-
1592
- def __eq__(self, other):
1593
- if not isinstance(other, (_UnionGenericAlias, types.UnionType)):
1594
- return NotImplemented
1595
- try: # fast path
1596
- return set(self.__args__) == set(other.__args__)
1597
- except TypeError: # not hashable, slow path
1598
- return _compare_args_orderless(self.__args__, other.__args__)
1599
-
1600
- def __hash__(self):
1601
- return hash(frozenset(self.__args__))
1602
-
1603
- def __repr__(self):
1604
- args = self.__args__
1605
- if len(args) == 2:
1606
- if args[0] is type(None):
1607
- return f'typing.Optional[{_type_repr(args[1])}]'
1608
- elif args[1] is type(None):
1609
- return f'typing.Optional[{_type_repr(args[0])}]'
1610
- return super().__repr__()
1611
-
1612
- def __instancecheck__(self, obj):
1613
- for arg in self.__args__:
1614
- if isinstance(obj, arg):
1615
- return True
1616
- return False
1617
-
1618
- def __subclasscheck__(self, cls):
1619
- for arg in self.__args__:
1620
- if issubclass(cls, arg):
1621
- return True
1622
- return False
1623
-
1624
- def __reduce__(self):
1625
- func, (origin, args) = super().__reduce__()
1626
- return func, (Union, args)
1627
-
1628
-
1629
- def _value_and_type_iter(parameters):
1630
- return ((p, type(p)) for p in parameters)
1631
-
1632
-
1633
- class _LiteralGenericAlias(_GenericAlias, _root=True):
1634
- def __eq__(self, other):
1635
- if not isinstance(other, _LiteralGenericAlias):
1636
- return NotImplemented
1637
-
1638
- return set(_value_and_type_iter(self.__args__)) == set(_value_and_type_iter(other.__args__))
1639
-
1640
- def __hash__(self):
1641
- return hash(frozenset(_value_and_type_iter(self.__args__)))
1642
-
1643
-
1644
- class _ConcatenateGenericAlias(_GenericAlias, _root=True):
1645
- def copy_with(self, params):
1646
- if isinstance(params[-1], (list, tuple)):
1647
- return (*params[:-1], *params[-1])
1648
- if isinstance(params[-1], _ConcatenateGenericAlias):
1649
- params = (*params[:-1], *params[-1].__args__)
1650
- return super().copy_with(params)
1651
-
1652
-
1653
- @_SpecialForm
1654
- def Unpack(self, parameters):
1655
- """Type unpack operator.
1656
-
1657
- The type unpack operator takes the child types from some container type,
1658
- such as `tuple[int, str]` or a `TypeVarTuple`, and 'pulls them out'.
1659
-
1660
- For example::
1661
-
1662
- # For some generic class `Foo`:
1663
- Foo[Unpack[tuple[int, str]]] # Equivalent to Foo[int, str]
1664
-
1665
- Ts = TypeVarTuple('Ts')
1666
- # Specifies that `Bar` is generic in an arbitrary number of types.
1667
- # (Think of `Ts` as a tuple of an arbitrary number of individual
1668
- # `TypeVar`s, which the `Unpack` is 'pulling out' directly into the
1669
- # `Generic[]`.)
1670
- class Bar(Generic[Unpack[Ts]]): ...
1671
- Bar[int] # Valid
1672
- Bar[int, str] # Also valid
1673
-
1674
- From Python 3.11, this can also be done using the `*` operator::
1675
-
1676
- Foo[*tuple[int, str]]
1677
- class Bar(Generic[*Ts]): ...
1678
-
1679
- And from Python 3.12, it can be done using built-in syntax for generics::
1680
-
1681
- Foo[*tuple[int, str]]
1682
- class Bar[*Ts]: ...
1683
-
1684
- The operator can also be used along with a `TypedDict` to annotate
1685
- `**kwargs` in a function signature::
1686
-
1687
- class Movie(TypedDict):
1688
- name: str
1689
- year: int
1690
-
1691
- # This function expects two keyword arguments - *name* of type `str` and
1692
- # *year* of type `int`.
1693
- def foo(**kwargs: Unpack[Movie]): ...
1694
-
1695
- Note that there is only some runtime checking of this operator. Not
1696
- everything the runtime allows may be accepted by static type checkers.
1697
-
1698
- For more information, see PEPs 646 and 692.
1699
- """
1700
- item = _type_check(parameters, f'{self} accepts only single type.')
1701
- return _UnpackGenericAlias(origin=self, args=(item,))
1702
-
1703
-
1704
- class _UnpackGenericAlias(_GenericAlias, _root=True):
1705
- def __repr__(self):
1706
- # `Unpack` only takes one argument, so __args__ should contain only
1707
- # a single item.
1708
- return f'typing.Unpack[{_type_repr(self.__args__[0])}]'
1709
-
1710
- def __getitem__(self, args):
1711
- if self.__typing_is_unpacked_typevartuple__:
1712
- return args
1713
- return super().__getitem__(args)
1714
-
1715
- @property
1716
- def __typing_unpacked_tuple_args__(self):
1717
- assert self.__origin__ is Unpack
1718
- assert len(self.__args__) == 1
1719
- arg, = self.__args__
1720
- if isinstance(arg, (_GenericAlias, types.GenericAlias)):
1721
- if arg.__origin__ is not tuple:
1722
- raise TypeError("Unpack[...] must be used with a tuple type")
1723
- return arg.__args__
1724
- return None
1725
-
1726
- @property
1727
- def __typing_is_unpacked_typevartuple__(self):
1728
- assert self.__origin__ is Unpack
1729
- assert len(self.__args__) == 1
1730
- return isinstance(self.__args__[0], TypeVarTuple)
1731
-
1732
-
1733
- class _TypingEllipsis:
1734
- """Internal placeholder for ... (ellipsis)."""
1735
-
1736
-
1737
- _TYPING_INTERNALS = frozenset({
1738
- '__parameters__', '__orig_bases__', '__orig_class__',
1739
- '_is_protocol', '_is_runtime_protocol', '__protocol_attrs__',
1740
- '__non_callable_proto_members__', '__type_params__',
1741
- })
1742
-
1743
- _SPECIAL_NAMES = frozenset({
1744
- '__abstractmethods__', '__annotations__', '__dict__', '__doc__',
1745
- '__init__', '__module__', '__new__', '__slots__',
1746
- '__subclasshook__', '__weakref__', '__class_getitem__'
1747
- })
1748
-
1749
- # These special attributes will be not collected as protocol members.
1750
- EXCLUDED_ATTRIBUTES = _TYPING_INTERNALS | _SPECIAL_NAMES | {'_MutableMapping__marker'}
1751
-
1752
-
1753
- def _get_protocol_attrs(cls):
1754
- """Collect protocol members from a protocol class objects.
1755
-
1756
- This includes names actually defined in the class dictionary, as well
1757
- as names that appear in annotations. Special names (above) are skipped.
1758
- """
1759
- attrs = set()
1760
- for base in cls.__mro__[:-1]: # without object
1761
- if base.__name__ in {'Protocol', 'Generic'}:
1762
- continue
1763
- annotations = getattr(base, '__annotations__', {})
1764
- for attr in (*base.__dict__, *annotations):
1765
- if not attr.startswith('_abc_') and attr not in EXCLUDED_ATTRIBUTES:
1766
- attrs.add(attr)
1767
- return attrs
1768
-
1769
-
1770
- def _no_init_or_replace_init(self, *args, **kwargs):
1771
- cls = type(self)
1772
-
1773
- if cls._is_protocol:
1774
- raise TypeError('Protocols cannot be instantiated')
1775
-
1776
- # Already using a custom `__init__`. No need to calculate correct
1777
- # `__init__` to call. This can lead to RecursionError. See bpo-45121.
1778
- if cls.__init__ is not _no_init_or_replace_init:
1779
- return
1780
-
1781
- # Initially, `__init__` of a protocol subclass is set to `_no_init_or_replace_init`.
1782
- # The first instantiation of the subclass will call `_no_init_or_replace_init` which
1783
- # searches for a proper new `__init__` in the MRO. The new `__init__`
1784
- # replaces the subclass' old `__init__` (ie `_no_init_or_replace_init`). Subsequent
1785
- # instantiation of the protocol subclass will thus use the new
1786
- # `__init__` and no longer call `_no_init_or_replace_init`.
1787
- for base in cls.__mro__:
1788
- init = base.__dict__.get('__init__', _no_init_or_replace_init)
1789
- if init is not _no_init_or_replace_init:
1790
- cls.__init__ = init
1791
- break
1792
- else:
1793
- # should not happen
1794
- cls.__init__ = object.__init__
1795
-
1796
- cls.__init__(self, *args, **kwargs)
1797
-
1798
-
1799
- def _caller(depth=1, default='__main__'):
1800
- try:
1801
- return sys._getframemodulename(depth + 1) or default
1802
- except AttributeError: # For platforms without _getframemodulename()
1803
- pass
1804
- try:
1805
- return sys._getframe(depth + 1).f_globals.get('__name__', default)
1806
- except (AttributeError, ValueError): # For platforms without _getframe()
1807
- pass
1808
- return None
1809
-
1810
- def _allow_reckless_class_checks(depth=2):
1811
- """Allow instance and class checks for special stdlib modules.
1812
-
1813
- The abc and functools modules indiscriminately call isinstance() and
1814
- issubclass() on the whole MRO of a user class, which may contain protocols.
1815
- """
1816
- return _caller(depth) in {'abc', 'functools', None}
1817
-
1818
-
1819
- _PROTO_ALLOWLIST = {
1820
- 'collections.abc': [
1821
- 'Callable', 'Awaitable', 'Iterable', 'Iterator', 'AsyncIterable',
1822
- 'AsyncIterator', 'Hashable', 'Sized', 'Container', 'Collection',
1823
- 'Reversible', 'Buffer',
1824
- ],
1825
- 'contextlib': ['AbstractContextManager', 'AbstractAsyncContextManager'],
1826
- }
1827
-
1828
-
1829
- @functools.cache
1830
- def _lazy_load_getattr_static():
1831
- # Import getattr_static lazily so as not to slow down the import of typing.py
1832
- # Cache the result so we don't slow down _ProtocolMeta.__instancecheck__ unnecessarily
1833
- from inspect import getattr_static
1834
- return getattr_static
1835
-
1836
-
1837
- _cleanups.append(_lazy_load_getattr_static.cache_clear)
1838
-
1839
- def _pickle_psargs(psargs):
1840
- return ParamSpecArgs, (psargs.__origin__,)
1841
-
1842
- copyreg.pickle(ParamSpecArgs, _pickle_psargs)
1843
-
1844
- def _pickle_pskwargs(pskwargs):
1845
- return ParamSpecKwargs, (pskwargs.__origin__,)
1846
-
1847
- copyreg.pickle(ParamSpecKwargs, _pickle_pskwargs)
1848
-
1849
- del _pickle_psargs, _pickle_pskwargs
1850
-
1851
-
1852
- class _ProtocolMeta(ABCMeta):
1853
- # This metaclass is somewhat unfortunate,
1854
- # but is necessary for several reasons...
1855
- def __new__(mcls, name, bases, namespace, /, **kwargs):
1856
- if name == "Protocol" and bases == (Generic,):
1857
- pass
1858
- elif Protocol in bases:
1859
- for base in bases:
1860
- if not (
1861
- base in {object, Generic}
1862
- or base.__name__ in _PROTO_ALLOWLIST.get(base.__module__, [])
1863
- or (
1864
- issubclass(base, Generic)
1865
- and getattr(base, "_is_protocol", False)
1866
- )
1867
- ):
1868
- raise TypeError(
1869
- f"Protocols can only inherit from other protocols, "
1870
- f"got {base!r}"
1871
- )
1872
- return super().__new__(mcls, name, bases, namespace, **kwargs)
1873
-
1874
- def __init__(cls, *args, **kwargs):
1875
- super().__init__(*args, **kwargs)
1876
- if getattr(cls, "_is_protocol", False):
1877
- cls.__protocol_attrs__ = _get_protocol_attrs(cls)
1878
-
1879
- def __subclasscheck__(cls, other):
1880
- if cls is Protocol:
1881
- return type.__subclasscheck__(cls, other)
1882
- if (
1883
- getattr(cls, '_is_protocol', False)
1884
- and not _allow_reckless_class_checks()
1885
- ):
1886
- if not isinstance(other, type):
1887
- # Same error message as for issubclass(1, int).
1888
- raise TypeError('issubclass() arg 1 must be a class')
1889
- if not getattr(cls, '_is_runtime_protocol', False):
1890
- raise TypeError(
1891
- "Instance and class checks can only be used with "
1892
- "@runtime_checkable protocols"
1893
- )
1894
- if (
1895
- # this attribute is set by @runtime_checkable:
1896
- cls.__non_callable_proto_members__
1897
- and cls.__dict__.get("__subclasshook__") is _proto_hook
1898
- ):
1899
- raise TypeError(
1900
- "Protocols with non-method members don't support issubclass()"
1901
- )
1902
- return super().__subclasscheck__(other)
1903
-
1904
- def __instancecheck__(cls, instance):
1905
- # We need this method for situations where attributes are
1906
- # assigned in __init__.
1907
- if cls is Protocol:
1908
- return type.__instancecheck__(cls, instance)
1909
- if not getattr(cls, "_is_protocol", False):
1910
- # i.e., it's a concrete subclass of a protocol
1911
- return super().__instancecheck__(instance)
1912
-
1913
- if (
1914
- not getattr(cls, '_is_runtime_protocol', False) and
1915
- not _allow_reckless_class_checks()
1916
- ):
1917
- raise TypeError("Instance and class checks can only be used with"
1918
- " @runtime_checkable protocols")
1919
-
1920
- if super().__instancecheck__(instance):
1921
- return True
1922
-
1923
- getattr_static = _lazy_load_getattr_static()
1924
- for attr in cls.__protocol_attrs__:
1925
- try:
1926
- val = getattr_static(instance, attr)
1927
- except AttributeError:
1928
- break
1929
- # this attribute is set by @runtime_checkable:
1930
- if val is None and attr not in cls.__non_callable_proto_members__:
1931
- break
1932
- else:
1933
- return True
1934
-
1935
- return False
1936
-
1937
-
1938
- @classmethod
1939
- def _proto_hook(cls, other):
1940
- if not cls.__dict__.get('_is_protocol', False):
1941
- return NotImplemented
1942
-
1943
- for attr in cls.__protocol_attrs__:
1944
- for base in other.__mro__:
1945
- # Check if the members appears in the class dictionary...
1946
- if attr in base.__dict__:
1947
- if base.__dict__[attr] is None:
1948
- return NotImplemented
1949
- break
1950
-
1951
- # ...or in annotations, if it is a sub-protocol.
1952
- annotations = getattr(base, '__annotations__', {})
1953
- if (isinstance(annotations, collections.abc.Mapping) and
1954
- attr in annotations and
1955
- issubclass(other, Generic) and getattr(other, '_is_protocol', False)):
1956
- break
1957
- else:
1958
- return NotImplemented
1959
- return True
1960
-
1961
-
1962
- class Protocol(Generic, metaclass=_ProtocolMeta):
1963
- """Base class for protocol classes.
1964
-
1965
- Protocol classes are defined as::
1966
-
1967
- class Proto(Protocol):
1968
- def meth(self) -> int:
1969
- ...
1970
-
1971
- Such classes are primarily used with static type checkers that recognize
1972
- structural subtyping (static duck-typing).
1973
-
1974
- For example::
1975
-
1976
- class C:
1977
- def meth(self) -> int:
1978
- return 0
1979
-
1980
- def func(x: Proto) -> int:
1981
- return x.meth()
1982
-
1983
- func(C()) # Passes static type check
1984
-
1985
- See PEP 544 for details. Protocol classes decorated with
1986
- @typing.runtime_checkable act as simple-minded runtime protocols that check
1987
- only the presence of given attributes, ignoring their type signatures.
1988
- Protocol classes can be generic, they are defined as::
1989
-
1990
- class GenProto[T](Protocol):
1991
- def meth(self) -> T:
1992
- ...
1993
- """
1994
-
1995
- __slots__ = ()
1996
- _is_protocol = True
1997
- _is_runtime_protocol = False
1998
-
1999
- def __init_subclass__(cls, *args, **kwargs):
2000
- super().__init_subclass__(*args, **kwargs)
2001
-
2002
- # Determine if this is a protocol or a concrete subclass.
2003
- if not cls.__dict__.get('_is_protocol', False):
2004
- cls._is_protocol = any(b is Protocol for b in cls.__bases__)
2005
-
2006
- # Set (or override) the protocol subclass hook.
2007
- if '__subclasshook__' not in cls.__dict__:
2008
- cls.__subclasshook__ = _proto_hook
2009
-
2010
- # Prohibit instantiation for protocol classes
2011
- if cls._is_protocol and cls.__init__ is Protocol.__init__:
2012
- cls.__init__ = _no_init_or_replace_init
2013
-
2014
-
2015
- class _AnnotatedAlias(_NotIterable, _GenericAlias, _root=True):
2016
- """Runtime representation of an annotated type.
2017
-
2018
- At its core 'Annotated[t, dec1, dec2, ...]' is an alias for the type 't'
2019
- with extra annotations. The alias behaves like a normal typing alias.
2020
- Instantiating is the same as instantiating the underlying type; binding
2021
- it to types is also the same.
2022
-
2023
- The metadata itself is stored in a '__metadata__' attribute as a tuple.
2024
- """
2025
-
2026
- def __init__(self, origin, metadata):
2027
- if isinstance(origin, _AnnotatedAlias):
2028
- metadata = origin.__metadata__ + metadata
2029
- origin = origin.__origin__
2030
- super().__init__(origin, origin, name='Annotated')
2031
- self.__metadata__ = metadata
2032
-
2033
- def copy_with(self, params):
2034
- assert len(params) == 1
2035
- new_type = params[0]
2036
- return _AnnotatedAlias(new_type, self.__metadata__)
2037
-
2038
- def __repr__(self):
2039
- return "typing.Annotated[{}, {}]".format(
2040
- _type_repr(self.__origin__),
2041
- ", ".join(repr(a) for a in self.__metadata__)
2042
- )
2043
-
2044
- def __reduce__(self):
2045
- return operator.getitem, (
2046
- Annotated, (self.__origin__,) + self.__metadata__
2047
- )
2048
-
2049
- def __eq__(self, other):
2050
- if not isinstance(other, _AnnotatedAlias):
2051
- return NotImplemented
2052
- return (self.__origin__ == other.__origin__
2053
- and self.__metadata__ == other.__metadata__)
2054
-
2055
- def __hash__(self):
2056
- return hash((self.__origin__, self.__metadata__))
2057
-
2058
- def __getattr__(self, attr):
2059
- if attr in {'__name__', '__qualname__'}:
2060
- return 'Annotated'
2061
- return super().__getattr__(attr)
2062
-
2063
- def __mro_entries__(self, bases):
2064
- return (self.__origin__,)
2065
-
2066
-
2067
- class Annotated:
2068
- """Add context-specific metadata to a type.
2069
-
2070
- Example: Annotated[int, runtime_check.Unsigned] indicates to the
2071
- hypothetical runtime_check module that this type is an unsigned int.
2072
- Every other consumer of this type can ignore this metadata and treat
2073
- this type as int.
2074
-
2075
- The first argument to Annotated must be a valid type.
2076
-
2077
- Details:
2078
-
2079
- - It's an error to call `Annotated` with less than two arguments.
2080
- - Access the metadata via the ``__metadata__`` attribute::
2081
-
2082
- assert Annotated[int, '$'].__metadata__ == ('$',)
2083
-
2084
- - Nested Annotated types are flattened::
2085
-
2086
- assert Annotated[Annotated[T, Ann1, Ann2], Ann3] == Annotated[T, Ann1, Ann2, Ann3]
2087
-
2088
- - Instantiating an annotated type is equivalent to instantiating the
2089
- underlying type::
2090
-
2091
- assert Annotated[C, Ann1](5) == C(5)
2092
-
2093
- - Annotated can be used as a generic type alias::
2094
-
2095
- type Optimized[T] = Annotated[T, runtime.Optimize()]
2096
- # type checker will treat Optimized[int]
2097
- # as equivalent to Annotated[int, runtime.Optimize()]
2098
-
2099
- type OptimizedList[T] = Annotated[list[T], runtime.Optimize()]
2100
- # type checker will treat OptimizedList[int]
2101
- # as equivalent to Annotated[list[int], runtime.Optimize()]
2102
-
2103
- - Annotated cannot be used with an unpacked TypeVarTuple::
2104
-
2105
- type Variadic[*Ts] = Annotated[*Ts, Ann1] # NOT valid
2106
-
2107
- This would be equivalent to::
2108
-
2109
- Annotated[T1, T2, T3, ..., Ann1]
2110
-
2111
- where T1, T2 etc. are TypeVars, which would be invalid, because
2112
- only one type should be passed to Annotated.
2113
- """
2114
-
2115
- __slots__ = ()
2116
-
2117
- def __new__(cls, *args, **kwargs):
2118
- raise TypeError("Type Annotated cannot be instantiated.")
2119
-
2120
- def __class_getitem__(cls, params):
2121
- if not isinstance(params, tuple):
2122
- params = (params,)
2123
- return cls._class_getitem_inner(cls, *params)
2124
-
2125
- @_tp_cache(typed=True)
2126
- def _class_getitem_inner(cls, *params):
2127
- if len(params) < 2:
2128
- raise TypeError("Annotated[...] should be used "
2129
- "with at least two arguments (a type and an "
2130
- "annotation).")
2131
- if _is_unpacked_typevartuple(params[0]):
2132
- raise TypeError("Annotated[...] should not be used with an "
2133
- "unpacked TypeVarTuple")
2134
- msg = "Annotated[t, ...]: t must be a type."
2135
- origin = _type_check(params[0], msg, allow_special_forms=True)
2136
- metadata = tuple(params[1:])
2137
- return _AnnotatedAlias(origin, metadata)
2138
-
2139
- def __init_subclass__(cls, *args, **kwargs):
2140
- raise TypeError(
2141
- "Cannot subclass {}.Annotated".format(cls.__module__)
2142
- )
2143
-
2144
-
2145
- def runtime_checkable(cls):
2146
- """Mark a protocol class as a runtime protocol.
2147
-
2148
- Such protocol can be used with isinstance() and issubclass().
2149
- Raise TypeError if applied to a non-protocol class.
2150
- This allows a simple-minded structural check very similar to
2151
- one trick ponies in collections.abc such as Iterable.
2152
-
2153
- For example::
2154
-
2155
- @runtime_checkable
2156
- class Closable(Protocol):
2157
- def close(self): ...
2158
-
2159
- assert isinstance(open('/some/file'), Closable)
2160
-
2161
- Warning: this will check only the presence of the required methods,
2162
- not their type signatures!
2163
- """
2164
- if not issubclass(cls, Generic) or not getattr(cls, '_is_protocol', False):
2165
- raise TypeError('@runtime_checkable can be only applied to protocol classes,'
2166
- ' got %r' % cls)
2167
- cls._is_runtime_protocol = True
2168
- # PEP 544 prohibits using issubclass()
2169
- # with protocols that have non-method members.
2170
- # See gh-113320 for why we compute this attribute here,
2171
- # rather than in `_ProtocolMeta.__init__`
2172
- cls.__non_callable_proto_members__ = set()
2173
- for attr in cls.__protocol_attrs__:
2174
- try:
2175
- is_callable = callable(getattr(cls, attr, None))
2176
- except Exception as e:
2177
- raise TypeError(
2178
- f"Failed to determine whether protocol member {attr!r} "
2179
- "is a method member"
2180
- ) from e
2181
- else:
2182
- if not is_callable:
2183
- cls.__non_callable_proto_members__.add(attr)
2184
- return cls
2185
-
2186
-
2187
- def cast(typ, val):
2188
- """Cast a value to a type.
2189
-
2190
- This returns the value unchanged. To the type checker this
2191
- signals that the return value has the designated type, but at
2192
- runtime we intentionally don't check anything (we want this
2193
- to be as fast as possible).
2194
- """
2195
- return val
2196
-
2197
-
2198
- def assert_type(val, typ, /):
2199
- """Ask a static type checker to confirm that the value is of the given type.
2200
-
2201
- At runtime this does nothing: it returns the first argument unchanged with no
2202
- checks or side effects, no matter the actual type of the argument.
2203
-
2204
- When a static type checker encounters a call to assert_type(), it
2205
- emits an error if the value is not of the specified type::
2206
-
2207
- def greet(name: str) -> None:
2208
- assert_type(name, str) # OK
2209
- assert_type(name, int) # type checker error
2210
- """
2211
- return val
2212
-
2213
-
2214
- _allowed_types = (types.FunctionType, types.BuiltinFunctionType,
2215
- types.MethodType, types.ModuleType,
2216
- WrapperDescriptorType, MethodWrapperType, MethodDescriptorType)
2217
-
2218
-
2219
- def get_type_hints(obj, globalns=None, localns=None, include_extras=False):
2220
- """Return type hints for an object.
2221
-
2222
- This is often the same as obj.__annotations__, but it handles
2223
- forward references encoded as string literals and recursively replaces all
2224
- 'Annotated[T, ...]' with 'T' (unless 'include_extras=True').
2225
-
2226
- The argument may be a module, class, method, or function. The annotations
2227
- are returned as a dictionary. For classes, annotations include also
2228
- inherited members.
2229
-
2230
- TypeError is raised if the argument is not of a type that can contain
2231
- annotations, and an empty dictionary is returned if no annotations are
2232
- present.
2233
-
2234
- BEWARE -- the behavior of globalns and localns is counterintuitive
2235
- (unless you are familiar with how eval() and exec() work). The
2236
- search order is locals first, then globals.
2237
-
2238
- - If no dict arguments are passed, an attempt is made to use the
2239
- globals from obj (or the respective module's globals for classes),
2240
- and these are also used as the locals. If the object does not appear
2241
- to have globals, an empty dictionary is used. For classes, the search
2242
- order is globals first then locals.
2243
-
2244
- - If one dict argument is passed, it is used for both globals and
2245
- locals.
2246
-
2247
- - If two dict arguments are passed, they specify globals and
2248
- locals, respectively.
2249
- """
2250
- if getattr(obj, '__no_type_check__', None):
2251
- return {}
2252
- # Classes require a special treatment.
2253
- if isinstance(obj, type):
2254
- hints = {}
2255
- for base in reversed(obj.__mro__):
2256
- if globalns is None:
2257
- base_globals = getattr(sys.modules.get(base.__module__, None), '__dict__', {})
2258
- else:
2259
- base_globals = globalns
2260
- ann = base.__dict__.get('__annotations__', {})
2261
- if isinstance(ann, types.GetSetDescriptorType):
2262
- ann = {}
2263
- base_locals = dict(vars(base)) if localns is None else localns
2264
- if localns is None and globalns is None:
2265
- # This is surprising, but required. Before Python 3.10,
2266
- # get_type_hints only evaluated the globalns of
2267
- # a class. To maintain backwards compatibility, we reverse
2268
- # the globalns and localns order so that eval() looks into
2269
- # *base_globals* first rather than *base_locals*.
2270
- # This only affects ForwardRefs.
2271
- base_globals, base_locals = base_locals, base_globals
2272
- for name, value in ann.items():
2273
- if value is None:
2274
- value = type(None)
2275
- if isinstance(value, str):
2276
- value = ForwardRef(value, is_argument=False, is_class=True)
2277
- value = _eval_type(value, base_globals, base_locals, base.__type_params__)
2278
- hints[name] = value
2279
- return hints if include_extras else {k: _strip_annotations(t) for k, t in hints.items()}
2280
-
2281
- if globalns is None:
2282
- if isinstance(obj, types.ModuleType):
2283
- globalns = obj.__dict__
2284
- else:
2285
- nsobj = obj
2286
- # Find globalns for the unwrapped object.
2287
- while hasattr(nsobj, '__wrapped__'):
2288
- nsobj = nsobj.__wrapped__
2289
- globalns = getattr(nsobj, '__globals__', {})
2290
- if localns is None:
2291
- localns = globalns
2292
- elif localns is None:
2293
- localns = globalns
2294
- hints = getattr(obj, '__annotations__', None)
2295
- if hints is None:
2296
- # Return empty annotations for something that _could_ have them.
2297
- if isinstance(obj, _allowed_types):
2298
- return {}
2299
- else:
2300
- raise TypeError('{!r} is not a module, class, method, '
2301
- 'or function.'.format(obj))
2302
- hints = dict(hints)
2303
- type_params = getattr(obj, "__type_params__", ())
2304
- for name, value in hints.items():
2305
- if value is None:
2306
- value = type(None)
2307
- if isinstance(value, str):
2308
- # class-level forward refs were handled above, this must be either
2309
- # a module-level annotation or a function argument annotation
2310
- value = ForwardRef(
2311
- value,
2312
- is_argument=not isinstance(obj, types.ModuleType),
2313
- is_class=False,
2314
- )
2315
- hints[name] = _eval_type(value, globalns, localns, type_params)
2316
- return hints if include_extras else {k: _strip_annotations(t) for k, t in hints.items()}
2317
-
2318
-
2319
- def _strip_annotations(t):
2320
- """Strip the annotations from a given type."""
2321
- if isinstance(t, _AnnotatedAlias):
2322
- return _strip_annotations(t.__origin__)
2323
- if hasattr(t, "__origin__") and t.__origin__ in (Required, NotRequired):
2324
- return _strip_annotations(t.__args__[0])
2325
- if isinstance(t, _GenericAlias):
2326
- stripped_args = tuple(_strip_annotations(a) for a in t.__args__)
2327
- if stripped_args == t.__args__:
2328
- return t
2329
- return t.copy_with(stripped_args)
2330
- if isinstance(t, GenericAlias):
2331
- stripped_args = tuple(_strip_annotations(a) for a in t.__args__)
2332
- if stripped_args == t.__args__:
2333
- return t
2334
- return GenericAlias(t.__origin__, stripped_args)
2335
- if isinstance(t, types.UnionType):
2336
- stripped_args = tuple(_strip_annotations(a) for a in t.__args__)
2337
- if stripped_args == t.__args__:
2338
- return t
2339
- return functools.reduce(operator.or_, stripped_args)
2340
-
2341
- return t
2342
-
2343
-
2344
- def get_origin(tp):
2345
- """Get the unsubscripted version of a type.
2346
-
2347
- This supports generic types, Callable, Tuple, Union, Literal, Final, ClassVar,
2348
- Annotated, and others. Return None for unsupported types.
2349
-
2350
- Examples::
2351
-
2352
- >>> P = ParamSpec('P')
2353
- >>> assert get_origin(Literal[42]) is Literal
2354
- >>> assert get_origin(int) is None
2355
- >>> assert get_origin(ClassVar[int]) is ClassVar
2356
- >>> assert get_origin(Generic) is Generic
2357
- >>> assert get_origin(Generic[T]) is Generic
2358
- >>> assert get_origin(Union[T, int]) is Union
2359
- >>> assert get_origin(List[Tuple[T, T]][int]) is list
2360
- >>> assert get_origin(P.args) is P
2361
- """
2362
- if isinstance(tp, _AnnotatedAlias):
2363
- return Annotated
2364
- if isinstance(tp, (_BaseGenericAlias, GenericAlias,
2365
- ParamSpecArgs, ParamSpecKwargs)):
2366
- return tp.__origin__
2367
- if tp is Generic:
2368
- return Generic
2369
- if isinstance(tp, types.UnionType):
2370
- return types.UnionType
2371
- return None
2372
-
2373
-
2374
- def get_args(tp):
2375
- """Get type arguments with all substitutions performed.
2376
-
2377
- For unions, basic simplifications used by Union constructor are performed.
2378
-
2379
- Examples::
2380
-
2381
- >>> T = TypeVar('T')
2382
- >>> assert get_args(Dict[str, int]) == (str, int)
2383
- >>> assert get_args(int) == ()
2384
- >>> assert get_args(Union[int, Union[T, int], str][int]) == (int, str)
2385
- >>> assert get_args(Union[int, Tuple[T, int]][str]) == (int, Tuple[str, int])
2386
- >>> assert get_args(Callable[[], T][int]) == ([], int)
2387
- """
2388
- if isinstance(tp, _AnnotatedAlias):
2389
- return (tp.__origin__,) + tp.__metadata__
2390
- if isinstance(tp, (_GenericAlias, GenericAlias)):
2391
- res = tp.__args__
2392
- if _should_unflatten_callable_args(tp, res):
2393
- res = (list(res[:-1]), res[-1])
2394
- return res
2395
- if isinstance(tp, types.UnionType):
2396
- return tp.__args__
2397
- return ()
2398
-
2399
-
2400
- def is_typeddict(tp):
2401
- """Check if an annotation is a TypedDict class.
2402
-
2403
- For example::
2404
-
2405
- >>> from typing import TypedDict
2406
- >>> class Film(TypedDict):
2407
- ... title: str
2408
- ... year: int
2409
- ...
2410
- >>> is_typeddict(Film)
2411
- True
2412
- >>> is_typeddict(dict)
2413
- False
2414
- """
2415
- return isinstance(tp, _TypedDictMeta)
2416
-
2417
-
2418
- _ASSERT_NEVER_REPR_MAX_LENGTH = 100
2419
-
2420
-
2421
- def assert_never(arg: Never, /) -> Never:
2422
- """Statically assert that a line of code is unreachable.
2423
-
2424
- Example::
2425
-
2426
- def int_or_str(arg: int | str) -> None:
2427
- match arg:
2428
- case int():
2429
- print("It's an int")
2430
- case str():
2431
- print("It's a str")
2432
- case _:
2433
- assert_never(arg)
2434
-
2435
- If a type checker finds that a call to assert_never() is
2436
- reachable, it will emit an error.
2437
-
2438
- At runtime, this throws an exception when called.
2439
- """
2440
- value = repr(arg)
2441
- if len(value) > _ASSERT_NEVER_REPR_MAX_LENGTH:
2442
- value = value[:_ASSERT_NEVER_REPR_MAX_LENGTH] + '...'
2443
- raise AssertionError(f"Expected code to be unreachable, but got: {value}")
2444
-
2445
-
2446
- def no_type_check(arg):
2447
- """Decorator to indicate that annotations are not type hints.
2448
-
2449
- The argument must be a class or function; if it is a class, it
2450
- applies recursively to all methods and classes defined in that class
2451
- (but not to methods defined in its superclasses or subclasses).
2452
-
2453
- This mutates the function(s) or class(es) in place.
2454
- """
2455
- if isinstance(arg, type):
2456
- for key in dir(arg):
2457
- obj = getattr(arg, key)
2458
- if (
2459
- not hasattr(obj, '__qualname__')
2460
- or obj.__qualname__ != f'{arg.__qualname__}.{obj.__name__}'
2461
- or getattr(obj, '__module__', None) != arg.__module__
2462
- ):
2463
- # We only modify objects that are defined in this type directly.
2464
- # If classes / methods are nested in multiple layers,
2465
- # we will modify them when processing their direct holders.
2466
- continue
2467
- # Instance, class, and static methods:
2468
- if isinstance(obj, types.FunctionType):
2469
- obj.__no_type_check__ = True
2470
- if isinstance(obj, types.MethodType):
2471
- obj.__func__.__no_type_check__ = True
2472
- # Nested types:
2473
- if isinstance(obj, type):
2474
- no_type_check(obj)
2475
- try:
2476
- arg.__no_type_check__ = True
2477
- except TypeError: # built-in classes
2478
- pass
2479
- return arg
2480
-
2481
-
2482
- def no_type_check_decorator(decorator):
2483
- """Decorator to give another decorator the @no_type_check effect.
2484
-
2485
- This wraps the decorator with something that wraps the decorated
2486
- function in @no_type_check.
2487
- """
2488
- @functools.wraps(decorator)
2489
- def wrapped_decorator(*args, **kwds):
2490
- func = decorator(*args, **kwds)
2491
- func = no_type_check(func)
2492
- return func
2493
-
2494
- return wrapped_decorator
2495
-
2496
-
2497
- def _overload_dummy(*args, **kwds):
2498
- """Helper for @overload to raise when called."""
2499
- raise NotImplementedError(
2500
- "You should not call an overloaded function. "
2501
- "A series of @overload-decorated functions "
2502
- "outside a stub module should always be followed "
2503
- "by an implementation that is not @overload-ed.")
2504
-
2505
-
2506
- # {module: {qualname: {firstlineno: func}}}
2507
- _overload_registry = defaultdict(functools.partial(defaultdict, dict))
2508
-
2509
-
2510
- def overload(func):
2511
- """Decorator for overloaded functions/methods.
2512
-
2513
- In a stub file, place two or more stub definitions for the same
2514
- function in a row, each decorated with @overload.
2515
-
2516
- For example::
2517
-
2518
- @overload
2519
- def utf8(value: None) -> None: ...
2520
- @overload
2521
- def utf8(value: bytes) -> bytes: ...
2522
- @overload
2523
- def utf8(value: str) -> bytes: ...
2524
-
2525
- In a non-stub file (i.e. a regular .py file), do the same but
2526
- follow it with an implementation. The implementation should *not*
2527
- be decorated with @overload::
2528
-
2529
- @overload
2530
- def utf8(value: None) -> None: ...
2531
- @overload
2532
- def utf8(value: bytes) -> bytes: ...
2533
- @overload
2534
- def utf8(value: str) -> bytes: ...
2535
- def utf8(value):
2536
- ... # implementation goes here
2537
-
2538
- The overloads for a function can be retrieved at runtime using the
2539
- get_overloads() function.
2540
- """
2541
- # classmethod and staticmethod
2542
- f = getattr(func, "__func__", func)
2543
- try:
2544
- _overload_registry[f.__module__][f.__qualname__][f.__code__.co_firstlineno] = func
2545
- except AttributeError:
2546
- # Not a normal function; ignore.
2547
- pass
2548
- return _overload_dummy
2549
-
2550
-
2551
- def get_overloads(func):
2552
- """Return all defined overloads for *func* as a sequence."""
2553
- # classmethod and staticmethod
2554
- f = getattr(func, "__func__", func)
2555
- if f.__module__ not in _overload_registry:
2556
- return []
2557
- mod_dict = _overload_registry[f.__module__]
2558
- if f.__qualname__ not in mod_dict:
2559
- return []
2560
- return list(mod_dict[f.__qualname__].values())
2561
-
2562
-
2563
- def clear_overloads():
2564
- """Clear all overloads in the registry."""
2565
- _overload_registry.clear()
2566
-
2567
-
2568
- def final(f):
2569
- """Decorator to indicate final methods and final classes.
2570
-
2571
- Use this decorator to indicate to type checkers that the decorated
2572
- method cannot be overridden, and decorated class cannot be subclassed.
2573
-
2574
- For example::
2575
-
2576
- class Base:
2577
- @final
2578
- def done(self) -> None:
2579
- ...
2580
- class Sub(Base):
2581
- def done(self) -> None: # Error reported by type checker
2582
- ...
2583
-
2584
- @final
2585
- class Leaf:
2586
- ...
2587
- class Other(Leaf): # Error reported by type checker
2588
- ...
2589
-
2590
- There is no runtime checking of these properties. The decorator
2591
- attempts to set the ``__final__`` attribute to ``True`` on the decorated
2592
- object to allow runtime introspection.
2593
- """
2594
- try:
2595
- f.__final__ = True
2596
- except (AttributeError, TypeError):
2597
- # Skip the attribute silently if it is not writable.
2598
- # AttributeError happens if the object has __slots__ or a
2599
- # read-only property, TypeError if it's a builtin class.
2600
- pass
2601
- return f
2602
-
2603
-
2604
- # Some unconstrained type variables. These were initially used by the container types.
2605
- # They were never meant for export and are now unused, but we keep them around to
2606
- # avoid breaking compatibility with users who import them.
2607
- T = TypeVar('T') # Any type.
2608
- KT = TypeVar('KT') # Key type.
2609
- VT = TypeVar('VT') # Value type.
2610
- T_co = TypeVar('T_co', covariant=True) # Any type covariant containers.
2611
- V_co = TypeVar('V_co', covariant=True) # Any type covariant containers.
2612
- VT_co = TypeVar('VT_co', covariant=True) # Value type covariant containers.
2613
- T_contra = TypeVar('T_contra', contravariant=True) # Ditto contravariant.
2614
- # Internal type variable used for Type[].
2615
- CT_co = TypeVar('CT_co', covariant=True, bound=type)
2616
-
2617
-
2618
- # A useful type variable with constraints. This represents string types.
2619
- # (This one *is* for export!)
2620
- AnyStr = TypeVar('AnyStr', bytes, str)
2621
-
2622
-
2623
- # Various ABCs mimicking those in collections.abc.
2624
- _alias = _SpecialGenericAlias
2625
-
2626
- Hashable = _alias(collections.abc.Hashable, 0) # Not generic.
2627
- Awaitable = _alias(collections.abc.Awaitable, 1)
2628
- Coroutine = _alias(collections.abc.Coroutine, 3)
2629
- AsyncIterable = _alias(collections.abc.AsyncIterable, 1)
2630
- AsyncIterator = _alias(collections.abc.AsyncIterator, 1)
2631
- Iterable = _alias(collections.abc.Iterable, 1)
2632
- Iterator = _alias(collections.abc.Iterator, 1)
2633
- Reversible = _alias(collections.abc.Reversible, 1)
2634
- Sized = _alias(collections.abc.Sized, 0) # Not generic.
2635
- Container = _alias(collections.abc.Container, 1)
2636
- Collection = _alias(collections.abc.Collection, 1)
2637
- Callable = _CallableType(collections.abc.Callable, 2)
2638
- Callable.__doc__ = \
2639
- """Deprecated alias to collections.abc.Callable.
2640
-
2641
- Callable[[int], str] signifies a function that takes a single
2642
- parameter of type int and returns a str.
2643
-
2644
- The subscription syntax must always be used with exactly two
2645
- values: the argument list and the return type.
2646
- The argument list must be a list of types, a ParamSpec,
2647
- Concatenate or ellipsis. The return type must be a single type.
2648
-
2649
- There is no syntax to indicate optional or keyword arguments;
2650
- such function types are rarely used as callback types.
2651
- """
2652
- AbstractSet = _alias(collections.abc.Set, 1, name='AbstractSet')
2653
- MutableSet = _alias(collections.abc.MutableSet, 1)
2654
- # NOTE: Mapping is only covariant in the value type.
2655
- Mapping = _alias(collections.abc.Mapping, 2)
2656
- MutableMapping = _alias(collections.abc.MutableMapping, 2)
2657
- Sequence = _alias(collections.abc.Sequence, 1)
2658
- MutableSequence = _alias(collections.abc.MutableSequence, 1)
2659
- ByteString = _DeprecatedGenericAlias(
2660
- collections.abc.ByteString, 0, removal_version=(3, 14) # Not generic.
2661
- )
2662
- # Tuple accepts variable number of parameters.
2663
- Tuple = _TupleType(tuple, -1, inst=False, name='Tuple')
2664
- Tuple.__doc__ = \
2665
- """Deprecated alias to builtins.tuple.
2666
-
2667
- Tuple[X, Y] is the cross-product type of X and Y.
2668
-
2669
- Example: Tuple[T1, T2] is a tuple of two elements corresponding
2670
- to type variables T1 and T2. Tuple[int, float, str] is a tuple
2671
- of an int, a float and a string.
2672
-
2673
- To specify a variable-length tuple of homogeneous type, use Tuple[T, ...].
2674
- """
2675
- List = _alias(list, 1, inst=False, name='List')
2676
- Deque = _alias(collections.deque, 1, name='Deque')
2677
- Set = _alias(set, 1, inst=False, name='Set')
2678
- FrozenSet = _alias(frozenset, 1, inst=False, name='FrozenSet')
2679
- MappingView = _alias(collections.abc.MappingView, 1)
2680
- KeysView = _alias(collections.abc.KeysView, 1)
2681
- ItemsView = _alias(collections.abc.ItemsView, 2)
2682
- ValuesView = _alias(collections.abc.ValuesView, 1)
2683
- ContextManager = _alias(contextlib.AbstractContextManager, 1, name='ContextManager')
2684
- AsyncContextManager = _alias(contextlib.AbstractAsyncContextManager, 1, name='AsyncContextManager')
2685
- Dict = _alias(dict, 2, inst=False, name='Dict')
2686
- DefaultDict = _alias(collections.defaultdict, 2, name='DefaultDict')
2687
- OrderedDict = _alias(collections.OrderedDict, 2)
2688
- Counter = _alias(collections.Counter, 1)
2689
- ChainMap = _alias(collections.ChainMap, 2)
2690
- Generator = _alias(collections.abc.Generator, 3)
2691
- AsyncGenerator = _alias(collections.abc.AsyncGenerator, 2)
2692
- Type = _alias(type, 1, inst=False, name='Type')
2693
- Type.__doc__ = \
2694
- """Deprecated alias to builtins.type.
2695
-
2696
- builtins.type or typing.Type can be used to annotate class objects.
2697
- For example, suppose we have the following classes::
2698
-
2699
- class User: ... # Abstract base for User classes
2700
- class BasicUser(User): ...
2701
- class ProUser(User): ...
2702
- class TeamUser(User): ...
2703
-
2704
- And a function that takes a class argument that's a subclass of
2705
- User and returns an instance of the corresponding class::
2706
-
2707
- def new_user[U](user_class: Type[U]) -> U:
2708
- user = user_class()
2709
- # (Here we could write the user object to a database)
2710
- return user
2711
-
2712
- joe = new_user(BasicUser)
2713
-
2714
- At this point the type checker knows that joe has type BasicUser.
2715
- """
2716
-
2717
-
2718
- @runtime_checkable
2719
- class SupportsInt(Protocol):
2720
- """An ABC with one abstract method __int__."""
2721
-
2722
- __slots__ = ()
2723
-
2724
- @abstractmethod
2725
- def __int__(self) -> int:
2726
- pass
2727
-
2728
-
2729
- @runtime_checkable
2730
- class SupportsFloat(Protocol):
2731
- """An ABC with one abstract method __float__."""
2732
-
2733
- __slots__ = ()
2734
-
2735
- @abstractmethod
2736
- def __float__(self) -> float:
2737
- pass
2738
-
2739
-
2740
- @runtime_checkable
2741
- class SupportsComplex(Protocol):
2742
- """An ABC with one abstract method __complex__."""
2743
-
2744
- __slots__ = ()
2745
-
2746
- @abstractmethod
2747
- def __complex__(self) -> complex:
2748
- pass
2749
-
2750
-
2751
- @runtime_checkable
2752
- class SupportsBytes(Protocol):
2753
- """An ABC with one abstract method __bytes__."""
2754
-
2755
- __slots__ = ()
2756
-
2757
- @abstractmethod
2758
- def __bytes__(self) -> bytes:
2759
- pass
2760
-
2761
-
2762
- @runtime_checkable
2763
- class SupportsIndex(Protocol):
2764
- """An ABC with one abstract method __index__."""
2765
-
2766
- __slots__ = ()
2767
-
2768
- @abstractmethod
2769
- def __index__(self) -> int:
2770
- pass
2771
-
2772
-
2773
- @runtime_checkable
2774
- class SupportsAbs[T](Protocol):
2775
- """An ABC with one abstract method __abs__ that is covariant in its return type."""
2776
-
2777
- __slots__ = ()
2778
-
2779
- @abstractmethod
2780
- def __abs__(self) -> T:
2781
- pass
2782
-
2783
-
2784
- @runtime_checkable
2785
- class SupportsRound[T](Protocol):
2786
- """An ABC with one abstract method __round__ that is covariant in its return type."""
2787
-
2788
- __slots__ = ()
2789
-
2790
- @abstractmethod
2791
- def __round__(self, ndigits: int = 0) -> T:
2792
- pass
2793
-
2794
-
2795
- def _make_nmtuple(name, types, module, defaults = ()):
2796
- fields = [n for n, t in types]
2797
- types = {n: _type_check(t, f"field {n} annotation must be a type")
2798
- for n, t in types}
2799
- nm_tpl = collections.namedtuple(name, fields,
2800
- defaults=defaults, module=module)
2801
- nm_tpl.__annotations__ = nm_tpl.__new__.__annotations__ = types
2802
- return nm_tpl
2803
-
2804
-
2805
- # attributes prohibited to set in NamedTuple class syntax
2806
- _prohibited = frozenset({'__new__', '__init__', '__slots__', '__getnewargs__',
2807
- '_fields', '_field_defaults',
2808
- '_make', '_replace', '_asdict', '_source'})
2809
-
2810
- _special = frozenset({'__module__', '__name__', '__annotations__'})
2811
-
2812
-
2813
- class NamedTupleMeta(type):
2814
- def __new__(cls, typename, bases, ns):
2815
- assert _NamedTuple in bases
2816
- for base in bases:
2817
- if base is not _NamedTuple and base is not Generic:
2818
- raise TypeError(
2819
- 'can only inherit from a NamedTuple type and Generic')
2820
- bases = tuple(tuple if base is _NamedTuple else base for base in bases)
2821
- types = ns.get('__annotations__', {})
2822
- default_names = []
2823
- for field_name in types:
2824
- if field_name in ns:
2825
- default_names.append(field_name)
2826
- elif default_names:
2827
- raise TypeError(f"Non-default namedtuple field {field_name} "
2828
- f"cannot follow default field"
2829
- f"{'s' if len(default_names) > 1 else ''} "
2830
- f"{', '.join(default_names)}")
2831
- nm_tpl = _make_nmtuple(typename, types.items(),
2832
- defaults=[ns[n] for n in default_names],
2833
- module=ns['__module__'])
2834
- nm_tpl.__bases__ = bases
2835
- if Generic in bases:
2836
- class_getitem = _generic_class_getitem
2837
- nm_tpl.__class_getitem__ = classmethod(class_getitem)
2838
- # update from user namespace without overriding special namedtuple attributes
2839
- for key in ns:
2840
- if key in _prohibited:
2841
- raise AttributeError("Cannot overwrite NamedTuple attribute " + key)
2842
- elif key not in _special and key not in nm_tpl._fields:
2843
- setattr(nm_tpl, key, ns[key])
2844
- if Generic in bases:
2845
- nm_tpl.__init_subclass__()
2846
- return nm_tpl
2847
-
2848
-
2849
- def NamedTuple(typename, fields=None, /, **kwargs):
2850
- """Typed version of namedtuple.
2851
-
2852
- Usage::
2853
-
2854
- class Employee(NamedTuple):
2855
- name: str
2856
- id: int
2857
-
2858
- This is equivalent to::
2859
-
2860
- Employee = collections.namedtuple('Employee', ['name', 'id'])
2861
-
2862
- The resulting class has an extra __annotations__ attribute, giving a
2863
- dict that maps field names to types. (The field names are also in
2864
- the _fields attribute, which is part of the namedtuple API.)
2865
- An alternative equivalent functional syntax is also accepted::
2866
-
2867
- Employee = NamedTuple('Employee', [('name', str), ('id', int)])
2868
- """
2869
- if fields is None:
2870
- fields = kwargs.items()
2871
- elif kwargs:
2872
- raise TypeError("Either list of fields or keywords"
2873
- " can be provided to NamedTuple, not both")
2874
- nt = _make_nmtuple(typename, fields, module=_caller())
2875
- nt.__orig_bases__ = (NamedTuple,)
2876
- return nt
2877
-
2878
- _NamedTuple = type.__new__(NamedTupleMeta, 'NamedTuple', (), {})
2879
-
2880
- def _namedtuple_mro_entries(bases):
2881
- assert NamedTuple in bases
2882
- return (_NamedTuple,)
2883
-
2884
- NamedTuple.__mro_entries__ = _namedtuple_mro_entries
2885
-
2886
-
2887
- class _TypedDictMeta(type):
2888
- def __new__(cls, name, bases, ns, total=True):
2889
- """Create a new typed dict class object.
2890
-
2891
- This method is called when TypedDict is subclassed,
2892
- or when TypedDict is instantiated. This way
2893
- TypedDict supports all three syntax forms described in its docstring.
2894
- Subclasses and instances of TypedDict return actual dictionaries.
2895
- """
2896
- for base in bases:
2897
- if type(base) is not _TypedDictMeta and base is not Generic:
2898
- raise TypeError('cannot inherit from both a TypedDict type '
2899
- 'and a non-TypedDict base class')
2900
-
2901
- if any(issubclass(b, Generic) for b in bases):
2902
- generic_base = (Generic,)
2903
- else:
2904
- generic_base = ()
2905
-
2906
- tp_dict = type.__new__(_TypedDictMeta, name, (*generic_base, dict), ns)
2907
-
2908
- if not hasattr(tp_dict, '__orig_bases__'):
2909
- tp_dict.__orig_bases__ = bases
2910
-
2911
- annotations = {}
2912
- own_annotations = ns.get('__annotations__', {})
2913
- msg = "TypedDict('Name', {f0: t0, f1: t1, ...}); each t must be a type"
2914
- own_annotations = {
2915
- n: _type_check(tp, msg, module=tp_dict.__module__)
2916
- for n, tp in own_annotations.items()
2917
- }
2918
- required_keys = set()
2919
- optional_keys = set()
2920
-
2921
- for base in bases:
2922
- annotations.update(base.__dict__.get('__annotations__', {}))
2923
-
2924
- base_required = base.__dict__.get('__required_keys__', set())
2925
- required_keys |= base_required
2926
- optional_keys -= base_required
2927
-
2928
- base_optional = base.__dict__.get('__optional_keys__', set())
2929
- required_keys -= base_optional
2930
- optional_keys |= base_optional
2931
-
2932
- annotations.update(own_annotations)
2933
- for annotation_key, annotation_type in own_annotations.items():
2934
- annotation_origin = get_origin(annotation_type)
2935
- if annotation_origin is Annotated:
2936
- annotation_args = get_args(annotation_type)
2937
- if annotation_args:
2938
- annotation_type = annotation_args[0]
2939
- annotation_origin = get_origin(annotation_type)
2940
-
2941
- if annotation_origin is Required:
2942
- is_required = True
2943
- elif annotation_origin is NotRequired:
2944
- is_required = False
2945
- else:
2946
- is_required = total
2947
-
2948
- if is_required:
2949
- required_keys.add(annotation_key)
2950
- optional_keys.discard(annotation_key)
2951
- else:
2952
- optional_keys.add(annotation_key)
2953
- required_keys.discard(annotation_key)
2954
-
2955
- assert required_keys.isdisjoint(optional_keys), (
2956
- f"Required keys overlap with optional keys in {name}:"
2957
- f" {required_keys=}, {optional_keys=}"
2958
- )
2959
- tp_dict.__annotations__ = annotations
2960
- tp_dict.__required_keys__ = frozenset(required_keys)
2961
- tp_dict.__optional_keys__ = frozenset(optional_keys)
2962
- if not hasattr(tp_dict, '__total__'):
2963
- tp_dict.__total__ = total
2964
- return tp_dict
2965
-
2966
- __call__ = dict # static method
2967
-
2968
- def __subclasscheck__(cls, other):
2969
- # Typed dicts are only for static structural subtyping.
2970
- raise TypeError('TypedDict does not support instance and class checks')
2971
-
2972
- __instancecheck__ = __subclasscheck__
2973
-
2974
-
2975
- def TypedDict(typename, fields=None, /, *, total=True, **kwargs):
2976
- """A simple typed namespace. At runtime it is equivalent to a plain dict.
2977
-
2978
- TypedDict creates a dictionary type such that a type checker will expect all
2979
- instances to have a certain set of keys, where each key is
2980
- associated with a value of a consistent type. This expectation
2981
- is not checked at runtime.
2982
-
2983
- Usage::
2984
-
2985
- >>> class Point2D(TypedDict):
2986
- ... x: int
2987
- ... y: int
2988
- ... label: str
2989
- ...
2990
- >>> a: Point2D = {'x': 1, 'y': 2, 'label': 'good'} # OK
2991
- >>> b: Point2D = {'z': 3, 'label': 'bad'} # Fails type check
2992
- >>> Point2D(x=1, y=2, label='first') == dict(x=1, y=2, label='first')
2993
- True
2994
-
2995
- The type info can be accessed via the Point2D.__annotations__ dict, and
2996
- the Point2D.__required_keys__ and Point2D.__optional_keys__ frozensets.
2997
- TypedDict supports an additional equivalent form::
2998
-
2999
- Point2D = TypedDict('Point2D', {'x': int, 'y': int, 'label': str})
3000
-
3001
- By default, all keys must be present in a TypedDict. It is possible
3002
- to override this by specifying totality::
3003
-
3004
- class Point2D(TypedDict, total=False):
3005
- x: int
3006
- y: int
3007
-
3008
- This means that a Point2D TypedDict can have any of the keys omitted. A type
3009
- checker is only expected to support a literal False or True as the value of
3010
- the total argument. True is the default, and makes all items defined in the
3011
- class body be required.
3012
-
3013
- The Required and NotRequired special forms can also be used to mark
3014
- individual keys as being required or not required::
3015
-
3016
- class Point2D(TypedDict):
3017
- x: int # the "x" key must always be present (Required is the default)
3018
- y: NotRequired[int] # the "y" key can be omitted
3019
-
3020
- See PEP 655 for more details on Required and NotRequired.
3021
- """
3022
- if fields is None:
3023
- fields = kwargs
3024
- elif kwargs:
3025
- raise TypeError("TypedDict takes either a dict or keyword arguments,"
3026
- " but not both")
3027
- if kwargs:
3028
- warnings.warn(
3029
- "The kwargs-based syntax for TypedDict definitions is deprecated "
3030
- "in Python 3.11, will be removed in Python 3.13, and may not be "
3031
- "understood by third-party type checkers.",
3032
- DeprecationWarning,
3033
- stacklevel=2,
3034
- )
3035
-
3036
- ns = {'__annotations__': dict(fields)}
3037
- module = _caller()
3038
- if module is not None:
3039
- # Setting correct module is necessary to make typed dict classes pickleable.
3040
- ns['__module__'] = module
3041
-
3042
- td = _TypedDictMeta(typename, (), ns, total=total)
3043
- td.__orig_bases__ = (TypedDict,)
3044
- return td
3045
-
3046
- _TypedDict = type.__new__(_TypedDictMeta, 'TypedDict', (), {})
3047
- TypedDict.__mro_entries__ = lambda bases: (_TypedDict,)
3048
-
3049
-
3050
- @_SpecialForm
3051
- def Required(self, parameters):
3052
- """Special typing construct to mark a TypedDict key as required.
3053
-
3054
- This is mainly useful for total=False TypedDicts.
3055
-
3056
- For example::
3057
-
3058
- class Movie(TypedDict, total=False):
3059
- title: Required[str]
3060
- year: int
3061
-
3062
- m = Movie(
3063
- title='The Matrix', # typechecker error if key is omitted
3064
- year=1999,
3065
- )
3066
-
3067
- There is no runtime checking that a required key is actually provided
3068
- when instantiating a related TypedDict.
3069
- """
3070
- item = _type_check(parameters, f'{self._name} accepts only a single type.')
3071
- return _GenericAlias(self, (item,))
3072
-
3073
-
3074
- @_SpecialForm
3075
- def NotRequired(self, parameters):
3076
- """Special typing construct to mark a TypedDict key as potentially missing.
3077
-
3078
- For example::
3079
-
3080
- class Movie(TypedDict):
3081
- title: str
3082
- year: NotRequired[int]
3083
-
3084
- m = Movie(
3085
- title='The Matrix', # typechecker error if key is omitted
3086
- year=1999,
3087
- )
3088
- """
3089
- item = _type_check(parameters, f'{self._name} accepts only a single type.')
3090
- return _GenericAlias(self, (item,))
3091
-
3092
-
3093
- class NewType:
3094
- """NewType creates simple unique types with almost zero runtime overhead.
3095
-
3096
- NewType(name, tp) is considered a subtype of tp
3097
- by static type checkers. At runtime, NewType(name, tp) returns
3098
- a dummy callable that simply returns its argument.
3099
-
3100
- Usage::
3101
-
3102
- UserId = NewType('UserId', int)
3103
-
3104
- def name_by_id(user_id: UserId) -> str:
3105
- ...
3106
-
3107
- UserId('user') # Fails type check
3108
-
3109
- name_by_id(42) # Fails type check
3110
- name_by_id(UserId(42)) # OK
3111
-
3112
- num = UserId(5) + 1 # type: int
3113
- """
3114
-
3115
- __call__ = _idfunc
3116
-
3117
- def __init__(self, name, tp):
3118
- self.__qualname__ = name
3119
- if '.' in name:
3120
- name = name.rpartition('.')[-1]
3121
- self.__name__ = name
3122
- self.__supertype__ = tp
3123
- def_mod = _caller()
3124
- if def_mod != 'typing':
3125
- self.__module__ = def_mod
3126
-
3127
- def __mro_entries__(self, bases):
3128
- # We defined __mro_entries__ to get a better error message
3129
- # if a user attempts to subclass a NewType instance. bpo-46170
3130
- superclass_name = self.__name__
3131
-
3132
- class Dummy:
3133
- def __init_subclass__(cls):
3134
- subclass_name = cls.__name__
3135
- raise TypeError(
3136
- f"Cannot subclass an instance of NewType. Perhaps you were looking for: "
3137
- f"`{subclass_name} = NewType({subclass_name!r}, {superclass_name})`"
3138
- )
3139
-
3140
- return (Dummy,)
3141
-
3142
- def __repr__(self):
3143
- return f'{self.__module__}.{self.__qualname__}'
3144
-
3145
- def __reduce__(self):
3146
- return self.__qualname__
3147
-
3148
- def __or__(self, other):
3149
- return Union[self, other]
3150
-
3151
- def __ror__(self, other):
3152
- return Union[other, self]
3153
-
3154
-
3155
- # Python-version-specific alias (Python 2: unicode; Python 3: str)
3156
- Text = str
3157
-
3158
-
3159
- # Constant that's True when type checking, but False here.
3160
- TYPE_CHECKING = False
3161
-
3162
-
3163
- class IO(Generic[AnyStr]):
3164
- """Generic base class for TextIO and BinaryIO.
3165
-
3166
- This is an abstract, generic version of the return of open().
3167
-
3168
- NOTE: This does not distinguish between the different possible
3169
- classes (text vs. binary, read vs. write vs. read/write,
3170
- append-only, unbuffered). The TextIO and BinaryIO subclasses
3171
- below capture the distinctions between text vs. binary, which is
3172
- pervasive in the interface; however we currently do not offer a
3173
- way to track the other distinctions in the type system.
3174
- """
3175
-
3176
- __slots__ = ()
3177
-
3178
- @property
3179
- @abstractmethod
3180
- def mode(self) -> str:
3181
- pass
3182
-
3183
- @property
3184
- @abstractmethod
3185
- def name(self) -> str:
3186
- pass
3187
-
3188
- @abstractmethod
3189
- def close(self) -> None:
3190
- pass
3191
-
3192
- @property
3193
- @abstractmethod
3194
- def closed(self) -> bool:
3195
- pass
3196
-
3197
- @abstractmethod
3198
- def fileno(self) -> int:
3199
- pass
3200
-
3201
- @abstractmethod
3202
- def flush(self) -> None:
3203
- pass
3204
-
3205
- @abstractmethod
3206
- def isatty(self) -> bool:
3207
- pass
3208
-
3209
- @abstractmethod
3210
- def read(self, n: int = -1) -> AnyStr:
3211
- pass
3212
-
3213
- @abstractmethod
3214
- def readable(self) -> bool:
3215
- pass
3216
-
3217
- @abstractmethod
3218
- def readline(self, limit: int = -1) -> AnyStr:
3219
- pass
3220
-
3221
- @abstractmethod
3222
- def readlines(self, hint: int = -1) -> List[AnyStr]:
3223
- pass
3224
-
3225
- @abstractmethod
3226
- def seek(self, offset: int, whence: int = 0) -> int:
3227
- pass
3228
-
3229
- @abstractmethod
3230
- def seekable(self) -> bool:
3231
- pass
3232
-
3233
- @abstractmethod
3234
- def tell(self) -> int:
3235
- pass
3236
-
3237
- @abstractmethod
3238
- def truncate(self, size: int = None) -> int:
3239
- pass
3240
-
3241
- @abstractmethod
3242
- def writable(self) -> bool:
3243
- pass
3244
-
3245
- @abstractmethod
3246
- def write(self, s: AnyStr) -> int:
3247
- pass
3248
-
3249
- @abstractmethod
3250
- def writelines(self, lines: List[AnyStr]) -> None:
3251
- pass
3252
-
3253
- @abstractmethod
3254
- def __enter__(self) -> 'IO[AnyStr]':
3255
- pass
3256
-
3257
- @abstractmethod
3258
- def __exit__(self, type, value, traceback) -> None:
3259
- pass
3260
-
3261
-
3262
- class BinaryIO(IO[bytes]):
3263
- """Typed version of the return of open() in binary mode."""
3264
-
3265
- __slots__ = ()
3266
-
3267
- @abstractmethod
3268
- def write(self, s: Union[bytes, bytearray]) -> int:
3269
- pass
3270
-
3271
- @abstractmethod
3272
- def __enter__(self) -> 'BinaryIO':
3273
- pass
3274
-
3275
-
3276
- class TextIO(IO[str]):
3277
- """Typed version of the return of open() in text mode."""
3278
-
3279
- __slots__ = ()
3280
-
3281
- @property
3282
- @abstractmethod
3283
- def buffer(self) -> BinaryIO:
3284
- pass
3285
-
3286
- @property
3287
- @abstractmethod
3288
- def encoding(self) -> str:
3289
- pass
3290
-
3291
- @property
3292
- @abstractmethod
3293
- def errors(self) -> Optional[str]:
3294
- pass
3295
-
3296
- @property
3297
- @abstractmethod
3298
- def line_buffering(self) -> bool:
3299
- pass
3300
-
3301
- @property
3302
- @abstractmethod
3303
- def newlines(self) -> Any:
3304
- pass
3305
-
3306
- @abstractmethod
3307
- def __enter__(self) -> 'TextIO':
3308
- pass
3309
-
3310
-
3311
- class _DeprecatedType(type):
3312
- def __getattribute__(cls, name):
3313
- if name not in {"__dict__", "__module__", "__doc__"} and name in cls.__dict__:
3314
- warnings.warn(
3315
- f"{cls.__name__} is deprecated, import directly "
3316
- f"from typing instead. {cls.__name__} will be removed "
3317
- "in Python 3.13.",
3318
- DeprecationWarning,
3319
- stacklevel=2,
3320
- )
3321
- return super().__getattribute__(name)
3322
-
3323
-
3324
- class io(metaclass=_DeprecatedType):
3325
- """Wrapper namespace for IO generic classes."""
3326
-
3327
- __all__ = ['IO', 'TextIO', 'BinaryIO']
3328
- IO = IO
3329
- TextIO = TextIO
3330
- BinaryIO = BinaryIO
3331
-
3332
-
3333
- io.__name__ = __name__ + '.io'
3334
- sys.modules[io.__name__] = io
3335
-
3336
- Pattern = _alias(stdlib_re.Pattern, 1)
3337
- Match = _alias(stdlib_re.Match, 1)
3338
-
3339
- class re(metaclass=_DeprecatedType):
3340
- """Wrapper namespace for re type aliases."""
3341
-
3342
- __all__ = ['Pattern', 'Match']
3343
- Pattern = Pattern
3344
- Match = Match
3345
-
3346
-
3347
- re.__name__ = __name__ + '.re'
3348
- sys.modules[re.__name__] = re
3349
-
3350
-
3351
- def reveal_type[T](obj: T, /) -> T:
3352
- """Ask a static type checker to reveal the inferred type of an expression.
3353
-
3354
- When a static type checker encounters a call to ``reveal_type()``,
3355
- it will emit the inferred type of the argument::
3356
-
3357
- x: int = 1
3358
- reveal_type(x)
3359
-
3360
- Running a static type checker (e.g., mypy) on this example
3361
- will produce output similar to 'Revealed type is "builtins.int"'.
3362
-
3363
- At runtime, the function prints the runtime type of the
3364
- argument and returns the argument unchanged.
3365
- """
3366
- print(f"Runtime type is {type(obj).__name__!r}", file=sys.stderr)
3367
- return obj
3368
-
3369
-
3370
- class _IdentityCallable(Protocol):
3371
- def __call__[T](self, arg: T, /) -> T:
3372
- ...
3373
-
3374
-
3375
- def dataclass_transform(
3376
- *,
3377
- eq_default: bool = True,
3378
- order_default: bool = False,
3379
- kw_only_default: bool = False,
3380
- frozen_default: bool = False,
3381
- field_specifiers: tuple[type[Any] | Callable[..., Any], ...] = (),
3382
- **kwargs: Any,
3383
- ) -> _IdentityCallable:
3384
- """Decorator to mark an object as providing dataclass-like behaviour.
3385
-
3386
- The decorator can be applied to a function, class, or metaclass.
3387
-
3388
- Example usage with a decorator function::
3389
-
3390
- @dataclass_transform()
3391
- def create_model[T](cls: type[T]) -> type[T]:
3392
- ...
3393
- return cls
3394
-
3395
- @create_model
3396
- class CustomerModel:
3397
- id: int
3398
- name: str
3399
-
3400
- On a base class::
3401
-
3402
- @dataclass_transform()
3403
- class ModelBase: ...
3404
-
3405
- class CustomerModel(ModelBase):
3406
- id: int
3407
- name: str
3408
-
3409
- On a metaclass::
3410
-
3411
- @dataclass_transform()
3412
- class ModelMeta(type): ...
3413
-
3414
- class ModelBase(metaclass=ModelMeta): ...
3415
-
3416
- class CustomerModel(ModelBase):
3417
- id: int
3418
- name: str
3419
-
3420
- The ``CustomerModel`` classes defined above will
3421
- be treated by type checkers similarly to classes created with
3422
- ``@dataclasses.dataclass``.
3423
- For example, type checkers will assume these classes have
3424
- ``__init__`` methods that accept ``id`` and ``name``.
3425
-
3426
- The arguments to this decorator can be used to customize this behavior:
3427
- - ``eq_default`` indicates whether the ``eq`` parameter is assumed to be
3428
- ``True`` or ``False`` if it is omitted by the caller.
3429
- - ``order_default`` indicates whether the ``order`` parameter is
3430
- assumed to be True or False if it is omitted by the caller.
3431
- - ``kw_only_default`` indicates whether the ``kw_only`` parameter is
3432
- assumed to be True or False if it is omitted by the caller.
3433
- - ``frozen_default`` indicates whether the ``frozen`` parameter is
3434
- assumed to be True or False if it is omitted by the caller.
3435
- - ``field_specifiers`` specifies a static list of supported classes
3436
- or functions that describe fields, similar to ``dataclasses.field()``.
3437
- - Arbitrary other keyword arguments are accepted in order to allow for
3438
- possible future extensions.
3439
-
3440
- At runtime, this decorator records its arguments in the
3441
- ``__dataclass_transform__`` attribute on the decorated object.
3442
- It has no other runtime effect.
3443
-
3444
- See PEP 681 for more details.
3445
- """
3446
- def decorator(cls_or_fn):
3447
- cls_or_fn.__dataclass_transform__ = {
3448
- "eq_default": eq_default,
3449
- "order_default": order_default,
3450
- "kw_only_default": kw_only_default,
3451
- "frozen_default": frozen_default,
3452
- "field_specifiers": field_specifiers,
3453
- "kwargs": kwargs,
3454
- }
3455
- return cls_or_fn
3456
- return decorator
3457
-
3458
-
3459
- type _Func = Callable[..., Any]
3460
-
3461
-
3462
- def override[F: _Func](method: F, /) -> F:
3463
- """Indicate that a method is intended to override a method in a base class.
3464
-
3465
- Usage::
3466
-
3467
- class Base:
3468
- def method(self) -> None:
3469
- pass
3470
-
3471
- class Child(Base):
3472
- @override
3473
- def method(self) -> None:
3474
- super().method()
3475
-
3476
- When this decorator is applied to a method, the type checker will
3477
- validate that it overrides a method or attribute with the same name on a
3478
- base class. This helps prevent bugs that may occur when a base class is
3479
- changed without an equivalent change to a child class.
3480
-
3481
- There is no runtime checking of this property. The decorator attempts to
3482
- set the ``__override__`` attribute to ``True`` on the decorated object to
3483
- allow runtime introspection.
3484
-
3485
- See PEP 698 for details.
3486
- """
3487
- try:
3488
- method.__override__ = True
3489
- except (AttributeError, TypeError):
3490
- # Skip the attribute silently if it is not writable.
3491
- # AttributeError happens if the object has __slots__ or a
3492
- # read-only property, TypeError if it's a builtin class.
3493
- pass
3494
- return method