@agent-webui/ai-desk-python-win32-x64 1.0.29-beta1

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 (3340) hide show
  1. package/README.md +3 -0
  2. package/package.json +20 -0
  3. package/python/DLLs/_asyncio.pdb +0 -0
  4. package/python/DLLs/_asyncio.pyd +0 -0
  5. package/python/DLLs/_bz2.pdb +0 -0
  6. package/python/DLLs/_bz2.pyd +0 -0
  7. package/python/DLLs/_ctypes.pdb +0 -0
  8. package/python/DLLs/_ctypes.pyd +0 -0
  9. package/python/DLLs/_ctypes_test.pdb +0 -0
  10. package/python/DLLs/_ctypes_test.pyd +0 -0
  11. package/python/DLLs/_decimal.pdb +0 -0
  12. package/python/DLLs/_decimal.pyd +0 -0
  13. package/python/DLLs/_elementtree.pdb +0 -0
  14. package/python/DLLs/_elementtree.pyd +0 -0
  15. package/python/DLLs/_hashlib.pdb +0 -0
  16. package/python/DLLs/_hashlib.pyd +0 -0
  17. package/python/DLLs/_lzma.pdb +0 -0
  18. package/python/DLLs/_lzma.pyd +0 -0
  19. package/python/DLLs/_multiprocessing.pdb +0 -0
  20. package/python/DLLs/_multiprocessing.pyd +0 -0
  21. package/python/DLLs/_overlapped.pdb +0 -0
  22. package/python/DLLs/_overlapped.pyd +0 -0
  23. package/python/DLLs/_queue.pdb +0 -0
  24. package/python/DLLs/_queue.pyd +0 -0
  25. package/python/DLLs/_socket.pdb +0 -0
  26. package/python/DLLs/_socket.pyd +0 -0
  27. package/python/DLLs/_sqlite3.pdb +0 -0
  28. package/python/DLLs/_sqlite3.pyd +0 -0
  29. package/python/DLLs/_ssl.pdb +0 -0
  30. package/python/DLLs/_ssl.pyd +0 -0
  31. package/python/DLLs/_testbuffer.pdb +0 -0
  32. package/python/DLLs/_testbuffer.pyd +0 -0
  33. package/python/DLLs/_testcapi.pdb +0 -0
  34. package/python/DLLs/_testcapi.pyd +0 -0
  35. package/python/DLLs/_testclinic.pdb +0 -0
  36. package/python/DLLs/_testclinic.pyd +0 -0
  37. package/python/DLLs/_testclinic_limited.pdb +0 -0
  38. package/python/DLLs/_testclinic_limited.pyd +0 -0
  39. package/python/DLLs/_testconsole.pdb +0 -0
  40. package/python/DLLs/_testconsole.pyd +0 -0
  41. package/python/DLLs/_testimportmultiple.pdb +0 -0
  42. package/python/DLLs/_testimportmultiple.pyd +0 -0
  43. package/python/DLLs/_testinternalcapi.pdb +0 -0
  44. package/python/DLLs/_testinternalcapi.pyd +0 -0
  45. package/python/DLLs/_testlimitedcapi.pdb +0 -0
  46. package/python/DLLs/_testlimitedcapi.pyd +0 -0
  47. package/python/DLLs/_testmultiphase.pdb +0 -0
  48. package/python/DLLs/_testmultiphase.pyd +0 -0
  49. package/python/DLLs/_testsinglephase.pdb +0 -0
  50. package/python/DLLs/_testsinglephase.pyd +0 -0
  51. package/python/DLLs/_tkinter.pdb +0 -0
  52. package/python/DLLs/_tkinter.pyd +0 -0
  53. package/python/DLLs/_uuid.pdb +0 -0
  54. package/python/DLLs/_uuid.pyd +0 -0
  55. package/python/DLLs/_wmi.pdb +0 -0
  56. package/python/DLLs/_wmi.pyd +0 -0
  57. package/python/DLLs/_zoneinfo.pdb +0 -0
  58. package/python/DLLs/_zoneinfo.pyd +0 -0
  59. package/python/DLLs/libcrypto-3-x64.dll +0 -0
  60. package/python/DLLs/libcrypto-3-x64.pdb +0 -0
  61. package/python/DLLs/libffi-8.dll +0 -0
  62. package/python/DLLs/libssl-3-x64.dll +0 -0
  63. package/python/DLLs/libssl-3-x64.pdb +0 -0
  64. package/python/DLLs/pyexpat.pdb +0 -0
  65. package/python/DLLs/pyexpat.pyd +0 -0
  66. package/python/DLLs/select.pdb +0 -0
  67. package/python/DLLs/select.pyd +0 -0
  68. package/python/DLLs/sqlite3.dll +0 -0
  69. package/python/DLLs/sqlite3.pdb +0 -0
  70. package/python/DLLs/tcl86t.dll +0 -0
  71. package/python/DLLs/tk86t.dll +0 -0
  72. package/python/DLLs/unicodedata.pdb +0 -0
  73. package/python/DLLs/unicodedata.pyd +0 -0
  74. package/python/DLLs/winsound.pdb +0 -0
  75. package/python/DLLs/winsound.pyd +0 -0
  76. package/python/LICENSE.txt +445 -0
  77. package/python/Lib/__future__.py +147 -0
  78. package/python/Lib/__hello__.py +16 -0
  79. package/python/Lib/__phello__/__init__.py +7 -0
  80. package/python/Lib/__phello__/ham/__init__.py +0 -0
  81. package/python/Lib/__phello__/ham/eggs.py +0 -0
  82. package/python/Lib/__phello__/spam.py +7 -0
  83. package/python/Lib/__pycache__/__future__.cpython-313.pyc +0 -0
  84. package/python/Lib/__pycache__/_colorize.cpython-313.pyc +0 -0
  85. package/python/Lib/__pycache__/_compat_pickle.cpython-313.pyc +0 -0
  86. package/python/Lib/__pycache__/_compression.cpython-313.pyc +0 -0
  87. package/python/Lib/__pycache__/_markupbase.cpython-313.pyc +0 -0
  88. package/python/Lib/__pycache__/_opcode_metadata.cpython-313.pyc +0 -0
  89. package/python/Lib/__pycache__/_weakrefset.cpython-313.pyc +0 -0
  90. package/python/Lib/__pycache__/ast.cpython-313.pyc +0 -0
  91. package/python/Lib/__pycache__/base64.cpython-313.pyc +0 -0
  92. package/python/Lib/__pycache__/bisect.cpython-313.pyc +0 -0
  93. package/python/Lib/__pycache__/bz2.cpython-313.pyc +0 -0
  94. package/python/Lib/__pycache__/calendar.cpython-313.pyc +0 -0
  95. package/python/Lib/__pycache__/colorsys.cpython-313.pyc +0 -0
  96. package/python/Lib/__pycache__/compileall.cpython-313.pyc +0 -0
  97. package/python/Lib/__pycache__/configparser.cpython-313.pyc +0 -0
  98. package/python/Lib/__pycache__/contextlib.cpython-313.pyc +0 -0
  99. package/python/Lib/__pycache__/copy.cpython-313.pyc +0 -0
  100. package/python/Lib/__pycache__/copyreg.cpython-313.pyc +0 -0
  101. package/python/Lib/__pycache__/csv.cpython-313.pyc +0 -0
  102. package/python/Lib/__pycache__/dataclasses.cpython-313.pyc +0 -0
  103. package/python/Lib/__pycache__/datetime.cpython-313.pyc +0 -0
  104. package/python/Lib/__pycache__/decimal.cpython-313.pyc +0 -0
  105. package/python/Lib/__pycache__/dis.cpython-313.pyc +0 -0
  106. package/python/Lib/__pycache__/enum.cpython-313.pyc +0 -0
  107. package/python/Lib/__pycache__/filecmp.cpython-313.pyc +0 -0
  108. package/python/Lib/__pycache__/fnmatch.cpython-313.pyc +0 -0
  109. package/python/Lib/__pycache__/fractions.cpython-313.pyc +0 -0
  110. package/python/Lib/__pycache__/functools.cpython-313.pyc +0 -0
  111. package/python/Lib/__pycache__/getpass.cpython-313.pyc +0 -0
  112. package/python/Lib/__pycache__/gettext.cpython-313.pyc +0 -0
  113. package/python/Lib/__pycache__/glob.cpython-313.pyc +0 -0
  114. package/python/Lib/__pycache__/gzip.cpython-313.pyc +0 -0
  115. package/python/Lib/__pycache__/hashlib.cpython-313.pyc +0 -0
  116. package/python/Lib/__pycache__/heapq.cpython-313.pyc +0 -0
  117. package/python/Lib/__pycache__/hmac.cpython-313.pyc +0 -0
  118. package/python/Lib/__pycache__/inspect.cpython-313.pyc +0 -0
  119. package/python/Lib/__pycache__/ipaddress.cpython-313.pyc +0 -0
  120. package/python/Lib/__pycache__/keyword.cpython-313.pyc +0 -0
  121. package/python/Lib/__pycache__/linecache.cpython-313.pyc +0 -0
  122. package/python/Lib/__pycache__/locale.cpython-313.pyc +0 -0
  123. package/python/Lib/__pycache__/lzma.cpython-313.pyc +0 -0
  124. package/python/Lib/__pycache__/mimetypes.cpython-313.pyc +0 -0
  125. package/python/Lib/__pycache__/nturl2path.cpython-313.pyc +0 -0
  126. package/python/Lib/__pycache__/numbers.cpython-313.pyc +0 -0
  127. package/python/Lib/__pycache__/opcode.cpython-313.pyc +0 -0
  128. package/python/Lib/__pycache__/operator.cpython-313.pyc +0 -0
  129. package/python/Lib/__pycache__/optparse.cpython-313.pyc +0 -0
  130. package/python/Lib/__pycache__/pickle.cpython-313.pyc +0 -0
  131. package/python/Lib/__pycache__/pkgutil.cpython-313.pyc +0 -0
  132. package/python/Lib/__pycache__/platform.cpython-313.pyc +0 -0
  133. package/python/Lib/__pycache__/py_compile.cpython-313.pyc +0 -0
  134. package/python/Lib/__pycache__/queue.cpython-313.pyc +0 -0
  135. package/python/Lib/__pycache__/quopri.cpython-313.pyc +0 -0
  136. package/python/Lib/__pycache__/random.cpython-313.pyc +0 -0
  137. package/python/Lib/__pycache__/reprlib.cpython-313.pyc +0 -0
  138. package/python/Lib/__pycache__/selectors.cpython-313.pyc +0 -0
  139. package/python/Lib/__pycache__/shlex.cpython-313.pyc +0 -0
  140. package/python/Lib/__pycache__/shutil.cpython-313.pyc +0 -0
  141. package/python/Lib/__pycache__/signal.cpython-313.pyc +0 -0
  142. package/python/Lib/__pycache__/socket.cpython-313.pyc +0 -0
  143. package/python/Lib/__pycache__/socketserver.cpython-313.pyc +0 -0
  144. package/python/Lib/__pycache__/ssl.cpython-313.pyc +0 -0
  145. package/python/Lib/__pycache__/string.cpython-313.pyc +0 -0
  146. package/python/Lib/__pycache__/stringprep.cpython-313.pyc +0 -0
  147. package/python/Lib/__pycache__/struct.cpython-313.pyc +0 -0
  148. package/python/Lib/__pycache__/subprocess.cpython-313.pyc +0 -0
  149. package/python/Lib/__pycache__/tarfile.cpython-313.pyc +0 -0
  150. package/python/Lib/__pycache__/tempfile.cpython-313.pyc +0 -0
  151. package/python/Lib/__pycache__/textwrap.cpython-313.pyc +0 -0
  152. package/python/Lib/__pycache__/threading.cpython-313.pyc +0 -0
  153. package/python/Lib/__pycache__/token.cpython-313.pyc +0 -0
  154. package/python/Lib/__pycache__/tokenize.cpython-313.pyc +0 -0
  155. package/python/Lib/__pycache__/traceback.cpython-313.pyc +0 -0
  156. package/python/Lib/__pycache__/types.cpython-313.pyc +0 -0
  157. package/python/Lib/__pycache__/typing.cpython-313.pyc +0 -0
  158. package/python/Lib/__pycache__/uuid.cpython-313.pyc +0 -0
  159. package/python/Lib/__pycache__/warnings.cpython-313.pyc +0 -0
  160. package/python/Lib/__pycache__/weakref.cpython-313.pyc +0 -0
  161. package/python/Lib/_aix_support.py +108 -0
  162. package/python/Lib/_android_support.py +192 -0
  163. package/python/Lib/_apple_support.py +66 -0
  164. package/python/Lib/_collections_abc.py +1182 -0
  165. package/python/Lib/_colorize.py +119 -0
  166. package/python/Lib/_compat_pickle.py +251 -0
  167. package/python/Lib/_compression.py +162 -0
  168. package/python/Lib/_ios_support.py +71 -0
  169. package/python/Lib/_markupbase.py +396 -0
  170. package/python/Lib/_opcode_metadata.py +343 -0
  171. package/python/Lib/_osx_support.py +579 -0
  172. package/python/Lib/_py_abc.py +147 -0
  173. package/python/Lib/_pydatetime.py +2639 -0
  174. package/python/Lib/_pydecimal.py +6351 -0
  175. package/python/Lib/_pyio.py +2704 -0
  176. package/python/Lib/_pylong.py +363 -0
  177. package/python/Lib/_pyrepl/__init__.py +19 -0
  178. package/python/Lib/_pyrepl/__main__.py +10 -0
  179. package/python/Lib/_pyrepl/_minimal_curses.py +68 -0
  180. package/python/Lib/_pyrepl/_threading_handler.py +74 -0
  181. package/python/Lib/_pyrepl/base_eventqueue.py +110 -0
  182. package/python/Lib/_pyrepl/commands.py +492 -0
  183. package/python/Lib/_pyrepl/completing_reader.py +295 -0
  184. package/python/Lib/_pyrepl/console.py +229 -0
  185. package/python/Lib/_pyrepl/curses.py +33 -0
  186. package/python/Lib/_pyrepl/fancy_termios.py +82 -0
  187. package/python/Lib/_pyrepl/historical_reader.py +419 -0
  188. package/python/Lib/_pyrepl/input.py +114 -0
  189. package/python/Lib/_pyrepl/keymap.py +213 -0
  190. package/python/Lib/_pyrepl/main.py +59 -0
  191. package/python/Lib/_pyrepl/mypy.ini +29 -0
  192. package/python/Lib/_pyrepl/pager.py +175 -0
  193. package/python/Lib/_pyrepl/reader.py +764 -0
  194. package/python/Lib/_pyrepl/readline.py +599 -0
  195. package/python/Lib/_pyrepl/simple_interact.py +180 -0
  196. package/python/Lib/_pyrepl/trace.py +21 -0
  197. package/python/Lib/_pyrepl/types.py +10 -0
  198. package/python/Lib/_pyrepl/unix_console.py +852 -0
  199. package/python/Lib/_pyrepl/unix_eventqueue.py +76 -0
  200. package/python/Lib/_pyrepl/utils.py +83 -0
  201. package/python/Lib/_pyrepl/windows_console.py +692 -0
  202. package/python/Lib/_pyrepl/windows_eventqueue.py +42 -0
  203. package/python/Lib/_sitebuiltins.py +91 -0
  204. package/python/Lib/_strptime.py +800 -0
  205. package/python/Lib/_threading_local.py +120 -0
  206. package/python/Lib/_weakrefset.py +205 -0
  207. package/python/Lib/abc.py +188 -0
  208. package/python/Lib/antigravity.py +17 -0
  209. package/python/Lib/argparse.py +2690 -0
  210. package/python/Lib/ast.py +1865 -0
  211. package/python/Lib/asyncio/__init__.py +47 -0
  212. package/python/Lib/asyncio/__main__.py +207 -0
  213. package/python/Lib/asyncio/base_events.py +2075 -0
  214. package/python/Lib/asyncio/base_futures.py +67 -0
  215. package/python/Lib/asyncio/base_subprocess.py +319 -0
  216. package/python/Lib/asyncio/base_tasks.py +94 -0
  217. package/python/Lib/asyncio/constants.py +41 -0
  218. package/python/Lib/asyncio/coroutines.py +109 -0
  219. package/python/Lib/asyncio/events.py +882 -0
  220. package/python/Lib/asyncio/exceptions.py +62 -0
  221. package/python/Lib/asyncio/format_helpers.py +84 -0
  222. package/python/Lib/asyncio/futures.py +425 -0
  223. package/python/Lib/asyncio/locks.py +617 -0
  224. package/python/Lib/asyncio/log.py +7 -0
  225. package/python/Lib/asyncio/mixins.py +21 -0
  226. package/python/Lib/asyncio/proactor_events.py +896 -0
  227. package/python/Lib/asyncio/protocols.py +216 -0
  228. package/python/Lib/asyncio/queues.py +307 -0
  229. package/python/Lib/asyncio/runners.py +216 -0
  230. package/python/Lib/asyncio/selector_events.py +1326 -0
  231. package/python/Lib/asyncio/sslproto.py +929 -0
  232. package/python/Lib/asyncio/staggered.py +174 -0
  233. package/python/Lib/asyncio/streams.py +787 -0
  234. package/python/Lib/asyncio/subprocess.py +229 -0
  235. package/python/Lib/asyncio/taskgroups.py +278 -0
  236. package/python/Lib/asyncio/tasks.py +1118 -0
  237. package/python/Lib/asyncio/threads.py +25 -0
  238. package/python/Lib/asyncio/timeouts.py +184 -0
  239. package/python/Lib/asyncio/transports.py +337 -0
  240. package/python/Lib/asyncio/trsock.py +98 -0
  241. package/python/Lib/asyncio/unix_events.py +1536 -0
  242. package/python/Lib/asyncio/windows_events.py +903 -0
  243. package/python/Lib/asyncio/windows_utils.py +173 -0
  244. package/python/Lib/base64.py +621 -0
  245. package/python/Lib/bdb.py +973 -0
  246. package/python/Lib/bisect.py +118 -0
  247. package/python/Lib/bz2.py +352 -0
  248. package/python/Lib/cProfile.py +197 -0
  249. package/python/Lib/calendar.py +813 -0
  250. package/python/Lib/cmd.py +409 -0
  251. package/python/Lib/code.py +386 -0
  252. package/python/Lib/codecs.py +1132 -0
  253. package/python/Lib/codeop.py +155 -0
  254. package/python/Lib/collections/__init__.py +1600 -0
  255. package/python/Lib/collections/__pycache__/__init__.cpython-313.pyc +0 -0
  256. package/python/Lib/colorsys.py +166 -0
  257. package/python/Lib/compileall.py +470 -0
  258. package/python/Lib/concurrent/__init__.py +1 -0
  259. package/python/Lib/concurrent/futures/__init__.py +54 -0
  260. package/python/Lib/concurrent/futures/_base.py +654 -0
  261. package/python/Lib/concurrent/futures/process.py +862 -0
  262. package/python/Lib/concurrent/futures/thread.py +240 -0
  263. package/python/Lib/configparser.py +1387 -0
  264. package/python/Lib/contextlib.py +814 -0
  265. package/python/Lib/contextvars.py +4 -0
  266. package/python/Lib/copy.py +306 -0
  267. package/python/Lib/copyreg.py +217 -0
  268. package/python/Lib/csv.py +513 -0
  269. package/python/Lib/ctypes/__init__.py +600 -0
  270. package/python/Lib/ctypes/__pycache__/__init__.cpython-313.pyc +0 -0
  271. package/python/Lib/ctypes/__pycache__/_endian.cpython-313.pyc +0 -0
  272. package/python/Lib/ctypes/__pycache__/wintypes.cpython-313.pyc +0 -0
  273. package/python/Lib/ctypes/_aix.py +327 -0
  274. package/python/Lib/ctypes/_endian.py +78 -0
  275. package/python/Lib/ctypes/macholib/README.ctypes +7 -0
  276. package/python/Lib/ctypes/macholib/__init__.py +9 -0
  277. package/python/Lib/ctypes/macholib/dyld.py +165 -0
  278. package/python/Lib/ctypes/macholib/dylib.py +42 -0
  279. package/python/Lib/ctypes/macholib/fetch_macholib +2 -0
  280. package/python/Lib/ctypes/macholib/fetch_macholib.bat +1 -0
  281. package/python/Lib/ctypes/macholib/framework.py +42 -0
  282. package/python/Lib/ctypes/util.py +388 -0
  283. package/python/Lib/ctypes/wintypes.py +202 -0
  284. package/python/Lib/curses/__init__.py +101 -0
  285. package/python/Lib/curses/ascii.py +99 -0
  286. package/python/Lib/curses/has_key.py +192 -0
  287. package/python/Lib/curses/panel.py +6 -0
  288. package/python/Lib/curses/textpad.py +204 -0
  289. package/python/Lib/dataclasses.py +1630 -0
  290. package/python/Lib/datetime.py +9 -0
  291. package/python/Lib/dbm/__init__.py +194 -0
  292. package/python/Lib/dbm/dumb.py +319 -0
  293. package/python/Lib/dbm/gnu.py +3 -0
  294. package/python/Lib/dbm/ndbm.py +3 -0
  295. package/python/Lib/dbm/sqlite3.py +144 -0
  296. package/python/Lib/decimal.py +109 -0
  297. package/python/Lib/difflib.py +2056 -0
  298. package/python/Lib/dis.py +1075 -0
  299. package/python/Lib/doctest.py +2919 -0
  300. package/python/Lib/email/__init__.py +61 -0
  301. package/python/Lib/email/__pycache__/__init__.cpython-313.pyc +0 -0
  302. package/python/Lib/email/__pycache__/_encoded_words.cpython-313.pyc +0 -0
  303. package/python/Lib/email/__pycache__/_parseaddr.cpython-313.pyc +0 -0
  304. package/python/Lib/email/__pycache__/_policybase.cpython-313.pyc +0 -0
  305. package/python/Lib/email/__pycache__/base64mime.cpython-313.pyc +0 -0
  306. package/python/Lib/email/__pycache__/charset.cpython-313.pyc +0 -0
  307. package/python/Lib/email/__pycache__/encoders.cpython-313.pyc +0 -0
  308. package/python/Lib/email/__pycache__/errors.cpython-313.pyc +0 -0
  309. package/python/Lib/email/__pycache__/feedparser.cpython-313.pyc +0 -0
  310. package/python/Lib/email/__pycache__/header.cpython-313.pyc +0 -0
  311. package/python/Lib/email/__pycache__/iterators.cpython-313.pyc +0 -0
  312. package/python/Lib/email/__pycache__/message.cpython-313.pyc +0 -0
  313. package/python/Lib/email/__pycache__/parser.cpython-313.pyc +0 -0
  314. package/python/Lib/email/__pycache__/quoprimime.cpython-313.pyc +0 -0
  315. package/python/Lib/email/__pycache__/utils.cpython-313.pyc +0 -0
  316. package/python/Lib/email/_encoded_words.py +233 -0
  317. package/python/Lib/email/_header_value_parser.py +3145 -0
  318. package/python/Lib/email/_parseaddr.py +563 -0
  319. package/python/Lib/email/_policybase.py +382 -0
  320. package/python/Lib/email/architecture.rst +216 -0
  321. package/python/Lib/email/base64mime.py +115 -0
  322. package/python/Lib/email/charset.py +398 -0
  323. package/python/Lib/email/contentmanager.py +253 -0
  324. package/python/Lib/email/encoders.py +65 -0
  325. package/python/Lib/email/errors.py +117 -0
  326. package/python/Lib/email/feedparser.py +536 -0
  327. package/python/Lib/email/generator.py +530 -0
  328. package/python/Lib/email/header.py +582 -0
  329. package/python/Lib/email/headerregistry.py +618 -0
  330. package/python/Lib/email/iterators.py +68 -0
  331. package/python/Lib/email/message.py +1217 -0
  332. package/python/Lib/email/mime/__init__.py +0 -0
  333. package/python/Lib/email/mime/application.py +37 -0
  334. package/python/Lib/email/mime/audio.py +97 -0
  335. package/python/Lib/email/mime/base.py +29 -0
  336. package/python/Lib/email/mime/image.py +152 -0
  337. package/python/Lib/email/mime/message.py +33 -0
  338. package/python/Lib/email/mime/multipart.py +47 -0
  339. package/python/Lib/email/mime/nonmultipart.py +21 -0
  340. package/python/Lib/email/mime/text.py +40 -0
  341. package/python/Lib/email/parser.py +127 -0
  342. package/python/Lib/email/policy.py +232 -0
  343. package/python/Lib/email/quoprimime.py +300 -0
  344. package/python/Lib/email/utils.py +494 -0
  345. package/python/Lib/encodings/__init__.py +174 -0
  346. package/python/Lib/encodings/__pycache__/__init__.cpython-313.pyc +0 -0
  347. package/python/Lib/encodings/__pycache__/aliases.cpython-313.pyc +0 -0
  348. package/python/Lib/encodings/__pycache__/cp1252.cpython-313.pyc +0 -0
  349. package/python/Lib/encodings/__pycache__/cp437.cpython-313.pyc +0 -0
  350. package/python/Lib/encodings/__pycache__/hex_codec.cpython-313.pyc +0 -0
  351. package/python/Lib/encodings/__pycache__/idna.cpython-313.pyc +0 -0
  352. package/python/Lib/encodings/__pycache__/utf_8.cpython-313.pyc +0 -0
  353. package/python/Lib/encodings/aliases.py +552 -0
  354. package/python/Lib/encodings/ascii.py +50 -0
  355. package/python/Lib/encodings/base64_codec.py +55 -0
  356. package/python/Lib/encodings/big5.py +39 -0
  357. package/python/Lib/encodings/big5hkscs.py +39 -0
  358. package/python/Lib/encodings/bz2_codec.py +78 -0
  359. package/python/Lib/encodings/charmap.py +69 -0
  360. package/python/Lib/encodings/cp037.py +307 -0
  361. package/python/Lib/encodings/cp1006.py +307 -0
  362. package/python/Lib/encodings/cp1026.py +307 -0
  363. package/python/Lib/encodings/cp1125.py +698 -0
  364. package/python/Lib/encodings/cp1140.py +307 -0
  365. package/python/Lib/encodings/cp1250.py +307 -0
  366. package/python/Lib/encodings/cp1251.py +307 -0
  367. package/python/Lib/encodings/cp1252.py +307 -0
  368. package/python/Lib/encodings/cp1253.py +307 -0
  369. package/python/Lib/encodings/cp1254.py +307 -0
  370. package/python/Lib/encodings/cp1255.py +307 -0
  371. package/python/Lib/encodings/cp1256.py +307 -0
  372. package/python/Lib/encodings/cp1257.py +307 -0
  373. package/python/Lib/encodings/cp1258.py +307 -0
  374. package/python/Lib/encodings/cp273.py +307 -0
  375. package/python/Lib/encodings/cp424.py +307 -0
  376. package/python/Lib/encodings/cp437.py +698 -0
  377. package/python/Lib/encodings/cp500.py +307 -0
  378. package/python/Lib/encodings/cp720.py +309 -0
  379. package/python/Lib/encodings/cp737.py +698 -0
  380. package/python/Lib/encodings/cp775.py +697 -0
  381. package/python/Lib/encodings/cp850.py +698 -0
  382. package/python/Lib/encodings/cp852.py +698 -0
  383. package/python/Lib/encodings/cp855.py +698 -0
  384. package/python/Lib/encodings/cp856.py +307 -0
  385. package/python/Lib/encodings/cp857.py +694 -0
  386. package/python/Lib/encodings/cp858.py +698 -0
  387. package/python/Lib/encodings/cp860.py +698 -0
  388. package/python/Lib/encodings/cp861.py +698 -0
  389. package/python/Lib/encodings/cp862.py +698 -0
  390. package/python/Lib/encodings/cp863.py +698 -0
  391. package/python/Lib/encodings/cp864.py +690 -0
  392. package/python/Lib/encodings/cp865.py +698 -0
  393. package/python/Lib/encodings/cp866.py +698 -0
  394. package/python/Lib/encodings/cp869.py +689 -0
  395. package/python/Lib/encodings/cp874.py +307 -0
  396. package/python/Lib/encodings/cp875.py +307 -0
  397. package/python/Lib/encodings/cp932.py +39 -0
  398. package/python/Lib/encodings/cp949.py +39 -0
  399. package/python/Lib/encodings/cp950.py +39 -0
  400. package/python/Lib/encodings/euc_jis_2004.py +39 -0
  401. package/python/Lib/encodings/euc_jisx0213.py +39 -0
  402. package/python/Lib/encodings/euc_jp.py +39 -0
  403. package/python/Lib/encodings/euc_kr.py +39 -0
  404. package/python/Lib/encodings/gb18030.py +39 -0
  405. package/python/Lib/encodings/gb2312.py +39 -0
  406. package/python/Lib/encodings/gbk.py +39 -0
  407. package/python/Lib/encodings/hex_codec.py +55 -0
  408. package/python/Lib/encodings/hp_roman8.py +314 -0
  409. package/python/Lib/encodings/hz.py +39 -0
  410. package/python/Lib/encodings/idna.py +387 -0
  411. package/python/Lib/encodings/iso2022_jp.py +39 -0
  412. package/python/Lib/encodings/iso2022_jp_1.py +39 -0
  413. package/python/Lib/encodings/iso2022_jp_2.py +39 -0
  414. package/python/Lib/encodings/iso2022_jp_2004.py +39 -0
  415. package/python/Lib/encodings/iso2022_jp_3.py +39 -0
  416. package/python/Lib/encodings/iso2022_jp_ext.py +39 -0
  417. package/python/Lib/encodings/iso2022_kr.py +39 -0
  418. package/python/Lib/encodings/iso8859_1.py +307 -0
  419. package/python/Lib/encodings/iso8859_10.py +307 -0
  420. package/python/Lib/encodings/iso8859_11.py +307 -0
  421. package/python/Lib/encodings/iso8859_13.py +307 -0
  422. package/python/Lib/encodings/iso8859_14.py +307 -0
  423. package/python/Lib/encodings/iso8859_15.py +307 -0
  424. package/python/Lib/encodings/iso8859_16.py +307 -0
  425. package/python/Lib/encodings/iso8859_2.py +307 -0
  426. package/python/Lib/encodings/iso8859_3.py +307 -0
  427. package/python/Lib/encodings/iso8859_4.py +307 -0
  428. package/python/Lib/encodings/iso8859_5.py +307 -0
  429. package/python/Lib/encodings/iso8859_6.py +307 -0
  430. package/python/Lib/encodings/iso8859_7.py +307 -0
  431. package/python/Lib/encodings/iso8859_8.py +307 -0
  432. package/python/Lib/encodings/iso8859_9.py +307 -0
  433. package/python/Lib/encodings/johab.py +39 -0
  434. package/python/Lib/encodings/koi8_r.py +307 -0
  435. package/python/Lib/encodings/koi8_t.py +308 -0
  436. package/python/Lib/encodings/koi8_u.py +307 -0
  437. package/python/Lib/encodings/kz1048.py +307 -0
  438. package/python/Lib/encodings/latin_1.py +50 -0
  439. package/python/Lib/encodings/mac_arabic.py +698 -0
  440. package/python/Lib/encodings/mac_croatian.py +307 -0
  441. package/python/Lib/encodings/mac_cyrillic.py +307 -0
  442. package/python/Lib/encodings/mac_farsi.py +307 -0
  443. package/python/Lib/encodings/mac_greek.py +307 -0
  444. package/python/Lib/encodings/mac_iceland.py +307 -0
  445. package/python/Lib/encodings/mac_latin2.py +312 -0
  446. package/python/Lib/encodings/mac_roman.py +307 -0
  447. package/python/Lib/encodings/mac_romanian.py +307 -0
  448. package/python/Lib/encodings/mac_turkish.py +307 -0
  449. package/python/Lib/encodings/mbcs.py +47 -0
  450. package/python/Lib/encodings/oem.py +41 -0
  451. package/python/Lib/encodings/palmos.py +308 -0
  452. package/python/Lib/encodings/ptcp154.py +312 -0
  453. package/python/Lib/encodings/punycode.py +253 -0
  454. package/python/Lib/encodings/quopri_codec.py +56 -0
  455. package/python/Lib/encodings/raw_unicode_escape.py +46 -0
  456. package/python/Lib/encodings/rot_13.py +113 -0
  457. package/python/Lib/encodings/shift_jis.py +39 -0
  458. package/python/Lib/encodings/shift_jis_2004.py +39 -0
  459. package/python/Lib/encodings/shift_jisx0213.py +39 -0
  460. package/python/Lib/encodings/tis_620.py +307 -0
  461. package/python/Lib/encodings/undefined.py +49 -0
  462. package/python/Lib/encodings/unicode_escape.py +46 -0
  463. package/python/Lib/encodings/utf_16.py +155 -0
  464. package/python/Lib/encodings/utf_16_be.py +42 -0
  465. package/python/Lib/encodings/utf_16_le.py +42 -0
  466. package/python/Lib/encodings/utf_32.py +150 -0
  467. package/python/Lib/encodings/utf_32_be.py +37 -0
  468. package/python/Lib/encodings/utf_32_le.py +37 -0
  469. package/python/Lib/encodings/utf_7.py +38 -0
  470. package/python/Lib/encodings/utf_8.py +42 -0
  471. package/python/Lib/encodings/utf_8_sig.py +130 -0
  472. package/python/Lib/encodings/uu_codec.py +103 -0
  473. package/python/Lib/encodings/zlib_codec.py +77 -0
  474. package/python/Lib/ensurepip/__init__.py +264 -0
  475. package/python/Lib/ensurepip/__main__.py +5 -0
  476. package/python/Lib/ensurepip/_bundled/pip-25.3-py3-none-any.whl +0 -0
  477. package/python/Lib/ensurepip/_uninstall.py +31 -0
  478. package/python/Lib/enum.py +2182 -0
  479. package/python/Lib/filecmp.py +320 -0
  480. package/python/Lib/fileinput.py +442 -0
  481. package/python/Lib/fnmatch.py +192 -0
  482. package/python/Lib/fractions.py +1043 -0
  483. package/python/Lib/ftplib.py +966 -0
  484. package/python/Lib/functools.py +1036 -0
  485. package/python/Lib/genericpath.py +200 -0
  486. package/python/Lib/getopt.py +215 -0
  487. package/python/Lib/getpass.py +192 -0
  488. package/python/Lib/gettext.py +657 -0
  489. package/python/Lib/glob.py +551 -0
  490. package/python/Lib/graphlib.py +250 -0
  491. package/python/Lib/gzip.py +691 -0
  492. package/python/Lib/hashlib.py +255 -0
  493. package/python/Lib/heapq.py +603 -0
  494. package/python/Lib/hmac.py +220 -0
  495. package/python/Lib/html/__init__.py +132 -0
  496. package/python/Lib/html/__pycache__/__init__.cpython-313.pyc +0 -0
  497. package/python/Lib/html/__pycache__/entities.cpython-313.pyc +0 -0
  498. package/python/Lib/html/__pycache__/parser.cpython-313.pyc +0 -0
  499. package/python/Lib/html/entities.py +2513 -0
  500. package/python/Lib/html/parser.py +553 -0
  501. package/python/Lib/http/__init__.py +202 -0
  502. package/python/Lib/http/__pycache__/__init__.cpython-313.pyc +0 -0
  503. package/python/Lib/http/__pycache__/client.cpython-313.pyc +0 -0
  504. package/python/Lib/http/__pycache__/cookiejar.cpython-313.pyc +0 -0
  505. package/python/Lib/http/__pycache__/cookies.cpython-313.pyc +0 -0
  506. package/python/Lib/http/client.py +1570 -0
  507. package/python/Lib/http/cookiejar.py +2122 -0
  508. package/python/Lib/http/cookies.py +615 -0
  509. package/python/Lib/http/server.py +1351 -0
  510. package/python/Lib/idlelib/CREDITS.txt +48 -0
  511. package/python/Lib/idlelib/ChangeLog +1591 -0
  512. package/python/Lib/idlelib/HISTORY.txt +296 -0
  513. package/python/Lib/idlelib/Icons/README.txt +51 -0
  514. package/python/Lib/idlelib/Icons/folder.gif +0 -0
  515. package/python/Lib/idlelib/Icons/idle.ico +0 -0
  516. package/python/Lib/idlelib/Icons/idle_16.gif +0 -0
  517. package/python/Lib/idlelib/Icons/idle_16.png +0 -0
  518. package/python/Lib/idlelib/Icons/idle_256.png +0 -0
  519. package/python/Lib/idlelib/Icons/idle_32.gif +0 -0
  520. package/python/Lib/idlelib/Icons/idle_32.png +0 -0
  521. package/python/Lib/idlelib/Icons/idle_48.gif +0 -0
  522. package/python/Lib/idlelib/Icons/idle_48.png +0 -0
  523. package/python/Lib/idlelib/Icons/minusnode.gif +0 -0
  524. package/python/Lib/idlelib/Icons/openfolder.gif +0 -0
  525. package/python/Lib/idlelib/Icons/plusnode.gif +0 -0
  526. package/python/Lib/idlelib/Icons/python.gif +0 -0
  527. package/python/Lib/idlelib/Icons/tk.gif +0 -0
  528. package/python/Lib/idlelib/NEWS2x.txt +660 -0
  529. package/python/Lib/idlelib/News3.txt +1407 -0
  530. package/python/Lib/idlelib/README.txt +290 -0
  531. package/python/Lib/idlelib/TODO.txt +210 -0
  532. package/python/Lib/idlelib/__init__.py +10 -0
  533. package/python/Lib/idlelib/__main__.py +7 -0
  534. package/python/Lib/idlelib/autocomplete.py +228 -0
  535. package/python/Lib/idlelib/autocomplete_w.py +498 -0
  536. package/python/Lib/idlelib/autoexpand.py +96 -0
  537. package/python/Lib/idlelib/browser.py +260 -0
  538. package/python/Lib/idlelib/calltip.py +205 -0
  539. package/python/Lib/idlelib/calltip_w.py +202 -0
  540. package/python/Lib/idlelib/codecontext.py +270 -0
  541. package/python/Lib/idlelib/colorizer.py +384 -0
  542. package/python/Lib/idlelib/config-extensions.def +62 -0
  543. package/python/Lib/idlelib/config-highlight.def +105 -0
  544. package/python/Lib/idlelib/config-keys.def +309 -0
  545. package/python/Lib/idlelib/config-main.def +92 -0
  546. package/python/Lib/idlelib/config.py +917 -0
  547. package/python/Lib/idlelib/config_key.py +354 -0
  548. package/python/Lib/idlelib/configdialog.py +2408 -0
  549. package/python/Lib/idlelib/debugger.py +602 -0
  550. package/python/Lib/idlelib/debugger_r.py +390 -0
  551. package/python/Lib/idlelib/debugobj.py +146 -0
  552. package/python/Lib/idlelib/debugobj_r.py +41 -0
  553. package/python/Lib/idlelib/delegator.py +34 -0
  554. package/python/Lib/idlelib/dynoption.py +57 -0
  555. package/python/Lib/idlelib/editor.py +1721 -0
  556. package/python/Lib/idlelib/extend.txt +83 -0
  557. package/python/Lib/idlelib/filelist.py +132 -0
  558. package/python/Lib/idlelib/format.py +426 -0
  559. package/python/Lib/idlelib/grep.py +223 -0
  560. package/python/Lib/idlelib/help.html +865 -0
  561. package/python/Lib/idlelib/help.py +343 -0
  562. package/python/Lib/idlelib/help_about.py +211 -0
  563. package/python/Lib/idlelib/history.py +106 -0
  564. package/python/Lib/idlelib/hyperparser.py +312 -0
  565. package/python/Lib/idlelib/idle.bat +4 -0
  566. package/python/Lib/idlelib/idle.py +14 -0
  567. package/python/Lib/idlelib/idle.pyw +17 -0
  568. package/python/Lib/idlelib/iomenu.py +441 -0
  569. package/python/Lib/idlelib/macosx.py +278 -0
  570. package/python/Lib/idlelib/mainmenu.py +126 -0
  571. package/python/Lib/idlelib/multicall.py +451 -0
  572. package/python/Lib/idlelib/outwin.py +188 -0
  573. package/python/Lib/idlelib/parenmatch.py +183 -0
  574. package/python/Lib/idlelib/pathbrowser.py +107 -0
  575. package/python/Lib/idlelib/percolator.py +120 -0
  576. package/python/Lib/idlelib/pyparse.py +589 -0
  577. package/python/Lib/idlelib/pyshell.py +1699 -0
  578. package/python/Lib/idlelib/query.py +390 -0
  579. package/python/Lib/idlelib/redirector.py +174 -0
  580. package/python/Lib/idlelib/replace.py +299 -0
  581. package/python/Lib/idlelib/rpc.py +635 -0
  582. package/python/Lib/idlelib/run.py +653 -0
  583. package/python/Lib/idlelib/runscript.py +213 -0
  584. package/python/Lib/idlelib/scrolledlist.py +151 -0
  585. package/python/Lib/idlelib/search.py +165 -0
  586. package/python/Lib/idlelib/searchbase.py +210 -0
  587. package/python/Lib/idlelib/searchengine.py +234 -0
  588. package/python/Lib/idlelib/sidebar.py +543 -0
  589. package/python/Lib/idlelib/squeezer.py +345 -0
  590. package/python/Lib/idlelib/stackviewer.py +134 -0
  591. package/python/Lib/idlelib/statusbar.py +52 -0
  592. package/python/Lib/idlelib/textview.py +193 -0
  593. package/python/Lib/idlelib/tooltip.py +190 -0
  594. package/python/Lib/idlelib/tree.py +509 -0
  595. package/python/Lib/idlelib/undo.py +367 -0
  596. package/python/Lib/idlelib/util.py +37 -0
  597. package/python/Lib/idlelib/window.py +98 -0
  598. package/python/Lib/idlelib/zoomheight.py +124 -0
  599. package/python/Lib/idlelib/zzdummy.py +73 -0
  600. package/python/Lib/imaplib.py +1651 -0
  601. package/python/Lib/importlib/__init__.py +136 -0
  602. package/python/Lib/importlib/__pycache__/__init__.cpython-313.pyc +0 -0
  603. package/python/Lib/importlib/__pycache__/_abc.cpython-313.pyc +0 -0
  604. package/python/Lib/importlib/__pycache__/abc.cpython-313.pyc +0 -0
  605. package/python/Lib/importlib/__pycache__/readers.cpython-313.pyc +0 -0
  606. package/python/Lib/importlib/_abc.py +39 -0
  607. package/python/Lib/importlib/_bootstrap.py +1551 -0
  608. package/python/Lib/importlib/_bootstrap_external.py +1826 -0
  609. package/python/Lib/importlib/abc.py +243 -0
  610. package/python/Lib/importlib/machinery.py +21 -0
  611. package/python/Lib/importlib/metadata/__init__.py +1093 -0
  612. package/python/Lib/importlib/metadata/__pycache__/__init__.cpython-313.pyc +0 -0
  613. package/python/Lib/importlib/metadata/__pycache__/_adapters.cpython-313.pyc +0 -0
  614. package/python/Lib/importlib/metadata/__pycache__/_collections.cpython-313.pyc +0 -0
  615. package/python/Lib/importlib/metadata/__pycache__/_functools.cpython-313.pyc +0 -0
  616. package/python/Lib/importlib/metadata/__pycache__/_itertools.cpython-313.pyc +0 -0
  617. package/python/Lib/importlib/metadata/__pycache__/_meta.cpython-313.pyc +0 -0
  618. package/python/Lib/importlib/metadata/__pycache__/_text.cpython-313.pyc +0 -0
  619. package/python/Lib/importlib/metadata/_adapters.py +89 -0
  620. package/python/Lib/importlib/metadata/_collections.py +30 -0
  621. package/python/Lib/importlib/metadata/_functools.py +104 -0
  622. package/python/Lib/importlib/metadata/_itertools.py +73 -0
  623. package/python/Lib/importlib/metadata/_meta.py +67 -0
  624. package/python/Lib/importlib/metadata/_text.py +99 -0
  625. package/python/Lib/importlib/metadata/diagnose.py +21 -0
  626. package/python/Lib/importlib/readers.py +12 -0
  627. package/python/Lib/importlib/resources/__init__.py +43 -0
  628. package/python/Lib/importlib/resources/__pycache__/__init__.cpython-313.pyc +0 -0
  629. package/python/Lib/importlib/resources/__pycache__/_adapters.cpython-313.pyc +0 -0
  630. package/python/Lib/importlib/resources/__pycache__/_common.cpython-313.pyc +0 -0
  631. package/python/Lib/importlib/resources/__pycache__/_functional.cpython-313.pyc +0 -0
  632. package/python/Lib/importlib/resources/__pycache__/_itertools.cpython-313.pyc +0 -0
  633. package/python/Lib/importlib/resources/__pycache__/abc.cpython-313.pyc +0 -0
  634. package/python/Lib/importlib/resources/__pycache__/readers.cpython-313.pyc +0 -0
  635. package/python/Lib/importlib/resources/_adapters.py +168 -0
  636. package/python/Lib/importlib/resources/_common.py +211 -0
  637. package/python/Lib/importlib/resources/_functional.py +81 -0
  638. package/python/Lib/importlib/resources/_itertools.py +38 -0
  639. package/python/Lib/importlib/resources/abc.py +173 -0
  640. package/python/Lib/importlib/resources/readers.py +203 -0
  641. package/python/Lib/importlib/resources/simple.py +106 -0
  642. package/python/Lib/importlib/simple.py +14 -0
  643. package/python/Lib/importlib/util.py +274 -0
  644. package/python/Lib/inspect.py +3471 -0
  645. package/python/Lib/io.py +99 -0
  646. package/python/Lib/ipaddress.py +2440 -0
  647. package/python/Lib/json/__init__.py +365 -0
  648. package/python/Lib/json/__pycache__/__init__.cpython-313.pyc +0 -0
  649. package/python/Lib/json/__pycache__/decoder.cpython-313.pyc +0 -0
  650. package/python/Lib/json/__pycache__/encoder.cpython-313.pyc +0 -0
  651. package/python/Lib/json/__pycache__/scanner.cpython-313.pyc +0 -0
  652. package/python/Lib/json/decoder.py +364 -0
  653. package/python/Lib/json/encoder.py +446 -0
  654. package/python/Lib/json/scanner.py +73 -0
  655. package/python/Lib/json/tool.py +89 -0
  656. package/python/Lib/keyword.py +64 -0
  657. package/python/Lib/linecache.py +236 -0
  658. package/python/Lib/locale.py +1778 -0
  659. package/python/Lib/logging/__init__.py +2326 -0
  660. package/python/Lib/logging/__pycache__/__init__.cpython-313.pyc +0 -0
  661. package/python/Lib/logging/__pycache__/config.cpython-313.pyc +0 -0
  662. package/python/Lib/logging/__pycache__/handlers.cpython-313.pyc +0 -0
  663. package/python/Lib/logging/config.py +1065 -0
  664. package/python/Lib/logging/handlers.py +1629 -0
  665. package/python/Lib/lzma.py +364 -0
  666. package/python/Lib/mailbox.py +2219 -0
  667. package/python/Lib/mimetypes.py +679 -0
  668. package/python/Lib/modulefinder.py +671 -0
  669. package/python/Lib/multiprocessing/__init__.py +37 -0
  670. package/python/Lib/multiprocessing/connection.py +1190 -0
  671. package/python/Lib/multiprocessing/context.py +377 -0
  672. package/python/Lib/multiprocessing/dummy/__init__.py +126 -0
  673. package/python/Lib/multiprocessing/dummy/connection.py +75 -0
  674. package/python/Lib/multiprocessing/forkserver.py +364 -0
  675. package/python/Lib/multiprocessing/heap.py +337 -0
  676. package/python/Lib/multiprocessing/managers.py +1397 -0
  677. package/python/Lib/multiprocessing/pool.py +957 -0
  678. package/python/Lib/multiprocessing/popen_fork.py +87 -0
  679. package/python/Lib/multiprocessing/popen_forkserver.py +74 -0
  680. package/python/Lib/multiprocessing/popen_spawn_posix.py +76 -0
  681. package/python/Lib/multiprocessing/popen_spawn_win32.py +147 -0
  682. package/python/Lib/multiprocessing/process.py +436 -0
  683. package/python/Lib/multiprocessing/queues.py +399 -0
  684. package/python/Lib/multiprocessing/reduction.py +281 -0
  685. package/python/Lib/multiprocessing/resource_sharer.py +154 -0
  686. package/python/Lib/multiprocessing/resource_tracker.py +420 -0
  687. package/python/Lib/multiprocessing/shared_memory.py +544 -0
  688. package/python/Lib/multiprocessing/sharedctypes.py +240 -0
  689. package/python/Lib/multiprocessing/spawn.py +307 -0
  690. package/python/Lib/multiprocessing/synchronize.py +404 -0
  691. package/python/Lib/multiprocessing/util.py +562 -0
  692. package/python/Lib/netrc.py +199 -0
  693. package/python/Lib/ntpath.py +870 -0
  694. package/python/Lib/nturl2path.py +69 -0
  695. package/python/Lib/numbers.py +427 -0
  696. package/python/Lib/opcode.py +115 -0
  697. package/python/Lib/operator.py +467 -0
  698. package/python/Lib/optparse.py +1681 -0
  699. package/python/Lib/os.py +1184 -0
  700. package/python/Lib/pathlib/__init__.py +12 -0
  701. package/python/Lib/pathlib/__pycache__/__init__.cpython-313.pyc +0 -0
  702. package/python/Lib/pathlib/__pycache__/_abc.cpython-313.pyc +0 -0
  703. package/python/Lib/pathlib/__pycache__/_local.cpython-313.pyc +0 -0
  704. package/python/Lib/pathlib/_abc.py +930 -0
  705. package/python/Lib/pathlib/_local.py +861 -0
  706. package/python/Lib/pdb.py +2550 -0
  707. package/python/Lib/pickle.py +1866 -0
  708. package/python/Lib/pickletools.py +2904 -0
  709. package/python/Lib/pkgutil.py +529 -0
  710. package/python/Lib/platform.py +1454 -0
  711. package/python/Lib/plistlib.py +948 -0
  712. package/python/Lib/poplib.py +477 -0
  713. package/python/Lib/posixpath.py +578 -0
  714. package/python/Lib/pprint.py +658 -0
  715. package/python/Lib/profile.py +616 -0
  716. package/python/Lib/pstats.py +778 -0
  717. package/python/Lib/pty.py +211 -0
  718. package/python/Lib/py_compile.py +212 -0
  719. package/python/Lib/pyclbr.py +314 -0
  720. package/python/Lib/pydoc.py +2859 -0
  721. package/python/Lib/pydoc_data/__init__.py +0 -0
  722. package/python/Lib/pydoc_data/_pydoc.css +112 -0
  723. package/python/Lib/pydoc_data/module_docs.py +314 -0
  724. package/python/Lib/pydoc_data/topics.py +13000 -0
  725. package/python/Lib/queue.py +383 -0
  726. package/python/Lib/quopri.py +237 -0
  727. package/python/Lib/random.py +1070 -0
  728. package/python/Lib/re/__init__.py +428 -0
  729. package/python/Lib/re/__pycache__/__init__.cpython-313.pyc +0 -0
  730. package/python/Lib/re/__pycache__/_casefix.cpython-313.pyc +0 -0
  731. package/python/Lib/re/__pycache__/_compiler.cpython-313.pyc +0 -0
  732. package/python/Lib/re/__pycache__/_constants.cpython-313.pyc +0 -0
  733. package/python/Lib/re/__pycache__/_parser.cpython-313.pyc +0 -0
  734. package/python/Lib/re/_casefix.py +106 -0
  735. package/python/Lib/re/_compiler.py +768 -0
  736. package/python/Lib/re/_constants.py +222 -0
  737. package/python/Lib/re/_parser.py +1081 -0
  738. package/python/Lib/reprlib.py +230 -0
  739. package/python/Lib/rlcompleter.py +221 -0
  740. package/python/Lib/runpy.py +319 -0
  741. package/python/Lib/sched.py +167 -0
  742. package/python/Lib/secrets.py +71 -0
  743. package/python/Lib/selectors.py +603 -0
  744. package/python/Lib/shelve.py +250 -0
  745. package/python/Lib/shlex.py +345 -0
  746. package/python/Lib/shutil.py +1583 -0
  747. package/python/Lib/signal.py +94 -0
  748. package/python/Lib/site-packages/README.txt +2 -0
  749. package/python/Lib/site-packages/pip/__init__.py +13 -0
  750. package/python/Lib/site-packages/pip/__main__.py +24 -0
  751. package/python/Lib/site-packages/pip/__pip-runner__.py +50 -0
  752. package/python/Lib/site-packages/pip/__pycache__/__init__.cpython-313.pyc +0 -0
  753. package/python/Lib/site-packages/pip/__pycache__/__main__.cpython-313.pyc +0 -0
  754. package/python/Lib/site-packages/pip/__pycache__/__pip-runner__.cpython-313.pyc +0 -0
  755. package/python/Lib/site-packages/pip/_internal/__init__.py +18 -0
  756. package/python/Lib/site-packages/pip/_internal/__pycache__/__init__.cpython-313.pyc +0 -0
  757. package/python/Lib/site-packages/pip/_internal/__pycache__/build_env.cpython-313.pyc +0 -0
  758. package/python/Lib/site-packages/pip/_internal/__pycache__/cache.cpython-313.pyc +0 -0
  759. package/python/Lib/site-packages/pip/_internal/__pycache__/configuration.cpython-313.pyc +0 -0
  760. package/python/Lib/site-packages/pip/_internal/__pycache__/exceptions.cpython-313.pyc +0 -0
  761. package/python/Lib/site-packages/pip/_internal/__pycache__/main.cpython-313.pyc +0 -0
  762. package/python/Lib/site-packages/pip/_internal/__pycache__/pyproject.cpython-313.pyc +0 -0
  763. package/python/Lib/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-313.pyc +0 -0
  764. package/python/Lib/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-313.pyc +0 -0
  765. package/python/Lib/site-packages/pip/_internal/build_env.py +606 -0
  766. package/python/Lib/site-packages/pip/_internal/cache.py +291 -0
  767. package/python/Lib/site-packages/pip/_internal/cli/__init__.py +3 -0
  768. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-313.pyc +0 -0
  769. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-313.pyc +0 -0
  770. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-313.pyc +0 -0
  771. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-313.pyc +0 -0
  772. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-313.pyc +0 -0
  773. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-313.pyc +0 -0
  774. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/main.cpython-313.pyc +0 -0
  775. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-313.pyc +0 -0
  776. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/parser.cpython-313.pyc +0 -0
  777. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-313.pyc +0 -0
  778. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-313.pyc +0 -0
  779. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-313.pyc +0 -0
  780. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-313.pyc +0 -0
  781. package/python/Lib/site-packages/pip/_internal/cli/autocompletion.py +184 -0
  782. package/python/Lib/site-packages/pip/_internal/cli/base_command.py +255 -0
  783. package/python/Lib/site-packages/pip/_internal/cli/cmdoptions.py +1267 -0
  784. package/python/Lib/site-packages/pip/_internal/cli/command_context.py +28 -0
  785. package/python/Lib/site-packages/pip/_internal/cli/index_command.py +195 -0
  786. package/python/Lib/site-packages/pip/_internal/cli/main.py +85 -0
  787. package/python/Lib/site-packages/pip/_internal/cli/main_parser.py +136 -0
  788. package/python/Lib/site-packages/pip/_internal/cli/parser.py +358 -0
  789. package/python/Lib/site-packages/pip/_internal/cli/progress_bars.py +153 -0
  790. package/python/Lib/site-packages/pip/_internal/cli/req_command.py +447 -0
  791. package/python/Lib/site-packages/pip/_internal/cli/spinners.py +235 -0
  792. package/python/Lib/site-packages/pip/_internal/cli/status_codes.py +6 -0
  793. package/python/Lib/site-packages/pip/_internal/commands/__init__.py +139 -0
  794. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-313.pyc +0 -0
  795. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/cache.cpython-313.pyc +0 -0
  796. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/check.cpython-313.pyc +0 -0
  797. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/completion.cpython-313.pyc +0 -0
  798. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-313.pyc +0 -0
  799. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/debug.cpython-313.pyc +0 -0
  800. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/download.cpython-313.pyc +0 -0
  801. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-313.pyc +0 -0
  802. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/hash.cpython-313.pyc +0 -0
  803. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/help.cpython-313.pyc +0 -0
  804. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/index.cpython-313.pyc +0 -0
  805. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-313.pyc +0 -0
  806. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/install.cpython-313.pyc +0 -0
  807. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/list.cpython-313.pyc +0 -0
  808. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/lock.cpython-313.pyc +0 -0
  809. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/search.cpython-313.pyc +0 -0
  810. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/show.cpython-313.pyc +0 -0
  811. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-313.pyc +0 -0
  812. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-313.pyc +0 -0
  813. package/python/Lib/site-packages/pip/_internal/commands/cache.py +255 -0
  814. package/python/Lib/site-packages/pip/_internal/commands/check.py +66 -0
  815. package/python/Lib/site-packages/pip/_internal/commands/completion.py +136 -0
  816. package/python/Lib/site-packages/pip/_internal/commands/configuration.py +288 -0
  817. package/python/Lib/site-packages/pip/_internal/commands/debug.py +203 -0
  818. package/python/Lib/site-packages/pip/_internal/commands/download.py +146 -0
  819. package/python/Lib/site-packages/pip/_internal/commands/freeze.py +107 -0
  820. package/python/Lib/site-packages/pip/_internal/commands/hash.py +58 -0
  821. package/python/Lib/site-packages/pip/_internal/commands/help.py +40 -0
  822. package/python/Lib/site-packages/pip/_internal/commands/index.py +166 -0
  823. package/python/Lib/site-packages/pip/_internal/commands/inspect.py +92 -0
  824. package/python/Lib/site-packages/pip/_internal/commands/install.py +810 -0
  825. package/python/Lib/site-packages/pip/_internal/commands/list.py +398 -0
  826. package/python/Lib/site-packages/pip/_internal/commands/lock.py +175 -0
  827. package/python/Lib/site-packages/pip/_internal/commands/search.py +178 -0
  828. package/python/Lib/site-packages/pip/_internal/commands/show.py +231 -0
  829. package/python/Lib/site-packages/pip/_internal/commands/uninstall.py +113 -0
  830. package/python/Lib/site-packages/pip/_internal/commands/wheel.py +171 -0
  831. package/python/Lib/site-packages/pip/_internal/configuration.py +396 -0
  832. package/python/Lib/site-packages/pip/_internal/distributions/__init__.py +21 -0
  833. package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-313.pyc +0 -0
  834. package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/base.cpython-313.pyc +0 -0
  835. package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-313.pyc +0 -0
  836. package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-313.pyc +0 -0
  837. package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-313.pyc +0 -0
  838. package/python/Lib/site-packages/pip/_internal/distributions/base.py +55 -0
  839. package/python/Lib/site-packages/pip/_internal/distributions/installed.py +33 -0
  840. package/python/Lib/site-packages/pip/_internal/distributions/sdist.py +164 -0
  841. package/python/Lib/site-packages/pip/_internal/distributions/wheel.py +44 -0
  842. package/python/Lib/site-packages/pip/_internal/exceptions.py +971 -0
  843. package/python/Lib/site-packages/pip/_internal/index/__init__.py +1 -0
  844. package/python/Lib/site-packages/pip/_internal/index/__pycache__/__init__.cpython-313.pyc +0 -0
  845. package/python/Lib/site-packages/pip/_internal/index/__pycache__/collector.cpython-313.pyc +0 -0
  846. package/python/Lib/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-313.pyc +0 -0
  847. package/python/Lib/site-packages/pip/_internal/index/__pycache__/sources.cpython-313.pyc +0 -0
  848. package/python/Lib/site-packages/pip/_internal/index/collector.py +488 -0
  849. package/python/Lib/site-packages/pip/_internal/index/package_finder.py +1125 -0
  850. package/python/Lib/site-packages/pip/_internal/index/sources.py +287 -0
  851. package/python/Lib/site-packages/pip/_internal/locations/__init__.py +440 -0
  852. package/python/Lib/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-313.pyc +0 -0
  853. package/python/Lib/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-313.pyc +0 -0
  854. package/python/Lib/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-313.pyc +0 -0
  855. package/python/Lib/site-packages/pip/_internal/locations/__pycache__/base.cpython-313.pyc +0 -0
  856. package/python/Lib/site-packages/pip/_internal/locations/_distutils.py +173 -0
  857. package/python/Lib/site-packages/pip/_internal/locations/_sysconfig.py +218 -0
  858. package/python/Lib/site-packages/pip/_internal/locations/base.py +82 -0
  859. package/python/Lib/site-packages/pip/_internal/main.py +12 -0
  860. package/python/Lib/site-packages/pip/_internal/metadata/__init__.py +169 -0
  861. package/python/Lib/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-313.pyc +0 -0
  862. package/python/Lib/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-313.pyc +0 -0
  863. package/python/Lib/site-packages/pip/_internal/metadata/__pycache__/base.cpython-313.pyc +0 -0
  864. package/python/Lib/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-313.pyc +0 -0
  865. package/python/Lib/site-packages/pip/_internal/metadata/_json.py +87 -0
  866. package/python/Lib/site-packages/pip/_internal/metadata/base.py +685 -0
  867. package/python/Lib/site-packages/pip/_internal/metadata/importlib/__init__.py +6 -0
  868. package/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-313.pyc +0 -0
  869. package/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-313.pyc +0 -0
  870. package/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-313.pyc +0 -0
  871. package/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-313.pyc +0 -0
  872. package/python/Lib/site-packages/pip/_internal/metadata/importlib/_compat.py +87 -0
  873. package/python/Lib/site-packages/pip/_internal/metadata/importlib/_dists.py +229 -0
  874. package/python/Lib/site-packages/pip/_internal/metadata/importlib/_envs.py +143 -0
  875. package/python/Lib/site-packages/pip/_internal/metadata/pkg_resources.py +298 -0
  876. package/python/Lib/site-packages/pip/_internal/models/__init__.py +1 -0
  877. package/python/Lib/site-packages/pip/_internal/models/__pycache__/__init__.cpython-313.pyc +0 -0
  878. package/python/Lib/site-packages/pip/_internal/models/__pycache__/candidate.cpython-313.pyc +0 -0
  879. package/python/Lib/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-313.pyc +0 -0
  880. package/python/Lib/site-packages/pip/_internal/models/__pycache__/format_control.cpython-313.pyc +0 -0
  881. package/python/Lib/site-packages/pip/_internal/models/__pycache__/index.cpython-313.pyc +0 -0
  882. package/python/Lib/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-313.pyc +0 -0
  883. package/python/Lib/site-packages/pip/_internal/models/__pycache__/link.cpython-313.pyc +0 -0
  884. package/python/Lib/site-packages/pip/_internal/models/__pycache__/release_control.cpython-313.pyc +0 -0
  885. package/python/Lib/site-packages/pip/_internal/models/__pycache__/scheme.cpython-313.pyc +0 -0
  886. package/python/Lib/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-313.pyc +0 -0
  887. package/python/Lib/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-313.pyc +0 -0
  888. package/python/Lib/site-packages/pip/_internal/models/__pycache__/target_python.cpython-313.pyc +0 -0
  889. package/python/Lib/site-packages/pip/_internal/models/__pycache__/wheel.cpython-313.pyc +0 -0
  890. package/python/Lib/site-packages/pip/_internal/models/candidate.py +25 -0
  891. package/python/Lib/site-packages/pip/_internal/models/direct_url.py +227 -0
  892. package/python/Lib/site-packages/pip/_internal/models/format_control.py +78 -0
  893. package/python/Lib/site-packages/pip/_internal/models/index.py +28 -0
  894. package/python/Lib/site-packages/pip/_internal/models/installation_report.py +57 -0
  895. package/python/Lib/site-packages/pip/_internal/models/link.py +617 -0
  896. package/python/Lib/site-packages/pip/_internal/models/release_control.py +92 -0
  897. package/python/Lib/site-packages/pip/_internal/models/scheme.py +25 -0
  898. package/python/Lib/site-packages/pip/_internal/models/search_scope.py +126 -0
  899. package/python/Lib/site-packages/pip/_internal/models/selection_prefs.py +56 -0
  900. package/python/Lib/site-packages/pip/_internal/models/target_python.py +122 -0
  901. package/python/Lib/site-packages/pip/_internal/models/wheel.py +80 -0
  902. package/python/Lib/site-packages/pip/_internal/network/__init__.py +1 -0
  903. package/python/Lib/site-packages/pip/_internal/network/__pycache__/__init__.cpython-313.pyc +0 -0
  904. package/python/Lib/site-packages/pip/_internal/network/__pycache__/auth.cpython-313.pyc +0 -0
  905. package/python/Lib/site-packages/pip/_internal/network/__pycache__/cache.cpython-313.pyc +0 -0
  906. package/python/Lib/site-packages/pip/_internal/network/__pycache__/download.cpython-313.pyc +0 -0
  907. package/python/Lib/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-313.pyc +0 -0
  908. package/python/Lib/site-packages/pip/_internal/network/__pycache__/session.cpython-313.pyc +0 -0
  909. package/python/Lib/site-packages/pip/_internal/network/__pycache__/utils.cpython-313.pyc +0 -0
  910. package/python/Lib/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-313.pyc +0 -0
  911. package/python/Lib/site-packages/pip/_internal/network/auth.py +568 -0
  912. package/python/Lib/site-packages/pip/_internal/network/cache.py +128 -0
  913. package/python/Lib/site-packages/pip/_internal/network/download.py +341 -0
  914. package/python/Lib/site-packages/pip/_internal/network/lazy_wheel.py +215 -0
  915. package/python/Lib/site-packages/pip/_internal/network/session.py +532 -0
  916. package/python/Lib/site-packages/pip/_internal/network/utils.py +98 -0
  917. package/python/Lib/site-packages/pip/_internal/network/xmlrpc.py +61 -0
  918. package/python/Lib/site-packages/pip/_internal/operations/__init__.py +0 -0
  919. package/python/Lib/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-313.pyc +0 -0
  920. package/python/Lib/site-packages/pip/_internal/operations/__pycache__/check.cpython-313.pyc +0 -0
  921. package/python/Lib/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-313.pyc +0 -0
  922. package/python/Lib/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-313.pyc +0 -0
  923. package/python/Lib/site-packages/pip/_internal/operations/build/__init__.py +0 -0
  924. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-313.pyc +0 -0
  925. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-313.pyc +0 -0
  926. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-313.pyc +0 -0
  927. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-313.pyc +0 -0
  928. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-313.pyc +0 -0
  929. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-313.pyc +0 -0
  930. package/python/Lib/site-packages/pip/_internal/operations/build/build_tracker.py +140 -0
  931. package/python/Lib/site-packages/pip/_internal/operations/build/metadata.py +38 -0
  932. package/python/Lib/site-packages/pip/_internal/operations/build/metadata_editable.py +41 -0
  933. package/python/Lib/site-packages/pip/_internal/operations/build/wheel.py +38 -0
  934. package/python/Lib/site-packages/pip/_internal/operations/build/wheel_editable.py +47 -0
  935. package/python/Lib/site-packages/pip/_internal/operations/check.py +175 -0
  936. package/python/Lib/site-packages/pip/_internal/operations/freeze.py +259 -0
  937. package/python/Lib/site-packages/pip/_internal/operations/install/__init__.py +1 -0
  938. package/python/Lib/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-313.pyc +0 -0
  939. package/python/Lib/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-313.pyc +0 -0
  940. package/python/Lib/site-packages/pip/_internal/operations/install/wheel.py +745 -0
  941. package/python/Lib/site-packages/pip/_internal/operations/prepare.py +747 -0
  942. package/python/Lib/site-packages/pip/_internal/pyproject.py +123 -0
  943. package/python/Lib/site-packages/pip/_internal/req/__init__.py +103 -0
  944. package/python/Lib/site-packages/pip/_internal/req/__pycache__/__init__.cpython-313.pyc +0 -0
  945. package/python/Lib/site-packages/pip/_internal/req/__pycache__/constructors.cpython-313.pyc +0 -0
  946. package/python/Lib/site-packages/pip/_internal/req/__pycache__/pep723.cpython-313.pyc +0 -0
  947. package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_dependency_group.cpython-313.pyc +0 -0
  948. package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_file.cpython-313.pyc +0 -0
  949. package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_install.cpython-313.pyc +0 -0
  950. package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_set.cpython-313.pyc +0 -0
  951. package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-313.pyc +0 -0
  952. package/python/Lib/site-packages/pip/_internal/req/constructors.py +568 -0
  953. package/python/Lib/site-packages/pip/_internal/req/pep723.py +41 -0
  954. package/python/Lib/site-packages/pip/_internal/req/req_dependency_group.py +75 -0
  955. package/python/Lib/site-packages/pip/_internal/req/req_file.py +631 -0
  956. package/python/Lib/site-packages/pip/_internal/req/req_install.py +828 -0
  957. package/python/Lib/site-packages/pip/_internal/req/req_set.py +81 -0
  958. package/python/Lib/site-packages/pip/_internal/req/req_uninstall.py +639 -0
  959. package/python/Lib/site-packages/pip/_internal/resolution/__init__.py +0 -0
  960. package/python/Lib/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-313.pyc +0 -0
  961. package/python/Lib/site-packages/pip/_internal/resolution/__pycache__/base.cpython-313.pyc +0 -0
  962. package/python/Lib/site-packages/pip/_internal/resolution/base.py +20 -0
  963. package/python/Lib/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
  964. package/python/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-313.pyc +0 -0
  965. package/python/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-313.pyc +0 -0
  966. package/python/Lib/site-packages/pip/_internal/resolution/legacy/resolver.py +598 -0
  967. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
  968. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-313.pyc +0 -0
  969. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-313.pyc +0 -0
  970. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-313.pyc +0 -0
  971. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-313.pyc +0 -0
  972. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-313.pyc +0 -0
  973. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-313.pyc +0 -0
  974. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-313.pyc +0 -0
  975. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-313.pyc +0 -0
  976. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-313.pyc +0 -0
  977. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/base.py +142 -0
  978. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/candidates.py +591 -0
  979. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/factory.py +856 -0
  980. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +166 -0
  981. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/provider.py +285 -0
  982. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/reporter.py +98 -0
  983. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/requirements.py +251 -0
  984. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/resolver.py +332 -0
  985. package/python/Lib/site-packages/pip/_internal/self_outdated_check.py +255 -0
  986. package/python/Lib/site-packages/pip/_internal/utils/__init__.py +0 -0
  987. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-313.pyc +0 -0
  988. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-313.pyc +0 -0
  989. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/_log.cpython-313.pyc +0 -0
  990. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-313.pyc +0 -0
  991. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/compat.cpython-313.pyc +0 -0
  992. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-313.pyc +0 -0
  993. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-313.pyc +0 -0
  994. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-313.pyc +0 -0
  995. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-313.pyc +0 -0
  996. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-313.pyc +0 -0
  997. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-313.pyc +0 -0
  998. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-313.pyc +0 -0
  999. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-313.pyc +0 -0
  1000. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-313.pyc +0 -0
  1001. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-313.pyc +0 -0
  1002. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/logging.cpython-313.pyc +0 -0
  1003. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/misc.cpython-313.pyc +0 -0
  1004. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-313.pyc +0 -0
  1005. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/pylock.cpython-313.pyc +0 -0
  1006. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/retry.cpython-313.pyc +0 -0
  1007. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-313.pyc +0 -0
  1008. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-313.pyc +0 -0
  1009. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-313.pyc +0 -0
  1010. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/urls.cpython-313.pyc +0 -0
  1011. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-313.pyc +0 -0
  1012. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-313.pyc +0 -0
  1013. package/python/Lib/site-packages/pip/_internal/utils/_jaraco_text.py +109 -0
  1014. package/python/Lib/site-packages/pip/_internal/utils/_log.py +38 -0
  1015. package/python/Lib/site-packages/pip/_internal/utils/appdirs.py +52 -0
  1016. package/python/Lib/site-packages/pip/_internal/utils/compat.py +85 -0
  1017. package/python/Lib/site-packages/pip/_internal/utils/compatibility_tags.py +201 -0
  1018. package/python/Lib/site-packages/pip/_internal/utils/datetime.py +28 -0
  1019. package/python/Lib/site-packages/pip/_internal/utils/deprecation.py +126 -0
  1020. package/python/Lib/site-packages/pip/_internal/utils/direct_url_helpers.py +87 -0
  1021. package/python/Lib/site-packages/pip/_internal/utils/egg_link.py +81 -0
  1022. package/python/Lib/site-packages/pip/_internal/utils/entrypoints.py +88 -0
  1023. package/python/Lib/site-packages/pip/_internal/utils/filesystem.py +203 -0
  1024. package/python/Lib/site-packages/pip/_internal/utils/filetypes.py +24 -0
  1025. package/python/Lib/site-packages/pip/_internal/utils/glibc.py +102 -0
  1026. package/python/Lib/site-packages/pip/_internal/utils/hashes.py +150 -0
  1027. package/python/Lib/site-packages/pip/_internal/utils/logging.py +396 -0
  1028. package/python/Lib/site-packages/pip/_internal/utils/misc.py +771 -0
  1029. package/python/Lib/site-packages/pip/_internal/utils/packaging.py +44 -0
  1030. package/python/Lib/site-packages/pip/_internal/utils/pylock.py +116 -0
  1031. package/python/Lib/site-packages/pip/_internal/utils/retry.py +45 -0
  1032. package/python/Lib/site-packages/pip/_internal/utils/subprocess.py +248 -0
  1033. package/python/Lib/site-packages/pip/_internal/utils/temp_dir.py +294 -0
  1034. package/python/Lib/site-packages/pip/_internal/utils/unpacking.py +362 -0
  1035. package/python/Lib/site-packages/pip/_internal/utils/urls.py +55 -0
  1036. package/python/Lib/site-packages/pip/_internal/utils/virtualenv.py +105 -0
  1037. package/python/Lib/site-packages/pip/_internal/utils/wheel.py +132 -0
  1038. package/python/Lib/site-packages/pip/_internal/vcs/__init__.py +15 -0
  1039. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-313.pyc +0 -0
  1040. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-313.pyc +0 -0
  1041. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/git.cpython-313.pyc +0 -0
  1042. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-313.pyc +0 -0
  1043. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-313.pyc +0 -0
  1044. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-313.pyc +0 -0
  1045. package/python/Lib/site-packages/pip/_internal/vcs/bazaar.py +130 -0
  1046. package/python/Lib/site-packages/pip/_internal/vcs/git.py +571 -0
  1047. package/python/Lib/site-packages/pip/_internal/vcs/mercurial.py +186 -0
  1048. package/python/Lib/site-packages/pip/_internal/vcs/subversion.py +335 -0
  1049. package/python/Lib/site-packages/pip/_internal/vcs/versioncontrol.py +695 -0
  1050. package/python/Lib/site-packages/pip/_internal/wheel_builder.py +261 -0
  1051. package/python/Lib/site-packages/pip/_vendor/README.rst +180 -0
  1052. package/python/Lib/site-packages/pip/_vendor/__init__.py +117 -0
  1053. package/python/Lib/site-packages/pip/_vendor/__pycache__/__init__.cpython-313.pyc +0 -0
  1054. package/python/Lib/site-packages/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
  1055. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__init__.py +32 -0
  1056. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-313.pyc +0 -0
  1057. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-313.pyc +0 -0
  1058. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-313.pyc +0 -0
  1059. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-313.pyc +0 -0
  1060. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-313.pyc +0 -0
  1061. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-313.pyc +0 -0
  1062. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-313.pyc +0 -0
  1063. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-313.pyc +0 -0
  1064. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-313.pyc +0 -0
  1065. package/python/Lib/site-packages/pip/_vendor/cachecontrol/_cmd.py +70 -0
  1066. package/python/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py +167 -0
  1067. package/python/Lib/site-packages/pip/_vendor/cachecontrol/cache.py +75 -0
  1068. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +8 -0
  1069. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-313.pyc +0 -0
  1070. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-313.pyc +0 -0
  1071. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-313.pyc +0 -0
  1072. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +145 -0
  1073. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +48 -0
  1074. package/python/Lib/site-packages/pip/_vendor/cachecontrol/controller.py +511 -0
  1075. package/python/Lib/site-packages/pip/_vendor/cachecontrol/filewrapper.py +121 -0
  1076. package/python/Lib/site-packages/pip/_vendor/cachecontrol/heuristics.py +157 -0
  1077. package/python/Lib/site-packages/pip/_vendor/cachecontrol/py.typed +0 -0
  1078. package/python/Lib/site-packages/pip/_vendor/cachecontrol/serialize.py +146 -0
  1079. package/python/Lib/site-packages/pip/_vendor/cachecontrol/wrapper.py +43 -0
  1080. package/python/Lib/site-packages/pip/_vendor/certifi/LICENSE +20 -0
  1081. package/python/Lib/site-packages/pip/_vendor/certifi/__init__.py +4 -0
  1082. package/python/Lib/site-packages/pip/_vendor/certifi/__main__.py +12 -0
  1083. package/python/Lib/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-313.pyc +0 -0
  1084. package/python/Lib/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-313.pyc +0 -0
  1085. package/python/Lib/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-313.pyc +0 -0
  1086. package/python/Lib/site-packages/pip/_vendor/certifi/cacert.pem +4468 -0
  1087. package/python/Lib/site-packages/pip/_vendor/certifi/core.py +83 -0
  1088. package/python/Lib/site-packages/pip/_vendor/certifi/py.typed +0 -0
  1089. package/python/Lib/site-packages/pip/_vendor/dependency_groups/LICENSE.txt +9 -0
  1090. package/python/Lib/site-packages/pip/_vendor/dependency_groups/__init__.py +13 -0
  1091. package/python/Lib/site-packages/pip/_vendor/dependency_groups/__main__.py +65 -0
  1092. package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/__init__.cpython-313.pyc +0 -0
  1093. package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/__main__.cpython-313.pyc +0 -0
  1094. package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_implementation.cpython-313.pyc +0 -0
  1095. package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_lint_dependency_groups.cpython-313.pyc +0 -0
  1096. package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_pip_wrapper.cpython-313.pyc +0 -0
  1097. package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_toml_compat.cpython-313.pyc +0 -0
  1098. package/python/Lib/site-packages/pip/_vendor/dependency_groups/_implementation.py +209 -0
  1099. package/python/Lib/site-packages/pip/_vendor/dependency_groups/_lint_dependency_groups.py +59 -0
  1100. package/python/Lib/site-packages/pip/_vendor/dependency_groups/_pip_wrapper.py +62 -0
  1101. package/python/Lib/site-packages/pip/_vendor/dependency_groups/_toml_compat.py +9 -0
  1102. package/python/Lib/site-packages/pip/_vendor/dependency_groups/py.typed +0 -0
  1103. package/python/Lib/site-packages/pip/_vendor/distlib/LICENSE.txt +284 -0
  1104. package/python/Lib/site-packages/pip/_vendor/distlib/__init__.py +33 -0
  1105. package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-313.pyc +0 -0
  1106. package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-313.pyc +0 -0
  1107. package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-313.pyc +0 -0
  1108. package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-313.pyc +0 -0
  1109. package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-313.pyc +0 -0
  1110. package/python/Lib/site-packages/pip/_vendor/distlib/compat.py +1137 -0
  1111. package/python/Lib/site-packages/pip/_vendor/distlib/resources.py +358 -0
  1112. package/python/Lib/site-packages/pip/_vendor/distlib/scripts.py +447 -0
  1113. package/python/Lib/site-packages/pip/_vendor/distlib/t32.exe +0 -0
  1114. package/python/Lib/site-packages/pip/_vendor/distlib/t64-arm.exe +0 -0
  1115. package/python/Lib/site-packages/pip/_vendor/distlib/t64.exe +0 -0
  1116. package/python/Lib/site-packages/pip/_vendor/distlib/util.py +1984 -0
  1117. package/python/Lib/site-packages/pip/_vendor/distlib/w32.exe +0 -0
  1118. package/python/Lib/site-packages/pip/_vendor/distlib/w64-arm.exe +0 -0
  1119. package/python/Lib/site-packages/pip/_vendor/distlib/w64.exe +0 -0
  1120. package/python/Lib/site-packages/pip/_vendor/distro/LICENSE +202 -0
  1121. package/python/Lib/site-packages/pip/_vendor/distro/__init__.py +54 -0
  1122. package/python/Lib/site-packages/pip/_vendor/distro/__main__.py +4 -0
  1123. package/python/Lib/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-313.pyc +0 -0
  1124. package/python/Lib/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-313.pyc +0 -0
  1125. package/python/Lib/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-313.pyc +0 -0
  1126. package/python/Lib/site-packages/pip/_vendor/distro/distro.py +1403 -0
  1127. package/python/Lib/site-packages/pip/_vendor/distro/py.typed +0 -0
  1128. package/python/Lib/site-packages/pip/_vendor/idna/LICENSE.md +31 -0
  1129. package/python/Lib/site-packages/pip/_vendor/idna/__init__.py +45 -0
  1130. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-313.pyc +0 -0
  1131. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-313.pyc +0 -0
  1132. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-313.pyc +0 -0
  1133. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/core.cpython-313.pyc +0 -0
  1134. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-313.pyc +0 -0
  1135. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-313.pyc +0 -0
  1136. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-313.pyc +0 -0
  1137. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-313.pyc +0 -0
  1138. package/python/Lib/site-packages/pip/_vendor/idna/codec.py +122 -0
  1139. package/python/Lib/site-packages/pip/_vendor/idna/compat.py +15 -0
  1140. package/python/Lib/site-packages/pip/_vendor/idna/core.py +437 -0
  1141. package/python/Lib/site-packages/pip/_vendor/idna/idnadata.py +4309 -0
  1142. package/python/Lib/site-packages/pip/_vendor/idna/intranges.py +57 -0
  1143. package/python/Lib/site-packages/pip/_vendor/idna/package_data.py +1 -0
  1144. package/python/Lib/site-packages/pip/_vendor/idna/py.typed +0 -0
  1145. package/python/Lib/site-packages/pip/_vendor/idna/uts46data.py +8841 -0
  1146. package/python/Lib/site-packages/pip/_vendor/msgpack/COPYING +14 -0
  1147. package/python/Lib/site-packages/pip/_vendor/msgpack/__init__.py +55 -0
  1148. package/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-313.pyc +0 -0
  1149. package/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-313.pyc +0 -0
  1150. package/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-313.pyc +0 -0
  1151. package/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-313.pyc +0 -0
  1152. package/python/Lib/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
  1153. package/python/Lib/site-packages/pip/_vendor/msgpack/ext.py +170 -0
  1154. package/python/Lib/site-packages/pip/_vendor/msgpack/fallback.py +929 -0
  1155. package/python/Lib/site-packages/pip/_vendor/packaging/LICENSE +3 -0
  1156. package/python/Lib/site-packages/pip/_vendor/packaging/LICENSE.APACHE +177 -0
  1157. package/python/Lib/site-packages/pip/_vendor/packaging/LICENSE.BSD +23 -0
  1158. package/python/Lib/site-packages/pip/_vendor/packaging/__init__.py +15 -0
  1159. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-313.pyc +0 -0
  1160. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-313.pyc +0 -0
  1161. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-313.pyc +0 -0
  1162. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-313.pyc +0 -0
  1163. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-313.pyc +0 -0
  1164. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-313.pyc +0 -0
  1165. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-313.pyc +0 -0
  1166. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-313.pyc +0 -0
  1167. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-313.pyc +0 -0
  1168. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/pylock.cpython-313.pyc +0 -0
  1169. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-313.pyc +0 -0
  1170. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-313.pyc +0 -0
  1171. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-313.pyc +0 -0
  1172. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-313.pyc +0 -0
  1173. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-313.pyc +0 -0
  1174. package/python/Lib/site-packages/pip/_vendor/packaging/_elffile.py +108 -0
  1175. package/python/Lib/site-packages/pip/_vendor/packaging/_manylinux.py +262 -0
  1176. package/python/Lib/site-packages/pip/_vendor/packaging/_musllinux.py +85 -0
  1177. package/python/Lib/site-packages/pip/_vendor/packaging/_parser.py +365 -0
  1178. package/python/Lib/site-packages/pip/_vendor/packaging/_structures.py +69 -0
  1179. package/python/Lib/site-packages/pip/_vendor/packaging/_tokenizer.py +193 -0
  1180. package/python/Lib/site-packages/pip/_vendor/packaging/licenses/__init__.py +147 -0
  1181. package/python/Lib/site-packages/pip/_vendor/packaging/licenses/__pycache__/__init__.cpython-313.pyc +0 -0
  1182. package/python/Lib/site-packages/pip/_vendor/packaging/licenses/__pycache__/_spdx.cpython-313.pyc +0 -0
  1183. package/python/Lib/site-packages/pip/_vendor/packaging/licenses/_spdx.py +799 -0
  1184. package/python/Lib/site-packages/pip/_vendor/packaging/markers.py +388 -0
  1185. package/python/Lib/site-packages/pip/_vendor/packaging/metadata.py +978 -0
  1186. package/python/Lib/site-packages/pip/_vendor/packaging/py.typed +0 -0
  1187. package/python/Lib/site-packages/pip/_vendor/packaging/pylock.py +635 -0
  1188. package/python/Lib/site-packages/pip/_vendor/packaging/requirements.py +86 -0
  1189. package/python/Lib/site-packages/pip/_vendor/packaging/specifiers.py +1068 -0
  1190. package/python/Lib/site-packages/pip/_vendor/packaging/tags.py +651 -0
  1191. package/python/Lib/site-packages/pip/_vendor/packaging/utils.py +158 -0
  1192. package/python/Lib/site-packages/pip/_vendor/packaging/version.py +792 -0
  1193. package/python/Lib/site-packages/pip/_vendor/pkg_resources/LICENSE +17 -0
  1194. package/python/Lib/site-packages/pip/_vendor/pkg_resources/__init__.py +3676 -0
  1195. package/python/Lib/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-313.pyc +0 -0
  1196. package/python/Lib/site-packages/pip/_vendor/platformdirs/LICENSE +21 -0
  1197. package/python/Lib/site-packages/pip/_vendor/platformdirs/__init__.py +631 -0
  1198. package/python/Lib/site-packages/pip/_vendor/platformdirs/__main__.py +55 -0
  1199. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-313.pyc +0 -0
  1200. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-313.pyc +0 -0
  1201. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-313.pyc +0 -0
  1202. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-313.pyc +0 -0
  1203. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-313.pyc +0 -0
  1204. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-313.pyc +0 -0
  1205. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-313.pyc +0 -0
  1206. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-313.pyc +0 -0
  1207. package/python/Lib/site-packages/pip/_vendor/platformdirs/android.py +249 -0
  1208. package/python/Lib/site-packages/pip/_vendor/platformdirs/api.py +299 -0
  1209. package/python/Lib/site-packages/pip/_vendor/platformdirs/macos.py +146 -0
  1210. package/python/Lib/site-packages/pip/_vendor/platformdirs/py.typed +0 -0
  1211. package/python/Lib/site-packages/pip/_vendor/platformdirs/unix.py +272 -0
  1212. package/python/Lib/site-packages/pip/_vendor/platformdirs/version.py +34 -0
  1213. package/python/Lib/site-packages/pip/_vendor/platformdirs/windows.py +278 -0
  1214. package/python/Lib/site-packages/pip/_vendor/pygments/LICENSE +25 -0
  1215. package/python/Lib/site-packages/pip/_vendor/pygments/__init__.py +82 -0
  1216. package/python/Lib/site-packages/pip/_vendor/pygments/__main__.py +17 -0
  1217. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-313.pyc +0 -0
  1218. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-313.pyc +0 -0
  1219. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-313.pyc +0 -0
  1220. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-313.pyc +0 -0
  1221. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-313.pyc +0 -0
  1222. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-313.pyc +0 -0
  1223. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-313.pyc +0 -0
  1224. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-313.pyc +0 -0
  1225. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-313.pyc +0 -0
  1226. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-313.pyc +0 -0
  1227. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-313.pyc +0 -0
  1228. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-313.pyc +0 -0
  1229. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-313.pyc +0 -0
  1230. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-313.pyc +0 -0
  1231. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-313.pyc +0 -0
  1232. package/python/Lib/site-packages/pip/_vendor/pygments/console.py +70 -0
  1233. package/python/Lib/site-packages/pip/_vendor/pygments/filter.py +70 -0
  1234. package/python/Lib/site-packages/pip/_vendor/pygments/filters/__init__.py +940 -0
  1235. package/python/Lib/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-313.pyc +0 -0
  1236. package/python/Lib/site-packages/pip/_vendor/pygments/formatter.py +129 -0
  1237. package/python/Lib/site-packages/pip/_vendor/pygments/formatters/__init__.py +157 -0
  1238. package/python/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-313.pyc +0 -0
  1239. package/python/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-313.pyc +0 -0
  1240. package/python/Lib/site-packages/pip/_vendor/pygments/formatters/_mapping.py +23 -0
  1241. package/python/Lib/site-packages/pip/_vendor/pygments/lexer.py +963 -0
  1242. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/__init__.py +362 -0
  1243. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-313.pyc +0 -0
  1244. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-313.pyc +0 -0
  1245. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/__pycache__/python.cpython-313.pyc +0 -0
  1246. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/_mapping.py +602 -0
  1247. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/python.py +1201 -0
  1248. package/python/Lib/site-packages/pip/_vendor/pygments/modeline.py +43 -0
  1249. package/python/Lib/site-packages/pip/_vendor/pygments/plugin.py +72 -0
  1250. package/python/Lib/site-packages/pip/_vendor/pygments/regexopt.py +91 -0
  1251. package/python/Lib/site-packages/pip/_vendor/pygments/scanner.py +104 -0
  1252. package/python/Lib/site-packages/pip/_vendor/pygments/sphinxext.py +247 -0
  1253. package/python/Lib/site-packages/pip/_vendor/pygments/style.py +203 -0
  1254. package/python/Lib/site-packages/pip/_vendor/pygments/styles/__init__.py +61 -0
  1255. package/python/Lib/site-packages/pip/_vendor/pygments/styles/__pycache__/__init__.cpython-313.pyc +0 -0
  1256. package/python/Lib/site-packages/pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-313.pyc +0 -0
  1257. package/python/Lib/site-packages/pip/_vendor/pygments/styles/_mapping.py +54 -0
  1258. package/python/Lib/site-packages/pip/_vendor/pygments/token.py +214 -0
  1259. package/python/Lib/site-packages/pip/_vendor/pygments/unistring.py +153 -0
  1260. package/python/Lib/site-packages/pip/_vendor/pygments/util.py +324 -0
  1261. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/LICENSE +21 -0
  1262. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/__init__.py +31 -0
  1263. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-313.pyc +0 -0
  1264. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-313.pyc +0 -0
  1265. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_impl.py +410 -0
  1266. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py +21 -0
  1267. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-313.pyc +0 -0
  1268. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-313.pyc +0 -0
  1269. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py +389 -0
  1270. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/py.typed +0 -0
  1271. package/python/Lib/site-packages/pip/_vendor/requests/LICENSE +175 -0
  1272. package/python/Lib/site-packages/pip/_vendor/requests/__init__.py +179 -0
  1273. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-313.pyc +0 -0
  1274. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-313.pyc +0 -0
  1275. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-313.pyc +0 -0
  1276. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-313.pyc +0 -0
  1277. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/api.cpython-313.pyc +0 -0
  1278. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-313.pyc +0 -0
  1279. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-313.pyc +0 -0
  1280. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-313.pyc +0 -0
  1281. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-313.pyc +0 -0
  1282. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-313.pyc +0 -0
  1283. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/help.cpython-313.pyc +0 -0
  1284. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-313.pyc +0 -0
  1285. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/models.cpython-313.pyc +0 -0
  1286. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-313.pyc +0 -0
  1287. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-313.pyc +0 -0
  1288. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-313.pyc +0 -0
  1289. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-313.pyc +0 -0
  1290. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-313.pyc +0 -0
  1291. package/python/Lib/site-packages/pip/_vendor/requests/__version__.py +14 -0
  1292. package/python/Lib/site-packages/pip/_vendor/requests/_internal_utils.py +50 -0
  1293. package/python/Lib/site-packages/pip/_vendor/requests/adapters.py +696 -0
  1294. package/python/Lib/site-packages/pip/_vendor/requests/api.py +157 -0
  1295. package/python/Lib/site-packages/pip/_vendor/requests/auth.py +314 -0
  1296. package/python/Lib/site-packages/pip/_vendor/requests/certs.py +17 -0
  1297. package/python/Lib/site-packages/pip/_vendor/requests/compat.py +90 -0
  1298. package/python/Lib/site-packages/pip/_vendor/requests/cookies.py +561 -0
  1299. package/python/Lib/site-packages/pip/_vendor/requests/exceptions.py +151 -0
  1300. package/python/Lib/site-packages/pip/_vendor/requests/help.py +127 -0
  1301. package/python/Lib/site-packages/pip/_vendor/requests/hooks.py +33 -0
  1302. package/python/Lib/site-packages/pip/_vendor/requests/models.py +1039 -0
  1303. package/python/Lib/site-packages/pip/_vendor/requests/packages.py +25 -0
  1304. package/python/Lib/site-packages/pip/_vendor/requests/sessions.py +831 -0
  1305. package/python/Lib/site-packages/pip/_vendor/requests/status_codes.py +128 -0
  1306. package/python/Lib/site-packages/pip/_vendor/requests/structures.py +99 -0
  1307. package/python/Lib/site-packages/pip/_vendor/requests/utils.py +1086 -0
  1308. package/python/Lib/site-packages/pip/_vendor/resolvelib/LICENSE +13 -0
  1309. package/python/Lib/site-packages/pip/_vendor/resolvelib/__init__.py +27 -0
  1310. package/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-313.pyc +0 -0
  1311. package/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-313.pyc +0 -0
  1312. package/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-313.pyc +0 -0
  1313. package/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-313.pyc +0 -0
  1314. package/python/Lib/site-packages/pip/_vendor/resolvelib/providers.py +196 -0
  1315. package/python/Lib/site-packages/pip/_vendor/resolvelib/py.typed +0 -0
  1316. package/python/Lib/site-packages/pip/_vendor/resolvelib/reporters.py +55 -0
  1317. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__init__.py +27 -0
  1318. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/__init__.cpython-313.pyc +0 -0
  1319. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/abstract.cpython-313.pyc +0 -0
  1320. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/criterion.cpython-313.pyc +0 -0
  1321. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/exceptions.cpython-313.pyc +0 -0
  1322. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/resolution.cpython-313.pyc +0 -0
  1323. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/abstract.py +47 -0
  1324. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/criterion.py +48 -0
  1325. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/exceptions.py +57 -0
  1326. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py +627 -0
  1327. package/python/Lib/site-packages/pip/_vendor/resolvelib/structs.py +209 -0
  1328. package/python/Lib/site-packages/pip/_vendor/rich/LICENSE +19 -0
  1329. package/python/Lib/site-packages/pip/_vendor/rich/__init__.py +177 -0
  1330. package/python/Lib/site-packages/pip/_vendor/rich/__main__.py +245 -0
  1331. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-313.pyc +0 -0
  1332. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-313.pyc +0 -0
  1333. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-313.pyc +0 -0
  1334. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-313.pyc +0 -0
  1335. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-313.pyc +0 -0
  1336. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-313.pyc +0 -0
  1337. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-313.pyc +0 -0
  1338. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-313.pyc +0 -0
  1339. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-313.pyc +0 -0
  1340. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-313.pyc +0 -0
  1341. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-313.pyc +0 -0
  1342. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-313.pyc +0 -0
  1343. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-313.pyc +0 -0
  1344. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-313.pyc +0 -0
  1345. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-313.pyc +0 -0
  1346. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-313.pyc +0 -0
  1347. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-313.pyc +0 -0
  1348. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_timer.cpython-313.pyc +0 -0
  1349. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_win32_console.cpython-313.pyc +0 -0
  1350. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-313.pyc +0 -0
  1351. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows_renderer.cpython-313.pyc +0 -0
  1352. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-313.pyc +0 -0
  1353. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-313.pyc +0 -0
  1354. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/align.cpython-313.pyc +0 -0
  1355. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-313.pyc +0 -0
  1356. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-313.pyc +0 -0
  1357. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/box.cpython-313.pyc +0 -0
  1358. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-313.pyc +0 -0
  1359. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/color.cpython-313.pyc +0 -0
  1360. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/color_triplet.cpython-313.pyc +0 -0
  1361. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/columns.cpython-313.pyc +0 -0
  1362. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/console.cpython-313.pyc +0 -0
  1363. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/constrain.cpython-313.pyc +0 -0
  1364. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/containers.cpython-313.pyc +0 -0
  1365. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/control.cpython-313.pyc +0 -0
  1366. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/default_styles.cpython-313.pyc +0 -0
  1367. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/diagnose.cpython-313.pyc +0 -0
  1368. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-313.pyc +0 -0
  1369. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-313.pyc +0 -0
  1370. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/file_proxy.cpython-313.pyc +0 -0
  1371. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/filesize.cpython-313.pyc +0 -0
  1372. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/highlighter.cpython-313.pyc +0 -0
  1373. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/json.cpython-313.pyc +0 -0
  1374. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-313.pyc +0 -0
  1375. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-313.pyc +0 -0
  1376. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/live.cpython-313.pyc +0 -0
  1377. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-313.pyc +0 -0
  1378. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-313.pyc +0 -0
  1379. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/markup.cpython-313.pyc +0 -0
  1380. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/measure.cpython-313.pyc +0 -0
  1381. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/padding.cpython-313.pyc +0 -0
  1382. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/pager.cpython-313.pyc +0 -0
  1383. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/palette.cpython-313.pyc +0 -0
  1384. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-313.pyc +0 -0
  1385. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-313.pyc +0 -0
  1386. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-313.pyc +0 -0
  1387. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-313.pyc +0 -0
  1388. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-313.pyc +0 -0
  1389. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-313.pyc +0 -0
  1390. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/region.cpython-313.pyc +0 -0
  1391. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-313.pyc +0 -0
  1392. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-313.pyc +0 -0
  1393. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/scope.cpython-313.pyc +0 -0
  1394. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/screen.cpython-313.pyc +0 -0
  1395. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/segment.cpython-313.pyc +0 -0
  1396. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/spinner.cpython-313.pyc +0 -0
  1397. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/status.cpython-313.pyc +0 -0
  1398. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/style.cpython-313.pyc +0 -0
  1399. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/styled.cpython-313.pyc +0 -0
  1400. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/syntax.cpython-313.pyc +0 -0
  1401. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/table.cpython-313.pyc +0 -0
  1402. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/terminal_theme.cpython-313.pyc +0 -0
  1403. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/text.cpython-313.pyc +0 -0
  1404. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/theme.cpython-313.pyc +0 -0
  1405. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/themes.cpython-313.pyc +0 -0
  1406. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/traceback.cpython-313.pyc +0 -0
  1407. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/tree.cpython-313.pyc +0 -0
  1408. package/python/Lib/site-packages/pip/_vendor/rich/_cell_widths.py +454 -0
  1409. package/python/Lib/site-packages/pip/_vendor/rich/_emoji_codes.py +3610 -0
  1410. package/python/Lib/site-packages/pip/_vendor/rich/_emoji_replace.py +32 -0
  1411. package/python/Lib/site-packages/pip/_vendor/rich/_export_format.py +76 -0
  1412. package/python/Lib/site-packages/pip/_vendor/rich/_extension.py +10 -0
  1413. package/python/Lib/site-packages/pip/_vendor/rich/_fileno.py +24 -0
  1414. package/python/Lib/site-packages/pip/_vendor/rich/_inspect.py +268 -0
  1415. package/python/Lib/site-packages/pip/_vendor/rich/_log_render.py +94 -0
  1416. package/python/Lib/site-packages/pip/_vendor/rich/_loop.py +43 -0
  1417. package/python/Lib/site-packages/pip/_vendor/rich/_null_file.py +69 -0
  1418. package/python/Lib/site-packages/pip/_vendor/rich/_palettes.py +309 -0
  1419. package/python/Lib/site-packages/pip/_vendor/rich/_pick.py +17 -0
  1420. package/python/Lib/site-packages/pip/_vendor/rich/_ratio.py +153 -0
  1421. package/python/Lib/site-packages/pip/_vendor/rich/_spinners.py +482 -0
  1422. package/python/Lib/site-packages/pip/_vendor/rich/_stack.py +16 -0
  1423. package/python/Lib/site-packages/pip/_vendor/rich/_timer.py +19 -0
  1424. package/python/Lib/site-packages/pip/_vendor/rich/_win32_console.py +661 -0
  1425. package/python/Lib/site-packages/pip/_vendor/rich/_windows.py +71 -0
  1426. package/python/Lib/site-packages/pip/_vendor/rich/_windows_renderer.py +56 -0
  1427. package/python/Lib/site-packages/pip/_vendor/rich/_wrap.py +93 -0
  1428. package/python/Lib/site-packages/pip/_vendor/rich/abc.py +33 -0
  1429. package/python/Lib/site-packages/pip/_vendor/rich/align.py +306 -0
  1430. package/python/Lib/site-packages/pip/_vendor/rich/ansi.py +241 -0
  1431. package/python/Lib/site-packages/pip/_vendor/rich/bar.py +93 -0
  1432. package/python/Lib/site-packages/pip/_vendor/rich/box.py +474 -0
  1433. package/python/Lib/site-packages/pip/_vendor/rich/cells.py +174 -0
  1434. package/python/Lib/site-packages/pip/_vendor/rich/color.py +621 -0
  1435. package/python/Lib/site-packages/pip/_vendor/rich/color_triplet.py +38 -0
  1436. package/python/Lib/site-packages/pip/_vendor/rich/columns.py +187 -0
  1437. package/python/Lib/site-packages/pip/_vendor/rich/console.py +2680 -0
  1438. package/python/Lib/site-packages/pip/_vendor/rich/constrain.py +37 -0
  1439. package/python/Lib/site-packages/pip/_vendor/rich/containers.py +167 -0
  1440. package/python/Lib/site-packages/pip/_vendor/rich/control.py +219 -0
  1441. package/python/Lib/site-packages/pip/_vendor/rich/default_styles.py +193 -0
  1442. package/python/Lib/site-packages/pip/_vendor/rich/diagnose.py +39 -0
  1443. package/python/Lib/site-packages/pip/_vendor/rich/emoji.py +91 -0
  1444. package/python/Lib/site-packages/pip/_vendor/rich/errors.py +34 -0
  1445. package/python/Lib/site-packages/pip/_vendor/rich/file_proxy.py +57 -0
  1446. package/python/Lib/site-packages/pip/_vendor/rich/filesize.py +88 -0
  1447. package/python/Lib/site-packages/pip/_vendor/rich/highlighter.py +232 -0
  1448. package/python/Lib/site-packages/pip/_vendor/rich/json.py +139 -0
  1449. package/python/Lib/site-packages/pip/_vendor/rich/jupyter.py +101 -0
  1450. package/python/Lib/site-packages/pip/_vendor/rich/layout.py +442 -0
  1451. package/python/Lib/site-packages/pip/_vendor/rich/live.py +400 -0
  1452. package/python/Lib/site-packages/pip/_vendor/rich/live_render.py +106 -0
  1453. package/python/Lib/site-packages/pip/_vendor/rich/logging.py +297 -0
  1454. package/python/Lib/site-packages/pip/_vendor/rich/markup.py +251 -0
  1455. package/python/Lib/site-packages/pip/_vendor/rich/measure.py +151 -0
  1456. package/python/Lib/site-packages/pip/_vendor/rich/padding.py +141 -0
  1457. package/python/Lib/site-packages/pip/_vendor/rich/pager.py +34 -0
  1458. package/python/Lib/site-packages/pip/_vendor/rich/palette.py +100 -0
  1459. package/python/Lib/site-packages/pip/_vendor/rich/panel.py +317 -0
  1460. package/python/Lib/site-packages/pip/_vendor/rich/pretty.py +1016 -0
  1461. package/python/Lib/site-packages/pip/_vendor/rich/progress.py +1715 -0
  1462. package/python/Lib/site-packages/pip/_vendor/rich/progress_bar.py +223 -0
  1463. package/python/Lib/site-packages/pip/_vendor/rich/prompt.py +400 -0
  1464. package/python/Lib/site-packages/pip/_vendor/rich/protocol.py +42 -0
  1465. package/python/Lib/site-packages/pip/_vendor/rich/py.typed +0 -0
  1466. package/python/Lib/site-packages/pip/_vendor/rich/region.py +10 -0
  1467. package/python/Lib/site-packages/pip/_vendor/rich/repr.py +149 -0
  1468. package/python/Lib/site-packages/pip/_vendor/rich/rule.py +130 -0
  1469. package/python/Lib/site-packages/pip/_vendor/rich/scope.py +86 -0
  1470. package/python/Lib/site-packages/pip/_vendor/rich/screen.py +54 -0
  1471. package/python/Lib/site-packages/pip/_vendor/rich/segment.py +752 -0
  1472. package/python/Lib/site-packages/pip/_vendor/rich/spinner.py +132 -0
  1473. package/python/Lib/site-packages/pip/_vendor/rich/status.py +131 -0
  1474. package/python/Lib/site-packages/pip/_vendor/rich/style.py +792 -0
  1475. package/python/Lib/site-packages/pip/_vendor/rich/styled.py +42 -0
  1476. package/python/Lib/site-packages/pip/_vendor/rich/syntax.py +985 -0
  1477. package/python/Lib/site-packages/pip/_vendor/rich/table.py +1006 -0
  1478. package/python/Lib/site-packages/pip/_vendor/rich/terminal_theme.py +153 -0
  1479. package/python/Lib/site-packages/pip/_vendor/rich/text.py +1361 -0
  1480. package/python/Lib/site-packages/pip/_vendor/rich/theme.py +115 -0
  1481. package/python/Lib/site-packages/pip/_vendor/rich/themes.py +5 -0
  1482. package/python/Lib/site-packages/pip/_vendor/rich/traceback.py +899 -0
  1483. package/python/Lib/site-packages/pip/_vendor/rich/tree.py +257 -0
  1484. package/python/Lib/site-packages/pip/_vendor/tomli/LICENSE +21 -0
  1485. package/python/Lib/site-packages/pip/_vendor/tomli/__init__.py +8 -0
  1486. package/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/__init__.cpython-313.pyc +0 -0
  1487. package/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/_parser.cpython-313.pyc +0 -0
  1488. package/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/_re.cpython-313.pyc +0 -0
  1489. package/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/_types.cpython-313.pyc +0 -0
  1490. package/python/Lib/site-packages/pip/_vendor/tomli/_parser.py +777 -0
  1491. package/python/Lib/site-packages/pip/_vendor/tomli/_re.py +115 -0
  1492. package/python/Lib/site-packages/pip/_vendor/tomli/_types.py +10 -0
  1493. package/python/Lib/site-packages/pip/_vendor/tomli/py.typed +1 -0
  1494. package/python/Lib/site-packages/pip/_vendor/tomli_w/LICENSE +21 -0
  1495. package/python/Lib/site-packages/pip/_vendor/tomli_w/__init__.py +4 -0
  1496. package/python/Lib/site-packages/pip/_vendor/tomli_w/__pycache__/__init__.cpython-313.pyc +0 -0
  1497. package/python/Lib/site-packages/pip/_vendor/tomli_w/__pycache__/_writer.cpython-313.pyc +0 -0
  1498. package/python/Lib/site-packages/pip/_vendor/tomli_w/_writer.py +229 -0
  1499. package/python/Lib/site-packages/pip/_vendor/tomli_w/py.typed +1 -0
  1500. package/python/Lib/site-packages/pip/_vendor/truststore/LICENSE +21 -0
  1501. package/python/Lib/site-packages/pip/_vendor/truststore/__init__.py +36 -0
  1502. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/__init__.cpython-313.pyc +0 -0
  1503. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_api.cpython-313.pyc +0 -0
  1504. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_macos.cpython-313.pyc +0 -0
  1505. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_openssl.cpython-313.pyc +0 -0
  1506. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-313.pyc +0 -0
  1507. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_windows.cpython-313.pyc +0 -0
  1508. package/python/Lib/site-packages/pip/_vendor/truststore/_api.py +341 -0
  1509. package/python/Lib/site-packages/pip/_vendor/truststore/_macos.py +571 -0
  1510. package/python/Lib/site-packages/pip/_vendor/truststore/_openssl.py +68 -0
  1511. package/python/Lib/site-packages/pip/_vendor/truststore/_ssl_constants.py +31 -0
  1512. package/python/Lib/site-packages/pip/_vendor/truststore/_windows.py +567 -0
  1513. package/python/Lib/site-packages/pip/_vendor/truststore/py.typed +0 -0
  1514. package/python/Lib/site-packages/pip/_vendor/urllib3/LICENSE.txt +21 -0
  1515. package/python/Lib/site-packages/pip/_vendor/urllib3/__init__.py +102 -0
  1516. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/__init__.cpython-313.pyc +0 -0
  1517. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_collections.cpython-313.pyc +0 -0
  1518. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_version.cpython-313.pyc +0 -0
  1519. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connection.cpython-313.pyc +0 -0
  1520. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connectionpool.cpython-313.pyc +0 -0
  1521. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-313.pyc +0 -0
  1522. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/fields.cpython-313.pyc +0 -0
  1523. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/filepost.cpython-313.pyc +0 -0
  1524. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/poolmanager.cpython-313.pyc +0 -0
  1525. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/request.cpython-313.pyc +0 -0
  1526. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/response.cpython-313.pyc +0 -0
  1527. package/python/Lib/site-packages/pip/_vendor/urllib3/_collections.py +355 -0
  1528. package/python/Lib/site-packages/pip/_vendor/urllib3/_version.py +2 -0
  1529. package/python/Lib/site-packages/pip/_vendor/urllib3/connection.py +572 -0
  1530. package/python/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py +1140 -0
  1531. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
  1532. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-313.pyc +0 -0
  1533. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-313.pyc +0 -0
  1534. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-313.pyc +0 -0
  1535. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-313.pyc +0 -0
  1536. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-313.pyc +0 -0
  1537. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-313.pyc +0 -0
  1538. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-313.pyc +0 -0
  1539. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +36 -0
  1540. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
  1541. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-313.pyc +0 -0
  1542. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-313.pyc +0 -0
  1543. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-313.pyc +0 -0
  1544. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +519 -0
  1545. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +397 -0
  1546. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/appengine.py +314 -0
  1547. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +130 -0
  1548. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +518 -0
  1549. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +920 -0
  1550. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/socks.py +216 -0
  1551. package/python/Lib/site-packages/pip/_vendor/urllib3/exceptions.py +323 -0
  1552. package/python/Lib/site-packages/pip/_vendor/urllib3/fields.py +274 -0
  1553. package/python/Lib/site-packages/pip/_vendor/urllib3/filepost.py +98 -0
  1554. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -0
  1555. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-313.pyc +0 -0
  1556. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/__pycache__/six.cpython-313.pyc +0 -0
  1557. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
  1558. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-313.pyc +0 -0
  1559. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-313.pyc +0 -0
  1560. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-313.pyc +0 -0
  1561. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +51 -0
  1562. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/weakref_finalize.py +155 -0
  1563. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/six.py +1076 -0
  1564. package/python/Lib/site-packages/pip/_vendor/urllib3/poolmanager.py +540 -0
  1565. package/python/Lib/site-packages/pip/_vendor/urllib3/request.py +191 -0
  1566. package/python/Lib/site-packages/pip/_vendor/urllib3/response.py +879 -0
  1567. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__init__.py +49 -0
  1568. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/__init__.cpython-313.pyc +0 -0
  1569. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/connection.cpython-313.pyc +0 -0
  1570. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-313.pyc +0 -0
  1571. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/queue.cpython-313.pyc +0 -0
  1572. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/request.cpython-313.pyc +0 -0
  1573. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/response.cpython-313.pyc +0 -0
  1574. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/retry.cpython-313.pyc +0 -0
  1575. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-313.pyc +0 -0
  1576. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-313.pyc +0 -0
  1577. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-313.pyc +0 -0
  1578. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/timeout.cpython-313.pyc +0 -0
  1579. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/url.cpython-313.pyc +0 -0
  1580. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-313.pyc +0 -0
  1581. package/python/Lib/site-packages/pip/_vendor/urllib3/util/connection.py +149 -0
  1582. package/python/Lib/site-packages/pip/_vendor/urllib3/util/proxy.py +57 -0
  1583. package/python/Lib/site-packages/pip/_vendor/urllib3/util/queue.py +22 -0
  1584. package/python/Lib/site-packages/pip/_vendor/urllib3/util/request.py +137 -0
  1585. package/python/Lib/site-packages/pip/_vendor/urllib3/util/response.py +107 -0
  1586. package/python/Lib/site-packages/pip/_vendor/urllib3/util/retry.py +622 -0
  1587. package/python/Lib/site-packages/pip/_vendor/urllib3/util/ssl_.py +504 -0
  1588. package/python/Lib/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +159 -0
  1589. package/python/Lib/site-packages/pip/_vendor/urllib3/util/ssltransport.py +221 -0
  1590. package/python/Lib/site-packages/pip/_vendor/urllib3/util/timeout.py +271 -0
  1591. package/python/Lib/site-packages/pip/_vendor/urllib3/util/url.py +435 -0
  1592. package/python/Lib/site-packages/pip/_vendor/urllib3/util/wait.py +152 -0
  1593. package/python/Lib/site-packages/pip/_vendor/vendor.txt +19 -0
  1594. package/python/Lib/site-packages/pip/py.typed +4 -0
  1595. package/python/Lib/site-packages/pip-26.0.1.dist-info/INSTALLER +1 -0
  1596. package/python/Lib/site-packages/pip-26.0.1.dist-info/METADATA +111 -0
  1597. package/python/Lib/site-packages/pip-26.0.1.dist-info/RECORD +879 -0
  1598. package/python/Lib/site-packages/pip-26.0.1.dist-info/REQUESTED +0 -0
  1599. package/python/Lib/site-packages/pip-26.0.1.dist-info/WHEEL +4 -0
  1600. package/python/Lib/site-packages/pip-26.0.1.dist-info/direct_url.json +1 -0
  1601. package/python/Lib/site-packages/pip-26.0.1.dist-info/entry_points.txt +4 -0
  1602. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/AUTHORS.txt +860 -0
  1603. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/LICENSE.txt +20 -0
  1604. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
  1605. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/certifi/LICENSE +20 -0
  1606. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/dependency_groups/LICENSE.txt +9 -0
  1607. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt +284 -0
  1608. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/distro/LICENSE +202 -0
  1609. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/idna/LICENSE.md +31 -0
  1610. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/msgpack/COPYING +14 -0
  1611. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE +3 -0
  1612. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.APACHE +177 -0
  1613. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.BSD +23 -0
  1614. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE +17 -0
  1615. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE +21 -0
  1616. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/pygments/LICENSE +25 -0
  1617. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE +21 -0
  1618. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/requests/LICENSE +175 -0
  1619. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE +13 -0
  1620. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/rich/LICENSE +19 -0
  1621. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/tomli/LICENSE +21 -0
  1622. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE +21 -0
  1623. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/truststore/LICENSE +21 -0
  1624. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/urllib3/LICENSE.txt +21 -0
  1625. package/python/Lib/site.py +773 -0
  1626. package/python/Lib/smtplib.py +1123 -0
  1627. package/python/Lib/socket.py +982 -0
  1628. package/python/Lib/socketserver.py +863 -0
  1629. package/python/Lib/sqlite3/__init__.py +70 -0
  1630. package/python/Lib/sqlite3/__main__.py +139 -0
  1631. package/python/Lib/sqlite3/dbapi2.py +108 -0
  1632. package/python/Lib/sqlite3/dump.py +113 -0
  1633. package/python/Lib/sre_compile.py +7 -0
  1634. package/python/Lib/sre_constants.py +7 -0
  1635. package/python/Lib/sre_parse.py +7 -0
  1636. package/python/Lib/ssl.py +1529 -0
  1637. package/python/Lib/stat.py +212 -0
  1638. package/python/Lib/statistics.py +1817 -0
  1639. package/python/Lib/string.py +309 -0
  1640. package/python/Lib/stringprep.py +272 -0
  1641. package/python/Lib/struct.py +15 -0
  1642. package/python/Lib/subprocess.py +2258 -0
  1643. package/python/Lib/symtable.py +414 -0
  1644. package/python/Lib/sysconfig/__init__.py +726 -0
  1645. package/python/Lib/sysconfig/__main__.py +248 -0
  1646. package/python/Lib/sysconfig/__pycache__/__init__.cpython-313.pyc +0 -0
  1647. package/python/Lib/tabnanny.py +340 -0
  1648. package/python/Lib/tarfile.py +3070 -0
  1649. package/python/Lib/tempfile.py +957 -0
  1650. package/python/Lib/textwrap.py +497 -0
  1651. package/python/Lib/this.py +28 -0
  1652. package/python/Lib/threading.py +1602 -0
  1653. package/python/Lib/timeit.py +381 -0
  1654. package/python/Lib/tkinter/__init__.py +5002 -0
  1655. package/python/Lib/tkinter/__main__.py +7 -0
  1656. package/python/Lib/tkinter/colorchooser.py +86 -0
  1657. package/python/Lib/tkinter/commondialog.py +53 -0
  1658. package/python/Lib/tkinter/constants.py +110 -0
  1659. package/python/Lib/tkinter/dialog.py +49 -0
  1660. package/python/Lib/tkinter/dnd.py +324 -0
  1661. package/python/Lib/tkinter/filedialog.py +492 -0
  1662. package/python/Lib/tkinter/font.py +239 -0
  1663. package/python/Lib/tkinter/messagebox.py +146 -0
  1664. package/python/Lib/tkinter/scrolledtext.py +56 -0
  1665. package/python/Lib/tkinter/simpledialog.py +441 -0
  1666. package/python/Lib/tkinter/ttk.py +1647 -0
  1667. package/python/Lib/token.py +141 -0
  1668. package/python/Lib/tokenize.py +592 -0
  1669. package/python/Lib/tomllib/__init__.py +10 -0
  1670. package/python/Lib/tomllib/__pycache__/__init__.cpython-313.pyc +0 -0
  1671. package/python/Lib/tomllib/__pycache__/_parser.cpython-313.pyc +0 -0
  1672. package/python/Lib/tomllib/__pycache__/_re.cpython-313.pyc +0 -0
  1673. package/python/Lib/tomllib/__pycache__/_types.cpython-313.pyc +0 -0
  1674. package/python/Lib/tomllib/_parser.py +691 -0
  1675. package/python/Lib/tomllib/_re.py +107 -0
  1676. package/python/Lib/tomllib/_types.py +10 -0
  1677. package/python/Lib/tomllib/mypy.ini +17 -0
  1678. package/python/Lib/trace.py +754 -0
  1679. package/python/Lib/traceback.py +1638 -0
  1680. package/python/Lib/tracemalloc.py +560 -0
  1681. package/python/Lib/tty.py +73 -0
  1682. package/python/Lib/turtle.py +4199 -0
  1683. package/python/Lib/turtledemo/__init__.py +14 -0
  1684. package/python/Lib/turtledemo/__main__.py +401 -0
  1685. package/python/Lib/turtledemo/bytedesign.py +161 -0
  1686. package/python/Lib/turtledemo/chaos.py +59 -0
  1687. package/python/Lib/turtledemo/clock.py +138 -0
  1688. package/python/Lib/turtledemo/colormixer.py +58 -0
  1689. package/python/Lib/turtledemo/forest.py +108 -0
  1690. package/python/Lib/turtledemo/fractalcurves.py +138 -0
  1691. package/python/Lib/turtledemo/lindenmayer.py +119 -0
  1692. package/python/Lib/turtledemo/minimal_hanoi.py +79 -0
  1693. package/python/Lib/turtledemo/nim.py +226 -0
  1694. package/python/Lib/turtledemo/paint.py +54 -0
  1695. package/python/Lib/turtledemo/peace.py +61 -0
  1696. package/python/Lib/turtledemo/penrose.py +175 -0
  1697. package/python/Lib/turtledemo/planet_and_moon.py +111 -0
  1698. package/python/Lib/turtledemo/rosette.py +65 -0
  1699. package/python/Lib/turtledemo/round_dance.py +86 -0
  1700. package/python/Lib/turtledemo/sorting_animate.py +204 -0
  1701. package/python/Lib/turtledemo/tree.py +62 -0
  1702. package/python/Lib/turtledemo/turtle.cfg +10 -0
  1703. package/python/Lib/turtledemo/two_canvases.py +54 -0
  1704. package/python/Lib/turtledemo/yinyang.py +49 -0
  1705. package/python/Lib/types.py +345 -0
  1706. package/python/Lib/typing.py +3831 -0
  1707. package/python/Lib/unittest/__init__.py +80 -0
  1708. package/python/Lib/unittest/__main__.py +18 -0
  1709. package/python/Lib/unittest/_log.py +86 -0
  1710. package/python/Lib/unittest/async_case.py +146 -0
  1711. package/python/Lib/unittest/case.py +1478 -0
  1712. package/python/Lib/unittest/loader.py +453 -0
  1713. package/python/Lib/unittest/main.py +280 -0
  1714. package/python/Lib/unittest/mock.py +3179 -0
  1715. package/python/Lib/unittest/result.py +256 -0
  1716. package/python/Lib/unittest/runner.py +292 -0
  1717. package/python/Lib/unittest/signals.py +71 -0
  1718. package/python/Lib/unittest/suite.py +379 -0
  1719. package/python/Lib/unittest/util.py +170 -0
  1720. package/python/Lib/urllib/__init__.py +0 -0
  1721. package/python/Lib/urllib/__pycache__/__init__.cpython-313.pyc +0 -0
  1722. package/python/Lib/urllib/__pycache__/error.cpython-313.pyc +0 -0
  1723. package/python/Lib/urllib/__pycache__/parse.cpython-313.pyc +0 -0
  1724. package/python/Lib/urllib/__pycache__/request.cpython-313.pyc +0 -0
  1725. package/python/Lib/urllib/__pycache__/response.cpython-313.pyc +0 -0
  1726. package/python/Lib/urllib/error.py +74 -0
  1727. package/python/Lib/urllib/parse.py +1262 -0
  1728. package/python/Lib/urllib/request.py +2797 -0
  1729. package/python/Lib/urllib/response.py +84 -0
  1730. package/python/Lib/urllib/robotparser.py +286 -0
  1731. package/python/Lib/uuid.py +784 -0
  1732. package/python/Lib/venv/__init__.py +687 -0
  1733. package/python/Lib/venv/__main__.py +10 -0
  1734. package/python/Lib/venv/scripts/common/Activate.ps1 +248 -0
  1735. package/python/Lib/venv/scripts/common/activate +76 -0
  1736. package/python/Lib/venv/scripts/common/activate.fish +69 -0
  1737. package/python/Lib/venv/scripts/nt/activate.bat +34 -0
  1738. package/python/Lib/venv/scripts/nt/deactivate.bat +22 -0
  1739. package/python/Lib/venv/scripts/nt/venvlauncher.exe +0 -0
  1740. package/python/Lib/venv/scripts/nt/venvlauncher.pdb +0 -0
  1741. package/python/Lib/venv/scripts/nt/venvwlauncher.exe +0 -0
  1742. package/python/Lib/venv/scripts/nt/venvwlauncher.pdb +0 -0
  1743. package/python/Lib/venv/scripts/posix/activate.csh +27 -0
  1744. package/python/Lib/warnings.py +735 -0
  1745. package/python/Lib/wave.py +665 -0
  1746. package/python/Lib/weakref.py +674 -0
  1747. package/python/Lib/webbrowser.py +710 -0
  1748. package/python/Lib/wsgiref/__init__.py +25 -0
  1749. package/python/Lib/wsgiref/handlers.py +573 -0
  1750. package/python/Lib/wsgiref/headers.py +187 -0
  1751. package/python/Lib/wsgiref/simple_server.py +161 -0
  1752. package/python/Lib/wsgiref/types.py +54 -0
  1753. package/python/Lib/wsgiref/util.py +159 -0
  1754. package/python/Lib/wsgiref/validate.py +438 -0
  1755. package/python/Lib/xml/__init__.py +20 -0
  1756. package/python/Lib/xml/__pycache__/__init__.cpython-313.pyc +0 -0
  1757. package/python/Lib/xml/dom/NodeFilter.py +27 -0
  1758. package/python/Lib/xml/dom/__init__.py +140 -0
  1759. package/python/Lib/xml/dom/domreg.py +99 -0
  1760. package/python/Lib/xml/dom/expatbuilder.py +962 -0
  1761. package/python/Lib/xml/dom/minicompat.py +109 -0
  1762. package/python/Lib/xml/dom/minidom.py +2024 -0
  1763. package/python/Lib/xml/dom/pulldom.py +336 -0
  1764. package/python/Lib/xml/dom/xmlbuilder.py +389 -0
  1765. package/python/Lib/xml/etree/ElementInclude.py +186 -0
  1766. package/python/Lib/xml/etree/ElementPath.py +423 -0
  1767. package/python/Lib/xml/etree/ElementTree.py +2098 -0
  1768. package/python/Lib/xml/etree/__init__.py +33 -0
  1769. package/python/Lib/xml/etree/cElementTree.py +3 -0
  1770. package/python/Lib/xml/parsers/__init__.py +8 -0
  1771. package/python/Lib/xml/parsers/__pycache__/__init__.cpython-313.pyc +0 -0
  1772. package/python/Lib/xml/parsers/__pycache__/expat.cpython-313.pyc +0 -0
  1773. package/python/Lib/xml/parsers/expat.py +8 -0
  1774. package/python/Lib/xml/sax/__init__.py +94 -0
  1775. package/python/Lib/xml/sax/_exceptions.py +127 -0
  1776. package/python/Lib/xml/sax/expatreader.py +454 -0
  1777. package/python/Lib/xml/sax/handler.py +387 -0
  1778. package/python/Lib/xml/sax/saxutils.py +369 -0
  1779. package/python/Lib/xml/sax/xmlreader.py +378 -0
  1780. package/python/Lib/xmlrpc/__init__.py +1 -0
  1781. package/python/Lib/xmlrpc/__pycache__/__init__.cpython-313.pyc +0 -0
  1782. package/python/Lib/xmlrpc/__pycache__/client.cpython-313.pyc +0 -0
  1783. package/python/Lib/xmlrpc/client.py +1503 -0
  1784. package/python/Lib/xmlrpc/server.py +1002 -0
  1785. package/python/Lib/zipapp.py +229 -0
  1786. package/python/Lib/zipfile/__init__.py +2375 -0
  1787. package/python/Lib/zipfile/__main__.py +4 -0
  1788. package/python/Lib/zipfile/__pycache__/__init__.cpython-313.pyc +0 -0
  1789. package/python/Lib/zipfile/_path/__init__.py +452 -0
  1790. package/python/Lib/zipfile/_path/__pycache__/__init__.cpython-313.pyc +0 -0
  1791. package/python/Lib/zipfile/_path/__pycache__/glob.cpython-313.pyc +0 -0
  1792. package/python/Lib/zipfile/_path/glob.py +113 -0
  1793. package/python/Lib/zipimport.py +803 -0
  1794. package/python/Lib/zoneinfo/__init__.py +34 -0
  1795. package/python/Lib/zoneinfo/_common.py +168 -0
  1796. package/python/Lib/zoneinfo/_tzpath.py +189 -0
  1797. package/python/Lib/zoneinfo/_zoneinfo.py +772 -0
  1798. package/python/Scripts/.empty +0 -0
  1799. package/python/include/Python.h +140 -0
  1800. package/python/include/abstract.h +921 -0
  1801. package/python/include/bltinmodule.h +14 -0
  1802. package/python/include/boolobject.h +54 -0
  1803. package/python/include/bytearrayobject.h +44 -0
  1804. package/python/include/bytesobject.h +66 -0
  1805. package/python/include/ceval.h +145 -0
  1806. package/python/include/codecs.h +176 -0
  1807. package/python/include/compile.h +22 -0
  1808. package/python/include/complexobject.h +30 -0
  1809. package/python/include/cpython/abstract.h +87 -0
  1810. package/python/include/cpython/bytearrayobject.h +34 -0
  1811. package/python/include/cpython/bytesobject.h +37 -0
  1812. package/python/include/cpython/cellobject.h +44 -0
  1813. package/python/include/cpython/ceval.h +25 -0
  1814. package/python/include/cpython/classobject.h +71 -0
  1815. package/python/include/cpython/code.h +358 -0
  1816. package/python/include/cpython/compile.h +50 -0
  1817. package/python/include/cpython/complexobject.h +33 -0
  1818. package/python/include/cpython/context.h +74 -0
  1819. package/python/include/cpython/critical_section.h +134 -0
  1820. package/python/include/cpython/descrobject.h +62 -0
  1821. package/python/include/cpython/dictobject.h +102 -0
  1822. package/python/include/cpython/fileobject.h +16 -0
  1823. package/python/include/cpython/fileutils.h +8 -0
  1824. package/python/include/cpython/floatobject.h +27 -0
  1825. package/python/include/cpython/frameobject.h +35 -0
  1826. package/python/include/cpython/funcobject.h +184 -0
  1827. package/python/include/cpython/genobject.h +83 -0
  1828. package/python/include/cpython/import.h +25 -0
  1829. package/python/include/cpython/initconfig.h +274 -0
  1830. package/python/include/cpython/listobject.h +53 -0
  1831. package/python/include/cpython/lock.h +63 -0
  1832. package/python/include/cpython/longintrepr.h +146 -0
  1833. package/python/include/cpython/longobject.h +116 -0
  1834. package/python/include/cpython/memoryobject.h +50 -0
  1835. package/python/include/cpython/methodobject.h +66 -0
  1836. package/python/include/cpython/modsupport.h +26 -0
  1837. package/python/include/cpython/monitoring.h +250 -0
  1838. package/python/include/cpython/object.h +535 -0
  1839. package/python/include/cpython/objimpl.h +104 -0
  1840. package/python/include/cpython/odictobject.h +43 -0
  1841. package/python/include/cpython/picklebufobject.h +31 -0
  1842. package/python/include/cpython/pthread_stubs.h +105 -0
  1843. package/python/include/cpython/pyatomic.h +569 -0
  1844. package/python/include/cpython/pyatomic_gcc.h +551 -0
  1845. package/python/include/cpython/pyatomic_msc.h +1095 -0
  1846. package/python/include/cpython/pyatomic_std.h +976 -0
  1847. package/python/include/cpython/pyctype.h +39 -0
  1848. package/python/include/cpython/pydebug.h +38 -0
  1849. package/python/include/cpython/pyerrors.h +132 -0
  1850. package/python/include/cpython/pyfpe.h +15 -0
  1851. package/python/include/cpython/pyframe.h +45 -0
  1852. package/python/include/cpython/pyhash.h +47 -0
  1853. package/python/include/cpython/pylifecycle.h +92 -0
  1854. package/python/include/cpython/pymem.h +84 -0
  1855. package/python/include/cpython/pystate.h +277 -0
  1856. package/python/include/cpython/pystats.h +175 -0
  1857. package/python/include/cpython/pythonrun.h +96 -0
  1858. package/python/include/cpython/pythread.h +43 -0
  1859. package/python/include/cpython/pytime.h +27 -0
  1860. package/python/include/cpython/setobject.h +71 -0
  1861. package/python/include/cpython/sysmodule.h +22 -0
  1862. package/python/include/cpython/traceback.h +13 -0
  1863. package/python/include/cpython/tracemalloc.h +32 -0
  1864. package/python/include/cpython/tupleobject.h +38 -0
  1865. package/python/include/cpython/unicodeobject.h +703 -0
  1866. package/python/include/cpython/warnings.h +20 -0
  1867. package/python/include/cpython/weakrefobject.h +63 -0
  1868. package/python/include/critical_section.h +16 -0
  1869. package/python/include/datetime.h +267 -0
  1870. package/python/include/descrobject.h +100 -0
  1871. package/python/include/dictobject.h +108 -0
  1872. package/python/include/dynamic_annotations.h +499 -0
  1873. package/python/include/enumobject.h +17 -0
  1874. package/python/include/errcode.h +45 -0
  1875. package/python/include/exports.h +108 -0
  1876. package/python/include/fileobject.h +41 -0
  1877. package/python/include/fileutils.h +62 -0
  1878. package/python/include/floatobject.h +54 -0
  1879. package/python/include/frameobject.h +20 -0
  1880. package/python/include/genericaliasobject.h +14 -0
  1881. package/python/include/import.h +103 -0
  1882. package/python/include/internal/mimalloc/mimalloc/atomic.h +392 -0
  1883. package/python/include/internal/mimalloc/mimalloc/internal.h +969 -0
  1884. package/python/include/internal/mimalloc/mimalloc/prim.h +329 -0
  1885. package/python/include/internal/mimalloc/mimalloc/track.h +147 -0
  1886. package/python/include/internal/mimalloc/mimalloc/types.h +721 -0
  1887. package/python/include/internal/mimalloc/mimalloc.h +565 -0
  1888. package/python/include/internal/pycore_abstract.h +61 -0
  1889. package/python/include/internal/pycore_asdl.h +112 -0
  1890. package/python/include/internal/pycore_ast.h +926 -0
  1891. package/python/include/internal/pycore_ast_state.h +268 -0
  1892. package/python/include/internal/pycore_atexit.h +67 -0
  1893. package/python/include/internal/pycore_backoff.h +145 -0
  1894. package/python/include/internal/pycore_bitutils.h +186 -0
  1895. package/python/include/internal/pycore_blocks_output_buffer.h +321 -0
  1896. package/python/include/internal/pycore_brc.h +74 -0
  1897. package/python/include/internal/pycore_bytes_methods.h +82 -0
  1898. package/python/include/internal/pycore_bytesobject.h +152 -0
  1899. package/python/include/internal/pycore_call.h +205 -0
  1900. package/python/include/internal/pycore_capsule.h +17 -0
  1901. package/python/include/internal/pycore_cell.h +48 -0
  1902. package/python/include/internal/pycore_ceval.h +305 -0
  1903. package/python/include/internal/pycore_ceval_state.h +137 -0
  1904. package/python/include/internal/pycore_code.h +603 -0
  1905. package/python/include/internal/pycore_codecs.h +86 -0
  1906. package/python/include/internal/pycore_compile.h +118 -0
  1907. package/python/include/internal/pycore_complexobject.h +25 -0
  1908. package/python/include/internal/pycore_condvar.h +93 -0
  1909. package/python/include/internal/pycore_context.h +61 -0
  1910. package/python/include/internal/pycore_critical_section.h +233 -0
  1911. package/python/include/internal/pycore_crossinterp.h +340 -0
  1912. package/python/include/internal/pycore_descrobject.h +28 -0
  1913. package/python/include/internal/pycore_dict.h +340 -0
  1914. package/python/include/internal/pycore_dict_state.h +32 -0
  1915. package/python/include/internal/pycore_dtoa.h +75 -0
  1916. package/python/include/internal/pycore_emscripten_signal.h +30 -0
  1917. package/python/include/internal/pycore_emscripten_trampoline.h +81 -0
  1918. package/python/include/internal/pycore_exceptions.h +40 -0
  1919. package/python/include/internal/pycore_faulthandler.h +99 -0
  1920. package/python/include/internal/pycore_fileutils.h +335 -0
  1921. package/python/include/internal/pycore_fileutils_windows.h +98 -0
  1922. package/python/include/internal/pycore_floatobject.h +62 -0
  1923. package/python/include/internal/pycore_flowgraph.h +40 -0
  1924. package/python/include/internal/pycore_format.h +27 -0
  1925. package/python/include/internal/pycore_frame.h +370 -0
  1926. package/python/include/internal/pycore_freelist.h +153 -0
  1927. package/python/include/internal/pycore_function.h +55 -0
  1928. package/python/include/internal/pycore_gc.h +365 -0
  1929. package/python/include/internal/pycore_genobject.h +32 -0
  1930. package/python/include/internal/pycore_getopt.h +22 -0
  1931. package/python/include/internal/pycore_gil.h +66 -0
  1932. package/python/include/internal/pycore_global_objects.h +105 -0
  1933. package/python/include/internal/pycore_global_objects_fini_generated.h +1554 -0
  1934. package/python/include/internal/pycore_global_strings.h +814 -0
  1935. package/python/include/internal/pycore_hamt.h +134 -0
  1936. package/python/include/internal/pycore_hashtable.h +150 -0
  1937. package/python/include/internal/pycore_identifier.h +20 -0
  1938. package/python/include/internal/pycore_import.h +213 -0
  1939. package/python/include/internal/pycore_importdl.h +139 -0
  1940. package/python/include/internal/pycore_initconfig.h +200 -0
  1941. package/python/include/internal/pycore_instruction_sequence.h +73 -0
  1942. package/python/include/internal/pycore_instruments.h +75 -0
  1943. package/python/include/internal/pycore_interp.h +423 -0
  1944. package/python/include/internal/pycore_intrinsics.h +51 -0
  1945. package/python/include/internal/pycore_jit.h +25 -0
  1946. package/python/include/internal/pycore_list.h +66 -0
  1947. package/python/include/internal/pycore_llist.h +106 -0
  1948. package/python/include/internal/pycore_lock.h +241 -0
  1949. package/python/include/internal/pycore_long.h +310 -0
  1950. package/python/include/internal/pycore_memoryobject.h +20 -0
  1951. package/python/include/internal/pycore_mimalloc.h +69 -0
  1952. package/python/include/internal/pycore_modsupport.h +107 -0
  1953. package/python/include/internal/pycore_moduleobject.h +56 -0
  1954. package/python/include/internal/pycore_namespace.h +21 -0
  1955. package/python/include/internal/pycore_object.h +867 -0
  1956. package/python/include/internal/pycore_object_alloc.h +71 -0
  1957. package/python/include/internal/pycore_object_stack.h +97 -0
  1958. package/python/include/internal/pycore_object_state.h +41 -0
  1959. package/python/include/internal/pycore_obmalloc.h +702 -0
  1960. package/python/include/internal/pycore_obmalloc_init.h +66 -0
  1961. package/python/include/internal/pycore_opcode_metadata.h +1922 -0
  1962. package/python/include/internal/pycore_opcode_utils.h +73 -0
  1963. package/python/include/internal/pycore_optimizer.h +272 -0
  1964. package/python/include/internal/pycore_parking_lot.h +97 -0
  1965. package/python/include/internal/pycore_parser.h +95 -0
  1966. package/python/include/internal/pycore_pathconfig.h +26 -0
  1967. package/python/include/internal/pycore_pyarena.h +68 -0
  1968. package/python/include/internal/pycore_pyatomic_ft_wrappers.h +165 -0
  1969. package/python/include/internal/pycore_pybuffer.h +21 -0
  1970. package/python/include/internal/pycore_pyerrors.h +190 -0
  1971. package/python/include/internal/pycore_pyhash.h +107 -0
  1972. package/python/include/internal/pycore_pylifecycle.h +136 -0
  1973. package/python/include/internal/pycore_pymath.h +205 -0
  1974. package/python/include/internal/pycore_pymem.h +161 -0
  1975. package/python/include/internal/pycore_pymem_init.h +103 -0
  1976. package/python/include/internal/pycore_pystate.h +299 -0
  1977. package/python/include/internal/pycore_pystats.h +21 -0
  1978. package/python/include/internal/pycore_pythonrun.h +39 -0
  1979. package/python/include/internal/pycore_pythread.h +172 -0
  1980. package/python/include/internal/pycore_qsbr.h +173 -0
  1981. package/python/include/internal/pycore_range.h +21 -0
  1982. package/python/include/internal/pycore_runtime.h +410 -0
  1983. package/python/include/internal/pycore_runtime_init.h +329 -0
  1984. package/python/include/internal/pycore_runtime_init_generated.h +1551 -0
  1985. package/python/include/internal/pycore_semaphore.h +67 -0
  1986. package/python/include/internal/pycore_setobject.h +39 -0
  1987. package/python/include/internal/pycore_signal.h +108 -0
  1988. package/python/include/internal/pycore_sliceobject.h +20 -0
  1989. package/python/include/internal/pycore_stackref.h +195 -0
  1990. package/python/include/internal/pycore_strhex.h +39 -0
  1991. package/python/include/internal/pycore_structseq.h +40 -0
  1992. package/python/include/internal/pycore_symtable.h +204 -0
  1993. package/python/include/internal/pycore_sysmodule.h +38 -0
  1994. package/python/include/internal/pycore_time.h +337 -0
  1995. package/python/include/internal/pycore_token.h +106 -0
  1996. package/python/include/internal/pycore_traceback.h +106 -0
  1997. package/python/include/internal/pycore_tracemalloc.h +170 -0
  1998. package/python/include/internal/pycore_tstate.h +46 -0
  1999. package/python/include/internal/pycore_tuple.h +35 -0
  2000. package/python/include/internal/pycore_typeobject.h +245 -0
  2001. package/python/include/internal/pycore_typevarobject.h +27 -0
  2002. package/python/include/internal/pycore_ucnhash.h +36 -0
  2003. package/python/include/internal/pycore_unicodeobject.h +351 -0
  2004. package/python/include/internal/pycore_unicodeobject_generated.h +2980 -0
  2005. package/python/include/internal/pycore_unionobject.h +25 -0
  2006. package/python/include/internal/pycore_uop_ids.h +295 -0
  2007. package/python/include/internal/pycore_uop_metadata.h +1010 -0
  2008. package/python/include/internal/pycore_warnings.h +31 -0
  2009. package/python/include/internal/pycore_weakref.h +133 -0
  2010. package/python/include/intrcheck.h +23 -0
  2011. package/python/include/iterobject.h +24 -0
  2012. package/python/include/listobject.h +55 -0
  2013. package/python/include/lock.h +16 -0
  2014. package/python/include/longobject.h +114 -0
  2015. package/python/include/marshal.h +31 -0
  2016. package/python/include/memoryobject.h +34 -0
  2017. package/python/include/methodobject.h +137 -0
  2018. package/python/include/modsupport.h +146 -0
  2019. package/python/include/moduleobject.h +122 -0
  2020. package/python/include/monitoring.h +18 -0
  2021. package/python/include/object.h +1280 -0
  2022. package/python/include/objimpl.h +211 -0
  2023. package/python/include/opcode.h +42 -0
  2024. package/python/include/opcode_ids.h +244 -0
  2025. package/python/include/osdefs.h +57 -0
  2026. package/python/include/osmodule.h +17 -0
  2027. package/python/include/patchlevel.h +35 -0
  2028. package/python/include/py_curses.h +117 -0
  2029. package/python/include/pyatomic.h +16 -0
  2030. package/python/include/pybuffer.h +145 -0
  2031. package/python/include/pycapsule.h +58 -0
  2032. package/python/include/pyconfig.h +759 -0
  2033. package/python/include/pydtrace.h +59 -0
  2034. package/python/include/pyerrors.h +335 -0
  2035. package/python/include/pyexpat.h +62 -0
  2036. package/python/include/pyframe.h +26 -0
  2037. package/python/include/pyhash.h +59 -0
  2038. package/python/include/pylifecycle.h +80 -0
  2039. package/python/include/pymacconfig.h +91 -0
  2040. package/python/include/pymacro.h +199 -0
  2041. package/python/include/pymath.h +62 -0
  2042. package/python/include/pymem.h +110 -0
  2043. package/python/include/pyport.h +633 -0
  2044. package/python/include/pystate.h +132 -0
  2045. package/python/include/pystats.h +26 -0
  2046. package/python/include/pystrcmp.h +23 -0
  2047. package/python/include/pystrtod.h +37 -0
  2048. package/python/include/pythonrun.h +49 -0
  2049. package/python/include/pythread.h +131 -0
  2050. package/python/include/pytypedefs.h +30 -0
  2051. package/python/include/rangeobject.h +27 -0
  2052. package/python/include/setobject.h +49 -0
  2053. package/python/include/sliceobject.h +69 -0
  2054. package/python/include/structmember.h +56 -0
  2055. package/python/include/structseq.h +46 -0
  2056. package/python/include/sysmodule.h +44 -0
  2057. package/python/include/traceback.h +26 -0
  2058. package/python/include/tupleobject.h +46 -0
  2059. package/python/include/typeslots.h +88 -0
  2060. package/python/include/unicodeobject.h +1021 -0
  2061. package/python/include/warnings.h +45 -0
  2062. package/python/include/weakrefobject.h +46 -0
  2063. package/python/libs/python3.lib +0 -0
  2064. package/python/libs/python313.lib +0 -0
  2065. package/python/python.exe +0 -0
  2066. package/python/python.pdb +0 -0
  2067. package/python/python3.dll +0 -0
  2068. package/python/python3.pdb +0 -0
  2069. package/python/python313.dll +0 -0
  2070. package/python/python313.pdb +0 -0
  2071. package/python/pythonw.exe +0 -0
  2072. package/python/pythonw.pdb +0 -0
  2073. package/python/tcl/dde1.4/pkgIndex.tcl +12 -0
  2074. package/python/tcl/dde1.4/tcldde14.dll +0 -0
  2075. package/python/tcl/nmake/nmakehlp.c +815 -0
  2076. package/python/tcl/nmake/rules.vc +1869 -0
  2077. package/python/tcl/nmake/targets.vc +98 -0
  2078. package/python/tcl/nmake/tcl.nmake +4 -0
  2079. package/python/tcl/reg1.3/pkgIndex.tcl +9 -0
  2080. package/python/tcl/reg1.3/tclreg13.dll +0 -0
  2081. package/python/tcl/tcl8/8.4/platform/shell-1.1.4.tm +241 -0
  2082. package/python/tcl/tcl8/8.4/platform-1.0.18.tm +439 -0
  2083. package/python/tcl/tcl8/8.5/msgcat-1.6.1.tm +1210 -0
  2084. package/python/tcl/tcl8/8.5/tcltest-2.5.3.tm +3515 -0
  2085. package/python/tcl/tcl8/8.6/http-2.9.5.tm +3506 -0
  2086. package/python/tcl/tcl8.6/auto.tcl +648 -0
  2087. package/python/tcl/tcl8.6/clock.tcl +4546 -0
  2088. package/python/tcl/tcl8.6/encoding/ascii.enc +20 -0
  2089. package/python/tcl/tcl8.6/encoding/big5.enc +1516 -0
  2090. package/python/tcl/tcl8.6/encoding/cns11643.enc +1584 -0
  2091. package/python/tcl/tcl8.6/encoding/cp1250.enc +20 -0
  2092. package/python/tcl/tcl8.6/encoding/cp1251.enc +20 -0
  2093. package/python/tcl/tcl8.6/encoding/cp1252.enc +20 -0
  2094. package/python/tcl/tcl8.6/encoding/cp1253.enc +20 -0
  2095. package/python/tcl/tcl8.6/encoding/cp1254.enc +20 -0
  2096. package/python/tcl/tcl8.6/encoding/cp1255.enc +20 -0
  2097. package/python/tcl/tcl8.6/encoding/cp1256.enc +20 -0
  2098. package/python/tcl/tcl8.6/encoding/cp1257.enc +20 -0
  2099. package/python/tcl/tcl8.6/encoding/cp1258.enc +20 -0
  2100. package/python/tcl/tcl8.6/encoding/cp437.enc +20 -0
  2101. package/python/tcl/tcl8.6/encoding/cp737.enc +20 -0
  2102. package/python/tcl/tcl8.6/encoding/cp775.enc +20 -0
  2103. package/python/tcl/tcl8.6/encoding/cp850.enc +20 -0
  2104. package/python/tcl/tcl8.6/encoding/cp852.enc +20 -0
  2105. package/python/tcl/tcl8.6/encoding/cp855.enc +20 -0
  2106. package/python/tcl/tcl8.6/encoding/cp857.enc +20 -0
  2107. package/python/tcl/tcl8.6/encoding/cp860.enc +20 -0
  2108. package/python/tcl/tcl8.6/encoding/cp861.enc +20 -0
  2109. package/python/tcl/tcl8.6/encoding/cp862.enc +20 -0
  2110. package/python/tcl/tcl8.6/encoding/cp863.enc +20 -0
  2111. package/python/tcl/tcl8.6/encoding/cp864.enc +20 -0
  2112. package/python/tcl/tcl8.6/encoding/cp865.enc +20 -0
  2113. package/python/tcl/tcl8.6/encoding/cp866.enc +20 -0
  2114. package/python/tcl/tcl8.6/encoding/cp869.enc +20 -0
  2115. package/python/tcl/tcl8.6/encoding/cp874.enc +20 -0
  2116. package/python/tcl/tcl8.6/encoding/cp932.enc +801 -0
  2117. package/python/tcl/tcl8.6/encoding/cp936.enc +2162 -0
  2118. package/python/tcl/tcl8.6/encoding/cp949.enc +2128 -0
  2119. package/python/tcl/tcl8.6/encoding/cp950.enc +1499 -0
  2120. package/python/tcl/tcl8.6/encoding/dingbats.enc +20 -0
  2121. package/python/tcl/tcl8.6/encoding/ebcdic.enc +19 -0
  2122. package/python/tcl/tcl8.6/encoding/euc-cn.enc +1397 -0
  2123. package/python/tcl/tcl8.6/encoding/euc-jp.enc +1353 -0
  2124. package/python/tcl/tcl8.6/encoding/euc-kr.enc +1533 -0
  2125. package/python/tcl/tcl8.6/encoding/gb12345.enc +1414 -0
  2126. package/python/tcl/tcl8.6/encoding/gb1988.enc +20 -0
  2127. package/python/tcl/tcl8.6/encoding/gb2312-raw.enc +1380 -0
  2128. package/python/tcl/tcl8.6/encoding/gb2312.enc +1397 -0
  2129. package/python/tcl/tcl8.6/encoding/iso2022-jp.enc +12 -0
  2130. package/python/tcl/tcl8.6/encoding/iso2022-kr.enc +7 -0
  2131. package/python/tcl/tcl8.6/encoding/iso2022.enc +14 -0
  2132. package/python/tcl/tcl8.6/encoding/iso8859-1.enc +20 -0
  2133. package/python/tcl/tcl8.6/encoding/iso8859-10.enc +20 -0
  2134. package/python/tcl/tcl8.6/encoding/iso8859-11.enc +20 -0
  2135. package/python/tcl/tcl8.6/encoding/iso8859-13.enc +20 -0
  2136. package/python/tcl/tcl8.6/encoding/iso8859-14.enc +20 -0
  2137. package/python/tcl/tcl8.6/encoding/iso8859-15.enc +20 -0
  2138. package/python/tcl/tcl8.6/encoding/iso8859-16.enc +20 -0
  2139. package/python/tcl/tcl8.6/encoding/iso8859-2.enc +20 -0
  2140. package/python/tcl/tcl8.6/encoding/iso8859-3.enc +20 -0
  2141. package/python/tcl/tcl8.6/encoding/iso8859-4.enc +20 -0
  2142. package/python/tcl/tcl8.6/encoding/iso8859-5.enc +20 -0
  2143. package/python/tcl/tcl8.6/encoding/iso8859-6.enc +20 -0
  2144. package/python/tcl/tcl8.6/encoding/iso8859-7.enc +20 -0
  2145. package/python/tcl/tcl8.6/encoding/iso8859-8.enc +20 -0
  2146. package/python/tcl/tcl8.6/encoding/iso8859-9.enc +20 -0
  2147. package/python/tcl/tcl8.6/encoding/jis0201.enc +20 -0
  2148. package/python/tcl/tcl8.6/encoding/jis0208.enc +1319 -0
  2149. package/python/tcl/tcl8.6/encoding/jis0212.enc +1159 -0
  2150. package/python/tcl/tcl8.6/encoding/koi8-r.enc +20 -0
  2151. package/python/tcl/tcl8.6/encoding/koi8-u.enc +20 -0
  2152. package/python/tcl/tcl8.6/encoding/ksc5601.enc +1516 -0
  2153. package/python/tcl/tcl8.6/encoding/macCentEuro.enc +20 -0
  2154. package/python/tcl/tcl8.6/encoding/macCroatian.enc +20 -0
  2155. package/python/tcl/tcl8.6/encoding/macCyrillic.enc +20 -0
  2156. package/python/tcl/tcl8.6/encoding/macDingbats.enc +20 -0
  2157. package/python/tcl/tcl8.6/encoding/macGreek.enc +20 -0
  2158. package/python/tcl/tcl8.6/encoding/macIceland.enc +20 -0
  2159. package/python/tcl/tcl8.6/encoding/macJapan.enc +785 -0
  2160. package/python/tcl/tcl8.6/encoding/macRoman.enc +20 -0
  2161. package/python/tcl/tcl8.6/encoding/macRomania.enc +20 -0
  2162. package/python/tcl/tcl8.6/encoding/macThai.enc +20 -0
  2163. package/python/tcl/tcl8.6/encoding/macTurkish.enc +20 -0
  2164. package/python/tcl/tcl8.6/encoding/macUkraine.enc +20 -0
  2165. package/python/tcl/tcl8.6/encoding/shiftjis.enc +690 -0
  2166. package/python/tcl/tcl8.6/encoding/symbol.enc +20 -0
  2167. package/python/tcl/tcl8.6/encoding/tis-620.enc +20 -0
  2168. package/python/tcl/tcl8.6/history.tcl +335 -0
  2169. package/python/tcl/tcl8.6/http1.0/http.tcl +377 -0
  2170. package/python/tcl/tcl8.6/http1.0/pkgIndex.tcl +11 -0
  2171. package/python/tcl/tcl8.6/init.tcl +827 -0
  2172. package/python/tcl/tcl8.6/msgs/af.msg +49 -0
  2173. package/python/tcl/tcl8.6/msgs/af_za.msg +6 -0
  2174. package/python/tcl/tcl8.6/msgs/ar.msg +54 -0
  2175. package/python/tcl/tcl8.6/msgs/ar_in.msg +6 -0
  2176. package/python/tcl/tcl8.6/msgs/ar_jo.msg +39 -0
  2177. package/python/tcl/tcl8.6/msgs/ar_lb.msg +39 -0
  2178. package/python/tcl/tcl8.6/msgs/ar_sy.msg +39 -0
  2179. package/python/tcl/tcl8.6/msgs/be.msg +52 -0
  2180. package/python/tcl/tcl8.6/msgs/bg.msg +52 -0
  2181. package/python/tcl/tcl8.6/msgs/bn.msg +49 -0
  2182. package/python/tcl/tcl8.6/msgs/bn_in.msg +6 -0
  2183. package/python/tcl/tcl8.6/msgs/ca.msg +50 -0
  2184. package/python/tcl/tcl8.6/msgs/cs.msg +54 -0
  2185. package/python/tcl/tcl8.6/msgs/da.msg +52 -0
  2186. package/python/tcl/tcl8.6/msgs/de.msg +54 -0
  2187. package/python/tcl/tcl8.6/msgs/de_at.msg +35 -0
  2188. package/python/tcl/tcl8.6/msgs/de_be.msg +53 -0
  2189. package/python/tcl/tcl8.6/msgs/el.msg +52 -0
  2190. package/python/tcl/tcl8.6/msgs/en_au.msg +7 -0
  2191. package/python/tcl/tcl8.6/msgs/en_be.msg +7 -0
  2192. package/python/tcl/tcl8.6/msgs/en_bw.msg +6 -0
  2193. package/python/tcl/tcl8.6/msgs/en_ca.msg +7 -0
  2194. package/python/tcl/tcl8.6/msgs/en_gb.msg +7 -0
  2195. package/python/tcl/tcl8.6/msgs/en_hk.msg +8 -0
  2196. package/python/tcl/tcl8.6/msgs/en_ie.msg +7 -0
  2197. package/python/tcl/tcl8.6/msgs/en_in.msg +8 -0
  2198. package/python/tcl/tcl8.6/msgs/en_nz.msg +7 -0
  2199. package/python/tcl/tcl8.6/msgs/en_ph.msg +8 -0
  2200. package/python/tcl/tcl8.6/msgs/en_sg.msg +6 -0
  2201. package/python/tcl/tcl8.6/msgs/en_za.msg +6 -0
  2202. package/python/tcl/tcl8.6/msgs/en_zw.msg +6 -0
  2203. package/python/tcl/tcl8.6/msgs/eo.msg +54 -0
  2204. package/python/tcl/tcl8.6/msgs/es.msg +52 -0
  2205. package/python/tcl/tcl8.6/msgs/es_ar.msg +6 -0
  2206. package/python/tcl/tcl8.6/msgs/es_bo.msg +6 -0
  2207. package/python/tcl/tcl8.6/msgs/es_cl.msg +6 -0
  2208. package/python/tcl/tcl8.6/msgs/es_co.msg +6 -0
  2209. package/python/tcl/tcl8.6/msgs/es_cr.msg +6 -0
  2210. package/python/tcl/tcl8.6/msgs/es_do.msg +6 -0
  2211. package/python/tcl/tcl8.6/msgs/es_ec.msg +6 -0
  2212. package/python/tcl/tcl8.6/msgs/es_gt.msg +6 -0
  2213. package/python/tcl/tcl8.6/msgs/es_hn.msg +6 -0
  2214. package/python/tcl/tcl8.6/msgs/es_mx.msg +6 -0
  2215. package/python/tcl/tcl8.6/msgs/es_ni.msg +6 -0
  2216. package/python/tcl/tcl8.6/msgs/es_pa.msg +6 -0
  2217. package/python/tcl/tcl8.6/msgs/es_pe.msg +6 -0
  2218. package/python/tcl/tcl8.6/msgs/es_pr.msg +6 -0
  2219. package/python/tcl/tcl8.6/msgs/es_py.msg +6 -0
  2220. package/python/tcl/tcl8.6/msgs/es_sv.msg +6 -0
  2221. package/python/tcl/tcl8.6/msgs/es_uy.msg +6 -0
  2222. package/python/tcl/tcl8.6/msgs/es_ve.msg +6 -0
  2223. package/python/tcl/tcl8.6/msgs/et.msg +52 -0
  2224. package/python/tcl/tcl8.6/msgs/eu.msg +47 -0
  2225. package/python/tcl/tcl8.6/msgs/eu_es.msg +7 -0
  2226. package/python/tcl/tcl8.6/msgs/fa.msg +47 -0
  2227. package/python/tcl/tcl8.6/msgs/fa_in.msg +52 -0
  2228. package/python/tcl/tcl8.6/msgs/fa_ir.msg +9 -0
  2229. package/python/tcl/tcl8.6/msgs/fi.msg +50 -0
  2230. package/python/tcl/tcl8.6/msgs/fo.msg +47 -0
  2231. package/python/tcl/tcl8.6/msgs/fo_fo.msg +7 -0
  2232. package/python/tcl/tcl8.6/msgs/fr.msg +52 -0
  2233. package/python/tcl/tcl8.6/msgs/fr_be.msg +7 -0
  2234. package/python/tcl/tcl8.6/msgs/fr_ca.msg +7 -0
  2235. package/python/tcl/tcl8.6/msgs/fr_ch.msg +7 -0
  2236. package/python/tcl/tcl8.6/msgs/ga.msg +47 -0
  2237. package/python/tcl/tcl8.6/msgs/ga_ie.msg +7 -0
  2238. package/python/tcl/tcl8.6/msgs/gl.msg +47 -0
  2239. package/python/tcl/tcl8.6/msgs/gl_es.msg +6 -0
  2240. package/python/tcl/tcl8.6/msgs/gv.msg +47 -0
  2241. package/python/tcl/tcl8.6/msgs/gv_gb.msg +6 -0
  2242. package/python/tcl/tcl8.6/msgs/he.msg +52 -0
  2243. package/python/tcl/tcl8.6/msgs/hi.msg +39 -0
  2244. package/python/tcl/tcl8.6/msgs/hi_in.msg +6 -0
  2245. package/python/tcl/tcl8.6/msgs/hr.msg +50 -0
  2246. package/python/tcl/tcl8.6/msgs/hu.msg +54 -0
  2247. package/python/tcl/tcl8.6/msgs/id.msg +47 -0
  2248. package/python/tcl/tcl8.6/msgs/id_id.msg +6 -0
  2249. package/python/tcl/tcl8.6/msgs/is.msg +50 -0
  2250. package/python/tcl/tcl8.6/msgs/it.msg +54 -0
  2251. package/python/tcl/tcl8.6/msgs/it_ch.msg +6 -0
  2252. package/python/tcl/tcl8.6/msgs/ja.msg +44 -0
  2253. package/python/tcl/tcl8.6/msgs/kl.msg +47 -0
  2254. package/python/tcl/tcl8.6/msgs/kl_gl.msg +7 -0
  2255. package/python/tcl/tcl8.6/msgs/ko.msg +55 -0
  2256. package/python/tcl/tcl8.6/msgs/ko_kr.msg +8 -0
  2257. package/python/tcl/tcl8.6/msgs/kok.msg +39 -0
  2258. package/python/tcl/tcl8.6/msgs/kok_in.msg +6 -0
  2259. package/python/tcl/tcl8.6/msgs/kw.msg +47 -0
  2260. package/python/tcl/tcl8.6/msgs/kw_gb.msg +6 -0
  2261. package/python/tcl/tcl8.6/msgs/lt.msg +52 -0
  2262. package/python/tcl/tcl8.6/msgs/lv.msg +52 -0
  2263. package/python/tcl/tcl8.6/msgs/mk.msg +52 -0
  2264. package/python/tcl/tcl8.6/msgs/mr.msg +39 -0
  2265. package/python/tcl/tcl8.6/msgs/mr_in.msg +6 -0
  2266. package/python/tcl/tcl8.6/msgs/ms.msg +47 -0
  2267. package/python/tcl/tcl8.6/msgs/ms_my.msg +6 -0
  2268. package/python/tcl/tcl8.6/msgs/mt.msg +27 -0
  2269. package/python/tcl/tcl8.6/msgs/nb.msg +52 -0
  2270. package/python/tcl/tcl8.6/msgs/nl.msg +50 -0
  2271. package/python/tcl/tcl8.6/msgs/nl_be.msg +7 -0
  2272. package/python/tcl/tcl8.6/msgs/nn.msg +52 -0
  2273. package/python/tcl/tcl8.6/msgs/pl.msg +52 -0
  2274. package/python/tcl/tcl8.6/msgs/pt.msg +50 -0
  2275. package/python/tcl/tcl8.6/msgs/pt_br.msg +7 -0
  2276. package/python/tcl/tcl8.6/msgs/ro.msg +52 -0
  2277. package/python/tcl/tcl8.6/msgs/ru.msg +52 -0
  2278. package/python/tcl/tcl8.6/msgs/ru_ua.msg +6 -0
  2279. package/python/tcl/tcl8.6/msgs/sh.msg +52 -0
  2280. package/python/tcl/tcl8.6/msgs/sk.msg +52 -0
  2281. package/python/tcl/tcl8.6/msgs/sl.msg +52 -0
  2282. package/python/tcl/tcl8.6/msgs/sq.msg +54 -0
  2283. package/python/tcl/tcl8.6/msgs/sr.msg +52 -0
  2284. package/python/tcl/tcl8.6/msgs/sv.msg +52 -0
  2285. package/python/tcl/tcl8.6/msgs/sw.msg +49 -0
  2286. package/python/tcl/tcl8.6/msgs/ta.msg +39 -0
  2287. package/python/tcl/tcl8.6/msgs/ta_in.msg +6 -0
  2288. package/python/tcl/tcl8.6/msgs/te.msg +47 -0
  2289. package/python/tcl/tcl8.6/msgs/te_in.msg +8 -0
  2290. package/python/tcl/tcl8.6/msgs/th.msg +54 -0
  2291. package/python/tcl/tcl8.6/msgs/tr.msg +50 -0
  2292. package/python/tcl/tcl8.6/msgs/uk.msg +52 -0
  2293. package/python/tcl/tcl8.6/msgs/vi.msg +50 -0
  2294. package/python/tcl/tcl8.6/msgs/zh.msg +55 -0
  2295. package/python/tcl/tcl8.6/msgs/zh_cn.msg +7 -0
  2296. package/python/tcl/tcl8.6/msgs/zh_hk.msg +28 -0
  2297. package/python/tcl/tcl8.6/msgs/zh_sg.msg +8 -0
  2298. package/python/tcl/tcl8.6/msgs/zh_tw.msg +8 -0
  2299. package/python/tcl/tcl8.6/opt0.4/optparse.tcl +1072 -0
  2300. package/python/tcl/tcl8.6/opt0.4/pkgIndex.tcl +12 -0
  2301. package/python/tcl/tcl8.6/package.tcl +751 -0
  2302. package/python/tcl/tcl8.6/parray.tcl +28 -0
  2303. package/python/tcl/tcl8.6/safe.tcl +1289 -0
  2304. package/python/tcl/tcl8.6/tclIndex +78 -0
  2305. package/python/tcl/tcl8.6/tm.tcl +380 -0
  2306. package/python/tcl/tcl8.6/tzdata/Africa/Abidjan +6 -0
  2307. package/python/tcl/tcl8.6/tzdata/Africa/Accra +5 -0
  2308. package/python/tcl/tcl8.6/tzdata/Africa/Addis_Ababa +5 -0
  2309. package/python/tcl/tcl8.6/tzdata/Africa/Algiers +39 -0
  2310. package/python/tcl/tcl8.6/tzdata/Africa/Asmara +5 -0
  2311. package/python/tcl/tcl8.6/tzdata/Africa/Asmera +5 -0
  2312. package/python/tcl/tcl8.6/tzdata/Africa/Bamako +5 -0
  2313. package/python/tcl/tcl8.6/tzdata/Africa/Bangui +5 -0
  2314. package/python/tcl/tcl8.6/tzdata/Africa/Banjul +5 -0
  2315. package/python/tcl/tcl8.6/tzdata/Africa/Bissau +7 -0
  2316. package/python/tcl/tcl8.6/tzdata/Africa/Blantyre +5 -0
  2317. package/python/tcl/tcl8.6/tzdata/Africa/Brazzaville +5 -0
  2318. package/python/tcl/tcl8.6/tzdata/Africa/Bujumbura +5 -0
  2319. package/python/tcl/tcl8.6/tzdata/Africa/Cairo +132 -0
  2320. package/python/tcl/tcl8.6/tzdata/Africa/Casablanca +202 -0
  2321. package/python/tcl/tcl8.6/tzdata/Africa/Ceuta +259 -0
  2322. package/python/tcl/tcl8.6/tzdata/Africa/Conakry +5 -0
  2323. package/python/tcl/tcl8.6/tzdata/Africa/Dakar +5 -0
  2324. package/python/tcl/tcl8.6/tzdata/Africa/Dar_es_Salaam +5 -0
  2325. package/python/tcl/tcl8.6/tzdata/Africa/Djibouti +5 -0
  2326. package/python/tcl/tcl8.6/tzdata/Africa/Douala +5 -0
  2327. package/python/tcl/tcl8.6/tzdata/Africa/El_Aaiun +191 -0
  2328. package/python/tcl/tcl8.6/tzdata/Africa/Freetown +5 -0
  2329. package/python/tcl/tcl8.6/tzdata/Africa/Gaborone +5 -0
  2330. package/python/tcl/tcl8.6/tzdata/Africa/Harare +5 -0
  2331. package/python/tcl/tcl8.6/tzdata/Africa/Johannesburg +11 -0
  2332. package/python/tcl/tcl8.6/tzdata/Africa/Juba +40 -0
  2333. package/python/tcl/tcl8.6/tzdata/Africa/Kampala +5 -0
  2334. package/python/tcl/tcl8.6/tzdata/Africa/Khartoum +40 -0
  2335. package/python/tcl/tcl8.6/tzdata/Africa/Kigali +5 -0
  2336. package/python/tcl/tcl8.6/tzdata/Africa/Kinshasa +5 -0
  2337. package/python/tcl/tcl8.6/tzdata/Africa/Lagos +9 -0
  2338. package/python/tcl/tcl8.6/tzdata/Africa/Libreville +5 -0
  2339. package/python/tcl/tcl8.6/tzdata/Africa/Lome +5 -0
  2340. package/python/tcl/tcl8.6/tzdata/Africa/Luanda +5 -0
  2341. package/python/tcl/tcl8.6/tzdata/Africa/Lubumbashi +5 -0
  2342. package/python/tcl/tcl8.6/tzdata/Africa/Lusaka +5 -0
  2343. package/python/tcl/tcl8.6/tzdata/Africa/Malabo +5 -0
  2344. package/python/tcl/tcl8.6/tzdata/Africa/Maputo +6 -0
  2345. package/python/tcl/tcl8.6/tzdata/Africa/Maseru +5 -0
  2346. package/python/tcl/tcl8.6/tzdata/Africa/Mbabane +5 -0
  2347. package/python/tcl/tcl8.6/tzdata/Africa/Mogadishu +5 -0
  2348. package/python/tcl/tcl8.6/tzdata/Africa/Monrovia +8 -0
  2349. package/python/tcl/tcl8.6/tzdata/Africa/Nairobi +10 -0
  2350. package/python/tcl/tcl8.6/tzdata/Africa/Ndjamena +8 -0
  2351. package/python/tcl/tcl8.6/tzdata/Africa/Niamey +5 -0
  2352. package/python/tcl/tcl8.6/tzdata/Africa/Nouakchott +5 -0
  2353. package/python/tcl/tcl8.6/tzdata/Africa/Ouagadougou +5 -0
  2354. package/python/tcl/tcl8.6/tzdata/Africa/Porto-Novo +5 -0
  2355. package/python/tcl/tcl8.6/tzdata/Africa/Sao_Tome +9 -0
  2356. package/python/tcl/tcl8.6/tzdata/Africa/Timbuktu +5 -0
  2357. package/python/tcl/tcl8.6/tzdata/Africa/Tripoli +34 -0
  2358. package/python/tcl/tcl8.6/tzdata/Africa/Tunis +39 -0
  2359. package/python/tcl/tcl8.6/tzdata/Africa/Windhoek +58 -0
  2360. package/python/tcl/tcl8.6/tzdata/America/Adak +276 -0
  2361. package/python/tcl/tcl8.6/tzdata/America/Anchorage +275 -0
  2362. package/python/tcl/tcl8.6/tzdata/America/Anguilla +5 -0
  2363. package/python/tcl/tcl8.6/tzdata/America/Antigua +5 -0
  2364. package/python/tcl/tcl8.6/tzdata/America/Araguaina +60 -0
  2365. package/python/tcl/tcl8.6/tzdata/America/Argentina/Buenos_Aires +67 -0
  2366. package/python/tcl/tcl8.6/tzdata/America/Argentina/Catamarca +68 -0
  2367. package/python/tcl/tcl8.6/tzdata/America/Argentina/ComodRivadavia +5 -0
  2368. package/python/tcl/tcl8.6/tzdata/America/Argentina/Cordoba +67 -0
  2369. package/python/tcl/tcl8.6/tzdata/America/Argentina/Jujuy +67 -0
  2370. package/python/tcl/tcl8.6/tzdata/America/Argentina/La_Rioja +69 -0
  2371. package/python/tcl/tcl8.6/tzdata/America/Argentina/Mendoza +68 -0
  2372. package/python/tcl/tcl8.6/tzdata/America/Argentina/Rio_Gallegos +68 -0
  2373. package/python/tcl/tcl8.6/tzdata/America/Argentina/Salta +66 -0
  2374. package/python/tcl/tcl8.6/tzdata/America/Argentina/San_Juan +69 -0
  2375. package/python/tcl/tcl8.6/tzdata/America/Argentina/San_Luis +68 -0
  2376. package/python/tcl/tcl8.6/tzdata/America/Argentina/Tucuman +69 -0
  2377. package/python/tcl/tcl8.6/tzdata/America/Argentina/Ushuaia +68 -0
  2378. package/python/tcl/tcl8.6/tzdata/America/Aruba +5 -0
  2379. package/python/tcl/tcl8.6/tzdata/America/Asuncion +259 -0
  2380. package/python/tcl/tcl8.6/tzdata/America/Atikokan +5 -0
  2381. package/python/tcl/tcl8.6/tzdata/America/Atka +5 -0
  2382. package/python/tcl/tcl8.6/tzdata/America/Bahia +68 -0
  2383. package/python/tcl/tcl8.6/tzdata/America/Bahia_Banderas +222 -0
  2384. package/python/tcl/tcl8.6/tzdata/America/Barbados +22 -0
  2385. package/python/tcl/tcl8.6/tzdata/America/Belem +35 -0
  2386. package/python/tcl/tcl8.6/tzdata/America/Belize +103 -0
  2387. package/python/tcl/tcl8.6/tzdata/America/Blanc-Sablon +5 -0
  2388. package/python/tcl/tcl8.6/tzdata/America/Boa_Vista +40 -0
  2389. package/python/tcl/tcl8.6/tzdata/America/Bogota +9 -0
  2390. package/python/tcl/tcl8.6/tzdata/America/Boise +281 -0
  2391. package/python/tcl/tcl8.6/tzdata/America/Buenos_Aires +5 -0
  2392. package/python/tcl/tcl8.6/tzdata/America/Cambridge_Bay +252 -0
  2393. package/python/tcl/tcl8.6/tzdata/America/Campo_Grande +96 -0
  2394. package/python/tcl/tcl8.6/tzdata/America/Cancun +47 -0
  2395. package/python/tcl/tcl8.6/tzdata/America/Caracas +10 -0
  2396. package/python/tcl/tcl8.6/tzdata/America/Catamarca +5 -0
  2397. package/python/tcl/tcl8.6/tzdata/America/Cayenne +7 -0
  2398. package/python/tcl/tcl8.6/tzdata/America/Cayman +5 -0
  2399. package/python/tcl/tcl8.6/tzdata/America/Chicago +369 -0
  2400. package/python/tcl/tcl8.6/tzdata/America/Chihuahua +221 -0
  2401. package/python/tcl/tcl8.6/tzdata/America/Coral_Harbour +5 -0
  2402. package/python/tcl/tcl8.6/tzdata/America/Cordoba +5 -0
  2403. package/python/tcl/tcl8.6/tzdata/America/Costa_Rica +15 -0
  2404. package/python/tcl/tcl8.6/tzdata/America/Creston +5 -0
  2405. package/python/tcl/tcl8.6/tzdata/America/Cuiaba +96 -0
  2406. package/python/tcl/tcl8.6/tzdata/America/Curacao +5 -0
  2407. package/python/tcl/tcl8.6/tzdata/America/Danmarkshavn +39 -0
  2408. package/python/tcl/tcl8.6/tzdata/America/Dawson +98 -0
  2409. package/python/tcl/tcl8.6/tzdata/America/Dawson_Creek +64 -0
  2410. package/python/tcl/tcl8.6/tzdata/America/Denver +291 -0
  2411. package/python/tcl/tcl8.6/tzdata/America/Detroit +275 -0
  2412. package/python/tcl/tcl8.6/tzdata/America/Dominica +5 -0
  2413. package/python/tcl/tcl8.6/tzdata/America/Edmonton +280 -0
  2414. package/python/tcl/tcl8.6/tzdata/America/Eirunepe +41 -0
  2415. package/python/tcl/tcl8.6/tzdata/America/El_Salvador +10 -0
  2416. package/python/tcl/tcl8.6/tzdata/America/Ensenada +5 -0
  2417. package/python/tcl/tcl8.6/tzdata/America/Fort_Nelson +151 -0
  2418. package/python/tcl/tcl8.6/tzdata/America/Fort_Wayne +5 -0
  2419. package/python/tcl/tcl8.6/tzdata/America/Fortaleza +48 -0
  2420. package/python/tcl/tcl8.6/tzdata/America/Glace_Bay +273 -0
  2421. package/python/tcl/tcl8.6/tzdata/America/Godthab +5 -0
  2422. package/python/tcl/tcl8.6/tzdata/America/Goose_Bay +338 -0
  2423. package/python/tcl/tcl8.6/tzdata/America/Grand_Turk +245 -0
  2424. package/python/tcl/tcl8.6/tzdata/America/Grenada +5 -0
  2425. package/python/tcl/tcl8.6/tzdata/America/Guadeloupe +5 -0
  2426. package/python/tcl/tcl8.6/tzdata/America/Guatemala +14 -0
  2427. package/python/tcl/tcl8.6/tzdata/America/Guayaquil +9 -0
  2428. package/python/tcl/tcl8.6/tzdata/America/Guyana +9 -0
  2429. package/python/tcl/tcl8.6/tzdata/America/Halifax +361 -0
  2430. package/python/tcl/tcl8.6/tzdata/America/Havana +285 -0
  2431. package/python/tcl/tcl8.6/tzdata/America/Hermosillo +21 -0
  2432. package/python/tcl/tcl8.6/tzdata/America/Indiana/Indianapolis +234 -0
  2433. package/python/tcl/tcl8.6/tzdata/America/Indiana/Knox +285 -0
  2434. package/python/tcl/tcl8.6/tzdata/America/Indiana/Marengo +236 -0
  2435. package/python/tcl/tcl8.6/tzdata/America/Indiana/Petersburg +247 -0
  2436. package/python/tcl/tcl8.6/tzdata/America/Indiana/Tell_City +230 -0
  2437. package/python/tcl/tcl8.6/tzdata/America/Indiana/Vevay +213 -0
  2438. package/python/tcl/tcl8.6/tzdata/America/Indiana/Vincennes +234 -0
  2439. package/python/tcl/tcl8.6/tzdata/America/Indiana/Winamac +240 -0
  2440. package/python/tcl/tcl8.6/tzdata/America/Indianapolis +5 -0
  2441. package/python/tcl/tcl8.6/tzdata/America/Inuvik +249 -0
  2442. package/python/tcl/tcl8.6/tzdata/America/Iqaluit +250 -0
  2443. package/python/tcl/tcl8.6/tzdata/America/Jamaica +29 -0
  2444. package/python/tcl/tcl8.6/tzdata/America/Jujuy +5 -0
  2445. package/python/tcl/tcl8.6/tzdata/America/Juneau +276 -0
  2446. package/python/tcl/tcl8.6/tzdata/America/Kentucky/Louisville +311 -0
  2447. package/python/tcl/tcl8.6/tzdata/America/Kentucky/Monticello +279 -0
  2448. package/python/tcl/tcl8.6/tzdata/America/Knox_IN +5 -0
  2449. package/python/tcl/tcl8.6/tzdata/America/Kralendijk +5 -0
  2450. package/python/tcl/tcl8.6/tzdata/America/La_Paz +8 -0
  2451. package/python/tcl/tcl8.6/tzdata/America/Lima +16 -0
  2452. package/python/tcl/tcl8.6/tzdata/America/Los_Angeles +317 -0
  2453. package/python/tcl/tcl8.6/tzdata/America/Louisville +5 -0
  2454. package/python/tcl/tcl8.6/tzdata/America/Lower_Princes +5 -0
  2455. package/python/tcl/tcl8.6/tzdata/America/Maceio +52 -0
  2456. package/python/tcl/tcl8.6/tzdata/America/Managua +21 -0
  2457. package/python/tcl/tcl8.6/tzdata/America/Manaus +39 -0
  2458. package/python/tcl/tcl8.6/tzdata/America/Marigot +5 -0
  2459. package/python/tcl/tcl8.6/tzdata/America/Martinique +9 -0
  2460. package/python/tcl/tcl8.6/tzdata/America/Matamoros +219 -0
  2461. package/python/tcl/tcl8.6/tzdata/America/Mazatlan +222 -0
  2462. package/python/tcl/tcl8.6/tzdata/America/Mendoza +5 -0
  2463. package/python/tcl/tcl8.6/tzdata/America/Menominee +274 -0
  2464. package/python/tcl/tcl8.6/tzdata/America/Merida +216 -0
  2465. package/python/tcl/tcl8.6/tzdata/America/Metlakatla +213 -0
  2466. package/python/tcl/tcl8.6/tzdata/America/Mexico_City +228 -0
  2467. package/python/tcl/tcl8.6/tzdata/America/Miquelon +234 -0
  2468. package/python/tcl/tcl8.6/tzdata/America/Moncton +342 -0
  2469. package/python/tcl/tcl8.6/tzdata/America/Monterrey +218 -0
  2470. package/python/tcl/tcl8.6/tzdata/America/Montevideo +96 -0
  2471. package/python/tcl/tcl8.6/tzdata/America/Montreal +5 -0
  2472. package/python/tcl/tcl8.6/tzdata/America/Montserrat +5 -0
  2473. package/python/tcl/tcl8.6/tzdata/America/Nassau +5 -0
  2474. package/python/tcl/tcl8.6/tzdata/America/New_York +369 -0
  2475. package/python/tcl/tcl8.6/tzdata/America/Nipigon +264 -0
  2476. package/python/tcl/tcl8.6/tzdata/America/Nome +276 -0
  2477. package/python/tcl/tcl8.6/tzdata/America/Noronha +48 -0
  2478. package/python/tcl/tcl8.6/tzdata/America/North_Dakota/Beulah +279 -0
  2479. package/python/tcl/tcl8.6/tzdata/America/North_Dakota/Center +279 -0
  2480. package/python/tcl/tcl8.6/tzdata/America/North_Dakota/New_Salem +279 -0
  2481. package/python/tcl/tcl8.6/tzdata/America/Nuuk +246 -0
  2482. package/python/tcl/tcl8.6/tzdata/America/Ojinaga +222 -0
  2483. package/python/tcl/tcl8.6/tzdata/America/Panama +7 -0
  2484. package/python/tcl/tcl8.6/tzdata/America/Pangnirtung +252 -0
  2485. package/python/tcl/tcl8.6/tzdata/America/Paramaribo +9 -0
  2486. package/python/tcl/tcl8.6/tzdata/America/Phoenix +17 -0
  2487. package/python/tcl/tcl8.6/tzdata/America/Port-au-Prince +215 -0
  2488. package/python/tcl/tcl8.6/tzdata/America/Port_of_Spain +5 -0
  2489. package/python/tcl/tcl8.6/tzdata/America/Porto_Acre +5 -0
  2490. package/python/tcl/tcl8.6/tzdata/America/Porto_Velho +35 -0
  2491. package/python/tcl/tcl8.6/tzdata/America/Puerto_Rico +10 -0
  2492. package/python/tcl/tcl8.6/tzdata/America/Punta_Arenas +122 -0
  2493. package/python/tcl/tcl8.6/tzdata/America/Rainy_River +264 -0
  2494. package/python/tcl/tcl8.6/tzdata/America/Rankin_Inlet +248 -0
  2495. package/python/tcl/tcl8.6/tzdata/America/Recife +48 -0
  2496. package/python/tcl/tcl8.6/tzdata/America/Regina +58 -0
  2497. package/python/tcl/tcl8.6/tzdata/America/Resolute +248 -0
  2498. package/python/tcl/tcl8.6/tzdata/America/Rio_Branco +37 -0
  2499. package/python/tcl/tcl8.6/tzdata/America/Rosario +5 -0
  2500. package/python/tcl/tcl8.6/tzdata/America/Santa_Isabel +5 -0
  2501. package/python/tcl/tcl8.6/tzdata/America/Santarem +36 -0
  2502. package/python/tcl/tcl8.6/tzdata/America/Santiago +289 -0
  2503. package/python/tcl/tcl8.6/tzdata/America/Santo_Domingo +21 -0
  2504. package/python/tcl/tcl8.6/tzdata/America/Sao_Paulo +97 -0
  2505. package/python/tcl/tcl8.6/tzdata/America/Scoresbysund +246 -0
  2506. package/python/tcl/tcl8.6/tzdata/America/Shiprock +5 -0
  2507. package/python/tcl/tcl8.6/tzdata/America/Sitka +275 -0
  2508. package/python/tcl/tcl8.6/tzdata/America/St_Barthelemy +5 -0
  2509. package/python/tcl/tcl8.6/tzdata/America/St_Johns +372 -0
  2510. package/python/tcl/tcl8.6/tzdata/America/St_Kitts +5 -0
  2511. package/python/tcl/tcl8.6/tzdata/America/St_Lucia +5 -0
  2512. package/python/tcl/tcl8.6/tzdata/America/St_Thomas +5 -0
  2513. package/python/tcl/tcl8.6/tzdata/America/St_Vincent +5 -0
  2514. package/python/tcl/tcl8.6/tzdata/America/Swift_Current +29 -0
  2515. package/python/tcl/tcl8.6/tzdata/America/Tegucigalpa +12 -0
  2516. package/python/tcl/tcl8.6/tzdata/America/Thule +224 -0
  2517. package/python/tcl/tcl8.6/tzdata/America/Thunder_Bay +272 -0
  2518. package/python/tcl/tcl8.6/tzdata/America/Tijuana +285 -0
  2519. package/python/tcl/tcl8.6/tzdata/America/Toronto +365 -0
  2520. package/python/tcl/tcl8.6/tzdata/America/Tortola +5 -0
  2521. package/python/tcl/tcl8.6/tzdata/America/Vancouver +320 -0
  2522. package/python/tcl/tcl8.6/tzdata/America/Virgin +5 -0
  2523. package/python/tcl/tcl8.6/tzdata/America/Whitehorse +98 -0
  2524. package/python/tcl/tcl8.6/tzdata/America/Winnipeg +316 -0
  2525. package/python/tcl/tcl8.6/tzdata/America/Yakutat +276 -0
  2526. package/python/tcl/tcl8.6/tzdata/America/Yellowknife +252 -0
  2527. package/python/tcl/tcl8.6/tzdata/Antarctica/Casey +17 -0
  2528. package/python/tcl/tcl8.6/tzdata/Antarctica/Davis +12 -0
  2529. package/python/tcl/tcl8.6/tzdata/Antarctica/DumontDUrville +5 -0
  2530. package/python/tcl/tcl8.6/tzdata/Antarctica/Macquarie +276 -0
  2531. package/python/tcl/tcl8.6/tzdata/Antarctica/Mawson +7 -0
  2532. package/python/tcl/tcl8.6/tzdata/Antarctica/McMurdo +5 -0
  2533. package/python/tcl/tcl8.6/tzdata/Antarctica/Palmer +87 -0
  2534. package/python/tcl/tcl8.6/tzdata/Antarctica/Rothera +6 -0
  2535. package/python/tcl/tcl8.6/tzdata/Antarctica/South_Pole +5 -0
  2536. package/python/tcl/tcl8.6/tzdata/Antarctica/Syowa +5 -0
  2537. package/python/tcl/tcl8.6/tzdata/Antarctica/Troll +196 -0
  2538. package/python/tcl/tcl8.6/tzdata/Antarctica/Vostok +6 -0
  2539. package/python/tcl/tcl8.6/tzdata/Arctic/Longyearbyen +5 -0
  2540. package/python/tcl/tcl8.6/tzdata/Asia/Aden +5 -0
  2541. package/python/tcl/tcl8.6/tzdata/Asia/Almaty +57 -0
  2542. package/python/tcl/tcl8.6/tzdata/Asia/Amman +246 -0
  2543. package/python/tcl/tcl8.6/tzdata/Asia/Anadyr +72 -0
  2544. package/python/tcl/tcl8.6/tzdata/Asia/Aqtau +58 -0
  2545. package/python/tcl/tcl8.6/tzdata/Asia/Aqtobe +58 -0
  2546. package/python/tcl/tcl8.6/tzdata/Asia/Ashgabat +31 -0
  2547. package/python/tcl/tcl8.6/tzdata/Asia/Ashkhabad +5 -0
  2548. package/python/tcl/tcl8.6/tzdata/Asia/Atyrau +58 -0
  2549. package/python/tcl/tcl8.6/tzdata/Asia/Baghdad +59 -0
  2550. package/python/tcl/tcl8.6/tzdata/Asia/Bahrain +5 -0
  2551. package/python/tcl/tcl8.6/tzdata/Asia/Baku +74 -0
  2552. package/python/tcl/tcl8.6/tzdata/Asia/Bangkok +7 -0
  2553. package/python/tcl/tcl8.6/tzdata/Asia/Barnaul +73 -0
  2554. package/python/tcl/tcl8.6/tzdata/Asia/Beirut +270 -0
  2555. package/python/tcl/tcl8.6/tzdata/Asia/Bishkek +58 -0
  2556. package/python/tcl/tcl8.6/tzdata/Asia/Brunei +7 -0
  2557. package/python/tcl/tcl8.6/tzdata/Asia/Calcutta +5 -0
  2558. package/python/tcl/tcl8.6/tzdata/Asia/Chita +72 -0
  2559. package/python/tcl/tcl8.6/tzdata/Asia/Choibalsan +56 -0
  2560. package/python/tcl/tcl8.6/tzdata/Asia/Chongqing +5 -0
  2561. package/python/tcl/tcl8.6/tzdata/Asia/Chungking +5 -0
  2562. package/python/tcl/tcl8.6/tzdata/Asia/Colombo +13 -0
  2563. package/python/tcl/tcl8.6/tzdata/Asia/Dacca +5 -0
  2564. package/python/tcl/tcl8.6/tzdata/Asia/Damascus +280 -0
  2565. package/python/tcl/tcl8.6/tzdata/Asia/Dhaka +13 -0
  2566. package/python/tcl/tcl8.6/tzdata/Asia/Dili +9 -0
  2567. package/python/tcl/tcl8.6/tzdata/Asia/Dubai +6 -0
  2568. package/python/tcl/tcl8.6/tzdata/Asia/Dushanbe +29 -0
  2569. package/python/tcl/tcl8.6/tzdata/Asia/Famagusta +256 -0
  2570. package/python/tcl/tcl8.6/tzdata/Asia/Gaza +284 -0
  2571. package/python/tcl/tcl8.6/tzdata/Asia/Harbin +5 -0
  2572. package/python/tcl/tcl8.6/tzdata/Asia/Hebron +283 -0
  2573. package/python/tcl/tcl8.6/tzdata/Asia/Ho_Chi_Minh +14 -0
  2574. package/python/tcl/tcl8.6/tzdata/Asia/Hong_Kong +75 -0
  2575. package/python/tcl/tcl8.6/tzdata/Asia/Hovd +55 -0
  2576. package/python/tcl/tcl8.6/tzdata/Asia/Irkutsk +72 -0
  2577. package/python/tcl/tcl8.6/tzdata/Asia/Istanbul +5 -0
  2578. package/python/tcl/tcl8.6/tzdata/Asia/Jakarta +13 -0
  2579. package/python/tcl/tcl8.6/tzdata/Asia/Jayapura +8 -0
  2580. package/python/tcl/tcl8.6/tzdata/Asia/Jerusalem +278 -0
  2581. package/python/tcl/tcl8.6/tzdata/Asia/Kabul +7 -0
  2582. package/python/tcl/tcl8.6/tzdata/Asia/Kamchatka +71 -0
  2583. package/python/tcl/tcl8.6/tzdata/Asia/Karachi +16 -0
  2584. package/python/tcl/tcl8.6/tzdata/Asia/Kashgar +5 -0
  2585. package/python/tcl/tcl8.6/tzdata/Asia/Kathmandu +7 -0
  2586. package/python/tcl/tcl8.6/tzdata/Asia/Katmandu +5 -0
  2587. package/python/tcl/tcl8.6/tzdata/Asia/Khandyga +73 -0
  2588. package/python/tcl/tcl8.6/tzdata/Asia/Kolkata +12 -0
  2589. package/python/tcl/tcl8.6/tzdata/Asia/Krasnoyarsk +71 -0
  2590. package/python/tcl/tcl8.6/tzdata/Asia/Kuala_Lumpur +13 -0
  2591. package/python/tcl/tcl8.6/tzdata/Asia/Kuching +23 -0
  2592. package/python/tcl/tcl8.6/tzdata/Asia/Kuwait +5 -0
  2593. package/python/tcl/tcl8.6/tzdata/Asia/Macao +5 -0
  2594. package/python/tcl/tcl8.6/tzdata/Asia/Macau +76 -0
  2595. package/python/tcl/tcl8.6/tzdata/Asia/Magadan +72 -0
  2596. package/python/tcl/tcl8.6/tzdata/Asia/Makassar +9 -0
  2597. package/python/tcl/tcl8.6/tzdata/Asia/Manila +15 -0
  2598. package/python/tcl/tcl8.6/tzdata/Asia/Muscat +5 -0
  2599. package/python/tcl/tcl8.6/tzdata/Asia/Nicosia +257 -0
  2600. package/python/tcl/tcl8.6/tzdata/Asia/Novokuznetsk +71 -0
  2601. package/python/tcl/tcl8.6/tzdata/Asia/Novosibirsk +73 -0
  2602. package/python/tcl/tcl8.6/tzdata/Asia/Omsk +71 -0
  2603. package/python/tcl/tcl8.6/tzdata/Asia/Oral +58 -0
  2604. package/python/tcl/tcl8.6/tzdata/Asia/Phnom_Penh +5 -0
  2605. package/python/tcl/tcl8.6/tzdata/Asia/Pontianak +13 -0
  2606. package/python/tcl/tcl8.6/tzdata/Asia/Pyongyang +10 -0
  2607. package/python/tcl/tcl8.6/tzdata/Asia/Qatar +7 -0
  2608. package/python/tcl/tcl8.6/tzdata/Asia/Qostanay +58 -0
  2609. package/python/tcl/tcl8.6/tzdata/Asia/Qyzylorda +58 -0
  2610. package/python/tcl/tcl8.6/tzdata/Asia/Rangoon +5 -0
  2611. package/python/tcl/tcl8.6/tzdata/Asia/Riyadh +6 -0
  2612. package/python/tcl/tcl8.6/tzdata/Asia/Saigon +5 -0
  2613. package/python/tcl/tcl8.6/tzdata/Asia/Sakhalin +73 -0
  2614. package/python/tcl/tcl8.6/tzdata/Asia/Samarkand +31 -0
  2615. package/python/tcl/tcl8.6/tzdata/Asia/Seoul +34 -0
  2616. package/python/tcl/tcl8.6/tzdata/Asia/Shanghai +34 -0
  2617. package/python/tcl/tcl8.6/tzdata/Asia/Singapore +13 -0
  2618. package/python/tcl/tcl8.6/tzdata/Asia/Srednekolymsk +71 -0
  2619. package/python/tcl/tcl8.6/tzdata/Asia/Taipei +46 -0
  2620. package/python/tcl/tcl8.6/tzdata/Asia/Tashkent +31 -0
  2621. package/python/tcl/tcl8.6/tzdata/Asia/Tbilisi +60 -0
  2622. package/python/tcl/tcl8.6/tzdata/Asia/Tehran +229 -0
  2623. package/python/tcl/tcl8.6/tzdata/Asia/Tel_Aviv +5 -0
  2624. package/python/tcl/tcl8.6/tzdata/Asia/Thimbu +5 -0
  2625. package/python/tcl/tcl8.6/tzdata/Asia/Thimphu +7 -0
  2626. package/python/tcl/tcl8.6/tzdata/Asia/Tokyo +14 -0
  2627. package/python/tcl/tcl8.6/tzdata/Asia/Tomsk +73 -0
  2628. package/python/tcl/tcl8.6/tzdata/Asia/Ujung_Pandang +5 -0
  2629. package/python/tcl/tcl8.6/tzdata/Asia/Ulaanbaatar +55 -0
  2630. package/python/tcl/tcl8.6/tzdata/Asia/Ulan_Bator +5 -0
  2631. package/python/tcl/tcl8.6/tzdata/Asia/Urumqi +6 -0
  2632. package/python/tcl/tcl8.6/tzdata/Asia/Ust-Nera +71 -0
  2633. package/python/tcl/tcl8.6/tzdata/Asia/Vientiane +5 -0
  2634. package/python/tcl/tcl8.6/tzdata/Asia/Vladivostok +71 -0
  2635. package/python/tcl/tcl8.6/tzdata/Asia/Yakutsk +71 -0
  2636. package/python/tcl/tcl8.6/tzdata/Asia/Yangon +9 -0
  2637. package/python/tcl/tcl8.6/tzdata/Asia/Yekaterinburg +72 -0
  2638. package/python/tcl/tcl8.6/tzdata/Asia/Yerevan +70 -0
  2639. package/python/tcl/tcl8.6/tzdata/Atlantic/Azores +347 -0
  2640. package/python/tcl/tcl8.6/tzdata/Atlantic/Bermuda +286 -0
  2641. package/python/tcl/tcl8.6/tzdata/Atlantic/Canary +247 -0
  2642. package/python/tcl/tcl8.6/tzdata/Atlantic/Cape_Verde +9 -0
  2643. package/python/tcl/tcl8.6/tzdata/Atlantic/Faeroe +5 -0
  2644. package/python/tcl/tcl8.6/tzdata/Atlantic/Faroe +245 -0
  2645. package/python/tcl/tcl8.6/tzdata/Atlantic/Jan_Mayen +5 -0
  2646. package/python/tcl/tcl8.6/tzdata/Atlantic/Madeira +348 -0
  2647. package/python/tcl/tcl8.6/tzdata/Atlantic/Reykjavik +73 -0
  2648. package/python/tcl/tcl8.6/tzdata/Atlantic/South_Georgia +6 -0
  2649. package/python/tcl/tcl8.6/tzdata/Atlantic/St_Helena +5 -0
  2650. package/python/tcl/tcl8.6/tzdata/Atlantic/Stanley +75 -0
  2651. package/python/tcl/tcl8.6/tzdata/Australia/ACT +5 -0
  2652. package/python/tcl/tcl8.6/tzdata/Australia/Adelaide +273 -0
  2653. package/python/tcl/tcl8.6/tzdata/Australia/Brisbane +23 -0
  2654. package/python/tcl/tcl8.6/tzdata/Australia/Broken_Hill +275 -0
  2655. package/python/tcl/tcl8.6/tzdata/Australia/Canberra +5 -0
  2656. package/python/tcl/tcl8.6/tzdata/Australia/Currie +5 -0
  2657. package/python/tcl/tcl8.6/tzdata/Australia/Darwin +15 -0
  2658. package/python/tcl/tcl8.6/tzdata/Australia/Eucla +25 -0
  2659. package/python/tcl/tcl8.6/tzdata/Australia/Hobart +285 -0
  2660. package/python/tcl/tcl8.6/tzdata/Australia/LHI +5 -0
  2661. package/python/tcl/tcl8.6/tzdata/Australia/Lindeman +28 -0
  2662. package/python/tcl/tcl8.6/tzdata/Australia/Lord_Howe +245 -0
  2663. package/python/tcl/tcl8.6/tzdata/Australia/Melbourne +272 -0
  2664. package/python/tcl/tcl8.6/tzdata/Australia/NSW +5 -0
  2665. package/python/tcl/tcl8.6/tzdata/Australia/North +5 -0
  2666. package/python/tcl/tcl8.6/tzdata/Australia/Perth +25 -0
  2667. package/python/tcl/tcl8.6/tzdata/Australia/Queensland +5 -0
  2668. package/python/tcl/tcl8.6/tzdata/Australia/South +5 -0
  2669. package/python/tcl/tcl8.6/tzdata/Australia/Sydney +272 -0
  2670. package/python/tcl/tcl8.6/tzdata/Australia/Tasmania +5 -0
  2671. package/python/tcl/tcl8.6/tzdata/Australia/Victoria +5 -0
  2672. package/python/tcl/tcl8.6/tzdata/Australia/West +5 -0
  2673. package/python/tcl/tcl8.6/tzdata/Australia/Yancowinna +5 -0
  2674. package/python/tcl/tcl8.6/tzdata/Brazil/Acre +5 -0
  2675. package/python/tcl/tcl8.6/tzdata/Brazil/DeNoronha +5 -0
  2676. package/python/tcl/tcl8.6/tzdata/Brazil/East +5 -0
  2677. package/python/tcl/tcl8.6/tzdata/Brazil/West +5 -0
  2678. package/python/tcl/tcl8.6/tzdata/CET +265 -0
  2679. package/python/tcl/tcl8.6/tzdata/CST6CDT +278 -0
  2680. package/python/tcl/tcl8.6/tzdata/Canada/Atlantic +5 -0
  2681. package/python/tcl/tcl8.6/tzdata/Canada/Central +5 -0
  2682. package/python/tcl/tcl8.6/tzdata/Canada/East-Saskatchewan +5 -0
  2683. package/python/tcl/tcl8.6/tzdata/Canada/Eastern +5 -0
  2684. package/python/tcl/tcl8.6/tzdata/Canada/Mountain +5 -0
  2685. package/python/tcl/tcl8.6/tzdata/Canada/Newfoundland +5 -0
  2686. package/python/tcl/tcl8.6/tzdata/Canada/Pacific +5 -0
  2687. package/python/tcl/tcl8.6/tzdata/Canada/Saskatchewan +5 -0
  2688. package/python/tcl/tcl8.6/tzdata/Canada/Yukon +5 -0
  2689. package/python/tcl/tcl8.6/tzdata/Chile/Continental +5 -0
  2690. package/python/tcl/tcl8.6/tzdata/Chile/EasterIsland +5 -0
  2691. package/python/tcl/tcl8.6/tzdata/Cuba +5 -0
  2692. package/python/tcl/tcl8.6/tzdata/EET +251 -0
  2693. package/python/tcl/tcl8.6/tzdata/EST +5 -0
  2694. package/python/tcl/tcl8.6/tzdata/EST5EDT +278 -0
  2695. package/python/tcl/tcl8.6/tzdata/Egypt +5 -0
  2696. package/python/tcl/tcl8.6/tzdata/Eire +5 -0
  2697. package/python/tcl/tcl8.6/tzdata/Etc/GMT +5 -0
  2698. package/python/tcl/tcl8.6/tzdata/Etc/GMT+0 +5 -0
  2699. package/python/tcl/tcl8.6/tzdata/Etc/GMT+1 +5 -0
  2700. package/python/tcl/tcl8.6/tzdata/Etc/GMT+10 +5 -0
  2701. package/python/tcl/tcl8.6/tzdata/Etc/GMT+11 +5 -0
  2702. package/python/tcl/tcl8.6/tzdata/Etc/GMT+12 +5 -0
  2703. package/python/tcl/tcl8.6/tzdata/Etc/GMT+2 +5 -0
  2704. package/python/tcl/tcl8.6/tzdata/Etc/GMT+3 +5 -0
  2705. package/python/tcl/tcl8.6/tzdata/Etc/GMT+4 +5 -0
  2706. package/python/tcl/tcl8.6/tzdata/Etc/GMT+5 +5 -0
  2707. package/python/tcl/tcl8.6/tzdata/Etc/GMT+6 +5 -0
  2708. package/python/tcl/tcl8.6/tzdata/Etc/GMT+7 +5 -0
  2709. package/python/tcl/tcl8.6/tzdata/Etc/GMT+8 +5 -0
  2710. package/python/tcl/tcl8.6/tzdata/Etc/GMT+9 +5 -0
  2711. package/python/tcl/tcl8.6/tzdata/Etc/GMT-0 +5 -0
  2712. package/python/tcl/tcl8.6/tzdata/Etc/GMT-1 +5 -0
  2713. package/python/tcl/tcl8.6/tzdata/Etc/GMT-10 +5 -0
  2714. package/python/tcl/tcl8.6/tzdata/Etc/GMT-11 +5 -0
  2715. package/python/tcl/tcl8.6/tzdata/Etc/GMT-12 +5 -0
  2716. package/python/tcl/tcl8.6/tzdata/Etc/GMT-13 +5 -0
  2717. package/python/tcl/tcl8.6/tzdata/Etc/GMT-14 +5 -0
  2718. package/python/tcl/tcl8.6/tzdata/Etc/GMT-2 +5 -0
  2719. package/python/tcl/tcl8.6/tzdata/Etc/GMT-3 +5 -0
  2720. package/python/tcl/tcl8.6/tzdata/Etc/GMT-4 +5 -0
  2721. package/python/tcl/tcl8.6/tzdata/Etc/GMT-5 +5 -0
  2722. package/python/tcl/tcl8.6/tzdata/Etc/GMT-6 +5 -0
  2723. package/python/tcl/tcl8.6/tzdata/Etc/GMT-7 +5 -0
  2724. package/python/tcl/tcl8.6/tzdata/Etc/GMT-8 +5 -0
  2725. package/python/tcl/tcl8.6/tzdata/Etc/GMT-9 +5 -0
  2726. package/python/tcl/tcl8.6/tzdata/Etc/GMT0 +5 -0
  2727. package/python/tcl/tcl8.6/tzdata/Etc/Greenwich +5 -0
  2728. package/python/tcl/tcl8.6/tzdata/Etc/UCT +5 -0
  2729. package/python/tcl/tcl8.6/tzdata/Etc/UTC +5 -0
  2730. package/python/tcl/tcl8.6/tzdata/Etc/Universal +5 -0
  2731. package/python/tcl/tcl8.6/tzdata/Etc/Zulu +5 -0
  2732. package/python/tcl/tcl8.6/tzdata/Europe/Amsterdam +310 -0
  2733. package/python/tcl/tcl8.6/tzdata/Europe/Andorra +237 -0
  2734. package/python/tcl/tcl8.6/tzdata/Europe/Astrakhan +71 -0
  2735. package/python/tcl/tcl8.6/tzdata/Europe/Athens +268 -0
  2736. package/python/tcl/tcl8.6/tzdata/Europe/Belfast +5 -0
  2737. package/python/tcl/tcl8.6/tzdata/Europe/Belgrade +250 -0
  2738. package/python/tcl/tcl8.6/tzdata/Europe/Berlin +274 -0
  2739. package/python/tcl/tcl8.6/tzdata/Europe/Bratislava +5 -0
  2740. package/python/tcl/tcl8.6/tzdata/Europe/Brussels +316 -0
  2741. package/python/tcl/tcl8.6/tzdata/Europe/Bucharest +268 -0
  2742. package/python/tcl/tcl8.6/tzdata/Europe/Budapest +283 -0
  2743. package/python/tcl/tcl8.6/tzdata/Europe/Busingen +5 -0
  2744. package/python/tcl/tcl8.6/tzdata/Europe/Chisinau +272 -0
  2745. package/python/tcl/tcl8.6/tzdata/Europe/Copenhagen +264 -0
  2746. package/python/tcl/tcl8.6/tzdata/Europe/Dublin +358 -0
  2747. package/python/tcl/tcl8.6/tzdata/Europe/Gibraltar +328 -0
  2748. package/python/tcl/tcl8.6/tzdata/Europe/Guernsey +5 -0
  2749. package/python/tcl/tcl8.6/tzdata/Europe/Helsinki +248 -0
  2750. package/python/tcl/tcl8.6/tzdata/Europe/Isle_of_Man +5 -0
  2751. package/python/tcl/tcl8.6/tzdata/Europe/Istanbul +125 -0
  2752. package/python/tcl/tcl8.6/tzdata/Europe/Jersey +5 -0
  2753. package/python/tcl/tcl8.6/tzdata/Europe/Kaliningrad +86 -0
  2754. package/python/tcl/tcl8.6/tzdata/Europe/Kiev +251 -0
  2755. package/python/tcl/tcl8.6/tzdata/Europe/Kirov +70 -0
  2756. package/python/tcl/tcl8.6/tzdata/Europe/Lisbon +353 -0
  2757. package/python/tcl/tcl8.6/tzdata/Europe/Ljubljana +5 -0
  2758. package/python/tcl/tcl8.6/tzdata/Europe/London +372 -0
  2759. package/python/tcl/tcl8.6/tzdata/Europe/Luxembourg +313 -0
  2760. package/python/tcl/tcl8.6/tzdata/Europe/Madrid +292 -0
  2761. package/python/tcl/tcl8.6/tzdata/Europe/Malta +299 -0
  2762. package/python/tcl/tcl8.6/tzdata/Europe/Mariehamn +5 -0
  2763. package/python/tcl/tcl8.6/tzdata/Europe/Minsk +75 -0
  2764. package/python/tcl/tcl8.6/tzdata/Europe/Monaco +315 -0
  2765. package/python/tcl/tcl8.6/tzdata/Europe/Moscow +83 -0
  2766. package/python/tcl/tcl8.6/tzdata/Europe/Nicosia +5 -0
  2767. package/python/tcl/tcl8.6/tzdata/Europe/Oslo +271 -0
  2768. package/python/tcl/tcl8.6/tzdata/Europe/Paris +314 -0
  2769. package/python/tcl/tcl8.6/tzdata/Europe/Podgorica +5 -0
  2770. package/python/tcl/tcl8.6/tzdata/Europe/Prague +275 -0
  2771. package/python/tcl/tcl8.6/tzdata/Europe/Riga +258 -0
  2772. package/python/tcl/tcl8.6/tzdata/Europe/Rome +302 -0
  2773. package/python/tcl/tcl8.6/tzdata/Europe/Samara +73 -0
  2774. package/python/tcl/tcl8.6/tzdata/Europe/San_Marino +5 -0
  2775. package/python/tcl/tcl8.6/tzdata/Europe/Sarajevo +5 -0
  2776. package/python/tcl/tcl8.6/tzdata/Europe/Saratov +71 -0
  2777. package/python/tcl/tcl8.6/tzdata/Europe/Simferopol +82 -0
  2778. package/python/tcl/tcl8.6/tzdata/Europe/Skopje +5 -0
  2779. package/python/tcl/tcl8.6/tzdata/Europe/Sofia +258 -0
  2780. package/python/tcl/tcl8.6/tzdata/Europe/Stockholm +250 -0
  2781. package/python/tcl/tcl8.6/tzdata/Europe/Tallinn +254 -0
  2782. package/python/tcl/tcl8.6/tzdata/Europe/Tirane +263 -0
  2783. package/python/tcl/tcl8.6/tzdata/Europe/Tiraspol +5 -0
  2784. package/python/tcl/tcl8.6/tzdata/Europe/Ulyanovsk +73 -0
  2785. package/python/tcl/tcl8.6/tzdata/Europe/Uzhgorod +254 -0
  2786. package/python/tcl/tcl8.6/tzdata/Europe/Vaduz +5 -0
  2787. package/python/tcl/tcl8.6/tzdata/Europe/Vatican +5 -0
  2788. package/python/tcl/tcl8.6/tzdata/Europe/Vienna +271 -0
  2789. package/python/tcl/tcl8.6/tzdata/Europe/Vilnius +252 -0
  2790. package/python/tcl/tcl8.6/tzdata/Europe/Volgograd +73 -0
  2791. package/python/tcl/tcl8.6/tzdata/Europe/Warsaw +296 -0
  2792. package/python/tcl/tcl8.6/tzdata/Europe/Zagreb +5 -0
  2793. package/python/tcl/tcl8.6/tzdata/Europe/Zaporozhye +252 -0
  2794. package/python/tcl/tcl8.6/tzdata/Europe/Zurich +250 -0
  2795. package/python/tcl/tcl8.6/tzdata/GB +5 -0
  2796. package/python/tcl/tcl8.6/tzdata/GB-Eire +5 -0
  2797. package/python/tcl/tcl8.6/tzdata/GMT +5 -0
  2798. package/python/tcl/tcl8.6/tzdata/GMT+0 +5 -0
  2799. package/python/tcl/tcl8.6/tzdata/GMT-0 +5 -0
  2800. package/python/tcl/tcl8.6/tzdata/GMT0 +5 -0
  2801. package/python/tcl/tcl8.6/tzdata/Greenwich +5 -0
  2802. package/python/tcl/tcl8.6/tzdata/HST +5 -0
  2803. package/python/tcl/tcl8.6/tzdata/Hongkong +5 -0
  2804. package/python/tcl/tcl8.6/tzdata/Iceland +5 -0
  2805. package/python/tcl/tcl8.6/tzdata/Indian/Antananarivo +5 -0
  2806. package/python/tcl/tcl8.6/tzdata/Indian/Chagos +7 -0
  2807. package/python/tcl/tcl8.6/tzdata/Indian/Christmas +6 -0
  2808. package/python/tcl/tcl8.6/tzdata/Indian/Cocos +6 -0
  2809. package/python/tcl/tcl8.6/tzdata/Indian/Comoro +5 -0
  2810. package/python/tcl/tcl8.6/tzdata/Indian/Kerguelen +6 -0
  2811. package/python/tcl/tcl8.6/tzdata/Indian/Mahe +6 -0
  2812. package/python/tcl/tcl8.6/tzdata/Indian/Maldives +7 -0
  2813. package/python/tcl/tcl8.6/tzdata/Indian/Mauritius +10 -0
  2814. package/python/tcl/tcl8.6/tzdata/Indian/Mayotte +5 -0
  2815. package/python/tcl/tcl8.6/tzdata/Indian/Reunion +6 -0
  2816. package/python/tcl/tcl8.6/tzdata/Iran +5 -0
  2817. package/python/tcl/tcl8.6/tzdata/Israel +5 -0
  2818. package/python/tcl/tcl8.6/tzdata/Jamaica +5 -0
  2819. package/python/tcl/tcl8.6/tzdata/Japan +5 -0
  2820. package/python/tcl/tcl8.6/tzdata/Kwajalein +5 -0
  2821. package/python/tcl/tcl8.6/tzdata/Libya +5 -0
  2822. package/python/tcl/tcl8.6/tzdata/MET +265 -0
  2823. package/python/tcl/tcl8.6/tzdata/MST +5 -0
  2824. package/python/tcl/tcl8.6/tzdata/MST7MDT +278 -0
  2825. package/python/tcl/tcl8.6/tzdata/Mexico/BajaNorte +5 -0
  2826. package/python/tcl/tcl8.6/tzdata/Mexico/BajaSur +5 -0
  2827. package/python/tcl/tcl8.6/tzdata/Mexico/General +5 -0
  2828. package/python/tcl/tcl8.6/tzdata/NZ +5 -0
  2829. package/python/tcl/tcl8.6/tzdata/NZ-CHAT +5 -0
  2830. package/python/tcl/tcl8.6/tzdata/Navajo +5 -0
  2831. package/python/tcl/tcl8.6/tzdata/PRC +5 -0
  2832. package/python/tcl/tcl8.6/tzdata/PST8PDT +278 -0
  2833. package/python/tcl/tcl8.6/tzdata/Pacific/Apia +31 -0
  2834. package/python/tcl/tcl8.6/tzdata/Pacific/Auckland +285 -0
  2835. package/python/tcl/tcl8.6/tzdata/Pacific/Bougainville +10 -0
  2836. package/python/tcl/tcl8.6/tzdata/Pacific/Chatham +258 -0
  2837. package/python/tcl/tcl8.6/tzdata/Pacific/Chuuk +11 -0
  2838. package/python/tcl/tcl8.6/tzdata/Pacific/Easter +268 -0
  2839. package/python/tcl/tcl8.6/tzdata/Pacific/Efate +28 -0
  2840. package/python/tcl/tcl8.6/tzdata/Pacific/Enderbury +5 -0
  2841. package/python/tcl/tcl8.6/tzdata/Pacific/Fakaofo +7 -0
  2842. package/python/tcl/tcl8.6/tzdata/Pacific/Fiji +189 -0
  2843. package/python/tcl/tcl8.6/tzdata/Pacific/Funafuti +6 -0
  2844. package/python/tcl/tcl8.6/tzdata/Pacific/Galapagos +9 -0
  2845. package/python/tcl/tcl8.6/tzdata/Pacific/Gambier +6 -0
  2846. package/python/tcl/tcl8.6/tzdata/Pacific/Guadalcanal +6 -0
  2847. package/python/tcl/tcl8.6/tzdata/Pacific/Guam +26 -0
  2848. package/python/tcl/tcl8.6/tzdata/Pacific/Honolulu +12 -0
  2849. package/python/tcl/tcl8.6/tzdata/Pacific/Johnston +5 -0
  2850. package/python/tcl/tcl8.6/tzdata/Pacific/Kanton +8 -0
  2851. package/python/tcl/tcl8.6/tzdata/Pacific/Kiritimati +8 -0
  2852. package/python/tcl/tcl8.6/tzdata/Pacific/Kosrae +14 -0
  2853. package/python/tcl/tcl8.6/tzdata/Pacific/Kwajalein +11 -0
  2854. package/python/tcl/tcl8.6/tzdata/Pacific/Majuro +12 -0
  2855. package/python/tcl/tcl8.6/tzdata/Pacific/Marquesas +6 -0
  2856. package/python/tcl/tcl8.6/tzdata/Pacific/Midway +5 -0
  2857. package/python/tcl/tcl8.6/tzdata/Pacific/Nauru +9 -0
  2858. package/python/tcl/tcl8.6/tzdata/Pacific/Niue +7 -0
  2859. package/python/tcl/tcl8.6/tzdata/Pacific/Norfolk +172 -0
  2860. package/python/tcl/tcl8.6/tzdata/Pacific/Noumea +12 -0
  2861. package/python/tcl/tcl8.6/tzdata/Pacific/Pago_Pago +7 -0
  2862. package/python/tcl/tcl8.6/tzdata/Pacific/Palau +7 -0
  2863. package/python/tcl/tcl8.6/tzdata/Pacific/Pitcairn +7 -0
  2864. package/python/tcl/tcl8.6/tzdata/Pacific/Pohnpei +12 -0
  2865. package/python/tcl/tcl8.6/tzdata/Pacific/Ponape +5 -0
  2866. package/python/tcl/tcl8.6/tzdata/Pacific/Port_Moresby +7 -0
  2867. package/python/tcl/tcl8.6/tzdata/Pacific/Rarotonga +33 -0
  2868. package/python/tcl/tcl8.6/tzdata/Pacific/Saipan +5 -0
  2869. package/python/tcl/tcl8.6/tzdata/Pacific/Samoa +5 -0
  2870. package/python/tcl/tcl8.6/tzdata/Pacific/Tahiti +6 -0
  2871. package/python/tcl/tcl8.6/tzdata/Pacific/Tarawa +6 -0
  2872. package/python/tcl/tcl8.6/tzdata/Pacific/Tongatapu +16 -0
  2873. package/python/tcl/tcl8.6/tzdata/Pacific/Truk +5 -0
  2874. package/python/tcl/tcl8.6/tzdata/Pacific/Wake +6 -0
  2875. package/python/tcl/tcl8.6/tzdata/Pacific/Wallis +6 -0
  2876. package/python/tcl/tcl8.6/tzdata/Pacific/Yap +5 -0
  2877. package/python/tcl/tcl8.6/tzdata/Poland +5 -0
  2878. package/python/tcl/tcl8.6/tzdata/Portugal +5 -0
  2879. package/python/tcl/tcl8.6/tzdata/ROC +5 -0
  2880. package/python/tcl/tcl8.6/tzdata/ROK +5 -0
  2881. package/python/tcl/tcl8.6/tzdata/Singapore +5 -0
  2882. package/python/tcl/tcl8.6/tzdata/SystemV/AST4 +5 -0
  2883. package/python/tcl/tcl8.6/tzdata/SystemV/AST4ADT +5 -0
  2884. package/python/tcl/tcl8.6/tzdata/SystemV/CST6 +5 -0
  2885. package/python/tcl/tcl8.6/tzdata/SystemV/CST6CDT +5 -0
  2886. package/python/tcl/tcl8.6/tzdata/SystemV/EST5 +5 -0
  2887. package/python/tcl/tcl8.6/tzdata/SystemV/EST5EDT +5 -0
  2888. package/python/tcl/tcl8.6/tzdata/SystemV/HST10 +5 -0
  2889. package/python/tcl/tcl8.6/tzdata/SystemV/MST7 +5 -0
  2890. package/python/tcl/tcl8.6/tzdata/SystemV/MST7MDT +5 -0
  2891. package/python/tcl/tcl8.6/tzdata/SystemV/PST8 +5 -0
  2892. package/python/tcl/tcl8.6/tzdata/SystemV/PST8PDT +5 -0
  2893. package/python/tcl/tcl8.6/tzdata/SystemV/YST9 +5 -0
  2894. package/python/tcl/tcl8.6/tzdata/SystemV/YST9YDT +5 -0
  2895. package/python/tcl/tcl8.6/tzdata/Turkey +5 -0
  2896. package/python/tcl/tcl8.6/tzdata/UCT +5 -0
  2897. package/python/tcl/tcl8.6/tzdata/US/Alaska +5 -0
  2898. package/python/tcl/tcl8.6/tzdata/US/Aleutian +5 -0
  2899. package/python/tcl/tcl8.6/tzdata/US/Arizona +5 -0
  2900. package/python/tcl/tcl8.6/tzdata/US/Central +5 -0
  2901. package/python/tcl/tcl8.6/tzdata/US/East-Indiana +5 -0
  2902. package/python/tcl/tcl8.6/tzdata/US/Eastern +5 -0
  2903. package/python/tcl/tcl8.6/tzdata/US/Hawaii +5 -0
  2904. package/python/tcl/tcl8.6/tzdata/US/Indiana-Starke +5 -0
  2905. package/python/tcl/tcl8.6/tzdata/US/Michigan +5 -0
  2906. package/python/tcl/tcl8.6/tzdata/US/Mountain +5 -0
  2907. package/python/tcl/tcl8.6/tzdata/US/Pacific +5 -0
  2908. package/python/tcl/tcl8.6/tzdata/US/Pacific-New +5 -0
  2909. package/python/tcl/tcl8.6/tzdata/US/Samoa +5 -0
  2910. package/python/tcl/tcl8.6/tzdata/UTC +5 -0
  2911. package/python/tcl/tcl8.6/tzdata/Universal +5 -0
  2912. package/python/tcl/tcl8.6/tzdata/W-SU +5 -0
  2913. package/python/tcl/tcl8.6/tzdata/WET +251 -0
  2914. package/python/tcl/tcl8.6/tzdata/Zulu +5 -0
  2915. package/python/tcl/tcl8.6/word.tcl +154 -0
  2916. package/python/tcl/tcl86t.lib +0 -0
  2917. package/python/tcl/tclConfig.sh +181 -0
  2918. package/python/tcl/tclooConfig.sh +19 -0
  2919. package/python/tcl/tclstub86.lib +0 -0
  2920. package/python/tcl/tix8.4.3/Balloon.tcl +585 -0
  2921. package/python/tcl/tix8.4.3/BtnBox.tcl +120 -0
  2922. package/python/tcl/tix8.4.3/CObjView.tcl +360 -0
  2923. package/python/tcl/tix8.4.3/ChkList.tcl +239 -0
  2924. package/python/tcl/tix8.4.3/ComboBox.tcl +1558 -0
  2925. package/python/tcl/tix8.4.3/Compat.tcl +33 -0
  2926. package/python/tcl/tix8.4.3/Console.tcl +612 -0
  2927. package/python/tcl/tix8.4.3/Control.tcl +482 -0
  2928. package/python/tcl/tix8.4.3/DefSchm.tcl +103 -0
  2929. package/python/tcl/tix8.4.3/DialogS.tcl +175 -0
  2930. package/python/tcl/tix8.4.3/DirBox.tcl +207 -0
  2931. package/python/tcl/tix8.4.3/DirDlg.tcl +95 -0
  2932. package/python/tcl/tix8.4.3/DirList.tcl +272 -0
  2933. package/python/tcl/tix8.4.3/DirTree.tcl +350 -0
  2934. package/python/tcl/tix8.4.3/DragDrop.tcl +166 -0
  2935. package/python/tcl/tix8.4.3/DtlList.tcl +49 -0
  2936. package/python/tcl/tix8.4.3/EFileBox.tcl +436 -0
  2937. package/python/tcl/tix8.4.3/EFileDlg.tcl +65 -0
  2938. package/python/tcl/tix8.4.3/Event.tcl +217 -0
  2939. package/python/tcl/tix8.4.3/FileBox.tcl +568 -0
  2940. package/python/tcl/tix8.4.3/FileCbx.tcl +108 -0
  2941. package/python/tcl/tix8.4.3/FileDlg.tcl +75 -0
  2942. package/python/tcl/tix8.4.3/FileEnt.tcl +270 -0
  2943. package/python/tcl/tix8.4.3/FloatEnt.tcl +132 -0
  2944. package/python/tcl/tix8.4.3/Grid.tcl +1122 -0
  2945. package/python/tcl/tix8.4.3/HList.tcl +917 -0
  2946. package/python/tcl/tix8.4.3/HListDD.tcl +204 -0
  2947. package/python/tcl/tix8.4.3/IconView.tcl +272 -0
  2948. package/python/tcl/tix8.4.3/Init.tcl +232 -0
  2949. package/python/tcl/tix8.4.3/LabEntry.tcl +86 -0
  2950. package/python/tcl/tix8.4.3/LabFrame.tcl +49 -0
  2951. package/python/tcl/tix8.4.3/LabWidg.tcl +157 -0
  2952. package/python/tcl/tix8.4.3/ListNBk.tcl +153 -0
  2953. package/python/tcl/tix8.4.3/Makefile +5 -0
  2954. package/python/tcl/tix8.4.3/Meter.tcl +137 -0
  2955. package/python/tcl/tix8.4.3/MultView.tcl +157 -0
  2956. package/python/tcl/tix8.4.3/NoteBook.tcl +247 -0
  2957. package/python/tcl/tix8.4.3/OldUtil.tcl +108 -0
  2958. package/python/tcl/tix8.4.3/OptMenu.tcl +394 -0
  2959. package/python/tcl/tix8.4.3/PanedWin.tcl +1215 -0
  2960. package/python/tcl/tix8.4.3/PopMenu.tcl +239 -0
  2961. package/python/tcl/tix8.4.3/Primitiv.tcl +428 -0
  2962. package/python/tcl/tix8.4.3/ResizeH.tcl +505 -0
  2963. package/python/tcl/tix8.4.3/SGrid.tcl +243 -0
  2964. package/python/tcl/tix8.4.3/SHList.tcl +140 -0
  2965. package/python/tcl/tix8.4.3/SListBox.tcl +295 -0
  2966. package/python/tcl/tix8.4.3/STList.tcl +93 -0
  2967. package/python/tcl/tix8.4.3/SText.tcl +134 -0
  2968. package/python/tcl/tix8.4.3/SWidget.tcl +465 -0
  2969. package/python/tcl/tix8.4.3/SWindow.tcl +274 -0
  2970. package/python/tcl/tix8.4.3/Select.tcl +300 -0
  2971. package/python/tcl/tix8.4.3/Shell.tcl +47 -0
  2972. package/python/tcl/tix8.4.3/SimpDlg.tcl +47 -0
  2973. package/python/tcl/tix8.4.3/StackWin.tcl +84 -0
  2974. package/python/tcl/tix8.4.3/StatBar.tcl +56 -0
  2975. package/python/tcl/tix8.4.3/StdBBox.tcl +71 -0
  2976. package/python/tcl/tix8.4.3/StdShell.tcl +49 -0
  2977. package/python/tcl/tix8.4.3/TList.tcl +953 -0
  2978. package/python/tcl/tix8.4.3/Tix.tcl +398 -0
  2979. package/python/tcl/tix8.4.3/Tree.tcl +211 -0
  2980. package/python/tcl/tix8.4.3/Utils.tcl +442 -0
  2981. package/python/tcl/tix8.4.3/VResize.tcl +211 -0
  2982. package/python/tcl/tix8.4.3/VStack.tcl +430 -0
  2983. package/python/tcl/tix8.4.3/VTree.tcl +195 -0
  2984. package/python/tcl/tix8.4.3/Variable.tcl +101 -0
  2985. package/python/tcl/tix8.4.3/WInfo.tcl +40 -0
  2986. package/python/tcl/tix8.4.3/bitmaps/act_fold.gif +0 -0
  2987. package/python/tcl/tix8.4.3/bitmaps/act_fold.xbm +5 -0
  2988. package/python/tcl/tix8.4.3/bitmaps/act_fold.xpm +22 -0
  2989. package/python/tcl/tix8.4.3/bitmaps/balarrow.xbm +4 -0
  2990. package/python/tcl/tix8.4.3/bitmaps/cbxarrow.xbm +6 -0
  2991. package/python/tcl/tix8.4.3/bitmaps/ck_def.xbm +6 -0
  2992. package/python/tcl/tix8.4.3/bitmaps/ck_off.xbm +6 -0
  2993. package/python/tcl/tix8.4.3/bitmaps/ck_on.xbm +6 -0
  2994. package/python/tcl/tix8.4.3/bitmaps/cross.xbm +6 -0
  2995. package/python/tcl/tix8.4.3/bitmaps/decr.xbm +4 -0
  2996. package/python/tcl/tix8.4.3/bitmaps/drop.xbm +8 -0
  2997. package/python/tcl/tix8.4.3/bitmaps/file.gif +0 -0
  2998. package/python/tcl/tix8.4.3/bitmaps/file.xbm +5 -0
  2999. package/python/tcl/tix8.4.3/bitmaps/file.xpm +18 -0
  3000. package/python/tcl/tix8.4.3/bitmaps/folder.gif +0 -0
  3001. package/python/tcl/tix8.4.3/bitmaps/folder.xbm +5 -0
  3002. package/python/tcl/tix8.4.3/bitmaps/folder.xpm +21 -0
  3003. package/python/tcl/tix8.4.3/bitmaps/harddisk.xbm +14 -0
  3004. package/python/tcl/tix8.4.3/bitmaps/hourglas.mask +16 -0
  3005. package/python/tcl/tix8.4.3/bitmaps/hourglas.xbm +16 -0
  3006. package/python/tcl/tix8.4.3/bitmaps/incr.xbm +4 -0
  3007. package/python/tcl/tix8.4.3/bitmaps/info.gif +0 -0
  3008. package/python/tcl/tix8.4.3/bitmaps/info.xpm +38 -0
  3009. package/python/tcl/tix8.4.3/bitmaps/maximize.xbm +6 -0
  3010. package/python/tcl/tix8.4.3/bitmaps/minimize.xbm +6 -0
  3011. package/python/tcl/tix8.4.3/bitmaps/minus.gif +0 -0
  3012. package/python/tcl/tix8.4.3/bitmaps/minus.xbm +5 -0
  3013. package/python/tcl/tix8.4.3/bitmaps/minus.xpm +14 -0
  3014. package/python/tcl/tix8.4.3/bitmaps/minusarm.gif +0 -0
  3015. package/python/tcl/tix8.4.3/bitmaps/minusarm.xbm +5 -0
  3016. package/python/tcl/tix8.4.3/bitmaps/minusarm.xpm +15 -0
  3017. package/python/tcl/tix8.4.3/bitmaps/mktransgif.tcl +14 -0
  3018. package/python/tcl/tix8.4.3/bitmaps/network.xbm +14 -0
  3019. package/python/tcl/tix8.4.3/bitmaps/no_entry.gif +0 -0
  3020. package/python/tcl/tix8.4.3/bitmaps/no_entry.xpm +39 -0
  3021. package/python/tcl/tix8.4.3/bitmaps/openfile.xbm +5 -0
  3022. package/python/tcl/tix8.4.3/bitmaps/openfold.gif +0 -0
  3023. package/python/tcl/tix8.4.3/bitmaps/openfold.xbm +5 -0
  3024. package/python/tcl/tix8.4.3/bitmaps/openfold.xpm +21 -0
  3025. package/python/tcl/tix8.4.3/bitmaps/plus.gif +0 -0
  3026. package/python/tcl/tix8.4.3/bitmaps/plus.xbm +5 -0
  3027. package/python/tcl/tix8.4.3/bitmaps/plus.xpm +14 -0
  3028. package/python/tcl/tix8.4.3/bitmaps/plusarm.gif +0 -0
  3029. package/python/tcl/tix8.4.3/bitmaps/plusarm.xbm +5 -0
  3030. package/python/tcl/tix8.4.3/bitmaps/plusarm.xpm +15 -0
  3031. package/python/tcl/tix8.4.3/bitmaps/resize1.xbm +8 -0
  3032. package/python/tcl/tix8.4.3/bitmaps/resize2.xbm +8 -0
  3033. package/python/tcl/tix8.4.3/bitmaps/restore.xbm +6 -0
  3034. package/python/tcl/tix8.4.3/bitmaps/srcfile.gif +0 -0
  3035. package/python/tcl/tix8.4.3/bitmaps/srcfile.xbm +5 -0
  3036. package/python/tcl/tix8.4.3/bitmaps/srcfile.xpm +18 -0
  3037. package/python/tcl/tix8.4.3/bitmaps/system.xbm +6 -0
  3038. package/python/tcl/tix8.4.3/bitmaps/textfile.gif +0 -0
  3039. package/python/tcl/tix8.4.3/bitmaps/textfile.xbm +5 -0
  3040. package/python/tcl/tix8.4.3/bitmaps/textfile.xpm +18 -0
  3041. package/python/tcl/tix8.4.3/bitmaps/tick.xbm +6 -0
  3042. package/python/tcl/tix8.4.3/bitmaps/warning.gif +0 -0
  3043. package/python/tcl/tix8.4.3/bitmaps/warning.xpm +38 -0
  3044. package/python/tcl/tix8.4.3/demos/MkChoose.tcl +280 -0
  3045. package/python/tcl/tix8.4.3/demos/MkDirLis.tcl +69 -0
  3046. package/python/tcl/tix8.4.3/demos/MkSample.tcl +270 -0
  3047. package/python/tcl/tix8.4.3/demos/MkScroll.tcl +160 -0
  3048. package/python/tcl/tix8.4.3/demos/bitmaps/about.xpm +50 -0
  3049. package/python/tcl/tix8.4.3/demos/bitmaps/bold.xbm +6 -0
  3050. package/python/tcl/tix8.4.3/demos/bitmaps/capital.xbm +6 -0
  3051. package/python/tcl/tix8.4.3/demos/bitmaps/centerj.xbm +6 -0
  3052. package/python/tcl/tix8.4.3/demos/bitmaps/code.xpm +22 -0
  3053. package/python/tcl/tix8.4.3/demos/bitmaps/combobox.xbm +14 -0
  3054. package/python/tcl/tix8.4.3/demos/bitmaps/combobox.xpm +49 -0
  3055. package/python/tcl/tix8.4.3/demos/bitmaps/drivea.xbm +14 -0
  3056. package/python/tcl/tix8.4.3/demos/bitmaps/drivea.xpm +43 -0
  3057. package/python/tcl/tix8.4.3/demos/bitmaps/exit.xpm +48 -0
  3058. package/python/tcl/tix8.4.3/demos/bitmaps/filebox.xbm +14 -0
  3059. package/python/tcl/tix8.4.3/demos/bitmaps/filebox.xpm +49 -0
  3060. package/python/tcl/tix8.4.3/demos/bitmaps/harddisk.xbm +14 -0
  3061. package/python/tcl/tix8.4.3/demos/bitmaps/harddisk.xpm +43 -0
  3062. package/python/tcl/tix8.4.3/demos/bitmaps/italic.xbm +6 -0
  3063. package/python/tcl/tix8.4.3/demos/bitmaps/justify.xbm +6 -0
  3064. package/python/tcl/tix8.4.3/demos/bitmaps/leftj.xbm +6 -0
  3065. package/python/tcl/tix8.4.3/demos/bitmaps/netw.xbm +14 -0
  3066. package/python/tcl/tix8.4.3/demos/bitmaps/netw.xpm +45 -0
  3067. package/python/tcl/tix8.4.3/demos/bitmaps/network.xbm +14 -0
  3068. package/python/tcl/tix8.4.3/demos/bitmaps/network.xpm +45 -0
  3069. package/python/tcl/tix8.4.3/demos/bitmaps/optmenu.xpm +48 -0
  3070. package/python/tcl/tix8.4.3/demos/bitmaps/rightj.xbm +6 -0
  3071. package/python/tcl/tix8.4.3/demos/bitmaps/select.xpm +52 -0
  3072. package/python/tcl/tix8.4.3/demos/bitmaps/tix.gif +0 -0
  3073. package/python/tcl/tix8.4.3/demos/bitmaps/underlin.xbm +6 -0
  3074. package/python/tcl/tix8.4.3/demos/samples/AllSampl.tcl +201 -0
  3075. package/python/tcl/tix8.4.3/demos/samples/ArrowBtn.tcl +187 -0
  3076. package/python/tcl/tix8.4.3/demos/samples/Balloon.tcl +48 -0
  3077. package/python/tcl/tix8.4.3/demos/samples/BtnBox.tcl +57 -0
  3078. package/python/tcl/tix8.4.3/demos/samples/CObjView.tcl +80 -0
  3079. package/python/tcl/tix8.4.3/demos/samples/ChkList.tcl +179 -0
  3080. package/python/tcl/tix8.4.3/demos/samples/CmpImg.tcl +64 -0
  3081. package/python/tcl/tix8.4.3/demos/samples/CmpImg1.tcl +182 -0
  3082. package/python/tcl/tix8.4.3/demos/samples/CmpImg2.tcl +136 -0
  3083. package/python/tcl/tix8.4.3/demos/samples/CmpImg3.tcl +90 -0
  3084. package/python/tcl/tix8.4.3/demos/samples/CmpImg4.tcl +125 -0
  3085. package/python/tcl/tix8.4.3/demos/samples/ComboBox.tcl +119 -0
  3086. package/python/tcl/tix8.4.3/demos/samples/Control.tcl +133 -0
  3087. package/python/tcl/tix8.4.3/demos/samples/DirDlg.tcl +90 -0
  3088. package/python/tcl/tix8.4.3/demos/samples/DirList.tcl +91 -0
  3089. package/python/tcl/tix8.4.3/demos/samples/DirTree.tcl +92 -0
  3090. package/python/tcl/tix8.4.3/demos/samples/DragDrop.tcl +50 -0
  3091. package/python/tcl/tix8.4.3/demos/samples/DynTree.tcl +149 -0
  3092. package/python/tcl/tix8.4.3/demos/samples/EFileDlg.tcl +104 -0
  3093. package/python/tcl/tix8.4.3/demos/samples/EditGrid.tcl +281 -0
  3094. package/python/tcl/tix8.4.3/demos/samples/FileDlg.tcl +98 -0
  3095. package/python/tcl/tix8.4.3/demos/samples/FileEnt.tcl +81 -0
  3096. package/python/tcl/tix8.4.3/demos/samples/HList1.tcl +159 -0
  3097. package/python/tcl/tix8.4.3/demos/samples/LabEntry.tcl +94 -0
  3098. package/python/tcl/tix8.4.3/demos/samples/LabFrame.tcl +85 -0
  3099. package/python/tcl/tix8.4.3/demos/samples/ListNBK.tcl +86 -0
  3100. package/python/tcl/tix8.4.3/demos/samples/Meter.tcl +77 -0
  3101. package/python/tcl/tix8.4.3/demos/samples/NoteBook.tcl +102 -0
  3102. package/python/tcl/tix8.4.3/demos/samples/OptMenu.tcl +103 -0
  3103. package/python/tcl/tix8.4.3/demos/samples/PanedWin.tcl +112 -0
  3104. package/python/tcl/tix8.4.3/demos/samples/PopMenu.tcl +73 -0
  3105. package/python/tcl/tix8.4.3/demos/samples/SGrid0.tcl +135 -0
  3106. package/python/tcl/tix8.4.3/demos/samples/SGrid1.tcl +215 -0
  3107. package/python/tcl/tix8.4.3/demos/samples/SHList.tcl +111 -0
  3108. package/python/tcl/tix8.4.3/demos/samples/SHList2.tcl +159 -0
  3109. package/python/tcl/tix8.4.3/demos/samples/SListBox.tcl +84 -0
  3110. package/python/tcl/tix8.4.3/demos/samples/STList1.tcl +57 -0
  3111. package/python/tcl/tix8.4.3/demos/samples/STList2.tcl +85 -0
  3112. package/python/tcl/tix8.4.3/demos/samples/STList3.tcl +112 -0
  3113. package/python/tcl/tix8.4.3/demos/samples/SText.tcl +75 -0
  3114. package/python/tcl/tix8.4.3/demos/samples/SWindow.tcl +89 -0
  3115. package/python/tcl/tix8.4.3/demos/samples/Sample.tcl +36 -0
  3116. package/python/tcl/tix8.4.3/demos/samples/Select.tcl +114 -0
  3117. package/python/tcl/tix8.4.3/demos/samples/StdBBox.tcl +65 -0
  3118. package/python/tcl/tix8.4.3/demos/samples/Tree.tcl +91 -0
  3119. package/python/tcl/tix8.4.3/demos/samples/Xpm.tcl +89 -0
  3120. package/python/tcl/tix8.4.3/demos/samples/Xpm1.tcl +108 -0
  3121. package/python/tcl/tix8.4.3/demos/tclIndex +55 -0
  3122. package/python/tcl/tix8.4.3/demos/tixwidgets.tcl +344 -0
  3123. package/python/tcl/tix8.4.3/demos/widget +450 -0
  3124. package/python/tcl/tix8.4.3/fs.tcl +170 -0
  3125. package/python/tcl/tix8.4.3/pkgIndex.tcl +2 -0
  3126. package/python/tcl/tix8.4.3/pref/10Point.fs +23 -0
  3127. package/python/tcl/tix8.4.3/pref/10Point.fsc +44 -0
  3128. package/python/tcl/tix8.4.3/pref/12Point.fs +23 -0
  3129. package/python/tcl/tix8.4.3/pref/12Point.fsc +44 -0
  3130. package/python/tcl/tix8.4.3/pref/14Point.fs +22 -0
  3131. package/python/tcl/tix8.4.3/pref/14Point.fsc +50 -0
  3132. package/python/tcl/tix8.4.3/pref/Bisque.cs +35 -0
  3133. package/python/tcl/tix8.4.3/pref/Bisque.csc +338 -0
  3134. package/python/tcl/tix8.4.3/pref/Blue.cs +35 -0
  3135. package/python/tcl/tix8.4.3/pref/Blue.csc +338 -0
  3136. package/python/tcl/tix8.4.3/pref/Gray.cs +36 -0
  3137. package/python/tcl/tix8.4.3/pref/Gray.csc +339 -0
  3138. package/python/tcl/tix8.4.3/pref/Makefile +48 -0
  3139. package/python/tcl/tix8.4.3/pref/Old12Pt.fs +14 -0
  3140. package/python/tcl/tix8.4.3/pref/Old14Pt.fs +13 -0
  3141. package/python/tcl/tix8.4.3/pref/SGIGray.cs +38 -0
  3142. package/python/tcl/tix8.4.3/pref/SGIGray.csc +339 -0
  3143. package/python/tcl/tix8.4.3/pref/TK.cs +35 -0
  3144. package/python/tcl/tix8.4.3/pref/TK.csc +72 -0
  3145. package/python/tcl/tix8.4.3/pref/TK.fs +16 -0
  3146. package/python/tcl/tix8.4.3/pref/TK.fsc +19 -0
  3147. package/python/tcl/tix8.4.3/pref/TixGray.cs +36 -0
  3148. package/python/tcl/tix8.4.3/pref/TixGray.csc +339 -0
  3149. package/python/tcl/tix8.4.3/pref/TkWin.cs +68 -0
  3150. package/python/tcl/tix8.4.3/pref/TkWin.csc +333 -0
  3151. package/python/tcl/tix8.4.3/pref/TkWin.fs +16 -0
  3152. package/python/tcl/tix8.4.3/pref/TkWin.fsc +34 -0
  3153. package/python/tcl/tix8.4.3/pref/WmDefault.cs +45 -0
  3154. package/python/tcl/tix8.4.3/pref/WmDefault.csc +316 -0
  3155. package/python/tcl/tix8.4.3/pref/WmDefault.fs +23 -0
  3156. package/python/tcl/tix8.4.3/pref/WmDefault.fsc +57 -0
  3157. package/python/tcl/tix8.4.3/pref/WmDefault.py +96 -0
  3158. package/python/tcl/tix8.4.3/pref/WmDefault.tcl +1053 -0
  3159. package/python/tcl/tix8.4.3/pref/WmDefault.txt +142 -0
  3160. package/python/tcl/tix8.4.3/pref/pkgIndex.tcl +9 -0
  3161. package/python/tcl/tix8.4.3/pref/tixmkpref +381 -0
  3162. package/python/tcl/tix8.4.3/tix84.dll +0 -0
  3163. package/python/tcl/tix8.4.3/tix84.lib +0 -0
  3164. package/python/tcl/tk8.6/bgerror.tcl +272 -0
  3165. package/python/tcl/tk8.6/button.tcl +782 -0
  3166. package/python/tcl/tk8.6/choosedir.tcl +308 -0
  3167. package/python/tcl/tk8.6/clrpick.tcl +695 -0
  3168. package/python/tcl/tk8.6/comdlg.tcl +322 -0
  3169. package/python/tcl/tk8.6/console.tcl +1150 -0
  3170. package/python/tcl/tk8.6/demos/README +44 -0
  3171. package/python/tcl/tk8.6/demos/anilabel.tcl +160 -0
  3172. package/python/tcl/tk8.6/demos/aniwave.tcl +104 -0
  3173. package/python/tcl/tk8.6/demos/arrow.tcl +241 -0
  3174. package/python/tcl/tk8.6/demos/bind.tcl +78 -0
  3175. package/python/tcl/tk8.6/demos/bitmap.tcl +52 -0
  3176. package/python/tcl/tk8.6/demos/browse +66 -0
  3177. package/python/tcl/tk8.6/demos/button.tcl +47 -0
  3178. package/python/tcl/tk8.6/demos/check.tcl +71 -0
  3179. package/python/tcl/tk8.6/demos/clrpick.tcl +54 -0
  3180. package/python/tcl/tk8.6/demos/colors.tcl +99 -0
  3181. package/python/tcl/tk8.6/demos/combo.tcl +61 -0
  3182. package/python/tcl/tk8.6/demos/cscroll.tcl +172 -0
  3183. package/python/tcl/tk8.6/demos/ctext.tcl +176 -0
  3184. package/python/tcl/tk8.6/demos/dialog1.tcl +25 -0
  3185. package/python/tcl/tk8.6/demos/dialog2.tcl +18 -0
  3186. package/python/tcl/tk8.6/demos/en.msg +97 -0
  3187. package/python/tcl/tk8.6/demos/entry1.tcl +34 -0
  3188. package/python/tcl/tk8.6/demos/entry2.tcl +46 -0
  3189. package/python/tcl/tk8.6/demos/entry3.tcl +185 -0
  3190. package/python/tcl/tk8.6/demos/filebox.tcl +81 -0
  3191. package/python/tcl/tk8.6/demos/floor.tcl +1371 -0
  3192. package/python/tcl/tk8.6/demos/fontchoose.tcl +67 -0
  3193. package/python/tcl/tk8.6/demos/form.tcl +38 -0
  3194. package/python/tcl/tk8.6/demos/goldberg.tcl +1833 -0
  3195. package/python/tcl/tk8.6/demos/hello +22 -0
  3196. package/python/tcl/tk8.6/demos/hscale.tcl +45 -0
  3197. package/python/tcl/tk8.6/demos/icon.tcl +51 -0
  3198. package/python/tcl/tk8.6/demos/image1.tcl +35 -0
  3199. package/python/tcl/tk8.6/demos/image2.tcl +108 -0
  3200. package/python/tcl/tk8.6/demos/images/earth.gif +0 -0
  3201. package/python/tcl/tk8.6/demos/images/earthmenu.png +0 -0
  3202. package/python/tcl/tk8.6/demos/images/earthris.gif +0 -0
  3203. package/python/tcl/tk8.6/demos/images/flagdown.xbm +27 -0
  3204. package/python/tcl/tk8.6/demos/images/flagup.xbm +27 -0
  3205. package/python/tcl/tk8.6/demos/images/gray25.xbm +6 -0
  3206. package/python/tcl/tk8.6/demos/images/letters.xbm +27 -0
  3207. package/python/tcl/tk8.6/demos/images/noletter.xbm +27 -0
  3208. package/python/tcl/tk8.6/demos/images/ouster.png +0 -0
  3209. package/python/tcl/tk8.6/demos/images/pattern.xbm +6 -0
  3210. package/python/tcl/tk8.6/demos/images/tcllogo.gif +0 -0
  3211. package/python/tcl/tk8.6/demos/images/teapot.ppm +31 -0
  3212. package/python/tcl/tk8.6/demos/items.tcl +302 -0
  3213. package/python/tcl/tk8.6/demos/ixset +328 -0
  3214. package/python/tcl/tk8.6/demos/knightstour.tcl +268 -0
  3215. package/python/tcl/tk8.6/demos/label.tcl +40 -0
  3216. package/python/tcl/tk8.6/demos/labelframe.tcl +76 -0
  3217. package/python/tcl/tk8.6/demos/license.terms +40 -0
  3218. package/python/tcl/tk8.6/demos/mclist.tcl +119 -0
  3219. package/python/tcl/tk8.6/demos/menu.tcl +180 -0
  3220. package/python/tcl/tk8.6/demos/menubu.tcl +90 -0
  3221. package/python/tcl/tk8.6/demos/msgbox.tcl +62 -0
  3222. package/python/tcl/tk8.6/demos/nl.msg +125 -0
  3223. package/python/tcl/tk8.6/demos/paned1.tcl +32 -0
  3224. package/python/tcl/tk8.6/demos/paned2.tcl +74 -0
  3225. package/python/tcl/tk8.6/demos/pendulum.tcl +197 -0
  3226. package/python/tcl/tk8.6/demos/plot.tcl +97 -0
  3227. package/python/tcl/tk8.6/demos/puzzle.tcl +82 -0
  3228. package/python/tcl/tk8.6/demos/radio.tcl +66 -0
  3229. package/python/tcl/tk8.6/demos/rmt +210 -0
  3230. package/python/tcl/tk8.6/demos/rolodex +204 -0
  3231. package/python/tcl/tk8.6/demos/ruler.tcl +175 -0
  3232. package/python/tcl/tk8.6/demos/sayings.tcl +44 -0
  3233. package/python/tcl/tk8.6/demos/search.tcl +139 -0
  3234. package/python/tcl/tk8.6/demos/spin.tcl +53 -0
  3235. package/python/tcl/tk8.6/demos/square +60 -0
  3236. package/python/tcl/tk8.6/demos/states.tcl +54 -0
  3237. package/python/tcl/tk8.6/demos/style.tcl +155 -0
  3238. package/python/tcl/tk8.6/demos/tclIndex +67 -0
  3239. package/python/tcl/tk8.6/demos/tcolor +358 -0
  3240. package/python/tcl/tk8.6/demos/text.tcl +113 -0
  3241. package/python/tcl/tk8.6/demos/textpeer.tcl +62 -0
  3242. package/python/tcl/tk8.6/demos/timer +47 -0
  3243. package/python/tcl/tk8.6/demos/toolbar.tcl +92 -0
  3244. package/python/tcl/tk8.6/demos/tree.tcl +89 -0
  3245. package/python/tcl/tk8.6/demos/ttkbut.tcl +84 -0
  3246. package/python/tcl/tk8.6/demos/ttkmenu.tcl +53 -0
  3247. package/python/tcl/tk8.6/demos/ttknote.tcl +57 -0
  3248. package/python/tcl/tk8.6/demos/ttkpane.tcl +112 -0
  3249. package/python/tcl/tk8.6/demos/ttkprogress.tcl +46 -0
  3250. package/python/tcl/tk8.6/demos/ttkscale.tcl +39 -0
  3251. package/python/tcl/tk8.6/demos/twind.tcl +351 -0
  3252. package/python/tcl/tk8.6/demos/unicodeout.tcl +145 -0
  3253. package/python/tcl/tk8.6/demos/vscale.tcl +46 -0
  3254. package/python/tcl/tk8.6/demos/widget +734 -0
  3255. package/python/tcl/tk8.6/dialog.tcl +175 -0
  3256. package/python/tcl/tk8.6/entry.tcl +686 -0
  3257. package/python/tcl/tk8.6/focus.tcl +178 -0
  3258. package/python/tcl/tk8.6/fontchooser.tcl +456 -0
  3259. package/python/tcl/tk8.6/iconlist.tcl +717 -0
  3260. package/python/tcl/tk8.6/icons.tcl +153 -0
  3261. package/python/tcl/tk8.6/images/README +7 -0
  3262. package/python/tcl/tk8.6/images/logo.eps +2091 -0
  3263. package/python/tcl/tk8.6/images/logo100.gif +0 -0
  3264. package/python/tcl/tk8.6/images/logo64.gif +0 -0
  3265. package/python/tcl/tk8.6/images/logoLarge.gif +0 -0
  3266. package/python/tcl/tk8.6/images/logoMed.gif +0 -0
  3267. package/python/tcl/tk8.6/images/pwrdLogo.eps +1897 -0
  3268. package/python/tcl/tk8.6/images/pwrdLogo100.gif +0 -0
  3269. package/python/tcl/tk8.6/images/pwrdLogo150.gif +0 -0
  3270. package/python/tcl/tk8.6/images/pwrdLogo175.gif +0 -0
  3271. package/python/tcl/tk8.6/images/pwrdLogo200.gif +0 -0
  3272. package/python/tcl/tk8.6/images/pwrdLogo75.gif +0 -0
  3273. package/python/tcl/tk8.6/images/tai-ku.gif +0 -0
  3274. package/python/tcl/tk8.6/license.terms +40 -0
  3275. package/python/tcl/tk8.6/listbox.tcl +560 -0
  3276. package/python/tcl/tk8.6/megawidget.tcl +297 -0
  3277. package/python/tcl/tk8.6/menu.tcl +1377 -0
  3278. package/python/tcl/tk8.6/mkpsenc.tcl +1488 -0
  3279. package/python/tcl/tk8.6/msgbox.tcl +427 -0
  3280. package/python/tcl/tk8.6/msgs/cs.msg +77 -0
  3281. package/python/tcl/tk8.6/msgs/da.msg +78 -0
  3282. package/python/tcl/tk8.6/msgs/de.msg +91 -0
  3283. package/python/tcl/tk8.6/msgs/el.msg +86 -0
  3284. package/python/tcl/tk8.6/msgs/en.msg +91 -0
  3285. package/python/tcl/tk8.6/msgs/en_gb.msg +3 -0
  3286. package/python/tcl/tk8.6/msgs/eo.msg +75 -0
  3287. package/python/tcl/tk8.6/msgs/es.msg +76 -0
  3288. package/python/tcl/tk8.6/msgs/fr.msg +72 -0
  3289. package/python/tcl/tk8.6/msgs/hu.msg +78 -0
  3290. package/python/tcl/tk8.6/msgs/it.msg +73 -0
  3291. package/python/tcl/tk8.6/msgs/nl.msg +91 -0
  3292. package/python/tcl/tk8.6/msgs/pl.msg +91 -0
  3293. package/python/tcl/tk8.6/msgs/pt.msg +74 -0
  3294. package/python/tcl/tk8.6/msgs/ru.msg +75 -0
  3295. package/python/tcl/tk8.6/msgs/sv.msg +76 -0
  3296. package/python/tcl/tk8.6/obsolete.tcl +178 -0
  3297. package/python/tcl/tk8.6/optMenu.tcl +43 -0
  3298. package/python/tcl/tk8.6/palette.tcl +244 -0
  3299. package/python/tcl/tk8.6/panedwindow.tcl +194 -0
  3300. package/python/tcl/tk8.6/pkgIndex.tcl +7 -0
  3301. package/python/tcl/tk8.6/safetk.tcl +262 -0
  3302. package/python/tcl/tk8.6/scale.tcl +290 -0
  3303. package/python/tcl/tk8.6/scrlbar.tcl +456 -0
  3304. package/python/tcl/tk8.6/spinbox.tcl +593 -0
  3305. package/python/tcl/tk8.6/tclIndex +253 -0
  3306. package/python/tcl/tk8.6/tearoff.tcl +184 -0
  3307. package/python/tcl/tk8.6/text.tcl +1237 -0
  3308. package/python/tcl/tk8.6/tk.tcl +712 -0
  3309. package/python/tcl/tk8.6/tkfbox.tcl +1240 -0
  3310. package/python/tcl/tk8.6/ttk/altTheme.tcl +109 -0
  3311. package/python/tcl/tk8.6/ttk/aquaTheme.tcl +119 -0
  3312. package/python/tcl/tk8.6/ttk/button.tcl +83 -0
  3313. package/python/tcl/tk8.6/ttk/clamTheme.tcl +147 -0
  3314. package/python/tcl/tk8.6/ttk/classicTheme.tcl +115 -0
  3315. package/python/tcl/tk8.6/ttk/combobox.tcl +448 -0
  3316. package/python/tcl/tk8.6/ttk/cursors.tcl +208 -0
  3317. package/python/tcl/tk8.6/ttk/defaults.tcl +143 -0
  3318. package/python/tcl/tk8.6/ttk/entry.tcl +632 -0
  3319. package/python/tcl/tk8.6/ttk/fonts.tcl +157 -0
  3320. package/python/tcl/tk8.6/ttk/menubutton.tcl +241 -0
  3321. package/python/tcl/tk8.6/ttk/notebook.tcl +199 -0
  3322. package/python/tcl/tk8.6/ttk/panedwindow.tcl +91 -0
  3323. package/python/tcl/tk8.6/ttk/progress.tcl +49 -0
  3324. package/python/tcl/tk8.6/ttk/scale.tcl +94 -0
  3325. package/python/tcl/tk8.6/ttk/scrollbar.tcl +126 -0
  3326. package/python/tcl/tk8.6/ttk/sizegrip.tcl +102 -0
  3327. package/python/tcl/tk8.6/ttk/spinbox.tcl +192 -0
  3328. package/python/tcl/tk8.6/ttk/treeview.tcl +383 -0
  3329. package/python/tcl/tk8.6/ttk/ttk.tcl +176 -0
  3330. package/python/tcl/tk8.6/ttk/utils.tcl +337 -0
  3331. package/python/tcl/tk8.6/ttk/vistaTheme.tcl +229 -0
  3332. package/python/tcl/tk8.6/ttk/winTheme.tcl +84 -0
  3333. package/python/tcl/tk8.6/ttk/xpTheme.tcl +67 -0
  3334. package/python/tcl/tk8.6/unsupported.tcl +269 -0
  3335. package/python/tcl/tk8.6/xmfbox.tcl +989 -0
  3336. package/python/tcl/tk86t.lib +0 -0
  3337. package/python/tcl/tkstub86.lib +0 -0
  3338. package/python/vcruntime140.dll +0 -0
  3339. package/python/vcruntime140_1.dll +0 -0
  3340. package/runtime-manifest.json +7 -0
@@ -0,0 +1,3831 @@
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 aliases for builtin types and collections.abc ABCs.
16
+
17
+ Any name not present in __all__ is an implementation detail
18
+ that may be changed without notice. Use at your own risk!
19
+ """
20
+
21
+ from abc import abstractmethod, ABCMeta
22
+ import collections
23
+ from collections import defaultdict
24
+ import collections.abc
25
+ import copyreg
26
+ import functools
27
+ import operator
28
+ import sys
29
+ import types
30
+ from types import WrapperDescriptorType, MethodWrapperType, MethodDescriptorType, GenericAlias
31
+
32
+ from _typing import (
33
+ _idfunc,
34
+ TypeVar,
35
+ ParamSpec,
36
+ TypeVarTuple,
37
+ ParamSpecArgs,
38
+ ParamSpecKwargs,
39
+ TypeAliasType,
40
+ Generic,
41
+ NoDefault,
42
+ )
43
+
44
+ # Please keep __all__ alphabetized within each category.
45
+ __all__ = [
46
+ # Super-special typing primitives.
47
+ 'Annotated',
48
+ 'Any',
49
+ 'Callable',
50
+ 'ClassVar',
51
+ 'Concatenate',
52
+ 'Final',
53
+ 'ForwardRef',
54
+ 'Generic',
55
+ 'Literal',
56
+ 'Optional',
57
+ 'ParamSpec',
58
+ 'Protocol',
59
+ 'Tuple',
60
+ 'Type',
61
+ 'TypeVar',
62
+ 'TypeVarTuple',
63
+ 'Union',
64
+
65
+ # ABCs (from collections.abc).
66
+ 'AbstractSet', # collections.abc.Set.
67
+ 'ByteString',
68
+ 'Container',
69
+ 'ContextManager',
70
+ 'Hashable',
71
+ 'ItemsView',
72
+ 'Iterable',
73
+ 'Iterator',
74
+ 'KeysView',
75
+ 'Mapping',
76
+ 'MappingView',
77
+ 'MutableMapping',
78
+ 'MutableSequence',
79
+ 'MutableSet',
80
+ 'Sequence',
81
+ 'Sized',
82
+ 'ValuesView',
83
+ 'Awaitable',
84
+ 'AsyncIterator',
85
+ 'AsyncIterable',
86
+ 'Coroutine',
87
+ 'Collection',
88
+ 'AsyncGenerator',
89
+ 'AsyncContextManager',
90
+
91
+ # Structural checks, a.k.a. protocols.
92
+ 'Reversible',
93
+ 'SupportsAbs',
94
+ 'SupportsBytes',
95
+ 'SupportsComplex',
96
+ 'SupportsFloat',
97
+ 'SupportsIndex',
98
+ 'SupportsInt',
99
+ 'SupportsRound',
100
+
101
+ # Concrete collection types.
102
+ 'ChainMap',
103
+ 'Counter',
104
+ 'Deque',
105
+ 'Dict',
106
+ 'DefaultDict',
107
+ 'List',
108
+ 'OrderedDict',
109
+ 'Set',
110
+ 'FrozenSet',
111
+ 'NamedTuple', # Not really a type.
112
+ 'TypedDict', # Not really a type.
113
+ 'Generator',
114
+
115
+ # Other concrete types.
116
+ 'BinaryIO',
117
+ 'IO',
118
+ 'Match',
119
+ 'Pattern',
120
+ 'TextIO',
121
+
122
+ # One-off things.
123
+ 'AnyStr',
124
+ 'assert_type',
125
+ 'assert_never',
126
+ 'cast',
127
+ 'clear_overloads',
128
+ 'dataclass_transform',
129
+ 'final',
130
+ 'get_args',
131
+ 'get_origin',
132
+ 'get_overloads',
133
+ 'get_protocol_members',
134
+ 'get_type_hints',
135
+ 'is_protocol',
136
+ 'is_typeddict',
137
+ 'LiteralString',
138
+ 'Never',
139
+ 'NewType',
140
+ 'no_type_check',
141
+ 'no_type_check_decorator',
142
+ 'NoDefault',
143
+ 'NoReturn',
144
+ 'NotRequired',
145
+ 'overload',
146
+ 'override',
147
+ 'ParamSpecArgs',
148
+ 'ParamSpecKwargs',
149
+ 'ReadOnly',
150
+ 'Required',
151
+ 'reveal_type',
152
+ 'runtime_checkable',
153
+ 'Self',
154
+ 'Text',
155
+ 'TYPE_CHECKING',
156
+ 'TypeAlias',
157
+ 'TypeGuard',
158
+ 'TypeIs',
159
+ 'TypeAliasType',
160
+ 'Unpack',
161
+ ]
162
+
163
+
164
+ def _type_convert(arg, module=None, *, allow_special_forms=False):
165
+ """For converting None to type(None), and strings to ForwardRef."""
166
+ if arg is None:
167
+ return type(None)
168
+ if isinstance(arg, str):
169
+ return ForwardRef(arg, module=module, is_class=allow_special_forms)
170
+ return arg
171
+
172
+
173
+ def _type_check(arg, msg, is_argument=True, module=None, *, allow_special_forms=False):
174
+ """Check that the argument is a type, and return it (internal helper).
175
+
176
+ As a special case, accept None and return type(None) instead. Also wrap strings
177
+ into ForwardRef instances. Consider several corner cases, for example plain
178
+ special forms like Union are not valid, while Union[int, str] is OK, etc.
179
+ The msg argument is a human-readable error message, e.g.::
180
+
181
+ "Union[arg, ...]: arg should be a type."
182
+
183
+ We append the repr() of the actual value (truncated to 100 chars).
184
+ """
185
+ invalid_generic_forms = (Generic, Protocol)
186
+ if not allow_special_forms:
187
+ invalid_generic_forms += (ClassVar,)
188
+ if is_argument:
189
+ invalid_generic_forms += (Final,)
190
+
191
+ arg = _type_convert(arg, module=module, allow_special_forms=allow_special_forms)
192
+ if (isinstance(arg, _GenericAlias) and
193
+ arg.__origin__ in invalid_generic_forms):
194
+ raise TypeError(f"{arg} is not valid as type argument")
195
+ if arg in (Any, LiteralString, NoReturn, Never, Self, TypeAlias):
196
+ return arg
197
+ if allow_special_forms and arg in (ClassVar, Final):
198
+ return arg
199
+ if isinstance(arg, _SpecialForm) or arg in (Generic, Protocol):
200
+ raise TypeError(f"Plain {arg} is not valid as type argument")
201
+ if type(arg) is tuple:
202
+ raise TypeError(f"{msg} Got {arg!r:.100}.")
203
+ return arg
204
+
205
+
206
+ def _is_param_expr(arg):
207
+ return arg is ... or isinstance(arg,
208
+ (tuple, list, ParamSpec, _ConcatenateGenericAlias))
209
+
210
+
211
+ def _should_unflatten_callable_args(typ, args):
212
+ """Internal helper for munging collections.abc.Callable's __args__.
213
+
214
+ The canonical representation for a Callable's __args__ flattens the
215
+ argument types, see https://github.com/python/cpython/issues/86361.
216
+
217
+ For example::
218
+
219
+ >>> import collections.abc
220
+ >>> P = ParamSpec('P')
221
+ >>> collections.abc.Callable[[int, int], str].__args__ == (int, int, str)
222
+ True
223
+ >>> collections.abc.Callable[P, str].__args__ == (P, str)
224
+ True
225
+
226
+ As a result, if we need to reconstruct the Callable from its __args__,
227
+ we need to unflatten it.
228
+ """
229
+ return (
230
+ typ.__origin__ is collections.abc.Callable
231
+ and not (len(args) == 2 and _is_param_expr(args[0]))
232
+ )
233
+
234
+
235
+ def _type_repr(obj):
236
+ """Return the repr() of an object, special-casing types (internal helper).
237
+
238
+ If obj is a type, we return a shorter version than the default
239
+ type.__repr__, based on the module and qualified name, which is
240
+ typically enough to uniquely identify a type. For everything
241
+ else, we fall back on repr(obj).
242
+ """
243
+ # When changing this function, don't forget about
244
+ # `_collections_abc._type_repr`, which does the same thing
245
+ # and must be consistent with this one.
246
+ if isinstance(obj, type):
247
+ if obj.__module__ == 'builtins':
248
+ return obj.__qualname__
249
+ return f'{obj.__module__}.{obj.__qualname__}'
250
+ if obj is ...:
251
+ return '...'
252
+ if isinstance(obj, types.FunctionType):
253
+ return obj.__name__
254
+ if isinstance(obj, tuple):
255
+ # Special case for `repr` of types with `ParamSpec`:
256
+ return '[' + ', '.join(_type_repr(t) for t in obj) + ']'
257
+ return repr(obj)
258
+
259
+
260
+ def _collect_type_parameters(args, *, enforce_default_ordering: bool = True):
261
+ """Collect all type parameters in args
262
+ in order of first appearance (lexicographic order).
263
+
264
+ For example::
265
+
266
+ >>> P = ParamSpec('P')
267
+ >>> T = TypeVar('T')
268
+ >>> _collect_type_parameters((T, Callable[P, T]))
269
+ (~T, ~P)
270
+ """
271
+ # required type parameter cannot appear after parameter with default
272
+ default_encountered = False
273
+ # or after TypeVarTuple
274
+ type_var_tuple_encountered = False
275
+ parameters = []
276
+ for t in args:
277
+ if isinstance(t, type):
278
+ # We don't want __parameters__ descriptor of a bare Python class.
279
+ pass
280
+ elif isinstance(t, tuple):
281
+ # `t` might be a tuple, when `ParamSpec` is substituted with
282
+ # `[T, int]`, or `[int, *Ts]`, etc.
283
+ for x in t:
284
+ for collected in _collect_type_parameters([x]):
285
+ if collected not in parameters:
286
+ parameters.append(collected)
287
+ elif hasattr(t, '__typing_subst__'):
288
+ if t not in parameters:
289
+ if enforce_default_ordering:
290
+ if type_var_tuple_encountered and t.has_default():
291
+ raise TypeError('Type parameter with a default'
292
+ ' follows TypeVarTuple')
293
+
294
+ if t.has_default():
295
+ default_encountered = True
296
+ elif default_encountered:
297
+ raise TypeError(f'Type parameter {t!r} without a default'
298
+ ' follows type parameter with a default')
299
+
300
+ parameters.append(t)
301
+ else:
302
+ if _is_unpacked_typevartuple(t):
303
+ type_var_tuple_encountered = True
304
+ for x in getattr(t, '__parameters__', ()):
305
+ if x not in parameters:
306
+ parameters.append(x)
307
+ return tuple(parameters)
308
+
309
+
310
+ def _check_generic_specialization(cls, arguments):
311
+ """Check correct count for parameters of a generic cls (internal helper).
312
+
313
+ This gives a nice error message in case of count mismatch.
314
+ """
315
+ expected_len = len(cls.__parameters__)
316
+ if not expected_len:
317
+ raise TypeError(f"{cls} is not a generic class")
318
+ actual_len = len(arguments)
319
+ if actual_len != expected_len:
320
+ # deal with defaults
321
+ if actual_len < expected_len:
322
+ # If the parameter at index `actual_len` in the parameters list
323
+ # has a default, then all parameters after it must also have
324
+ # one, because we validated as much in _collect_type_parameters().
325
+ # That means that no error needs to be raised here, despite
326
+ # the number of arguments being passed not matching the number
327
+ # of parameters: all parameters that aren't explicitly
328
+ # specialized in this call are parameters with default values.
329
+ if cls.__parameters__[actual_len].has_default():
330
+ return
331
+
332
+ expected_len -= sum(p.has_default() for p in cls.__parameters__)
333
+ expect_val = f"at least {expected_len}"
334
+ else:
335
+ expect_val = expected_len
336
+
337
+ raise TypeError(f"Too {'many' if actual_len > expected_len else 'few'} arguments"
338
+ f" for {cls}; actual {actual_len}, expected {expect_val}")
339
+
340
+
341
+ def _unpack_args(*args):
342
+ newargs = []
343
+ for arg in args:
344
+ subargs = getattr(arg, '__typing_unpacked_tuple_args__', None)
345
+ if subargs is not None and not (subargs and subargs[-1] is ...):
346
+ newargs.extend(subargs)
347
+ else:
348
+ newargs.append(arg)
349
+ return newargs
350
+
351
+ def _deduplicate(params, *, unhashable_fallback=False):
352
+ # Weed out strict duplicates, preserving the first of each occurrence.
353
+ try:
354
+ return dict.fromkeys(params)
355
+ except TypeError:
356
+ if not unhashable_fallback:
357
+ raise
358
+ # Happens for cases like `Annotated[dict, {'x': IntValidator()}]`
359
+ return _deduplicate_unhashable(params)
360
+
361
+ def _deduplicate_unhashable(unhashable_params):
362
+ new_unhashable = []
363
+ for t in unhashable_params:
364
+ if t not in new_unhashable:
365
+ new_unhashable.append(t)
366
+ return new_unhashable
367
+
368
+ def _compare_args_orderless(first_args, second_args):
369
+ first_unhashable = _deduplicate_unhashable(first_args)
370
+ second_unhashable = _deduplicate_unhashable(second_args)
371
+ t = list(second_unhashable)
372
+ try:
373
+ for elem in first_unhashable:
374
+ t.remove(elem)
375
+ except ValueError:
376
+ return False
377
+ return not t
378
+
379
+ def _remove_dups_flatten(parameters):
380
+ """Internal helper for Union creation and substitution.
381
+
382
+ Flatten Unions among parameters, then remove duplicates.
383
+ """
384
+ # Flatten out Union[Union[...], ...].
385
+ params = []
386
+ for p in parameters:
387
+ if isinstance(p, (_UnionGenericAlias, types.UnionType)):
388
+ params.extend(p.__args__)
389
+ else:
390
+ params.append(p)
391
+
392
+ return tuple(_deduplicate(params, unhashable_fallback=True))
393
+
394
+
395
+ def _flatten_literal_params(parameters):
396
+ """Internal helper for Literal creation: flatten Literals among parameters."""
397
+ params = []
398
+ for p in parameters:
399
+ if isinstance(p, _LiteralGenericAlias):
400
+ params.extend(p.__args__)
401
+ else:
402
+ params.append(p)
403
+ return tuple(params)
404
+
405
+
406
+ _cleanups = []
407
+ _caches = {}
408
+
409
+
410
+ def _tp_cache(func=None, /, *, typed=False):
411
+ """Internal wrapper caching __getitem__ of generic types.
412
+
413
+ For non-hashable arguments, the original function is used as a fallback.
414
+ """
415
+ def decorator(func):
416
+ # The callback 'inner' references the newly created lru_cache
417
+ # indirectly by performing a lookup in the global '_caches' dictionary.
418
+ # This breaks a reference that can be problematic when combined with
419
+ # C API extensions that leak references to types. See GH-98253.
420
+
421
+ cache = functools.lru_cache(typed=typed)(func)
422
+ _caches[func] = cache
423
+ _cleanups.append(cache.cache_clear)
424
+ del cache
425
+
426
+ @functools.wraps(func)
427
+ def inner(*args, **kwds):
428
+ try:
429
+ return _caches[func](*args, **kwds)
430
+ except TypeError:
431
+ pass # All real errors (not unhashable args) are raised below.
432
+ return func(*args, **kwds)
433
+ return inner
434
+
435
+ if func is not None:
436
+ return decorator(func)
437
+
438
+ return decorator
439
+
440
+
441
+ def _deprecation_warning_for_no_type_params_passed(funcname: str) -> None:
442
+ import warnings
443
+
444
+ depr_message = (
445
+ f"Failing to pass a value to the 'type_params' parameter "
446
+ f"of {funcname!r} is deprecated, as it leads to incorrect behaviour "
447
+ f"when calling {funcname} on a stringified annotation "
448
+ f"that references a PEP 695 type parameter. "
449
+ f"It will be disallowed in Python 3.15."
450
+ )
451
+ warnings.warn(depr_message, category=DeprecationWarning, stacklevel=3)
452
+
453
+
454
+ class _Sentinel:
455
+ __slots__ = ()
456
+ def __repr__(self):
457
+ return '<sentinel>'
458
+
459
+
460
+ _sentinel = _Sentinel()
461
+
462
+
463
+ def _eval_type(t, globalns, localns, type_params=_sentinel, *, recursive_guard=frozenset()):
464
+ """Evaluate all forward references in the given type t.
465
+
466
+ For use of globalns and localns see the docstring for get_type_hints().
467
+ recursive_guard is used to prevent infinite recursion with a recursive
468
+ ForwardRef.
469
+ """
470
+ if type_params is _sentinel:
471
+ _deprecation_warning_for_no_type_params_passed("typing._eval_type")
472
+ type_params = ()
473
+ if isinstance(t, ForwardRef):
474
+ return t._evaluate(globalns, localns, type_params, recursive_guard=recursive_guard)
475
+ if isinstance(t, (_GenericAlias, GenericAlias, types.UnionType)):
476
+ if isinstance(t, GenericAlias):
477
+ args = tuple(
478
+ ForwardRef(arg) if isinstance(arg, str) else arg
479
+ for arg in t.__args__
480
+ )
481
+ is_unpacked = t.__unpacked__
482
+ if _should_unflatten_callable_args(t, args):
483
+ t = t.__origin__[(args[:-1], args[-1])]
484
+ else:
485
+ t = t.__origin__[args]
486
+ if is_unpacked:
487
+ t = Unpack[t]
488
+
489
+ ev_args = tuple(
490
+ _eval_type(
491
+ a, globalns, localns, type_params, recursive_guard=recursive_guard
492
+ )
493
+ for a in t.__args__
494
+ )
495
+ if ev_args == t.__args__:
496
+ return t
497
+ if isinstance(t, GenericAlias):
498
+ return GenericAlias(t.__origin__, ev_args)
499
+ if isinstance(t, types.UnionType):
500
+ return functools.reduce(operator.or_, ev_args)
501
+ else:
502
+ return t.copy_with(ev_args)
503
+ return t
504
+
505
+
506
+ class _Final:
507
+ """Mixin to prohibit subclassing."""
508
+
509
+ __slots__ = ('__weakref__',)
510
+
511
+ def __init_subclass__(cls, /, *args, **kwds):
512
+ if '_root' not in kwds:
513
+ raise TypeError("Cannot subclass special typing classes")
514
+
515
+
516
+ class _NotIterable:
517
+ """Mixin to prevent iteration, without being compatible with Iterable.
518
+
519
+ That is, we could do::
520
+
521
+ def __iter__(self): raise TypeError()
522
+
523
+ But this would make users of this mixin duck type-compatible with
524
+ collections.abc.Iterable - isinstance(foo, Iterable) would be True.
525
+
526
+ Luckily, we can instead prevent iteration by setting __iter__ to None, which
527
+ is treated specially.
528
+ """
529
+
530
+ __slots__ = ()
531
+ __iter__ = None
532
+
533
+
534
+ # Internal indicator of special typing constructs.
535
+ # See __doc__ instance attribute for specific docs.
536
+ class _SpecialForm(_Final, _NotIterable, _root=True):
537
+ __slots__ = ('_name', '__doc__', '_getitem')
538
+
539
+ def __init__(self, getitem):
540
+ self._getitem = getitem
541
+ self._name = getitem.__name__
542
+ self.__doc__ = getitem.__doc__
543
+
544
+ def __getattr__(self, item):
545
+ if item in {'__name__', '__qualname__'}:
546
+ return self._name
547
+
548
+ raise AttributeError(item)
549
+
550
+ def __mro_entries__(self, bases):
551
+ raise TypeError(f"Cannot subclass {self!r}")
552
+
553
+ def __repr__(self):
554
+ return 'typing.' + self._name
555
+
556
+ def __reduce__(self):
557
+ return self._name
558
+
559
+ def __call__(self, *args, **kwds):
560
+ raise TypeError(f"Cannot instantiate {self!r}")
561
+
562
+ def __or__(self, other):
563
+ return Union[self, other]
564
+
565
+ def __ror__(self, other):
566
+ return Union[other, self]
567
+
568
+ def __instancecheck__(self, obj):
569
+ raise TypeError(f"{self} cannot be used with isinstance()")
570
+
571
+ def __subclasscheck__(self, cls):
572
+ raise TypeError(f"{self} cannot be used with issubclass()")
573
+
574
+ @_tp_cache
575
+ def __getitem__(self, parameters):
576
+ return self._getitem(self, parameters)
577
+
578
+
579
+ class _TypedCacheSpecialForm(_SpecialForm, _root=True):
580
+ def __getitem__(self, parameters):
581
+ if not isinstance(parameters, tuple):
582
+ parameters = (parameters,)
583
+ return self._getitem(self, *parameters)
584
+
585
+
586
+ class _AnyMeta(type):
587
+ def __instancecheck__(self, obj):
588
+ if self is Any:
589
+ raise TypeError("typing.Any cannot be used with isinstance()")
590
+ return super().__instancecheck__(obj)
591
+
592
+ def __repr__(self):
593
+ if self is Any:
594
+ return "typing.Any"
595
+ return super().__repr__() # respect to subclasses
596
+
597
+
598
+ class Any(metaclass=_AnyMeta):
599
+ """Special type indicating an unconstrained type.
600
+
601
+ - Any is compatible with every type.
602
+ - Any assumed to have all methods.
603
+ - All values assumed to be instances of Any.
604
+
605
+ Note that all the above statements are true from the point of view of
606
+ static type checkers. At runtime, Any should not be used with instance
607
+ checks.
608
+ """
609
+
610
+ def __new__(cls, *args, **kwargs):
611
+ if cls is Any:
612
+ raise TypeError("Any cannot be instantiated")
613
+ return super().__new__(cls)
614
+
615
+
616
+ @_SpecialForm
617
+ def NoReturn(self, parameters):
618
+ """Special type indicating functions that never return.
619
+
620
+ Example::
621
+
622
+ from typing import NoReturn
623
+
624
+ def stop() -> NoReturn:
625
+ raise Exception('no way')
626
+
627
+ NoReturn can also be used as a bottom type, a type that
628
+ has no values. Starting in Python 3.11, the Never type should
629
+ be used for this concept instead. Type checkers should treat the two
630
+ equivalently.
631
+ """
632
+ raise TypeError(f"{self} is not subscriptable")
633
+
634
+ # This is semantically identical to NoReturn, but it is implemented
635
+ # separately so that type checkers can distinguish between the two
636
+ # if they want.
637
+ @_SpecialForm
638
+ def Never(self, parameters):
639
+ """The bottom type, a type that has no members.
640
+
641
+ This can be used to define a function that should never be
642
+ called, or a function that never returns::
643
+
644
+ from typing import Never
645
+
646
+ def never_call_me(arg: Never) -> None:
647
+ pass
648
+
649
+ def int_or_str(arg: int | str) -> None:
650
+ never_call_me(arg) # type checker error
651
+ match arg:
652
+ case int():
653
+ print("It's an int")
654
+ case str():
655
+ print("It's a str")
656
+ case _:
657
+ never_call_me(arg) # OK, arg is of type Never
658
+ """
659
+ raise TypeError(f"{self} is not subscriptable")
660
+
661
+
662
+ @_SpecialForm
663
+ def Self(self, parameters):
664
+ """Used to spell the type of "self" in classes.
665
+
666
+ Example::
667
+
668
+ from typing import Self
669
+
670
+ class Foo:
671
+ def return_self(self) -> Self:
672
+ ...
673
+ return self
674
+
675
+ This is especially useful for:
676
+ - classmethods that are used as alternative constructors
677
+ - annotating an `__enter__` method which returns self
678
+ """
679
+ raise TypeError(f"{self} is not subscriptable")
680
+
681
+
682
+ @_SpecialForm
683
+ def LiteralString(self, parameters):
684
+ """Represents an arbitrary literal string.
685
+
686
+ Example::
687
+
688
+ from typing import LiteralString
689
+
690
+ def run_query(sql: LiteralString) -> None:
691
+ ...
692
+
693
+ def caller(arbitrary_string: str, literal_string: LiteralString) -> None:
694
+ run_query("SELECT * FROM students") # OK
695
+ run_query(literal_string) # OK
696
+ run_query("SELECT * FROM " + literal_string) # OK
697
+ run_query(arbitrary_string) # type checker error
698
+ run_query( # type checker error
699
+ f"SELECT * FROM students WHERE name = {arbitrary_string}"
700
+ )
701
+
702
+ Only string literals and other LiteralStrings are compatible
703
+ with LiteralString. This provides a tool to help prevent
704
+ security issues such as SQL injection.
705
+ """
706
+ raise TypeError(f"{self} is not subscriptable")
707
+
708
+
709
+ @_SpecialForm
710
+ def ClassVar(self, parameters):
711
+ """Special type construct to mark class variables.
712
+
713
+ An annotation wrapped in ClassVar indicates that a given
714
+ attribute is intended to be used as a class variable and
715
+ should not be set on instances of that class.
716
+
717
+ Usage::
718
+
719
+ class Starship:
720
+ stats: ClassVar[dict[str, int]] = {} # class variable
721
+ damage: int = 10 # instance variable
722
+
723
+ ClassVar accepts only types and cannot be further subscribed.
724
+
725
+ Note that ClassVar is not a class itself, and should not
726
+ be used with isinstance() or issubclass().
727
+ """
728
+ item = _type_check(parameters, f'{self} accepts only single type.', allow_special_forms=True)
729
+ return _GenericAlias(self, (item,))
730
+
731
+ @_SpecialForm
732
+ def Final(self, parameters):
733
+ """Special typing construct to indicate final names to type checkers.
734
+
735
+ A final name cannot be re-assigned or overridden in a subclass.
736
+
737
+ For example::
738
+
739
+ MAX_SIZE: Final = 9000
740
+ MAX_SIZE += 1 # Error reported by type checker
741
+
742
+ class Connection:
743
+ TIMEOUT: Final[int] = 10
744
+
745
+ class FastConnector(Connection):
746
+ TIMEOUT = 1 # Error reported by type checker
747
+
748
+ There is no runtime checking of these properties.
749
+ """
750
+ item = _type_check(parameters, f'{self} accepts only single type.', allow_special_forms=True)
751
+ return _GenericAlias(self, (item,))
752
+
753
+ @_SpecialForm
754
+ def Union(self, parameters):
755
+ """Union type; Union[X, Y] means either X or Y.
756
+
757
+ On Python 3.10 and higher, the | operator
758
+ can also be used to denote unions;
759
+ X | Y means the same thing to the type checker as Union[X, Y].
760
+
761
+ To define a union, use e.g. Union[int, str]. Details:
762
+ - The arguments must be types and there must be at least one.
763
+ - None as an argument is a special case and is replaced by
764
+ type(None).
765
+ - Unions of unions are flattened, e.g.::
766
+
767
+ assert Union[Union[int, str], float] == Union[int, str, float]
768
+
769
+ - Unions of a single argument vanish, e.g.::
770
+
771
+ assert Union[int] == int # The constructor actually returns int
772
+
773
+ - Redundant arguments are skipped, e.g.::
774
+
775
+ assert Union[int, str, int] == Union[int, str]
776
+
777
+ - When comparing unions, the argument order is ignored, e.g.::
778
+
779
+ assert Union[int, str] == Union[str, int]
780
+
781
+ - You cannot subclass or instantiate a union.
782
+ - You can use Optional[X] as a shorthand for Union[X, None].
783
+ """
784
+ if parameters == ():
785
+ raise TypeError("Cannot take a Union of no types.")
786
+ if not isinstance(parameters, tuple):
787
+ parameters = (parameters,)
788
+ msg = "Union[arg, ...]: each arg must be a type."
789
+ parameters = tuple(_type_check(p, msg) for p in parameters)
790
+ parameters = _remove_dups_flatten(parameters)
791
+ if len(parameters) == 1:
792
+ return parameters[0]
793
+ if len(parameters) == 2 and type(None) in parameters:
794
+ return _UnionGenericAlias(self, parameters, name="Optional")
795
+ return _UnionGenericAlias(self, parameters)
796
+
797
+ def _make_union(left, right):
798
+ """Used from the C implementation of TypeVar.
799
+
800
+ TypeVar.__or__ calls this instead of returning types.UnionType
801
+ because we want to allow unions between TypeVars and strings
802
+ (forward references).
803
+ """
804
+ return Union[left, right]
805
+
806
+ @_SpecialForm
807
+ def Optional(self, parameters):
808
+ """Optional[X] is equivalent to Union[X, None]."""
809
+ arg = _type_check(parameters, f"{self} requires a single type.")
810
+ return Union[arg, type(None)]
811
+
812
+ @_TypedCacheSpecialForm
813
+ @_tp_cache(typed=True)
814
+ def Literal(self, *parameters):
815
+ """Special typing form to define literal types (a.k.a. value types).
816
+
817
+ This form can be used to indicate to type checkers that the corresponding
818
+ variable or function parameter has a value equivalent to the provided
819
+ literal (or one of several literals)::
820
+
821
+ def validate_simple(data: Any) -> Literal[True]: # always returns True
822
+ ...
823
+
824
+ MODE = Literal['r', 'rb', 'w', 'wb']
825
+ def open_helper(file: str, mode: MODE) -> str:
826
+ ...
827
+
828
+ open_helper('/some/path', 'r') # Passes type check
829
+ open_helper('/other/path', 'typo') # Error in type checker
830
+
831
+ Literal[...] cannot be subclassed. At runtime, an arbitrary value
832
+ is allowed as type argument to Literal[...], but type checkers may
833
+ impose restrictions.
834
+ """
835
+ # There is no '_type_check' call because arguments to Literal[...] are
836
+ # values, not types.
837
+ parameters = _flatten_literal_params(parameters)
838
+
839
+ try:
840
+ parameters = tuple(p for p, _ in _deduplicate(list(_value_and_type_iter(parameters))))
841
+ except TypeError: # unhashable parameters
842
+ pass
843
+
844
+ return _LiteralGenericAlias(self, parameters)
845
+
846
+
847
+ @_SpecialForm
848
+ def TypeAlias(self, parameters):
849
+ """Special form for marking type aliases.
850
+
851
+ Use TypeAlias to indicate that an assignment should
852
+ be recognized as a proper type alias definition by type
853
+ checkers.
854
+
855
+ For example::
856
+
857
+ Predicate: TypeAlias = Callable[..., bool]
858
+
859
+ It's invalid when used anywhere except as in the example above.
860
+ """
861
+ raise TypeError(f"{self} is not subscriptable")
862
+
863
+
864
+ @_SpecialForm
865
+ def Concatenate(self, parameters):
866
+ """Special form for annotating higher-order functions.
867
+
868
+ ``Concatenate`` can be used in conjunction with ``ParamSpec`` and
869
+ ``Callable`` to represent a higher-order function which adds, removes or
870
+ transforms the parameters of a callable.
871
+
872
+ For example::
873
+
874
+ Callable[Concatenate[int, P], int]
875
+
876
+ See PEP 612 for detailed information.
877
+ """
878
+ if parameters == ():
879
+ raise TypeError("Cannot take a Concatenate of no types.")
880
+ if not isinstance(parameters, tuple):
881
+ parameters = (parameters,)
882
+ if not (parameters[-1] is ... or isinstance(parameters[-1], ParamSpec)):
883
+ raise TypeError("The last parameter to Concatenate should be a "
884
+ "ParamSpec variable or ellipsis.")
885
+ msg = "Concatenate[arg, ...]: each arg must be a type."
886
+ parameters = (*(_type_check(p, msg) for p in parameters[:-1]), parameters[-1])
887
+ return _ConcatenateGenericAlias(self, parameters)
888
+
889
+
890
+ @_SpecialForm
891
+ def TypeGuard(self, parameters):
892
+ """Special typing construct for marking user-defined type predicate functions.
893
+
894
+ ``TypeGuard`` can be used to annotate the return type of a user-defined
895
+ type predicate function. ``TypeGuard`` only accepts a single type argument.
896
+ At runtime, functions marked this way should return a boolean.
897
+
898
+ ``TypeGuard`` aims to benefit *type narrowing* -- a technique used by static
899
+ type checkers to determine a more precise type of an expression within a
900
+ program's code flow. Usually type narrowing is done by analyzing
901
+ conditional code flow and applying the narrowing to a block of code. The
902
+ conditional expression here is sometimes referred to as a "type predicate".
903
+
904
+ Sometimes it would be convenient to use a user-defined boolean function
905
+ as a type predicate. Such a function should use ``TypeGuard[...]`` or
906
+ ``TypeIs[...]`` as its return type to alert static type checkers to
907
+ this intention. ``TypeGuard`` should be used over ``TypeIs`` when narrowing
908
+ from an incompatible type (e.g., ``list[object]`` to ``list[int]``) or when
909
+ the function does not return ``True`` for all instances of the narrowed type.
910
+
911
+ Using ``-> TypeGuard[NarrowedType]`` tells the static type checker that
912
+ for a given function:
913
+
914
+ 1. The return value is a boolean.
915
+ 2. If the return value is ``True``, the type of its argument
916
+ is ``NarrowedType``.
917
+
918
+ For example::
919
+
920
+ def is_str_list(val: list[object]) -> TypeGuard[list[str]]:
921
+ '''Determines whether all objects in the list are strings'''
922
+ return all(isinstance(x, str) for x in val)
923
+
924
+ def func1(val: list[object]):
925
+ if is_str_list(val):
926
+ # Type of ``val`` is narrowed to ``list[str]``.
927
+ print(" ".join(val))
928
+ else:
929
+ # Type of ``val`` remains as ``list[object]``.
930
+ print("Not a list of strings!")
931
+
932
+ Strict type narrowing is not enforced -- ``TypeB`` need not be a narrower
933
+ form of ``TypeA`` (it can even be a wider form) and this may lead to
934
+ type-unsafe results. The main reason is to allow for things like
935
+ narrowing ``list[object]`` to ``list[str]`` even though the latter is not
936
+ a subtype of the former, since ``list`` is invariant. The responsibility of
937
+ writing type-safe type predicates is left to the user.
938
+
939
+ ``TypeGuard`` also works with type variables. For more information, see
940
+ PEP 647 (User-Defined Type Guards).
941
+ """
942
+ item = _type_check(parameters, f'{self} accepts only single type.')
943
+ return _GenericAlias(self, (item,))
944
+
945
+
946
+ @_SpecialForm
947
+ def TypeIs(self, parameters):
948
+ """Special typing construct for marking user-defined type predicate functions.
949
+
950
+ ``TypeIs`` can be used to annotate the return type of a user-defined
951
+ type predicate function. ``TypeIs`` only accepts a single type argument.
952
+ At runtime, functions marked this way should return a boolean and accept
953
+ at least one argument.
954
+
955
+ ``TypeIs`` aims to benefit *type narrowing* -- a technique used by static
956
+ type checkers to determine a more precise type of an expression within a
957
+ program's code flow. Usually type narrowing is done by analyzing
958
+ conditional code flow and applying the narrowing to a block of code. The
959
+ conditional expression here is sometimes referred to as a "type predicate".
960
+
961
+ Sometimes it would be convenient to use a user-defined boolean function
962
+ as a type predicate. Such a function should use ``TypeIs[...]`` or
963
+ ``TypeGuard[...]`` as its return type to alert static type checkers to
964
+ this intention. ``TypeIs`` usually has more intuitive behavior than
965
+ ``TypeGuard``, but it cannot be used when the input and output types
966
+ are incompatible (e.g., ``list[object]`` to ``list[int]``) or when the
967
+ function does not return ``True`` for all instances of the narrowed type.
968
+
969
+ Using ``-> TypeIs[NarrowedType]`` tells the static type checker that for
970
+ a given function:
971
+
972
+ 1. The return value is a boolean.
973
+ 2. If the return value is ``True``, the type of its argument
974
+ is the intersection of the argument's original type and
975
+ ``NarrowedType``.
976
+ 3. If the return value is ``False``, the type of its argument
977
+ is narrowed to exclude ``NarrowedType``.
978
+
979
+ For example::
980
+
981
+ from typing import assert_type, final, TypeIs
982
+
983
+ class Parent: pass
984
+ class Child(Parent): pass
985
+ @final
986
+ class Unrelated: pass
987
+
988
+ def is_parent(val: object) -> TypeIs[Parent]:
989
+ return isinstance(val, Parent)
990
+
991
+ def run(arg: Child | Unrelated):
992
+ if is_parent(arg):
993
+ # Type of ``arg`` is narrowed to the intersection
994
+ # of ``Parent`` and ``Child``, which is equivalent to
995
+ # ``Child``.
996
+ assert_type(arg, Child)
997
+ else:
998
+ # Type of ``arg`` is narrowed to exclude ``Parent``,
999
+ # so only ``Unrelated`` is left.
1000
+ assert_type(arg, Unrelated)
1001
+
1002
+ The type inside ``TypeIs`` must be consistent with the type of the
1003
+ function's argument; if it is not, static type checkers will raise
1004
+ an error. An incorrectly written ``TypeIs`` function can lead to
1005
+ unsound behavior in the type system; it is the user's responsibility
1006
+ to write such functions in a type-safe manner.
1007
+
1008
+ ``TypeIs`` also works with type variables. For more information, see
1009
+ PEP 742 (Narrowing types with ``TypeIs``).
1010
+ """
1011
+ item = _type_check(parameters, f'{self} accepts only single type.')
1012
+ return _GenericAlias(self, (item,))
1013
+
1014
+
1015
+ class ForwardRef(_Final, _root=True):
1016
+ """Internal wrapper to hold a forward reference."""
1017
+
1018
+ __slots__ = ('__forward_arg__', '__forward_code__',
1019
+ '__forward_evaluated__', '__forward_value__',
1020
+ '__forward_is_argument__', '__forward_is_class__',
1021
+ '__forward_module__')
1022
+
1023
+ def __init__(self, arg, is_argument=True, module=None, *, is_class=False):
1024
+ if not isinstance(arg, str):
1025
+ raise TypeError(f"Forward reference must be a string -- got {arg!r}")
1026
+
1027
+ # If we do `def f(*args: *Ts)`, then we'll have `arg = '*Ts'`.
1028
+ # Unfortunately, this isn't a valid expression on its own, so we
1029
+ # do the unpacking manually.
1030
+ if arg.startswith('*'):
1031
+ arg_to_compile = f'({arg},)[0]' # E.g. (*Ts,)[0] or (*tuple[int, int],)[0]
1032
+ else:
1033
+ arg_to_compile = arg
1034
+ try:
1035
+ code = compile(arg_to_compile, '<string>', 'eval')
1036
+ except SyntaxError:
1037
+ raise SyntaxError(f"Forward reference must be an expression -- got {arg!r}")
1038
+
1039
+ self.__forward_arg__ = arg
1040
+ self.__forward_code__ = code
1041
+ self.__forward_evaluated__ = False
1042
+ self.__forward_value__ = None
1043
+ self.__forward_is_argument__ = is_argument
1044
+ self.__forward_is_class__ = is_class
1045
+ self.__forward_module__ = module
1046
+
1047
+ def _evaluate(self, globalns, localns, type_params=_sentinel, *, recursive_guard):
1048
+ if type_params is _sentinel:
1049
+ _deprecation_warning_for_no_type_params_passed("typing.ForwardRef._evaluate")
1050
+ type_params = ()
1051
+ if self.__forward_arg__ in recursive_guard:
1052
+ return self
1053
+ if not self.__forward_evaluated__ or localns is not globalns:
1054
+ if globalns is None and localns is None:
1055
+ globalns = localns = {}
1056
+ elif globalns is None:
1057
+ globalns = localns
1058
+ elif localns is None:
1059
+ localns = globalns
1060
+ if self.__forward_module__ is not None:
1061
+ globalns = getattr(
1062
+ sys.modules.get(self.__forward_module__, None), '__dict__', globalns
1063
+ )
1064
+
1065
+ # type parameters require some special handling,
1066
+ # as they exist in their own scope
1067
+ # but `eval()` does not have a dedicated parameter for that scope.
1068
+ # For classes, names in type parameter scopes should override
1069
+ # names in the global scope (which here are called `localns`!),
1070
+ # but should in turn be overridden by names in the class scope
1071
+ # (which here are called `globalns`!)
1072
+ if type_params:
1073
+ globalns, localns = dict(globalns), dict(localns)
1074
+ for param in type_params:
1075
+ param_name = param.__name__
1076
+ if not self.__forward_is_class__ or param_name not in globalns:
1077
+ globalns[param_name] = param
1078
+ localns.pop(param_name, None)
1079
+
1080
+ type_ = _type_check(
1081
+ eval(self.__forward_code__, globalns, localns),
1082
+ "Forward references must evaluate to types.",
1083
+ is_argument=self.__forward_is_argument__,
1084
+ allow_special_forms=self.__forward_is_class__,
1085
+ )
1086
+ self.__forward_value__ = _eval_type(
1087
+ type_,
1088
+ globalns,
1089
+ localns,
1090
+ type_params,
1091
+ recursive_guard=(recursive_guard | {self.__forward_arg__}),
1092
+ )
1093
+ self.__forward_evaluated__ = True
1094
+ return self.__forward_value__
1095
+
1096
+ def __eq__(self, other):
1097
+ if not isinstance(other, ForwardRef):
1098
+ return NotImplemented
1099
+ if self.__forward_evaluated__ and other.__forward_evaluated__:
1100
+ return (self.__forward_arg__ == other.__forward_arg__ and
1101
+ self.__forward_value__ == other.__forward_value__)
1102
+ return (self.__forward_arg__ == other.__forward_arg__ and
1103
+ self.__forward_module__ == other.__forward_module__)
1104
+
1105
+ def __hash__(self):
1106
+ return hash((self.__forward_arg__, self.__forward_module__))
1107
+
1108
+ def __or__(self, other):
1109
+ return Union[self, other]
1110
+
1111
+ def __ror__(self, other):
1112
+ return Union[other, self]
1113
+
1114
+ def __repr__(self):
1115
+ if self.__forward_module__ is None:
1116
+ module_repr = ''
1117
+ else:
1118
+ module_repr = f', module={self.__forward_module__!r}'
1119
+ return f'ForwardRef({self.__forward_arg__!r}{module_repr})'
1120
+
1121
+
1122
+ def _is_unpacked_typevartuple(x: Any) -> bool:
1123
+ return ((not isinstance(x, type)) and
1124
+ getattr(x, '__typing_is_unpacked_typevartuple__', False))
1125
+
1126
+
1127
+ def _is_typevar_like(x: Any) -> bool:
1128
+ return isinstance(x, (TypeVar, ParamSpec)) or _is_unpacked_typevartuple(x)
1129
+
1130
+
1131
+ def _typevar_subst(self, arg):
1132
+ msg = "Parameters to generic types must be types."
1133
+ arg = _type_check(arg, msg, is_argument=True)
1134
+ if ((isinstance(arg, _GenericAlias) and arg.__origin__ is Unpack) or
1135
+ (isinstance(arg, GenericAlias) and getattr(arg, '__unpacked__', False))):
1136
+ raise TypeError(f"{arg} is not valid as type argument")
1137
+ return arg
1138
+
1139
+
1140
+ def _typevartuple_prepare_subst(self, alias, args):
1141
+ params = alias.__parameters__
1142
+ typevartuple_index = params.index(self)
1143
+ for param in params[typevartuple_index + 1:]:
1144
+ if isinstance(param, TypeVarTuple):
1145
+ raise TypeError(f"More than one TypeVarTuple parameter in {alias}")
1146
+
1147
+ alen = len(args)
1148
+ plen = len(params)
1149
+ left = typevartuple_index
1150
+ right = plen - typevartuple_index - 1
1151
+ var_tuple_index = None
1152
+ fillarg = None
1153
+ for k, arg in enumerate(args):
1154
+ if not isinstance(arg, type):
1155
+ subargs = getattr(arg, '__typing_unpacked_tuple_args__', None)
1156
+ if subargs and len(subargs) == 2 and subargs[-1] is ...:
1157
+ if var_tuple_index is not None:
1158
+ raise TypeError("More than one unpacked arbitrary-length tuple argument")
1159
+ var_tuple_index = k
1160
+ fillarg = subargs[0]
1161
+ if var_tuple_index is not None:
1162
+ left = min(left, var_tuple_index)
1163
+ right = min(right, alen - var_tuple_index - 1)
1164
+ elif left + right > alen:
1165
+ raise TypeError(f"Too few arguments for {alias};"
1166
+ f" actual {alen}, expected at least {plen-1}")
1167
+ if left == alen - right and self.has_default():
1168
+ replacement = _unpack_args(self.__default__)
1169
+ else:
1170
+ replacement = args[left: alen - right]
1171
+
1172
+ return (
1173
+ *args[:left],
1174
+ *([fillarg]*(typevartuple_index - left)),
1175
+ replacement,
1176
+ *([fillarg]*(plen - right - left - typevartuple_index - 1)),
1177
+ *args[alen - right:],
1178
+ )
1179
+
1180
+
1181
+ def _paramspec_subst(self, arg):
1182
+ if isinstance(arg, (list, tuple)):
1183
+ arg = tuple(_type_check(a, "Expected a type.") for a in arg)
1184
+ elif not _is_param_expr(arg):
1185
+ raise TypeError(f"Expected a list of types, an ellipsis, "
1186
+ f"ParamSpec, or Concatenate. Got {arg}")
1187
+ return arg
1188
+
1189
+
1190
+ def _paramspec_prepare_subst(self, alias, args):
1191
+ params = alias.__parameters__
1192
+ i = params.index(self)
1193
+ if i == len(args) and self.has_default():
1194
+ args = (*args, self.__default__)
1195
+ if i >= len(args):
1196
+ raise TypeError(f"Too few arguments for {alias}")
1197
+ # Special case where Z[[int, str, bool]] == Z[int, str, bool] in PEP 612.
1198
+ if len(params) == 1 and not _is_param_expr(args[0]):
1199
+ assert i == 0
1200
+ args = (args,)
1201
+ # Convert lists to tuples to help other libraries cache the results.
1202
+ elif isinstance(args[i], list):
1203
+ args = (*args[:i], tuple(args[i]), *args[i+1:])
1204
+ return args
1205
+
1206
+
1207
+ @_tp_cache
1208
+ def _generic_class_getitem(cls, args):
1209
+ """Parameterizes a generic class.
1210
+
1211
+ At least, parameterizing a generic class is the *main* thing this method
1212
+ does. For example, for some generic class `Foo`, this is called when we
1213
+ do `Foo[int]` - there, with `cls=Foo` and `args=int`.
1214
+
1215
+ However, note that this method is also called when defining generic
1216
+ classes in the first place with `class Foo(Generic[T]): ...`.
1217
+ """
1218
+ if not isinstance(args, tuple):
1219
+ args = (args,)
1220
+
1221
+ args = tuple(_type_convert(p) for p in args)
1222
+ is_generic_or_protocol = cls in (Generic, Protocol)
1223
+
1224
+ if is_generic_or_protocol:
1225
+ # Generic and Protocol can only be subscripted with unique type variables.
1226
+ if not args:
1227
+ raise TypeError(
1228
+ f"Parameter list to {cls.__qualname__}[...] cannot be empty"
1229
+ )
1230
+ if not all(_is_typevar_like(p) for p in args):
1231
+ raise TypeError(
1232
+ f"Parameters to {cls.__name__}[...] must all be type variables "
1233
+ f"or parameter specification variables.")
1234
+ if len(set(args)) != len(args):
1235
+ raise TypeError(
1236
+ f"Parameters to {cls.__name__}[...] must all be unique")
1237
+ else:
1238
+ # Subscripting a regular Generic subclass.
1239
+ try:
1240
+ parameters = cls.__parameters__
1241
+ except AttributeError as e:
1242
+ init_subclass = getattr(cls, '__init_subclass__', None)
1243
+ if init_subclass not in {None, Generic.__init_subclass__}:
1244
+ e.add_note(
1245
+ f"Note: this exception may have been caused by "
1246
+ f"{init_subclass.__qualname__!r} (or the "
1247
+ f"'__init_subclass__' method on a superclass) not "
1248
+ f"calling 'super().__init_subclass__()'"
1249
+ )
1250
+ raise
1251
+ for param in parameters:
1252
+ prepare = getattr(param, '__typing_prepare_subst__', None)
1253
+ if prepare is not None:
1254
+ args = prepare(cls, args)
1255
+ _check_generic_specialization(cls, args)
1256
+
1257
+ new_args = []
1258
+ for param, new_arg in zip(parameters, args):
1259
+ if isinstance(param, TypeVarTuple):
1260
+ new_args.extend(new_arg)
1261
+ else:
1262
+ new_args.append(new_arg)
1263
+ args = tuple(new_args)
1264
+
1265
+ return _GenericAlias(cls, args)
1266
+
1267
+
1268
+ def _generic_init_subclass(cls, *args, **kwargs):
1269
+ super(Generic, cls).__init_subclass__(*args, **kwargs)
1270
+ tvars = []
1271
+ if '__orig_bases__' in cls.__dict__:
1272
+ error = Generic in cls.__orig_bases__
1273
+ else:
1274
+ error = (Generic in cls.__bases__ and
1275
+ cls.__name__ != 'Protocol' and
1276
+ type(cls) != _TypedDictMeta)
1277
+ if error:
1278
+ raise TypeError("Cannot inherit from plain Generic")
1279
+ if '__orig_bases__' in cls.__dict__:
1280
+ tvars = _collect_type_parameters(cls.__orig_bases__)
1281
+ # Look for Generic[T1, ..., Tn].
1282
+ # If found, tvars must be a subset of it.
1283
+ # If not found, tvars is it.
1284
+ # Also check for and reject plain Generic,
1285
+ # and reject multiple Generic[...].
1286
+ gvars = None
1287
+ for base in cls.__orig_bases__:
1288
+ if (isinstance(base, _GenericAlias) and
1289
+ base.__origin__ is Generic):
1290
+ if gvars is not None:
1291
+ raise TypeError(
1292
+ "Cannot inherit from Generic[...] multiple times.")
1293
+ gvars = base.__parameters__
1294
+ if gvars is not None:
1295
+ tvarset = set(tvars)
1296
+ gvarset = set(gvars)
1297
+ if not tvarset <= gvarset:
1298
+ s_vars = ', '.join(str(t) for t in tvars if t not in gvarset)
1299
+ s_args = ', '.join(str(g) for g in gvars)
1300
+ raise TypeError(f"Some type variables ({s_vars}) are"
1301
+ f" not listed in Generic[{s_args}]")
1302
+ tvars = gvars
1303
+ cls.__parameters__ = tuple(tvars)
1304
+
1305
+
1306
+ def _is_dunder(attr):
1307
+ return attr.startswith('__') and attr.endswith('__')
1308
+
1309
+ class _BaseGenericAlias(_Final, _root=True):
1310
+ """The central part of the internal API.
1311
+
1312
+ This represents a generic version of type 'origin' with type arguments 'params'.
1313
+ There are two kind of these aliases: user defined and special. The special ones
1314
+ are wrappers around builtin collections and ABCs in collections.abc. These must
1315
+ have 'name' always set. If 'inst' is False, then the alias can't be instantiated;
1316
+ this is used by e.g. typing.List and typing.Dict.
1317
+ """
1318
+
1319
+ def __init__(self, origin, *, inst=True, name=None):
1320
+ self._inst = inst
1321
+ self._name = name
1322
+ self.__origin__ = origin
1323
+ self.__slots__ = None # This is not documented.
1324
+
1325
+ def __call__(self, *args, **kwargs):
1326
+ if not self._inst:
1327
+ raise TypeError(f"Type {self._name} cannot be instantiated; "
1328
+ f"use {self.__origin__.__name__}() instead")
1329
+ result = self.__origin__(*args, **kwargs)
1330
+ try:
1331
+ result.__orig_class__ = self
1332
+ # Some objects raise TypeError (or something even more exotic)
1333
+ # if you try to set attributes on them; we guard against that here
1334
+ except Exception:
1335
+ pass
1336
+ return result
1337
+
1338
+ def __mro_entries__(self, bases):
1339
+ res = []
1340
+ if self.__origin__ not in bases:
1341
+ res.append(self.__origin__)
1342
+
1343
+ # Check if any base that occurs after us in `bases` is either itself a
1344
+ # subclass of Generic, or something which will add a subclass of Generic
1345
+ # to `__bases__` via its `__mro_entries__`. If not, add Generic
1346
+ # ourselves. The goal is to ensure that Generic (or a subclass) will
1347
+ # appear exactly once in the final bases tuple. If we let it appear
1348
+ # multiple times, we risk "can't form a consistent MRO" errors.
1349
+ i = bases.index(self)
1350
+ for b in bases[i+1:]:
1351
+ if isinstance(b, _BaseGenericAlias):
1352
+ break
1353
+ if not isinstance(b, type):
1354
+ meth = getattr(b, "__mro_entries__", None)
1355
+ new_bases = meth(bases) if meth else None
1356
+ if (
1357
+ isinstance(new_bases, tuple) and
1358
+ any(
1359
+ isinstance(b2, type) and issubclass(b2, Generic)
1360
+ for b2 in new_bases
1361
+ )
1362
+ ):
1363
+ break
1364
+ elif issubclass(b, Generic):
1365
+ break
1366
+ else:
1367
+ res.append(Generic)
1368
+ return tuple(res)
1369
+
1370
+ def __getattr__(self, attr):
1371
+ if attr in {'__name__', '__qualname__'}:
1372
+ return self._name or self.__origin__.__name__
1373
+
1374
+ # We are careful for copy and pickle.
1375
+ # Also for simplicity we don't relay any dunder names
1376
+ if '__origin__' in self.__dict__ and not _is_dunder(attr):
1377
+ return getattr(self.__origin__, attr)
1378
+ raise AttributeError(attr)
1379
+
1380
+ def __setattr__(self, attr, val):
1381
+ if _is_dunder(attr) or attr in {'_name', '_inst', '_nparams', '_defaults'}:
1382
+ super().__setattr__(attr, val)
1383
+ else:
1384
+ setattr(self.__origin__, attr, val)
1385
+
1386
+ def __instancecheck__(self, obj):
1387
+ return self.__subclasscheck__(type(obj))
1388
+
1389
+ def __subclasscheck__(self, cls):
1390
+ raise TypeError("Subscripted generics cannot be used with"
1391
+ " class and instance checks")
1392
+
1393
+ def __dir__(self):
1394
+ return list(set(super().__dir__()
1395
+ + [attr for attr in dir(self.__origin__) if not _is_dunder(attr)]))
1396
+
1397
+
1398
+ # Special typing constructs Union, Optional, Generic, Callable and Tuple
1399
+ # use three special attributes for internal bookkeeping of generic types:
1400
+ # * __parameters__ is a tuple of unique free type parameters of a generic
1401
+ # type, for example, Dict[T, T].__parameters__ == (T,);
1402
+ # * __origin__ keeps a reference to a type that was subscripted,
1403
+ # e.g., Union[T, int].__origin__ == Union, or the non-generic version of
1404
+ # the type.
1405
+ # * __args__ is a tuple of all arguments used in subscripting,
1406
+ # e.g., Dict[T, int].__args__ == (T, int).
1407
+
1408
+
1409
+ class _GenericAlias(_BaseGenericAlias, _root=True):
1410
+ # The type of parameterized generics.
1411
+ #
1412
+ # That is, for example, `type(List[int])` is `_GenericAlias`.
1413
+ #
1414
+ # Objects which are instances of this class include:
1415
+ # * Parameterized container types, e.g. `Tuple[int]`, `List[int]`.
1416
+ # * Note that native container types, e.g. `tuple`, `list`, use
1417
+ # `types.GenericAlias` instead.
1418
+ # * Parameterized classes:
1419
+ # class C[T]: pass
1420
+ # # C[int] is a _GenericAlias
1421
+ # * `Callable` aliases, generic `Callable` aliases, and
1422
+ # parameterized `Callable` aliases:
1423
+ # T = TypeVar('T')
1424
+ # # _CallableGenericAlias inherits from _GenericAlias.
1425
+ # A = Callable[[], None] # _CallableGenericAlias
1426
+ # B = Callable[[T], None] # _CallableGenericAlias
1427
+ # C = B[int] # _CallableGenericAlias
1428
+ # * Parameterized `Final`, `ClassVar`, `TypeGuard`, and `TypeIs`:
1429
+ # # All _GenericAlias
1430
+ # Final[int]
1431
+ # ClassVar[float]
1432
+ # TypeGuard[bool]
1433
+ # TypeIs[range]
1434
+
1435
+ def __init__(self, origin, args, *, inst=True, name=None):
1436
+ super().__init__(origin, inst=inst, name=name)
1437
+ if not isinstance(args, tuple):
1438
+ args = (args,)
1439
+ self.__args__ = tuple(... if a is _TypingEllipsis else
1440
+ a for a in args)
1441
+ enforce_default_ordering = origin in (Generic, Protocol)
1442
+ self.__parameters__ = _collect_type_parameters(
1443
+ args,
1444
+ enforce_default_ordering=enforce_default_ordering,
1445
+ )
1446
+ if not name:
1447
+ self.__module__ = origin.__module__
1448
+
1449
+ def __eq__(self, other):
1450
+ if not isinstance(other, _GenericAlias):
1451
+ return NotImplemented
1452
+ return (self.__origin__ == other.__origin__
1453
+ and self.__args__ == other.__args__)
1454
+
1455
+ def __hash__(self):
1456
+ return hash((self.__origin__, self.__args__))
1457
+
1458
+ def __or__(self, right):
1459
+ return Union[self, right]
1460
+
1461
+ def __ror__(self, left):
1462
+ return Union[left, self]
1463
+
1464
+ @_tp_cache
1465
+ def __getitem__(self, args):
1466
+ # Parameterizes an already-parameterized object.
1467
+ #
1468
+ # For example, we arrive here doing something like:
1469
+ # T1 = TypeVar('T1')
1470
+ # T2 = TypeVar('T2')
1471
+ # T3 = TypeVar('T3')
1472
+ # class A(Generic[T1]): pass
1473
+ # B = A[T2] # B is a _GenericAlias
1474
+ # C = B[T3] # Invokes _GenericAlias.__getitem__
1475
+ #
1476
+ # We also arrive here when parameterizing a generic `Callable` alias:
1477
+ # T = TypeVar('T')
1478
+ # C = Callable[[T], None]
1479
+ # C[int] # Invokes _GenericAlias.__getitem__
1480
+
1481
+ if self.__origin__ in (Generic, Protocol):
1482
+ # Can't subscript Generic[...] or Protocol[...].
1483
+ raise TypeError(f"Cannot subscript already-subscripted {self}")
1484
+ if not self.__parameters__:
1485
+ raise TypeError(f"{self} is not a generic class")
1486
+
1487
+ # Preprocess `args`.
1488
+ if not isinstance(args, tuple):
1489
+ args = (args,)
1490
+ args = _unpack_args(*(_type_convert(p) for p in args))
1491
+ new_args = self._determine_new_args(args)
1492
+ r = self.copy_with(new_args)
1493
+ return r
1494
+
1495
+ def _determine_new_args(self, args):
1496
+ # Determines new __args__ for __getitem__.
1497
+ #
1498
+ # For example, suppose we had:
1499
+ # T1 = TypeVar('T1')
1500
+ # T2 = TypeVar('T2')
1501
+ # class A(Generic[T1, T2]): pass
1502
+ # T3 = TypeVar('T3')
1503
+ # B = A[int, T3]
1504
+ # C = B[str]
1505
+ # `B.__args__` is `(int, T3)`, so `C.__args__` should be `(int, str)`.
1506
+ # Unfortunately, this is harder than it looks, because if `T3` is
1507
+ # anything more exotic than a plain `TypeVar`, we need to consider
1508
+ # edge cases.
1509
+
1510
+ params = self.__parameters__
1511
+ # In the example above, this would be {T3: str}
1512
+ for param in params:
1513
+ prepare = getattr(param, '__typing_prepare_subst__', None)
1514
+ if prepare is not None:
1515
+ args = prepare(self, args)
1516
+ alen = len(args)
1517
+ plen = len(params)
1518
+ if alen != plen:
1519
+ raise TypeError(f"Too {'many' if alen > plen else 'few'} arguments for {self};"
1520
+ f" actual {alen}, expected {plen}")
1521
+ new_arg_by_param = dict(zip(params, args))
1522
+ return tuple(self._make_substitution(self.__args__, new_arg_by_param))
1523
+
1524
+ def _make_substitution(self, args, new_arg_by_param):
1525
+ """Create a list of new type arguments."""
1526
+ new_args = []
1527
+ for old_arg in args:
1528
+ if isinstance(old_arg, type):
1529
+ new_args.append(old_arg)
1530
+ continue
1531
+
1532
+ substfunc = getattr(old_arg, '__typing_subst__', None)
1533
+ if substfunc:
1534
+ new_arg = substfunc(new_arg_by_param[old_arg])
1535
+ else:
1536
+ subparams = getattr(old_arg, '__parameters__', ())
1537
+ if not subparams:
1538
+ new_arg = old_arg
1539
+ else:
1540
+ subargs = []
1541
+ for x in subparams:
1542
+ if isinstance(x, TypeVarTuple):
1543
+ subargs.extend(new_arg_by_param[x])
1544
+ else:
1545
+ subargs.append(new_arg_by_param[x])
1546
+ new_arg = old_arg[tuple(subargs)]
1547
+
1548
+ if self.__origin__ == collections.abc.Callable and isinstance(new_arg, tuple):
1549
+ # Consider the following `Callable`.
1550
+ # C = Callable[[int], str]
1551
+ # Here, `C.__args__` should be (int, str) - NOT ([int], str).
1552
+ # That means that if we had something like...
1553
+ # P = ParamSpec('P')
1554
+ # T = TypeVar('T')
1555
+ # C = Callable[P, T]
1556
+ # D = C[[int, str], float]
1557
+ # ...we need to be careful; `new_args` should end up as
1558
+ # `(int, str, float)` rather than `([int, str], float)`.
1559
+ new_args.extend(new_arg)
1560
+ elif _is_unpacked_typevartuple(old_arg):
1561
+ # Consider the following `_GenericAlias`, `B`:
1562
+ # class A(Generic[*Ts]): ...
1563
+ # B = A[T, *Ts]
1564
+ # If we then do:
1565
+ # B[float, int, str]
1566
+ # The `new_arg` corresponding to `T` will be `float`, and the
1567
+ # `new_arg` corresponding to `*Ts` will be `(int, str)`. We
1568
+ # should join all these types together in a flat list
1569
+ # `(float, int, str)` - so again, we should `extend`.
1570
+ new_args.extend(new_arg)
1571
+ elif isinstance(old_arg, tuple):
1572
+ # Corner case:
1573
+ # P = ParamSpec('P')
1574
+ # T = TypeVar('T')
1575
+ # class Base(Generic[P]): ...
1576
+ # Can be substituted like this:
1577
+ # X = Base[[int, T]]
1578
+ # In this case, `old_arg` will be a tuple:
1579
+ new_args.append(
1580
+ tuple(self._make_substitution(old_arg, new_arg_by_param)),
1581
+ )
1582
+ else:
1583
+ new_args.append(new_arg)
1584
+ return new_args
1585
+
1586
+ def copy_with(self, args):
1587
+ return self.__class__(self.__origin__, args, name=self._name, inst=self._inst)
1588
+
1589
+ def __repr__(self):
1590
+ if self._name:
1591
+ name = 'typing.' + self._name
1592
+ else:
1593
+ name = _type_repr(self.__origin__)
1594
+ if self.__args__:
1595
+ args = ", ".join([_type_repr(a) for a in self.__args__])
1596
+ else:
1597
+ # To ensure the repr is eval-able.
1598
+ args = "()"
1599
+ return f'{name}[{args}]'
1600
+
1601
+ def __reduce__(self):
1602
+ if self._name:
1603
+ origin = globals()[self._name]
1604
+ else:
1605
+ origin = self.__origin__
1606
+ args = tuple(self.__args__)
1607
+ if len(args) == 1 and not isinstance(args[0], tuple):
1608
+ args, = args
1609
+ return operator.getitem, (origin, args)
1610
+
1611
+ def __mro_entries__(self, bases):
1612
+ if isinstance(self.__origin__, _SpecialForm):
1613
+ raise TypeError(f"Cannot subclass {self!r}")
1614
+
1615
+ if self._name: # generic version of an ABC or built-in class
1616
+ return super().__mro_entries__(bases)
1617
+ if self.__origin__ is Generic:
1618
+ if Protocol in bases:
1619
+ return ()
1620
+ i = bases.index(self)
1621
+ for b in bases[i+1:]:
1622
+ if isinstance(b, _BaseGenericAlias) and b is not self:
1623
+ return ()
1624
+ return (self.__origin__,)
1625
+
1626
+ def __iter__(self):
1627
+ yield Unpack[self]
1628
+
1629
+
1630
+ # _nparams is the number of accepted parameters, e.g. 0 for Hashable,
1631
+ # 1 for List and 2 for Dict. It may be -1 if variable number of
1632
+ # parameters are accepted (needs custom __getitem__).
1633
+
1634
+ class _SpecialGenericAlias(_NotIterable, _BaseGenericAlias, _root=True):
1635
+ def __init__(self, origin, nparams, *, inst=True, name=None, defaults=()):
1636
+ if name is None:
1637
+ name = origin.__name__
1638
+ super().__init__(origin, inst=inst, name=name)
1639
+ self._nparams = nparams
1640
+ self._defaults = defaults
1641
+ if origin.__module__ == 'builtins':
1642
+ self.__doc__ = f'Deprecated alias to {origin.__qualname__}.'
1643
+ else:
1644
+ self.__doc__ = f'Deprecated alias to {origin.__module__}.{origin.__qualname__}.'
1645
+
1646
+ @_tp_cache
1647
+ def __getitem__(self, params):
1648
+ if not isinstance(params, tuple):
1649
+ params = (params,)
1650
+ msg = "Parameters to generic types must be types."
1651
+ params = tuple(_type_check(p, msg) for p in params)
1652
+ if (self._defaults
1653
+ and len(params) < self._nparams
1654
+ and len(params) + len(self._defaults) >= self._nparams
1655
+ ):
1656
+ params = (*params, *self._defaults[len(params) - self._nparams:])
1657
+ actual_len = len(params)
1658
+
1659
+ if actual_len != self._nparams:
1660
+ if self._defaults:
1661
+ expected = f"at least {self._nparams - len(self._defaults)}"
1662
+ else:
1663
+ expected = str(self._nparams)
1664
+ if not self._nparams:
1665
+ raise TypeError(f"{self} is not a generic class")
1666
+ raise TypeError(f"Too {'many' if actual_len > self._nparams else 'few'} arguments for {self};"
1667
+ f" actual {actual_len}, expected {expected}")
1668
+ return self.copy_with(params)
1669
+
1670
+ def copy_with(self, params):
1671
+ return _GenericAlias(self.__origin__, params,
1672
+ name=self._name, inst=self._inst)
1673
+
1674
+ def __repr__(self):
1675
+ return 'typing.' + self._name
1676
+
1677
+ def __subclasscheck__(self, cls):
1678
+ if isinstance(cls, _SpecialGenericAlias):
1679
+ return issubclass(cls.__origin__, self.__origin__)
1680
+ if not isinstance(cls, _GenericAlias):
1681
+ return issubclass(cls, self.__origin__)
1682
+ return super().__subclasscheck__(cls)
1683
+
1684
+ def __reduce__(self):
1685
+ return self._name
1686
+
1687
+ def __or__(self, right):
1688
+ return Union[self, right]
1689
+
1690
+ def __ror__(self, left):
1691
+ return Union[left, self]
1692
+
1693
+
1694
+ class _DeprecatedGenericAlias(_SpecialGenericAlias, _root=True):
1695
+ def __init__(
1696
+ self, origin, nparams, *, removal_version, inst=True, name=None
1697
+ ):
1698
+ super().__init__(origin, nparams, inst=inst, name=name)
1699
+ self._removal_version = removal_version
1700
+
1701
+ def __instancecheck__(self, inst):
1702
+ import warnings
1703
+ warnings._deprecated(
1704
+ f"{self.__module__}.{self._name}", remove=self._removal_version
1705
+ )
1706
+ return super().__instancecheck__(inst)
1707
+
1708
+
1709
+ class _CallableGenericAlias(_NotIterable, _GenericAlias, _root=True):
1710
+ def __repr__(self):
1711
+ assert self._name == 'Callable'
1712
+ args = self.__args__
1713
+ if len(args) == 2 and _is_param_expr(args[0]):
1714
+ return super().__repr__()
1715
+ return (f'typing.Callable'
1716
+ f'[[{", ".join([_type_repr(a) for a in args[:-1]])}], '
1717
+ f'{_type_repr(args[-1])}]')
1718
+
1719
+ def __reduce__(self):
1720
+ args = self.__args__
1721
+ if not (len(args) == 2 and _is_param_expr(args[0])):
1722
+ args = list(args[:-1]), args[-1]
1723
+ return operator.getitem, (Callable, args)
1724
+
1725
+
1726
+ class _CallableType(_SpecialGenericAlias, _root=True):
1727
+ def copy_with(self, params):
1728
+ return _CallableGenericAlias(self.__origin__, params,
1729
+ name=self._name, inst=self._inst)
1730
+
1731
+ def __getitem__(self, params):
1732
+ if not isinstance(params, tuple) or len(params) != 2:
1733
+ raise TypeError("Callable must be used as "
1734
+ "Callable[[arg, ...], result].")
1735
+ args, result = params
1736
+ # This relaxes what args can be on purpose to allow things like
1737
+ # PEP 612 ParamSpec. Responsibility for whether a user is using
1738
+ # Callable[...] properly is deferred to static type checkers.
1739
+ if isinstance(args, list):
1740
+ params = (tuple(args), result)
1741
+ else:
1742
+ params = (args, result)
1743
+ return self.__getitem_inner__(params)
1744
+
1745
+ @_tp_cache
1746
+ def __getitem_inner__(self, params):
1747
+ args, result = params
1748
+ msg = "Callable[args, result]: result must be a type."
1749
+ result = _type_check(result, msg)
1750
+ if args is Ellipsis:
1751
+ return self.copy_with((_TypingEllipsis, result))
1752
+ if not isinstance(args, tuple):
1753
+ args = (args,)
1754
+ args = tuple(_type_convert(arg) for arg in args)
1755
+ params = args + (result,)
1756
+ return self.copy_with(params)
1757
+
1758
+
1759
+ class _TupleType(_SpecialGenericAlias, _root=True):
1760
+ @_tp_cache
1761
+ def __getitem__(self, params):
1762
+ if not isinstance(params, tuple):
1763
+ params = (params,)
1764
+ if len(params) >= 2 and params[-1] is ...:
1765
+ msg = "Tuple[t, ...]: t must be a type."
1766
+ params = tuple(_type_check(p, msg) for p in params[:-1])
1767
+ return self.copy_with((*params, _TypingEllipsis))
1768
+ msg = "Tuple[t0, t1, ...]: each t must be a type."
1769
+ params = tuple(_type_check(p, msg) for p in params)
1770
+ return self.copy_with(params)
1771
+
1772
+
1773
+ class _UnionGenericAlias(_NotIterable, _GenericAlias, _root=True):
1774
+ def copy_with(self, params):
1775
+ return Union[params]
1776
+
1777
+ def __eq__(self, other):
1778
+ if not isinstance(other, (_UnionGenericAlias, types.UnionType)):
1779
+ return NotImplemented
1780
+ try: # fast path
1781
+ return set(self.__args__) == set(other.__args__)
1782
+ except TypeError: # not hashable, slow path
1783
+ return _compare_args_orderless(self.__args__, other.__args__)
1784
+
1785
+ def __hash__(self):
1786
+ return hash(frozenset(self.__args__))
1787
+
1788
+ def __repr__(self):
1789
+ args = self.__args__
1790
+ if len(args) == 2:
1791
+ if args[0] is type(None):
1792
+ return f'typing.Optional[{_type_repr(args[1])}]'
1793
+ elif args[1] is type(None):
1794
+ return f'typing.Optional[{_type_repr(args[0])}]'
1795
+ return super().__repr__()
1796
+
1797
+ def __instancecheck__(self, obj):
1798
+ for arg in self.__args__:
1799
+ if isinstance(obj, arg):
1800
+ return True
1801
+ return False
1802
+
1803
+ def __subclasscheck__(self, cls):
1804
+ for arg in self.__args__:
1805
+ if issubclass(cls, arg):
1806
+ return True
1807
+ return False
1808
+
1809
+ def __reduce__(self):
1810
+ func, (origin, args) = super().__reduce__()
1811
+ return func, (Union, args)
1812
+
1813
+
1814
+ def _value_and_type_iter(parameters):
1815
+ return ((p, type(p)) for p in parameters)
1816
+
1817
+
1818
+ class _LiteralGenericAlias(_GenericAlias, _root=True):
1819
+ def __eq__(self, other):
1820
+ if not isinstance(other, _LiteralGenericAlias):
1821
+ return NotImplemented
1822
+
1823
+ return set(_value_and_type_iter(self.__args__)) == set(_value_and_type_iter(other.__args__))
1824
+
1825
+ def __hash__(self):
1826
+ return hash(frozenset(_value_and_type_iter(self.__args__)))
1827
+
1828
+
1829
+ class _ConcatenateGenericAlias(_GenericAlias, _root=True):
1830
+ def copy_with(self, params):
1831
+ if isinstance(params[-1], (list, tuple)):
1832
+ return (*params[:-1], *params[-1])
1833
+ if isinstance(params[-1], _ConcatenateGenericAlias):
1834
+ params = (*params[:-1], *params[-1].__args__)
1835
+ return super().copy_with(params)
1836
+
1837
+
1838
+ @_SpecialForm
1839
+ def Unpack(self, parameters):
1840
+ """Type unpack operator.
1841
+
1842
+ The type unpack operator takes the child types from some container type,
1843
+ such as `tuple[int, str]` or a `TypeVarTuple`, and 'pulls them out'.
1844
+
1845
+ For example::
1846
+
1847
+ # For some generic class `Foo`:
1848
+ Foo[Unpack[tuple[int, str]]] # Equivalent to Foo[int, str]
1849
+
1850
+ Ts = TypeVarTuple('Ts')
1851
+ # Specifies that `Bar` is generic in an arbitrary number of types.
1852
+ # (Think of `Ts` as a tuple of an arbitrary number of individual
1853
+ # `TypeVar`s, which the `Unpack` is 'pulling out' directly into the
1854
+ # `Generic[]`.)
1855
+ class Bar(Generic[Unpack[Ts]]): ...
1856
+ Bar[int] # Valid
1857
+ Bar[int, str] # Also valid
1858
+
1859
+ From Python 3.11, this can also be done using the `*` operator::
1860
+
1861
+ Foo[*tuple[int, str]]
1862
+ class Bar(Generic[*Ts]): ...
1863
+
1864
+ And from Python 3.12, it can be done using built-in syntax for generics::
1865
+
1866
+ Foo[*tuple[int, str]]
1867
+ class Bar[*Ts]: ...
1868
+
1869
+ The operator can also be used along with a `TypedDict` to annotate
1870
+ `**kwargs` in a function signature::
1871
+
1872
+ class Movie(TypedDict):
1873
+ name: str
1874
+ year: int
1875
+
1876
+ # This function expects two keyword arguments - *name* of type `str` and
1877
+ # *year* of type `int`.
1878
+ def foo(**kwargs: Unpack[Movie]): ...
1879
+
1880
+ Note that there is only some runtime checking of this operator. Not
1881
+ everything the runtime allows may be accepted by static type checkers.
1882
+
1883
+ For more information, see PEPs 646 and 692.
1884
+ """
1885
+ item = _type_check(parameters, f'{self} accepts only single type.')
1886
+ return _UnpackGenericAlias(origin=self, args=(item,))
1887
+
1888
+
1889
+ class _UnpackGenericAlias(_GenericAlias, _root=True):
1890
+ def __repr__(self):
1891
+ # `Unpack` only takes one argument, so __args__ should contain only
1892
+ # a single item.
1893
+ return f'typing.Unpack[{_type_repr(self.__args__[0])}]'
1894
+
1895
+ def __getitem__(self, args):
1896
+ if self.__typing_is_unpacked_typevartuple__:
1897
+ return args
1898
+ return super().__getitem__(args)
1899
+
1900
+ @property
1901
+ def __typing_unpacked_tuple_args__(self):
1902
+ assert self.__origin__ is Unpack
1903
+ assert len(self.__args__) == 1
1904
+ arg, = self.__args__
1905
+ if isinstance(arg, (_GenericAlias, types.GenericAlias)):
1906
+ if arg.__origin__ is not tuple:
1907
+ raise TypeError("Unpack[...] must be used with a tuple type")
1908
+ return arg.__args__
1909
+ return None
1910
+
1911
+ @property
1912
+ def __typing_is_unpacked_typevartuple__(self):
1913
+ assert self.__origin__ is Unpack
1914
+ assert len(self.__args__) == 1
1915
+ return isinstance(self.__args__[0], TypeVarTuple)
1916
+
1917
+
1918
+ class _TypingEllipsis:
1919
+ """Internal placeholder for ... (ellipsis)."""
1920
+
1921
+
1922
+ _TYPING_INTERNALS = frozenset({
1923
+ '__parameters__', '__orig_bases__', '__orig_class__',
1924
+ '_is_protocol', '_is_runtime_protocol', '__protocol_attrs__',
1925
+ '__non_callable_proto_members__', '__type_params__',
1926
+ })
1927
+
1928
+ _SPECIAL_NAMES = frozenset({
1929
+ '__abstractmethods__', '__annotations__', '__dict__', '__doc__',
1930
+ '__init__', '__module__', '__new__', '__slots__',
1931
+ '__subclasshook__', '__weakref__', '__class_getitem__',
1932
+ '__match_args__', '__static_attributes__', '__firstlineno__',
1933
+ })
1934
+
1935
+ # These special attributes will be not collected as protocol members.
1936
+ EXCLUDED_ATTRIBUTES = _TYPING_INTERNALS | _SPECIAL_NAMES | {'_MutableMapping__marker'}
1937
+
1938
+
1939
+ def _get_protocol_attrs(cls):
1940
+ """Collect protocol members from a protocol class objects.
1941
+
1942
+ This includes names actually defined in the class dictionary, as well
1943
+ as names that appear in annotations. Special names (above) are skipped.
1944
+ """
1945
+ attrs = set()
1946
+ for base in cls.__mro__[:-1]: # without object
1947
+ if base.__name__ in {'Protocol', 'Generic'}:
1948
+ continue
1949
+ annotations = getattr(base, '__annotations__', {})
1950
+ for attr in (*base.__dict__, *annotations):
1951
+ if not attr.startswith('_abc_') and attr not in EXCLUDED_ATTRIBUTES:
1952
+ attrs.add(attr)
1953
+ return attrs
1954
+
1955
+
1956
+ def _no_init_or_replace_init(self, *args, **kwargs):
1957
+ cls = type(self)
1958
+
1959
+ if cls._is_protocol:
1960
+ raise TypeError('Protocols cannot be instantiated')
1961
+
1962
+ # Already using a custom `__init__`. No need to calculate correct
1963
+ # `__init__` to call. This can lead to RecursionError. See bpo-45121.
1964
+ if cls.__init__ is not _no_init_or_replace_init:
1965
+ return
1966
+
1967
+ # Initially, `__init__` of a protocol subclass is set to `_no_init_or_replace_init`.
1968
+ # The first instantiation of the subclass will call `_no_init_or_replace_init` which
1969
+ # searches for a proper new `__init__` in the MRO. The new `__init__`
1970
+ # replaces the subclass' old `__init__` (ie `_no_init_or_replace_init`). Subsequent
1971
+ # instantiation of the protocol subclass will thus use the new
1972
+ # `__init__` and no longer call `_no_init_or_replace_init`.
1973
+ for base in cls.__mro__:
1974
+ init = base.__dict__.get('__init__', _no_init_or_replace_init)
1975
+ if init is not _no_init_or_replace_init:
1976
+ cls.__init__ = init
1977
+ break
1978
+ else:
1979
+ # should not happen
1980
+ cls.__init__ = object.__init__
1981
+
1982
+ cls.__init__(self, *args, **kwargs)
1983
+
1984
+
1985
+ def _caller(depth=1, default='__main__'):
1986
+ try:
1987
+ return sys._getframemodulename(depth + 1) or default
1988
+ except AttributeError: # For platforms without _getframemodulename()
1989
+ pass
1990
+ try:
1991
+ return sys._getframe(depth + 1).f_globals.get('__name__', default)
1992
+ except (AttributeError, ValueError): # For platforms without _getframe()
1993
+ pass
1994
+ return None
1995
+
1996
+ def _allow_reckless_class_checks(depth=2):
1997
+ """Allow instance and class checks for special stdlib modules.
1998
+
1999
+ The abc and functools modules indiscriminately call isinstance() and
2000
+ issubclass() on the whole MRO of a user class, which may contain protocols.
2001
+ """
2002
+ return _caller(depth) in {'abc', 'functools', None}
2003
+
2004
+
2005
+ _PROTO_ALLOWLIST = {
2006
+ 'collections.abc': [
2007
+ 'Callable', 'Awaitable', 'Iterable', 'Iterator', 'AsyncIterable',
2008
+ 'AsyncIterator', 'Hashable', 'Sized', 'Container', 'Collection',
2009
+ 'Reversible', 'Buffer',
2010
+ ],
2011
+ 'contextlib': ['AbstractContextManager', 'AbstractAsyncContextManager'],
2012
+ }
2013
+
2014
+
2015
+ @functools.cache
2016
+ def _lazy_load_getattr_static():
2017
+ # Import getattr_static lazily so as not to slow down the import of typing.py
2018
+ # Cache the result so we don't slow down _ProtocolMeta.__instancecheck__ unnecessarily
2019
+ from inspect import getattr_static
2020
+ return getattr_static
2021
+
2022
+
2023
+ _cleanups.append(_lazy_load_getattr_static.cache_clear)
2024
+
2025
+ def _pickle_psargs(psargs):
2026
+ return ParamSpecArgs, (psargs.__origin__,)
2027
+
2028
+ copyreg.pickle(ParamSpecArgs, _pickle_psargs)
2029
+
2030
+ def _pickle_pskwargs(pskwargs):
2031
+ return ParamSpecKwargs, (pskwargs.__origin__,)
2032
+
2033
+ copyreg.pickle(ParamSpecKwargs, _pickle_pskwargs)
2034
+
2035
+ del _pickle_psargs, _pickle_pskwargs
2036
+
2037
+
2038
+ # Preload these once, as globals, as a micro-optimisation.
2039
+ # This makes a significant difference to the time it takes
2040
+ # to do `isinstance()`/`issubclass()` checks
2041
+ # against runtime-checkable protocols with only one callable member.
2042
+ _abc_instancecheck = ABCMeta.__instancecheck__
2043
+ _abc_subclasscheck = ABCMeta.__subclasscheck__
2044
+
2045
+
2046
+ def _type_check_issubclass_arg_1(arg):
2047
+ """Raise TypeError if `arg` is not an instance of `type`
2048
+ in `issubclass(arg, <protocol>)`.
2049
+
2050
+ In most cases, this is verified by type.__subclasscheck__.
2051
+ Checking it again unnecessarily would slow down issubclass() checks,
2052
+ so, we don't perform this check unless we absolutely have to.
2053
+
2054
+ For various error paths, however,
2055
+ we want to ensure that *this* error message is shown to the user
2056
+ where relevant, rather than a typing.py-specific error message.
2057
+ """
2058
+ if not isinstance(arg, type):
2059
+ # Same error message as for issubclass(1, int).
2060
+ raise TypeError('issubclass() arg 1 must be a class')
2061
+
2062
+
2063
+ class _ProtocolMeta(ABCMeta):
2064
+ # This metaclass is somewhat unfortunate,
2065
+ # but is necessary for several reasons...
2066
+ def __new__(mcls, name, bases, namespace, /, **kwargs):
2067
+ if name == "Protocol" and bases == (Generic,):
2068
+ pass
2069
+ elif Protocol in bases:
2070
+ for base in bases:
2071
+ if not (
2072
+ base in {object, Generic}
2073
+ or base.__name__ in _PROTO_ALLOWLIST.get(base.__module__, [])
2074
+ or (
2075
+ issubclass(base, Generic)
2076
+ and getattr(base, "_is_protocol", False)
2077
+ )
2078
+ ):
2079
+ raise TypeError(
2080
+ f"Protocols can only inherit from other protocols, "
2081
+ f"got {base!r}"
2082
+ )
2083
+ return super().__new__(mcls, name, bases, namespace, **kwargs)
2084
+
2085
+ def __init__(cls, *args, **kwargs):
2086
+ super().__init__(*args, **kwargs)
2087
+ if getattr(cls, "_is_protocol", False):
2088
+ cls.__protocol_attrs__ = _get_protocol_attrs(cls)
2089
+
2090
+ def __subclasscheck__(cls, other):
2091
+ if cls is Protocol:
2092
+ return type.__subclasscheck__(cls, other)
2093
+ if (
2094
+ getattr(cls, '_is_protocol', False)
2095
+ and not _allow_reckless_class_checks()
2096
+ ):
2097
+ if not getattr(cls, '_is_runtime_protocol', False):
2098
+ _type_check_issubclass_arg_1(other)
2099
+ raise TypeError(
2100
+ "Instance and class checks can only be used with "
2101
+ "@runtime_checkable protocols"
2102
+ )
2103
+ if (
2104
+ # this attribute is set by @runtime_checkable:
2105
+ cls.__non_callable_proto_members__
2106
+ and cls.__dict__.get("__subclasshook__") is _proto_hook
2107
+ ):
2108
+ _type_check_issubclass_arg_1(other)
2109
+ non_method_attrs = sorted(cls.__non_callable_proto_members__)
2110
+ raise TypeError(
2111
+ "Protocols with non-method members don't support issubclass()."
2112
+ f" Non-method members: {str(non_method_attrs)[1:-1]}."
2113
+ )
2114
+ return _abc_subclasscheck(cls, other)
2115
+
2116
+ def __instancecheck__(cls, instance):
2117
+ # We need this method for situations where attributes are
2118
+ # assigned in __init__.
2119
+ if cls is Protocol:
2120
+ return type.__instancecheck__(cls, instance)
2121
+ if not getattr(cls, "_is_protocol", False):
2122
+ # i.e., it's a concrete subclass of a protocol
2123
+ return _abc_instancecheck(cls, instance)
2124
+
2125
+ if (
2126
+ not getattr(cls, '_is_runtime_protocol', False) and
2127
+ not _allow_reckless_class_checks()
2128
+ ):
2129
+ raise TypeError("Instance and class checks can only be used with"
2130
+ " @runtime_checkable protocols")
2131
+
2132
+ if _abc_instancecheck(cls, instance):
2133
+ return True
2134
+
2135
+ getattr_static = _lazy_load_getattr_static()
2136
+ for attr in cls.__protocol_attrs__:
2137
+ try:
2138
+ val = getattr_static(instance, attr)
2139
+ except AttributeError:
2140
+ break
2141
+ # this attribute is set by @runtime_checkable:
2142
+ if val is None and attr not in cls.__non_callable_proto_members__:
2143
+ break
2144
+ else:
2145
+ return True
2146
+
2147
+ return False
2148
+
2149
+
2150
+ @classmethod
2151
+ def _proto_hook(cls, other):
2152
+ if not cls.__dict__.get('_is_protocol', False):
2153
+ return NotImplemented
2154
+
2155
+ for attr in cls.__protocol_attrs__:
2156
+ for base in other.__mro__:
2157
+ # Check if the members appears in the class dictionary...
2158
+ if attr in base.__dict__:
2159
+ if base.__dict__[attr] is None:
2160
+ return NotImplemented
2161
+ break
2162
+
2163
+ # ...or in annotations, if it is a sub-protocol.
2164
+ annotations = getattr(base, '__annotations__', {})
2165
+ if (isinstance(annotations, collections.abc.Mapping) and
2166
+ attr in annotations and
2167
+ issubclass(other, Generic) and getattr(other, '_is_protocol', False)):
2168
+ break
2169
+ else:
2170
+ return NotImplemented
2171
+ return True
2172
+
2173
+
2174
+ class Protocol(Generic, metaclass=_ProtocolMeta):
2175
+ """Base class for protocol classes.
2176
+
2177
+ Protocol classes are defined as::
2178
+
2179
+ class Proto(Protocol):
2180
+ def meth(self) -> int:
2181
+ ...
2182
+
2183
+ Such classes are primarily used with static type checkers that recognize
2184
+ structural subtyping (static duck-typing).
2185
+
2186
+ For example::
2187
+
2188
+ class C:
2189
+ def meth(self) -> int:
2190
+ return 0
2191
+
2192
+ def func(x: Proto) -> int:
2193
+ return x.meth()
2194
+
2195
+ func(C()) # Passes static type check
2196
+
2197
+ See PEP 544 for details. Protocol classes decorated with
2198
+ @typing.runtime_checkable act as simple-minded runtime protocols that check
2199
+ only the presence of given attributes, ignoring their type signatures.
2200
+ Protocol classes can be generic, they are defined as::
2201
+
2202
+ class GenProto[T](Protocol):
2203
+ def meth(self) -> T:
2204
+ ...
2205
+ """
2206
+
2207
+ __slots__ = ()
2208
+ _is_protocol = True
2209
+ _is_runtime_protocol = False
2210
+
2211
+ def __init_subclass__(cls, *args, **kwargs):
2212
+ super().__init_subclass__(*args, **kwargs)
2213
+
2214
+ # Determine if this is a protocol or a concrete subclass.
2215
+ if not cls.__dict__.get('_is_protocol', False):
2216
+ cls._is_protocol = any(b is Protocol for b in cls.__bases__)
2217
+
2218
+ # Set (or override) the protocol subclass hook.
2219
+ if '__subclasshook__' not in cls.__dict__:
2220
+ cls.__subclasshook__ = _proto_hook
2221
+
2222
+ # Prohibit instantiation for protocol classes
2223
+ if cls._is_protocol and cls.__init__ is Protocol.__init__:
2224
+ cls.__init__ = _no_init_or_replace_init
2225
+
2226
+
2227
+ class _AnnotatedAlias(_NotIterable, _GenericAlias, _root=True):
2228
+ """Runtime representation of an annotated type.
2229
+
2230
+ At its core 'Annotated[t, dec1, dec2, ...]' is an alias for the type 't'
2231
+ with extra annotations. The alias behaves like a normal typing alias.
2232
+ Instantiating is the same as instantiating the underlying type; binding
2233
+ it to types is also the same.
2234
+
2235
+ The metadata itself is stored in a '__metadata__' attribute as a tuple.
2236
+ """
2237
+
2238
+ def __init__(self, origin, metadata):
2239
+ if isinstance(origin, _AnnotatedAlias):
2240
+ metadata = origin.__metadata__ + metadata
2241
+ origin = origin.__origin__
2242
+ super().__init__(origin, origin, name='Annotated')
2243
+ self.__metadata__ = metadata
2244
+
2245
+ def copy_with(self, params):
2246
+ assert len(params) == 1
2247
+ new_type = params[0]
2248
+ return _AnnotatedAlias(new_type, self.__metadata__)
2249
+
2250
+ def __repr__(self):
2251
+ return "typing.Annotated[{}, {}]".format(
2252
+ _type_repr(self.__origin__),
2253
+ ", ".join(repr(a) for a in self.__metadata__)
2254
+ )
2255
+
2256
+ def __reduce__(self):
2257
+ return operator.getitem, (
2258
+ Annotated, (self.__origin__,) + self.__metadata__
2259
+ )
2260
+
2261
+ def __eq__(self, other):
2262
+ if not isinstance(other, _AnnotatedAlias):
2263
+ return NotImplemented
2264
+ return (self.__origin__ == other.__origin__
2265
+ and self.__metadata__ == other.__metadata__)
2266
+
2267
+ def __hash__(self):
2268
+ return hash((self.__origin__, self.__metadata__))
2269
+
2270
+ def __getattr__(self, attr):
2271
+ if attr in {'__name__', '__qualname__'}:
2272
+ return 'Annotated'
2273
+ return super().__getattr__(attr)
2274
+
2275
+ def __mro_entries__(self, bases):
2276
+ return (self.__origin__,)
2277
+
2278
+
2279
+ @_TypedCacheSpecialForm
2280
+ @_tp_cache(typed=True)
2281
+ def Annotated(self, *params):
2282
+ """Add context-specific metadata to a type.
2283
+
2284
+ Example: Annotated[int, runtime_check.Unsigned] indicates to the
2285
+ hypothetical runtime_check module that this type is an unsigned int.
2286
+ Every other consumer of this type can ignore this metadata and treat
2287
+ this type as int.
2288
+
2289
+ The first argument to Annotated must be a valid type.
2290
+
2291
+ Details:
2292
+
2293
+ - It's an error to call `Annotated` with less than two arguments.
2294
+ - Access the metadata via the ``__metadata__`` attribute::
2295
+
2296
+ assert Annotated[int, '$'].__metadata__ == ('$',)
2297
+
2298
+ - Nested Annotated types are flattened::
2299
+
2300
+ assert Annotated[Annotated[T, Ann1, Ann2], Ann3] == Annotated[T, Ann1, Ann2, Ann3]
2301
+
2302
+ - Instantiating an annotated type is equivalent to instantiating the
2303
+ underlying type::
2304
+
2305
+ assert Annotated[C, Ann1](5) == C(5)
2306
+
2307
+ - Annotated can be used as a generic type alias::
2308
+
2309
+ type Optimized[T] = Annotated[T, runtime.Optimize()]
2310
+ # type checker will treat Optimized[int]
2311
+ # as equivalent to Annotated[int, runtime.Optimize()]
2312
+
2313
+ type OptimizedList[T] = Annotated[list[T], runtime.Optimize()]
2314
+ # type checker will treat OptimizedList[int]
2315
+ # as equivalent to Annotated[list[int], runtime.Optimize()]
2316
+
2317
+ - Annotated cannot be used with an unpacked TypeVarTuple::
2318
+
2319
+ type Variadic[*Ts] = Annotated[*Ts, Ann1] # NOT valid
2320
+
2321
+ This would be equivalent to::
2322
+
2323
+ Annotated[T1, T2, T3, ..., Ann1]
2324
+
2325
+ where T1, T2 etc. are TypeVars, which would be invalid, because
2326
+ only one type should be passed to Annotated.
2327
+ """
2328
+ if len(params) < 2:
2329
+ raise TypeError("Annotated[...] should be used "
2330
+ "with at least two arguments (a type and an "
2331
+ "annotation).")
2332
+ if _is_unpacked_typevartuple(params[0]):
2333
+ raise TypeError("Annotated[...] should not be used with an "
2334
+ "unpacked TypeVarTuple")
2335
+ msg = "Annotated[t, ...]: t must be a type."
2336
+ origin = _type_check(params[0], msg, allow_special_forms=True)
2337
+ metadata = tuple(params[1:])
2338
+ return _AnnotatedAlias(origin, metadata)
2339
+
2340
+
2341
+ def runtime_checkable(cls):
2342
+ """Mark a protocol class as a runtime protocol.
2343
+
2344
+ Such protocol can be used with isinstance() and issubclass().
2345
+ Raise TypeError if applied to a non-protocol class.
2346
+ This allows a simple-minded structural check very similar to
2347
+ one trick ponies in collections.abc such as Iterable.
2348
+
2349
+ For example::
2350
+
2351
+ @runtime_checkable
2352
+ class Closable(Protocol):
2353
+ def close(self): ...
2354
+
2355
+ assert isinstance(open('/some/file'), Closable)
2356
+
2357
+ Warning: this will check only the presence of the required methods,
2358
+ not their type signatures!
2359
+ """
2360
+ if not issubclass(cls, Generic) or not getattr(cls, '_is_protocol', False):
2361
+ raise TypeError('@runtime_checkable can be only applied to protocol classes,'
2362
+ ' got %r' % cls)
2363
+ cls._is_runtime_protocol = True
2364
+ # PEP 544 prohibits using issubclass()
2365
+ # with protocols that have non-method members.
2366
+ # See gh-113320 for why we compute this attribute here,
2367
+ # rather than in `_ProtocolMeta.__init__`
2368
+ cls.__non_callable_proto_members__ = set()
2369
+ for attr in cls.__protocol_attrs__:
2370
+ try:
2371
+ is_callable = callable(getattr(cls, attr, None))
2372
+ except Exception as e:
2373
+ raise TypeError(
2374
+ f"Failed to determine whether protocol member {attr!r} "
2375
+ "is a method member"
2376
+ ) from e
2377
+ else:
2378
+ if not is_callable:
2379
+ cls.__non_callable_proto_members__.add(attr)
2380
+ return cls
2381
+
2382
+
2383
+ def cast(typ, val):
2384
+ """Cast a value to a type.
2385
+
2386
+ This returns the value unchanged. To the type checker this
2387
+ signals that the return value has the designated type, but at
2388
+ runtime we intentionally don't check anything (we want this
2389
+ to be as fast as possible).
2390
+ """
2391
+ return val
2392
+
2393
+
2394
+ def assert_type(val, typ, /):
2395
+ """Ask a static type checker to confirm that the value is of the given type.
2396
+
2397
+ At runtime this does nothing: it returns the first argument unchanged with no
2398
+ checks or side effects, no matter the actual type of the argument.
2399
+
2400
+ When a static type checker encounters a call to assert_type(), it
2401
+ emits an error if the value is not of the specified type::
2402
+
2403
+ def greet(name: str) -> None:
2404
+ assert_type(name, str) # OK
2405
+ assert_type(name, int) # type checker error
2406
+ """
2407
+ return val
2408
+
2409
+
2410
+ _allowed_types = (types.FunctionType, types.BuiltinFunctionType,
2411
+ types.MethodType, types.ModuleType,
2412
+ WrapperDescriptorType, MethodWrapperType, MethodDescriptorType)
2413
+
2414
+
2415
+ def get_type_hints(obj, globalns=None, localns=None, include_extras=False):
2416
+ """Return type hints for an object.
2417
+
2418
+ This is often the same as obj.__annotations__, but it handles
2419
+ forward references encoded as string literals and recursively replaces all
2420
+ 'Annotated[T, ...]' with 'T' (unless 'include_extras=True').
2421
+
2422
+ The argument may be a module, class, method, or function. The annotations
2423
+ are returned as a dictionary. For classes, annotations include also
2424
+ inherited members.
2425
+
2426
+ TypeError is raised if the argument is not of a type that can contain
2427
+ annotations, and an empty dictionary is returned if no annotations are
2428
+ present.
2429
+
2430
+ BEWARE -- the behavior of globalns and localns is counterintuitive
2431
+ (unless you are familiar with how eval() and exec() work). The
2432
+ search order is locals first, then globals.
2433
+
2434
+ - If no dict arguments are passed, an attempt is made to use the
2435
+ globals from obj (or the respective module's globals for classes),
2436
+ and these are also used as the locals. If the object does not appear
2437
+ to have globals, an empty dictionary is used. For classes, the search
2438
+ order is globals first then locals.
2439
+
2440
+ - If one dict argument is passed, it is used for both globals and
2441
+ locals.
2442
+
2443
+ - If two dict arguments are passed, they specify globals and
2444
+ locals, respectively.
2445
+ """
2446
+ if getattr(obj, '__no_type_check__', None):
2447
+ return {}
2448
+ # Classes require a special treatment.
2449
+ if isinstance(obj, type):
2450
+ hints = {}
2451
+ for base in reversed(obj.__mro__):
2452
+ if globalns is None:
2453
+ base_globals = getattr(sys.modules.get(base.__module__, None), '__dict__', {})
2454
+ else:
2455
+ base_globals = globalns
2456
+ ann = base.__dict__.get('__annotations__', {})
2457
+ if isinstance(ann, types.GetSetDescriptorType):
2458
+ ann = {}
2459
+ base_locals = dict(vars(base)) if localns is None else localns
2460
+ if localns is None and globalns is None:
2461
+ # This is surprising, but required. Before Python 3.10,
2462
+ # get_type_hints only evaluated the globalns of
2463
+ # a class. To maintain backwards compatibility, we reverse
2464
+ # the globalns and localns order so that eval() looks into
2465
+ # *base_globals* first rather than *base_locals*.
2466
+ # This only affects ForwardRefs.
2467
+ base_globals, base_locals = base_locals, base_globals
2468
+ for name, value in ann.items():
2469
+ if value is None:
2470
+ value = type(None)
2471
+ if isinstance(value, str):
2472
+ value = ForwardRef(value, is_argument=False, is_class=True)
2473
+ value = _eval_type(value, base_globals, base_locals, base.__type_params__)
2474
+ hints[name] = value
2475
+ return hints if include_extras else {k: _strip_annotations(t) for k, t in hints.items()}
2476
+
2477
+ if globalns is None:
2478
+ if isinstance(obj, types.ModuleType):
2479
+ globalns = obj.__dict__
2480
+ else:
2481
+ nsobj = obj
2482
+ # Find globalns for the unwrapped object.
2483
+ while hasattr(nsobj, '__wrapped__'):
2484
+ nsobj = nsobj.__wrapped__
2485
+ globalns = getattr(nsobj, '__globals__', {})
2486
+ if localns is None:
2487
+ localns = globalns
2488
+ elif localns is None:
2489
+ localns = globalns
2490
+ hints = getattr(obj, '__annotations__', None)
2491
+ if hints is None:
2492
+ # Return empty annotations for something that _could_ have them.
2493
+ if isinstance(obj, _allowed_types):
2494
+ return {}
2495
+ else:
2496
+ raise TypeError('{!r} is not a module, class, method, '
2497
+ 'or function.'.format(obj))
2498
+ hints = dict(hints)
2499
+ type_params = getattr(obj, "__type_params__", ())
2500
+ for name, value in hints.items():
2501
+ if value is None:
2502
+ value = type(None)
2503
+ if isinstance(value, str):
2504
+ # class-level forward refs were handled above, this must be either
2505
+ # a module-level annotation or a function argument annotation
2506
+ value = ForwardRef(
2507
+ value,
2508
+ is_argument=not isinstance(obj, types.ModuleType),
2509
+ is_class=False,
2510
+ )
2511
+ hints[name] = _eval_type(value, globalns, localns, type_params)
2512
+ return hints if include_extras else {k: _strip_annotations(t) for k, t in hints.items()}
2513
+
2514
+
2515
+ def _strip_annotations(t):
2516
+ """Strip the annotations from a given type."""
2517
+ if isinstance(t, _AnnotatedAlias):
2518
+ return _strip_annotations(t.__origin__)
2519
+ if hasattr(t, "__origin__") and t.__origin__ in (Required, NotRequired, ReadOnly):
2520
+ return _strip_annotations(t.__args__[0])
2521
+ if isinstance(t, _GenericAlias):
2522
+ stripped_args = tuple(_strip_annotations(a) for a in t.__args__)
2523
+ if stripped_args == t.__args__:
2524
+ return t
2525
+ return t.copy_with(stripped_args)
2526
+ if isinstance(t, GenericAlias):
2527
+ stripped_args = tuple(_strip_annotations(a) for a in t.__args__)
2528
+ if stripped_args == t.__args__:
2529
+ return t
2530
+ return GenericAlias(t.__origin__, stripped_args)
2531
+ if isinstance(t, types.UnionType):
2532
+ stripped_args = tuple(_strip_annotations(a) for a in t.__args__)
2533
+ if stripped_args == t.__args__:
2534
+ return t
2535
+ return functools.reduce(operator.or_, stripped_args)
2536
+
2537
+ return t
2538
+
2539
+
2540
+ def get_origin(tp):
2541
+ """Get the unsubscripted version of a type.
2542
+
2543
+ This supports generic types, Callable, Tuple, Union, Literal, Final, ClassVar,
2544
+ Annotated, and others. Return None for unsupported types.
2545
+
2546
+ Examples::
2547
+
2548
+ >>> P = ParamSpec('P')
2549
+ >>> assert get_origin(Literal[42]) is Literal
2550
+ >>> assert get_origin(int) is None
2551
+ >>> assert get_origin(ClassVar[int]) is ClassVar
2552
+ >>> assert get_origin(Generic) is Generic
2553
+ >>> assert get_origin(Generic[T]) is Generic
2554
+ >>> assert get_origin(Union[T, int]) is Union
2555
+ >>> assert get_origin(List[Tuple[T, T]][int]) is list
2556
+ >>> assert get_origin(P.args) is P
2557
+ """
2558
+ if isinstance(tp, _AnnotatedAlias):
2559
+ return Annotated
2560
+ if isinstance(tp, (_BaseGenericAlias, GenericAlias,
2561
+ ParamSpecArgs, ParamSpecKwargs)):
2562
+ return tp.__origin__
2563
+ if tp is Generic:
2564
+ return Generic
2565
+ if isinstance(tp, types.UnionType):
2566
+ return types.UnionType
2567
+ return None
2568
+
2569
+
2570
+ def get_args(tp):
2571
+ """Get type arguments with all substitutions performed.
2572
+
2573
+ For unions, basic simplifications used by Union constructor are performed.
2574
+
2575
+ Examples::
2576
+
2577
+ >>> T = TypeVar('T')
2578
+ >>> assert get_args(Dict[str, int]) == (str, int)
2579
+ >>> assert get_args(int) == ()
2580
+ >>> assert get_args(Union[int, Union[T, int], str][int]) == (int, str)
2581
+ >>> assert get_args(Union[int, Tuple[T, int]][str]) == (int, Tuple[str, int])
2582
+ >>> assert get_args(Callable[[], T][int]) == ([], int)
2583
+ """
2584
+ if isinstance(tp, _AnnotatedAlias):
2585
+ return (tp.__origin__,) + tp.__metadata__
2586
+ if isinstance(tp, (_GenericAlias, GenericAlias)):
2587
+ res = tp.__args__
2588
+ if _should_unflatten_callable_args(tp, res):
2589
+ res = (list(res[:-1]), res[-1])
2590
+ return res
2591
+ if isinstance(tp, types.UnionType):
2592
+ return tp.__args__
2593
+ return ()
2594
+
2595
+
2596
+ def is_typeddict(tp):
2597
+ """Check if an annotation is a TypedDict class.
2598
+
2599
+ For example::
2600
+
2601
+ >>> from typing import TypedDict
2602
+ >>> class Film(TypedDict):
2603
+ ... title: str
2604
+ ... year: int
2605
+ ...
2606
+ >>> is_typeddict(Film)
2607
+ True
2608
+ >>> is_typeddict(dict)
2609
+ False
2610
+ """
2611
+ return isinstance(tp, _TypedDictMeta)
2612
+
2613
+
2614
+ _ASSERT_NEVER_REPR_MAX_LENGTH = 100
2615
+
2616
+
2617
+ def assert_never(arg: Never, /) -> Never:
2618
+ """Statically assert that a line of code is unreachable.
2619
+
2620
+ Example::
2621
+
2622
+ def int_or_str(arg: int | str) -> None:
2623
+ match arg:
2624
+ case int():
2625
+ print("It's an int")
2626
+ case str():
2627
+ print("It's a str")
2628
+ case _:
2629
+ assert_never(arg)
2630
+
2631
+ If a type checker finds that a call to assert_never() is
2632
+ reachable, it will emit an error.
2633
+
2634
+ At runtime, this throws an exception when called.
2635
+ """
2636
+ value = repr(arg)
2637
+ if len(value) > _ASSERT_NEVER_REPR_MAX_LENGTH:
2638
+ value = value[:_ASSERT_NEVER_REPR_MAX_LENGTH] + '...'
2639
+ raise AssertionError(f"Expected code to be unreachable, but got: {value}")
2640
+
2641
+
2642
+ def no_type_check(arg):
2643
+ """Decorator to indicate that annotations are not type hints.
2644
+
2645
+ The argument must be a class or function; if it is a class, it
2646
+ applies recursively to all methods and classes defined in that class
2647
+ (but not to methods defined in its superclasses or subclasses).
2648
+
2649
+ This mutates the function(s) or class(es) in place.
2650
+ """
2651
+ if isinstance(arg, type):
2652
+ for key in dir(arg):
2653
+ obj = getattr(arg, key)
2654
+ if (
2655
+ not hasattr(obj, '__qualname__')
2656
+ or obj.__qualname__ != f'{arg.__qualname__}.{obj.__name__}'
2657
+ or getattr(obj, '__module__', None) != arg.__module__
2658
+ ):
2659
+ # We only modify objects that are defined in this type directly.
2660
+ # If classes / methods are nested in multiple layers,
2661
+ # we will modify them when processing their direct holders.
2662
+ continue
2663
+ # Instance, class, and static methods:
2664
+ if isinstance(obj, types.FunctionType):
2665
+ obj.__no_type_check__ = True
2666
+ if isinstance(obj, types.MethodType):
2667
+ obj.__func__.__no_type_check__ = True
2668
+ # Nested types:
2669
+ if isinstance(obj, type):
2670
+ no_type_check(obj)
2671
+ try:
2672
+ arg.__no_type_check__ = True
2673
+ except TypeError: # built-in classes
2674
+ pass
2675
+ return arg
2676
+
2677
+
2678
+ def no_type_check_decorator(decorator):
2679
+ """Decorator to give another decorator the @no_type_check effect.
2680
+
2681
+ This wraps the decorator with something that wraps the decorated
2682
+ function in @no_type_check.
2683
+ """
2684
+ import warnings
2685
+ warnings._deprecated("typing.no_type_check_decorator", remove=(3, 15))
2686
+ @functools.wraps(decorator)
2687
+ def wrapped_decorator(*args, **kwds):
2688
+ func = decorator(*args, **kwds)
2689
+ func = no_type_check(func)
2690
+ return func
2691
+
2692
+ return wrapped_decorator
2693
+
2694
+
2695
+ def _overload_dummy(*args, **kwds):
2696
+ """Helper for @overload to raise when called."""
2697
+ raise NotImplementedError(
2698
+ "You should not call an overloaded function. "
2699
+ "A series of @overload-decorated functions "
2700
+ "outside a stub module should always be followed "
2701
+ "by an implementation that is not @overload-ed.")
2702
+
2703
+
2704
+ # {module: {qualname: {firstlineno: func}}}
2705
+ _overload_registry = defaultdict(functools.partial(defaultdict, dict))
2706
+
2707
+
2708
+ def overload(func):
2709
+ """Decorator for overloaded functions/methods.
2710
+
2711
+ In a stub file, place two or more stub definitions for the same
2712
+ function in a row, each decorated with @overload.
2713
+
2714
+ For example::
2715
+
2716
+ @overload
2717
+ def utf8(value: None) -> None: ...
2718
+ @overload
2719
+ def utf8(value: bytes) -> bytes: ...
2720
+ @overload
2721
+ def utf8(value: str) -> bytes: ...
2722
+
2723
+ In a non-stub file (i.e. a regular .py file), do the same but
2724
+ follow it with an implementation. The implementation should *not*
2725
+ be decorated with @overload::
2726
+
2727
+ @overload
2728
+ def utf8(value: None) -> None: ...
2729
+ @overload
2730
+ def utf8(value: bytes) -> bytes: ...
2731
+ @overload
2732
+ def utf8(value: str) -> bytes: ...
2733
+ def utf8(value):
2734
+ ... # implementation goes here
2735
+
2736
+ The overloads for a function can be retrieved at runtime using the
2737
+ get_overloads() function.
2738
+ """
2739
+ # classmethod and staticmethod
2740
+ f = getattr(func, "__func__", func)
2741
+ try:
2742
+ _overload_registry[f.__module__][f.__qualname__][f.__code__.co_firstlineno] = func
2743
+ except AttributeError:
2744
+ # Not a normal function; ignore.
2745
+ pass
2746
+ return _overload_dummy
2747
+
2748
+
2749
+ def get_overloads(func):
2750
+ """Return all defined overloads for *func* as a sequence."""
2751
+ # classmethod and staticmethod
2752
+ f = getattr(func, "__func__", func)
2753
+ if f.__module__ not in _overload_registry:
2754
+ return []
2755
+ mod_dict = _overload_registry[f.__module__]
2756
+ if f.__qualname__ not in mod_dict:
2757
+ return []
2758
+ return list(mod_dict[f.__qualname__].values())
2759
+
2760
+
2761
+ def clear_overloads():
2762
+ """Clear all overloads in the registry."""
2763
+ _overload_registry.clear()
2764
+
2765
+
2766
+ def final(f):
2767
+ """Decorator to indicate final methods and final classes.
2768
+
2769
+ Use this decorator to indicate to type checkers that the decorated
2770
+ method cannot be overridden, and decorated class cannot be subclassed.
2771
+
2772
+ For example::
2773
+
2774
+ class Base:
2775
+ @final
2776
+ def done(self) -> None:
2777
+ ...
2778
+ class Sub(Base):
2779
+ def done(self) -> None: # Error reported by type checker
2780
+ ...
2781
+
2782
+ @final
2783
+ class Leaf:
2784
+ ...
2785
+ class Other(Leaf): # Error reported by type checker
2786
+ ...
2787
+
2788
+ There is no runtime checking of these properties. The decorator
2789
+ attempts to set the ``__final__`` attribute to ``True`` on the decorated
2790
+ object to allow runtime introspection.
2791
+ """
2792
+ try:
2793
+ f.__final__ = True
2794
+ except (AttributeError, TypeError):
2795
+ # Skip the attribute silently if it is not writable.
2796
+ # AttributeError happens if the object has __slots__ or a
2797
+ # read-only property, TypeError if it's a builtin class.
2798
+ pass
2799
+ return f
2800
+
2801
+
2802
+ # Some unconstrained type variables. These were initially used by the container types.
2803
+ # They were never meant for export and are now unused, but we keep them around to
2804
+ # avoid breaking compatibility with users who import them.
2805
+ T = TypeVar('T') # Any type.
2806
+ KT = TypeVar('KT') # Key type.
2807
+ VT = TypeVar('VT') # Value type.
2808
+ T_co = TypeVar('T_co', covariant=True) # Any type covariant containers.
2809
+ V_co = TypeVar('V_co', covariant=True) # Any type covariant containers.
2810
+ VT_co = TypeVar('VT_co', covariant=True) # Value type covariant containers.
2811
+ T_contra = TypeVar('T_contra', contravariant=True) # Ditto contravariant.
2812
+ # Internal type variable used for Type[].
2813
+ CT_co = TypeVar('CT_co', covariant=True, bound=type)
2814
+
2815
+
2816
+ # A useful type variable with constraints. This represents string types.
2817
+ # (This one *is* for export!)
2818
+ AnyStr = TypeVar('AnyStr', bytes, str)
2819
+
2820
+
2821
+ # Various ABCs mimicking those in collections.abc.
2822
+ _alias = _SpecialGenericAlias
2823
+
2824
+ Hashable = _alias(collections.abc.Hashable, 0) # Not generic.
2825
+ Awaitable = _alias(collections.abc.Awaitable, 1)
2826
+ Coroutine = _alias(collections.abc.Coroutine, 3)
2827
+ AsyncIterable = _alias(collections.abc.AsyncIterable, 1)
2828
+ AsyncIterator = _alias(collections.abc.AsyncIterator, 1)
2829
+ Iterable = _alias(collections.abc.Iterable, 1)
2830
+ Iterator = _alias(collections.abc.Iterator, 1)
2831
+ Reversible = _alias(collections.abc.Reversible, 1)
2832
+ Sized = _alias(collections.abc.Sized, 0) # Not generic.
2833
+ Container = _alias(collections.abc.Container, 1)
2834
+ Collection = _alias(collections.abc.Collection, 1)
2835
+ Callable = _CallableType(collections.abc.Callable, 2)
2836
+ Callable.__doc__ = \
2837
+ """Deprecated alias to collections.abc.Callable.
2838
+
2839
+ Callable[[int], str] signifies a function that takes a single
2840
+ parameter of type int and returns a str.
2841
+
2842
+ The subscription syntax must always be used with exactly two
2843
+ values: the argument list and the return type.
2844
+ The argument list must be a list of types, a ParamSpec,
2845
+ Concatenate or ellipsis. The return type must be a single type.
2846
+
2847
+ There is no syntax to indicate optional or keyword arguments;
2848
+ such function types are rarely used as callback types.
2849
+ """
2850
+ AbstractSet = _alias(collections.abc.Set, 1, name='AbstractSet')
2851
+ MutableSet = _alias(collections.abc.MutableSet, 1)
2852
+ # NOTE: Mapping is only covariant in the value type.
2853
+ Mapping = _alias(collections.abc.Mapping, 2)
2854
+ MutableMapping = _alias(collections.abc.MutableMapping, 2)
2855
+ Sequence = _alias(collections.abc.Sequence, 1)
2856
+ MutableSequence = _alias(collections.abc.MutableSequence, 1)
2857
+ ByteString = _DeprecatedGenericAlias(
2858
+ collections.abc.ByteString, 0, removal_version=(3, 17) # Not generic.
2859
+ )
2860
+ # Tuple accepts variable number of parameters.
2861
+ Tuple = _TupleType(tuple, -1, inst=False, name='Tuple')
2862
+ Tuple.__doc__ = \
2863
+ """Deprecated alias to builtins.tuple.
2864
+
2865
+ Tuple[X, Y] is the cross-product type of X and Y.
2866
+
2867
+ Example: Tuple[T1, T2] is a tuple of two elements corresponding
2868
+ to type variables T1 and T2. Tuple[int, float, str] is a tuple
2869
+ of an int, a float and a string.
2870
+
2871
+ To specify a variable-length tuple of homogeneous type, use Tuple[T, ...].
2872
+ """
2873
+ List = _alias(list, 1, inst=False, name='List')
2874
+ Deque = _alias(collections.deque, 1, name='Deque')
2875
+ Set = _alias(set, 1, inst=False, name='Set')
2876
+ FrozenSet = _alias(frozenset, 1, inst=False, name='FrozenSet')
2877
+ MappingView = _alias(collections.abc.MappingView, 1)
2878
+ KeysView = _alias(collections.abc.KeysView, 1)
2879
+ ItemsView = _alias(collections.abc.ItemsView, 2)
2880
+ ValuesView = _alias(collections.abc.ValuesView, 1)
2881
+ Dict = _alias(dict, 2, inst=False, name='Dict')
2882
+ DefaultDict = _alias(collections.defaultdict, 2, name='DefaultDict')
2883
+ OrderedDict = _alias(collections.OrderedDict, 2)
2884
+ Counter = _alias(collections.Counter, 1)
2885
+ ChainMap = _alias(collections.ChainMap, 2)
2886
+ Generator = _alias(collections.abc.Generator, 3, defaults=(types.NoneType, types.NoneType))
2887
+ AsyncGenerator = _alias(collections.abc.AsyncGenerator, 2, defaults=(types.NoneType,))
2888
+ Type = _alias(type, 1, inst=False, name='Type')
2889
+ Type.__doc__ = \
2890
+ """Deprecated alias to builtins.type.
2891
+
2892
+ builtins.type or typing.Type can be used to annotate class objects.
2893
+ For example, suppose we have the following classes::
2894
+
2895
+ class User: ... # Abstract base for User classes
2896
+ class BasicUser(User): ...
2897
+ class ProUser(User): ...
2898
+ class TeamUser(User): ...
2899
+
2900
+ And a function that takes a class argument that's a subclass of
2901
+ User and returns an instance of the corresponding class::
2902
+
2903
+ def new_user[U](user_class: Type[U]) -> U:
2904
+ user = user_class()
2905
+ # (Here we could write the user object to a database)
2906
+ return user
2907
+
2908
+ joe = new_user(BasicUser)
2909
+
2910
+ At this point the type checker knows that joe has type BasicUser.
2911
+ """
2912
+
2913
+
2914
+ @runtime_checkable
2915
+ class SupportsInt(Protocol):
2916
+ """An ABC with one abstract method __int__."""
2917
+
2918
+ __slots__ = ()
2919
+
2920
+ @abstractmethod
2921
+ def __int__(self) -> int:
2922
+ pass
2923
+
2924
+
2925
+ @runtime_checkable
2926
+ class SupportsFloat(Protocol):
2927
+ """An ABC with one abstract method __float__."""
2928
+
2929
+ __slots__ = ()
2930
+
2931
+ @abstractmethod
2932
+ def __float__(self) -> float:
2933
+ pass
2934
+
2935
+
2936
+ @runtime_checkable
2937
+ class SupportsComplex(Protocol):
2938
+ """An ABC with one abstract method __complex__."""
2939
+
2940
+ __slots__ = ()
2941
+
2942
+ @abstractmethod
2943
+ def __complex__(self) -> complex:
2944
+ pass
2945
+
2946
+
2947
+ @runtime_checkable
2948
+ class SupportsBytes(Protocol):
2949
+ """An ABC with one abstract method __bytes__."""
2950
+
2951
+ __slots__ = ()
2952
+
2953
+ @abstractmethod
2954
+ def __bytes__(self) -> bytes:
2955
+ pass
2956
+
2957
+
2958
+ @runtime_checkable
2959
+ class SupportsIndex(Protocol):
2960
+ """An ABC with one abstract method __index__."""
2961
+
2962
+ __slots__ = ()
2963
+
2964
+ @abstractmethod
2965
+ def __index__(self) -> int:
2966
+ pass
2967
+
2968
+
2969
+ @runtime_checkable
2970
+ class SupportsAbs[T](Protocol):
2971
+ """An ABC with one abstract method __abs__ that is covariant in its return type."""
2972
+
2973
+ __slots__ = ()
2974
+
2975
+ @abstractmethod
2976
+ def __abs__(self) -> T:
2977
+ pass
2978
+
2979
+
2980
+ @runtime_checkable
2981
+ class SupportsRound[T](Protocol):
2982
+ """An ABC with one abstract method __round__ that is covariant in its return type."""
2983
+
2984
+ __slots__ = ()
2985
+
2986
+ @abstractmethod
2987
+ def __round__(self, ndigits: int = 0) -> T:
2988
+ pass
2989
+
2990
+
2991
+ def _make_nmtuple(name, types, module, defaults = ()):
2992
+ fields = [n for n, t in types]
2993
+ types = {n: _type_check(t, f"field {n} annotation must be a type")
2994
+ for n, t in types}
2995
+ nm_tpl = collections.namedtuple(name, fields,
2996
+ defaults=defaults, module=module)
2997
+ nm_tpl.__annotations__ = nm_tpl.__new__.__annotations__ = types
2998
+ return nm_tpl
2999
+
3000
+
3001
+ # attributes prohibited to set in NamedTuple class syntax
3002
+ _prohibited = frozenset({'__new__', '__init__', '__slots__', '__getnewargs__',
3003
+ '_fields', '_field_defaults',
3004
+ '_make', '_replace', '_asdict', '_source'})
3005
+
3006
+ _special = frozenset({'__module__', '__name__', '__annotations__'})
3007
+
3008
+
3009
+ class NamedTupleMeta(type):
3010
+ def __new__(cls, typename, bases, ns):
3011
+ assert _NamedTuple in bases
3012
+ for base in bases:
3013
+ if base is not _NamedTuple and base is not Generic:
3014
+ raise TypeError(
3015
+ 'can only inherit from a NamedTuple type and Generic')
3016
+ bases = tuple(tuple if base is _NamedTuple else base for base in bases)
3017
+ types = ns.get('__annotations__', {})
3018
+ default_names = []
3019
+ for field_name in types:
3020
+ if field_name in ns:
3021
+ default_names.append(field_name)
3022
+ elif default_names:
3023
+ raise TypeError(f"Non-default namedtuple field {field_name} "
3024
+ f"cannot follow default field"
3025
+ f"{'s' if len(default_names) > 1 else ''} "
3026
+ f"{', '.join(default_names)}")
3027
+ nm_tpl = _make_nmtuple(typename, types.items(),
3028
+ defaults=[ns[n] for n in default_names],
3029
+ module=ns['__module__'])
3030
+ nm_tpl.__bases__ = bases
3031
+ if Generic in bases:
3032
+ class_getitem = _generic_class_getitem
3033
+ nm_tpl.__class_getitem__ = classmethod(class_getitem)
3034
+ # update from user namespace without overriding special namedtuple attributes
3035
+ for key, val in ns.items():
3036
+ if key in _prohibited:
3037
+ raise AttributeError("Cannot overwrite NamedTuple attribute " + key)
3038
+ elif key not in _special:
3039
+ if key not in nm_tpl._fields:
3040
+ setattr(nm_tpl, key, val)
3041
+ try:
3042
+ set_name = type(val).__set_name__
3043
+ except AttributeError:
3044
+ pass
3045
+ else:
3046
+ try:
3047
+ set_name(val, nm_tpl, key)
3048
+ except BaseException as e:
3049
+ e.add_note(
3050
+ f"Error calling __set_name__ on {type(val).__name__!r} "
3051
+ f"instance {key!r} in {typename!r}"
3052
+ )
3053
+ raise
3054
+
3055
+ if Generic in bases:
3056
+ nm_tpl.__init_subclass__()
3057
+ return nm_tpl
3058
+
3059
+
3060
+ def NamedTuple(typename, fields=_sentinel, /, **kwargs):
3061
+ """Typed version of namedtuple.
3062
+
3063
+ Usage::
3064
+
3065
+ class Employee(NamedTuple):
3066
+ name: str
3067
+ id: int
3068
+
3069
+ This is equivalent to::
3070
+
3071
+ Employee = collections.namedtuple('Employee', ['name', 'id'])
3072
+
3073
+ The resulting class has an extra __annotations__ attribute, giving a
3074
+ dict that maps field names to types. (The field names are also in
3075
+ the _fields attribute, which is part of the namedtuple API.)
3076
+ An alternative equivalent functional syntax is also accepted::
3077
+
3078
+ Employee = NamedTuple('Employee', [('name', str), ('id', int)])
3079
+ """
3080
+ if fields is _sentinel:
3081
+ if kwargs:
3082
+ deprecated_thing = "Creating NamedTuple classes using keyword arguments"
3083
+ deprecation_msg = (
3084
+ "{name} is deprecated and will be disallowed in Python {remove}. "
3085
+ "Use the class-based or functional syntax instead."
3086
+ )
3087
+ else:
3088
+ deprecated_thing = "Failing to pass a value for the 'fields' parameter"
3089
+ example = f"`{typename} = NamedTuple({typename!r}, [])`"
3090
+ deprecation_msg = (
3091
+ "{name} is deprecated and will be disallowed in Python {remove}. "
3092
+ "To create a NamedTuple class with 0 fields "
3093
+ "using the functional syntax, "
3094
+ "pass an empty list, e.g. "
3095
+ ) + example + "."
3096
+ elif fields is None:
3097
+ if kwargs:
3098
+ raise TypeError(
3099
+ "Cannot pass `None` as the 'fields' parameter "
3100
+ "and also specify fields using keyword arguments"
3101
+ )
3102
+ else:
3103
+ deprecated_thing = "Passing `None` as the 'fields' parameter"
3104
+ example = f"`{typename} = NamedTuple({typename!r}, [])`"
3105
+ deprecation_msg = (
3106
+ "{name} is deprecated and will be disallowed in Python {remove}. "
3107
+ "To create a NamedTuple class with 0 fields "
3108
+ "using the functional syntax, "
3109
+ "pass an empty list, e.g. "
3110
+ ) + example + "."
3111
+ elif kwargs:
3112
+ raise TypeError("Either list of fields or keywords"
3113
+ " can be provided to NamedTuple, not both")
3114
+ if fields is _sentinel or fields is None:
3115
+ import warnings
3116
+ warnings._deprecated(deprecated_thing, message=deprecation_msg, remove=(3, 15))
3117
+ fields = kwargs.items()
3118
+ nt = _make_nmtuple(typename, fields, module=_caller())
3119
+ nt.__orig_bases__ = (NamedTuple,)
3120
+ return nt
3121
+
3122
+ _NamedTuple = type.__new__(NamedTupleMeta, 'NamedTuple', (), {})
3123
+
3124
+ def _namedtuple_mro_entries(bases):
3125
+ assert NamedTuple in bases
3126
+ return (_NamedTuple,)
3127
+
3128
+ NamedTuple.__mro_entries__ = _namedtuple_mro_entries
3129
+
3130
+
3131
+ def _get_typeddict_qualifiers(annotation_type):
3132
+ while True:
3133
+ annotation_origin = get_origin(annotation_type)
3134
+ if annotation_origin is Annotated:
3135
+ annotation_args = get_args(annotation_type)
3136
+ if annotation_args:
3137
+ annotation_type = annotation_args[0]
3138
+ else:
3139
+ break
3140
+ elif annotation_origin is Required:
3141
+ yield Required
3142
+ (annotation_type,) = get_args(annotation_type)
3143
+ elif annotation_origin is NotRequired:
3144
+ yield NotRequired
3145
+ (annotation_type,) = get_args(annotation_type)
3146
+ elif annotation_origin is ReadOnly:
3147
+ yield ReadOnly
3148
+ (annotation_type,) = get_args(annotation_type)
3149
+ else:
3150
+ break
3151
+
3152
+
3153
+ class _TypedDictMeta(type):
3154
+ def __new__(cls, name, bases, ns, total=True):
3155
+ """Create a new typed dict class object.
3156
+
3157
+ This method is called when TypedDict is subclassed,
3158
+ or when TypedDict is instantiated. This way
3159
+ TypedDict supports all three syntax forms described in its docstring.
3160
+ Subclasses and instances of TypedDict return actual dictionaries.
3161
+ """
3162
+ for base in bases:
3163
+ if type(base) is not _TypedDictMeta and base is not Generic:
3164
+ raise TypeError('cannot inherit from both a TypedDict type '
3165
+ 'and a non-TypedDict base class')
3166
+
3167
+ if any(issubclass(b, Generic) for b in bases):
3168
+ generic_base = (Generic,)
3169
+ else:
3170
+ generic_base = ()
3171
+
3172
+ tp_dict = type.__new__(_TypedDictMeta, name, (*generic_base, dict), ns)
3173
+
3174
+ if not hasattr(tp_dict, '__orig_bases__'):
3175
+ tp_dict.__orig_bases__ = bases
3176
+
3177
+ annotations = {}
3178
+ own_annotations = ns.get('__annotations__', {})
3179
+ msg = "TypedDict('Name', {f0: t0, f1: t1, ...}); each t must be a type"
3180
+ own_annotations = {
3181
+ n: _type_check(tp, msg, module=tp_dict.__module__)
3182
+ for n, tp in own_annotations.items()
3183
+ }
3184
+ required_keys = set()
3185
+ optional_keys = set()
3186
+ readonly_keys = set()
3187
+ mutable_keys = set()
3188
+
3189
+ for base in bases:
3190
+ annotations.update(base.__dict__.get('__annotations__', {}))
3191
+
3192
+ base_required = base.__dict__.get('__required_keys__', set())
3193
+ required_keys |= base_required
3194
+ optional_keys -= base_required
3195
+
3196
+ base_optional = base.__dict__.get('__optional_keys__', set())
3197
+ required_keys -= base_optional
3198
+ optional_keys |= base_optional
3199
+
3200
+ readonly_keys.update(base.__dict__.get('__readonly_keys__', ()))
3201
+ mutable_keys.update(base.__dict__.get('__mutable_keys__', ()))
3202
+
3203
+ annotations.update(own_annotations)
3204
+ for annotation_key, annotation_type in own_annotations.items():
3205
+ qualifiers = set(_get_typeddict_qualifiers(annotation_type))
3206
+ if Required in qualifiers:
3207
+ is_required = True
3208
+ elif NotRequired in qualifiers:
3209
+ is_required = False
3210
+ else:
3211
+ is_required = total
3212
+
3213
+ if is_required:
3214
+ required_keys.add(annotation_key)
3215
+ optional_keys.discard(annotation_key)
3216
+ else:
3217
+ optional_keys.add(annotation_key)
3218
+ required_keys.discard(annotation_key)
3219
+
3220
+ if ReadOnly in qualifiers:
3221
+ if annotation_key in mutable_keys:
3222
+ raise TypeError(
3223
+ f"Cannot override mutable key {annotation_key!r}"
3224
+ " with read-only key"
3225
+ )
3226
+ readonly_keys.add(annotation_key)
3227
+ else:
3228
+ mutable_keys.add(annotation_key)
3229
+ readonly_keys.discard(annotation_key)
3230
+
3231
+ assert required_keys.isdisjoint(optional_keys), (
3232
+ f"Required keys overlap with optional keys in {name}:"
3233
+ f" {required_keys=}, {optional_keys=}"
3234
+ )
3235
+ tp_dict.__annotations__ = annotations
3236
+ tp_dict.__required_keys__ = frozenset(required_keys)
3237
+ tp_dict.__optional_keys__ = frozenset(optional_keys)
3238
+ tp_dict.__readonly_keys__ = frozenset(readonly_keys)
3239
+ tp_dict.__mutable_keys__ = frozenset(mutable_keys)
3240
+ tp_dict.__total__ = total
3241
+ return tp_dict
3242
+
3243
+ __call__ = dict # static method
3244
+
3245
+ def __subclasscheck__(cls, other):
3246
+ # Typed dicts are only for static structural subtyping.
3247
+ raise TypeError('TypedDict does not support instance and class checks')
3248
+
3249
+ __instancecheck__ = __subclasscheck__
3250
+
3251
+
3252
+ def TypedDict(typename, fields=_sentinel, /, *, total=True):
3253
+ """A simple typed namespace. At runtime it is equivalent to a plain dict.
3254
+
3255
+ TypedDict creates a dictionary type such that a type checker will expect all
3256
+ instances to have a certain set of keys, where each key is
3257
+ associated with a value of a consistent type. This expectation
3258
+ is not checked at runtime.
3259
+
3260
+ Usage::
3261
+
3262
+ >>> class Point2D(TypedDict):
3263
+ ... x: int
3264
+ ... y: int
3265
+ ... label: str
3266
+ ...
3267
+ >>> a: Point2D = {'x': 1, 'y': 2, 'label': 'good'} # OK
3268
+ >>> b: Point2D = {'z': 3, 'label': 'bad'} # Fails type check
3269
+ >>> Point2D(x=1, y=2, label='first') == dict(x=1, y=2, label='first')
3270
+ True
3271
+
3272
+ The type info can be accessed via the Point2D.__annotations__ dict, and
3273
+ the Point2D.__required_keys__ and Point2D.__optional_keys__ frozensets.
3274
+ TypedDict supports an additional equivalent form::
3275
+
3276
+ Point2D = TypedDict('Point2D', {'x': int, 'y': int, 'label': str})
3277
+
3278
+ By default, all keys must be present in a TypedDict. It is possible
3279
+ to override this by specifying totality::
3280
+
3281
+ class Point2D(TypedDict, total=False):
3282
+ x: int
3283
+ y: int
3284
+
3285
+ This means that a Point2D TypedDict can have any of the keys omitted. A type
3286
+ checker is only expected to support a literal False or True as the value of
3287
+ the total argument. True is the default, and makes all items defined in the
3288
+ class body be required.
3289
+
3290
+ The Required and NotRequired special forms can also be used to mark
3291
+ individual keys as being required or not required::
3292
+
3293
+ class Point2D(TypedDict):
3294
+ x: int # the "x" key must always be present (Required is the default)
3295
+ y: NotRequired[int] # the "y" key can be omitted
3296
+
3297
+ See PEP 655 for more details on Required and NotRequired.
3298
+
3299
+ The ReadOnly special form can be used
3300
+ to mark individual keys as immutable for type checkers::
3301
+
3302
+ class DatabaseUser(TypedDict):
3303
+ id: ReadOnly[int] # the "id" key must not be modified
3304
+ username: str # the "username" key can be changed
3305
+
3306
+ """
3307
+ if fields is _sentinel or fields is None:
3308
+ import warnings
3309
+
3310
+ if fields is _sentinel:
3311
+ deprecated_thing = "Failing to pass a value for the 'fields' parameter"
3312
+ else:
3313
+ deprecated_thing = "Passing `None` as the 'fields' parameter"
3314
+
3315
+ example = f"`{typename} = TypedDict({typename!r}, {{{{}}}})`"
3316
+ deprecation_msg = (
3317
+ "{name} is deprecated and will be disallowed in Python {remove}. "
3318
+ "To create a TypedDict class with 0 fields "
3319
+ "using the functional syntax, "
3320
+ "pass an empty dictionary, e.g. "
3321
+ ) + example + "."
3322
+ warnings._deprecated(deprecated_thing, message=deprecation_msg, remove=(3, 15))
3323
+ fields = {}
3324
+
3325
+ ns = {'__annotations__': dict(fields)}
3326
+ module = _caller()
3327
+ if module is not None:
3328
+ # Setting correct module is necessary to make typed dict classes pickleable.
3329
+ ns['__module__'] = module
3330
+
3331
+ td = _TypedDictMeta(typename, (), ns, total=total)
3332
+ td.__orig_bases__ = (TypedDict,)
3333
+ return td
3334
+
3335
+ _TypedDict = type.__new__(_TypedDictMeta, 'TypedDict', (), {})
3336
+ TypedDict.__mro_entries__ = lambda bases: (_TypedDict,)
3337
+
3338
+
3339
+ @_SpecialForm
3340
+ def Required(self, parameters):
3341
+ """Special typing construct to mark a TypedDict key as required.
3342
+
3343
+ This is mainly useful for total=False TypedDicts.
3344
+
3345
+ For example::
3346
+
3347
+ class Movie(TypedDict, total=False):
3348
+ title: Required[str]
3349
+ year: int
3350
+
3351
+ m = Movie(
3352
+ title='The Matrix', # typechecker error if key is omitted
3353
+ year=1999,
3354
+ )
3355
+
3356
+ There is no runtime checking that a required key is actually provided
3357
+ when instantiating a related TypedDict.
3358
+ """
3359
+ item = _type_check(parameters, f'{self._name} accepts only a single type.')
3360
+ return _GenericAlias(self, (item,))
3361
+
3362
+
3363
+ @_SpecialForm
3364
+ def NotRequired(self, parameters):
3365
+ """Special typing construct to mark a TypedDict key as potentially missing.
3366
+
3367
+ For example::
3368
+
3369
+ class Movie(TypedDict):
3370
+ title: str
3371
+ year: NotRequired[int]
3372
+
3373
+ m = Movie(
3374
+ title='The Matrix', # typechecker error if key is omitted
3375
+ year=1999,
3376
+ )
3377
+ """
3378
+ item = _type_check(parameters, f'{self._name} accepts only a single type.')
3379
+ return _GenericAlias(self, (item,))
3380
+
3381
+
3382
+ @_SpecialForm
3383
+ def ReadOnly(self, parameters):
3384
+ """A special typing construct to mark an item of a TypedDict as read-only.
3385
+
3386
+ For example::
3387
+
3388
+ class Movie(TypedDict):
3389
+ title: ReadOnly[str]
3390
+ year: int
3391
+
3392
+ def mutate_movie(m: Movie) -> None:
3393
+ m["year"] = 1992 # allowed
3394
+ m["title"] = "The Matrix" # typechecker error
3395
+
3396
+ There is no runtime checking for this property.
3397
+ """
3398
+ item = _type_check(parameters, f'{self._name} accepts only a single type.')
3399
+ return _GenericAlias(self, (item,))
3400
+
3401
+
3402
+ class NewType:
3403
+ """NewType creates simple unique types with almost zero runtime overhead.
3404
+
3405
+ NewType(name, tp) is considered a subtype of tp
3406
+ by static type checkers. At runtime, NewType(name, tp) returns
3407
+ a dummy callable that simply returns its argument.
3408
+
3409
+ Usage::
3410
+
3411
+ UserId = NewType('UserId', int)
3412
+
3413
+ def name_by_id(user_id: UserId) -> str:
3414
+ ...
3415
+
3416
+ UserId('user') # Fails type check
3417
+
3418
+ name_by_id(42) # Fails type check
3419
+ name_by_id(UserId(42)) # OK
3420
+
3421
+ num = UserId(5) + 1 # type: int
3422
+ """
3423
+
3424
+ __call__ = _idfunc
3425
+
3426
+ def __init__(self, name, tp):
3427
+ self.__qualname__ = name
3428
+ if '.' in name:
3429
+ name = name.rpartition('.')[-1]
3430
+ self.__name__ = name
3431
+ self.__supertype__ = tp
3432
+ def_mod = _caller()
3433
+ if def_mod != 'typing':
3434
+ self.__module__ = def_mod
3435
+
3436
+ def __mro_entries__(self, bases):
3437
+ # We defined __mro_entries__ to get a better error message
3438
+ # if a user attempts to subclass a NewType instance. bpo-46170
3439
+ superclass_name = self.__name__
3440
+
3441
+ class Dummy:
3442
+ def __init_subclass__(cls):
3443
+ subclass_name = cls.__name__
3444
+ raise TypeError(
3445
+ f"Cannot subclass an instance of NewType. Perhaps you were looking for: "
3446
+ f"`{subclass_name} = NewType({subclass_name!r}, {superclass_name})`"
3447
+ )
3448
+
3449
+ return (Dummy,)
3450
+
3451
+ def __repr__(self):
3452
+ return f'{self.__module__}.{self.__qualname__}'
3453
+
3454
+ def __reduce__(self):
3455
+ return self.__qualname__
3456
+
3457
+ def __or__(self, other):
3458
+ return Union[self, other]
3459
+
3460
+ def __ror__(self, other):
3461
+ return Union[other, self]
3462
+
3463
+
3464
+ # Python-version-specific alias (Python 2: unicode; Python 3: str)
3465
+ Text = str
3466
+
3467
+
3468
+ # Constant that's True when type checking, but False here.
3469
+ TYPE_CHECKING = False
3470
+
3471
+
3472
+ class IO(Generic[AnyStr]):
3473
+ """Generic base class for TextIO and BinaryIO.
3474
+
3475
+ This is an abstract, generic version of the return of open().
3476
+
3477
+ NOTE: This does not distinguish between the different possible
3478
+ classes (text vs. binary, read vs. write vs. read/write,
3479
+ append-only, unbuffered). The TextIO and BinaryIO subclasses
3480
+ below capture the distinctions between text vs. binary, which is
3481
+ pervasive in the interface; however we currently do not offer a
3482
+ way to track the other distinctions in the type system.
3483
+ """
3484
+
3485
+ __slots__ = ()
3486
+
3487
+ @property
3488
+ @abstractmethod
3489
+ def mode(self) -> str:
3490
+ pass
3491
+
3492
+ @property
3493
+ @abstractmethod
3494
+ def name(self) -> str:
3495
+ pass
3496
+
3497
+ @abstractmethod
3498
+ def close(self) -> None:
3499
+ pass
3500
+
3501
+ @property
3502
+ @abstractmethod
3503
+ def closed(self) -> bool:
3504
+ pass
3505
+
3506
+ @abstractmethod
3507
+ def fileno(self) -> int:
3508
+ pass
3509
+
3510
+ @abstractmethod
3511
+ def flush(self) -> None:
3512
+ pass
3513
+
3514
+ @abstractmethod
3515
+ def isatty(self) -> bool:
3516
+ pass
3517
+
3518
+ @abstractmethod
3519
+ def read(self, n: int = -1) -> AnyStr:
3520
+ pass
3521
+
3522
+ @abstractmethod
3523
+ def readable(self) -> bool:
3524
+ pass
3525
+
3526
+ @abstractmethod
3527
+ def readline(self, limit: int = -1) -> AnyStr:
3528
+ pass
3529
+
3530
+ @abstractmethod
3531
+ def readlines(self, hint: int = -1) -> List[AnyStr]:
3532
+ pass
3533
+
3534
+ @abstractmethod
3535
+ def seek(self, offset: int, whence: int = 0) -> int:
3536
+ pass
3537
+
3538
+ @abstractmethod
3539
+ def seekable(self) -> bool:
3540
+ pass
3541
+
3542
+ @abstractmethod
3543
+ def tell(self) -> int:
3544
+ pass
3545
+
3546
+ @abstractmethod
3547
+ def truncate(self, size: int = None) -> int:
3548
+ pass
3549
+
3550
+ @abstractmethod
3551
+ def writable(self) -> bool:
3552
+ pass
3553
+
3554
+ @abstractmethod
3555
+ def write(self, s: AnyStr) -> int:
3556
+ pass
3557
+
3558
+ @abstractmethod
3559
+ def writelines(self, lines: List[AnyStr]) -> None:
3560
+ pass
3561
+
3562
+ @abstractmethod
3563
+ def __enter__(self) -> 'IO[AnyStr]':
3564
+ pass
3565
+
3566
+ @abstractmethod
3567
+ def __exit__(self, type, value, traceback) -> None:
3568
+ pass
3569
+
3570
+
3571
+ class BinaryIO(IO[bytes]):
3572
+ """Typed version of the return of open() in binary mode."""
3573
+
3574
+ __slots__ = ()
3575
+
3576
+ @abstractmethod
3577
+ def write(self, s: Union[bytes, bytearray]) -> int:
3578
+ pass
3579
+
3580
+ @abstractmethod
3581
+ def __enter__(self) -> 'BinaryIO':
3582
+ pass
3583
+
3584
+
3585
+ class TextIO(IO[str]):
3586
+ """Typed version of the return of open() in text mode."""
3587
+
3588
+ __slots__ = ()
3589
+
3590
+ @property
3591
+ @abstractmethod
3592
+ def buffer(self) -> BinaryIO:
3593
+ pass
3594
+
3595
+ @property
3596
+ @abstractmethod
3597
+ def encoding(self) -> str:
3598
+ pass
3599
+
3600
+ @property
3601
+ @abstractmethod
3602
+ def errors(self) -> Optional[str]:
3603
+ pass
3604
+
3605
+ @property
3606
+ @abstractmethod
3607
+ def line_buffering(self) -> bool:
3608
+ pass
3609
+
3610
+ @property
3611
+ @abstractmethod
3612
+ def newlines(self) -> Any:
3613
+ pass
3614
+
3615
+ @abstractmethod
3616
+ def __enter__(self) -> 'TextIO':
3617
+ pass
3618
+
3619
+
3620
+ def reveal_type[T](obj: T, /) -> T:
3621
+ """Ask a static type checker to reveal the inferred type of an expression.
3622
+
3623
+ When a static type checker encounters a call to ``reveal_type()``,
3624
+ it will emit the inferred type of the argument::
3625
+
3626
+ x: int = 1
3627
+ reveal_type(x)
3628
+
3629
+ Running a static type checker (e.g., mypy) on this example
3630
+ will produce output similar to 'Revealed type is "builtins.int"'.
3631
+
3632
+ At runtime, the function prints the runtime type of the
3633
+ argument and returns the argument unchanged.
3634
+ """
3635
+ print(f"Runtime type is {type(obj).__name__!r}", file=sys.stderr)
3636
+ return obj
3637
+
3638
+
3639
+ class _IdentityCallable(Protocol):
3640
+ def __call__[T](self, arg: T, /) -> T:
3641
+ ...
3642
+
3643
+
3644
+ def dataclass_transform(
3645
+ *,
3646
+ eq_default: bool = True,
3647
+ order_default: bool = False,
3648
+ kw_only_default: bool = False,
3649
+ frozen_default: bool = False,
3650
+ field_specifiers: tuple[type[Any] | Callable[..., Any], ...] = (),
3651
+ **kwargs: Any,
3652
+ ) -> _IdentityCallable:
3653
+ """Decorator to mark an object as providing dataclass-like behaviour.
3654
+
3655
+ The decorator can be applied to a function, class, or metaclass.
3656
+
3657
+ Example usage with a decorator function::
3658
+
3659
+ @dataclass_transform()
3660
+ def create_model[T](cls: type[T]) -> type[T]:
3661
+ ...
3662
+ return cls
3663
+
3664
+ @create_model
3665
+ class CustomerModel:
3666
+ id: int
3667
+ name: str
3668
+
3669
+ On a base class::
3670
+
3671
+ @dataclass_transform()
3672
+ class ModelBase: ...
3673
+
3674
+ class CustomerModel(ModelBase):
3675
+ id: int
3676
+ name: str
3677
+
3678
+ On a metaclass::
3679
+
3680
+ @dataclass_transform()
3681
+ class ModelMeta(type): ...
3682
+
3683
+ class ModelBase(metaclass=ModelMeta): ...
3684
+
3685
+ class CustomerModel(ModelBase):
3686
+ id: int
3687
+ name: str
3688
+
3689
+ The ``CustomerModel`` classes defined above will
3690
+ be treated by type checkers similarly to classes created with
3691
+ ``@dataclasses.dataclass``.
3692
+ For example, type checkers will assume these classes have
3693
+ ``__init__`` methods that accept ``id`` and ``name``.
3694
+
3695
+ The arguments to this decorator can be used to customize this behavior:
3696
+ - ``eq_default`` indicates whether the ``eq`` parameter is assumed to be
3697
+ ``True`` or ``False`` if it is omitted by the caller.
3698
+ - ``order_default`` indicates whether the ``order`` parameter is
3699
+ assumed to be True or False if it is omitted by the caller.
3700
+ - ``kw_only_default`` indicates whether the ``kw_only`` parameter is
3701
+ assumed to be True or False if it is omitted by the caller.
3702
+ - ``frozen_default`` indicates whether the ``frozen`` parameter is
3703
+ assumed to be True or False if it is omitted by the caller.
3704
+ - ``field_specifiers`` specifies a static list of supported classes
3705
+ or functions that describe fields, similar to ``dataclasses.field()``.
3706
+ - Arbitrary other keyword arguments are accepted in order to allow for
3707
+ possible future extensions.
3708
+
3709
+ At runtime, this decorator records its arguments in the
3710
+ ``__dataclass_transform__`` attribute on the decorated object.
3711
+ It has no other runtime effect.
3712
+
3713
+ See PEP 681 for more details.
3714
+ """
3715
+ def decorator(cls_or_fn):
3716
+ cls_or_fn.__dataclass_transform__ = {
3717
+ "eq_default": eq_default,
3718
+ "order_default": order_default,
3719
+ "kw_only_default": kw_only_default,
3720
+ "frozen_default": frozen_default,
3721
+ "field_specifiers": field_specifiers,
3722
+ "kwargs": kwargs,
3723
+ }
3724
+ return cls_or_fn
3725
+ return decorator
3726
+
3727
+
3728
+ type _Func = Callable[..., Any]
3729
+
3730
+
3731
+ def override[F: _Func](method: F, /) -> F:
3732
+ """Indicate that a method is intended to override a method in a base class.
3733
+
3734
+ Usage::
3735
+
3736
+ class Base:
3737
+ def method(self) -> None:
3738
+ pass
3739
+
3740
+ class Child(Base):
3741
+ @override
3742
+ def method(self) -> None:
3743
+ super().method()
3744
+
3745
+ When this decorator is applied to a method, the type checker will
3746
+ validate that it overrides a method or attribute with the same name on a
3747
+ base class. This helps prevent bugs that may occur when a base class is
3748
+ changed without an equivalent change to a child class.
3749
+
3750
+ There is no runtime checking of this property. The decorator attempts to
3751
+ set the ``__override__`` attribute to ``True`` on the decorated object to
3752
+ allow runtime introspection.
3753
+
3754
+ See PEP 698 for details.
3755
+ """
3756
+ try:
3757
+ method.__override__ = True
3758
+ except (AttributeError, TypeError):
3759
+ # Skip the attribute silently if it is not writable.
3760
+ # AttributeError happens if the object has __slots__ or a
3761
+ # read-only property, TypeError if it's a builtin class.
3762
+ pass
3763
+ return method
3764
+
3765
+
3766
+ def is_protocol(tp: type, /) -> bool:
3767
+ """Return True if the given type is a Protocol.
3768
+
3769
+ Example::
3770
+
3771
+ >>> from typing import Protocol, is_protocol
3772
+ >>> class P(Protocol):
3773
+ ... def a(self) -> str: ...
3774
+ ... b: int
3775
+ >>> is_protocol(P)
3776
+ True
3777
+ >>> is_protocol(int)
3778
+ False
3779
+ """
3780
+ return (
3781
+ isinstance(tp, type)
3782
+ and getattr(tp, '_is_protocol', False)
3783
+ and tp != Protocol
3784
+ )
3785
+
3786
+
3787
+ def get_protocol_members(tp: type, /) -> frozenset[str]:
3788
+ """Return the set of members defined in a Protocol.
3789
+
3790
+ Example::
3791
+
3792
+ >>> from typing import Protocol, get_protocol_members
3793
+ >>> class P(Protocol):
3794
+ ... def a(self) -> str: ...
3795
+ ... b: int
3796
+ >>> get_protocol_members(P) == frozenset({'a', 'b'})
3797
+ True
3798
+
3799
+ Raise a TypeError for arguments that are not Protocols.
3800
+ """
3801
+ if not is_protocol(tp):
3802
+ raise TypeError(f'{tp!r} is not a Protocol')
3803
+ return frozenset(tp.__protocol_attrs__)
3804
+
3805
+
3806
+ def __getattr__(attr):
3807
+ """Improve the import time of the typing module.
3808
+
3809
+ Soft-deprecated objects which are costly to create
3810
+ are only created on-demand here.
3811
+ """
3812
+ if attr in {"Pattern", "Match"}:
3813
+ import re
3814
+ obj = _alias(getattr(re, attr), 1)
3815
+ elif attr in {"ContextManager", "AsyncContextManager"}:
3816
+ import contextlib
3817
+ obj = _alias(getattr(contextlib, f"Abstract{attr}"), 2, name=attr, defaults=(bool | None,))
3818
+ elif attr == "_collect_parameters":
3819
+ import warnings
3820
+
3821
+ depr_message = (
3822
+ "The private _collect_parameters function is deprecated and will be"
3823
+ " removed in a future version of Python. Any use of private functions"
3824
+ " is discouraged and may break in the future."
3825
+ )
3826
+ warnings.warn(depr_message, category=DeprecationWarning, stacklevel=2)
3827
+ obj = _collect_type_parameters
3828
+ else:
3829
+ raise AttributeError(f"module {__name__!r} has no attribute {attr!r}")
3830
+ globals()[attr] = obj
3831
+ return obj