@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,3179 @@
1
+ # mock.py
2
+ # Test tools for mocking and patching.
3
+ # Maintained by Michael Foord
4
+ # Backport for other versions of Python available from
5
+ # https://pypi.org/project/mock
6
+
7
+ __all__ = (
8
+ 'Mock',
9
+ 'MagicMock',
10
+ 'patch',
11
+ 'sentinel',
12
+ 'DEFAULT',
13
+ 'ANY',
14
+ 'call',
15
+ 'create_autospec',
16
+ 'AsyncMock',
17
+ 'ThreadingMock',
18
+ 'FILTER_DIR',
19
+ 'NonCallableMock',
20
+ 'NonCallableMagicMock',
21
+ 'mock_open',
22
+ 'PropertyMock',
23
+ 'seal',
24
+ )
25
+
26
+
27
+ import asyncio
28
+ import contextlib
29
+ import io
30
+ import inspect
31
+ import pprint
32
+ import sys
33
+ import builtins
34
+ import pkgutil
35
+ from asyncio import iscoroutinefunction
36
+ import threading
37
+ from types import CodeType, ModuleType, MethodType
38
+ from unittest.util import safe_repr
39
+ from functools import wraps, partial
40
+ from threading import RLock
41
+
42
+
43
+ class InvalidSpecError(Exception):
44
+ """Indicates that an invalid value was used as a mock spec."""
45
+
46
+
47
+ _builtins = {name for name in dir(builtins) if not name.startswith('_')}
48
+
49
+ FILTER_DIR = True
50
+
51
+ # Workaround for issue #12370
52
+ # Without this, the __class__ properties wouldn't be set correctly
53
+ _safe_super = super
54
+
55
+ def _is_async_obj(obj):
56
+ if _is_instance_mock(obj) and not isinstance(obj, AsyncMock):
57
+ return False
58
+ if hasattr(obj, '__func__'):
59
+ obj = getattr(obj, '__func__')
60
+ return iscoroutinefunction(obj) or inspect.isawaitable(obj)
61
+
62
+
63
+ def _is_async_func(func):
64
+ if getattr(func, '__code__', None):
65
+ return iscoroutinefunction(func)
66
+ else:
67
+ return False
68
+
69
+
70
+ def _is_instance_mock(obj):
71
+ # can't use isinstance on Mock objects because they override __class__
72
+ # The base class for all mocks is NonCallableMock
73
+ return issubclass(type(obj), NonCallableMock)
74
+
75
+
76
+ def _is_exception(obj):
77
+ return (
78
+ isinstance(obj, BaseException) or
79
+ isinstance(obj, type) and issubclass(obj, BaseException)
80
+ )
81
+
82
+
83
+ def _extract_mock(obj):
84
+ # Autospecced functions will return a FunctionType with "mock" attribute
85
+ # which is the actual mock object that needs to be used.
86
+ if isinstance(obj, FunctionTypes) and hasattr(obj, 'mock'):
87
+ return obj.mock
88
+ else:
89
+ return obj
90
+
91
+
92
+ def _get_signature_object(func, as_instance, eat_self):
93
+ """
94
+ Given an arbitrary, possibly callable object, try to create a suitable
95
+ signature object.
96
+ Return a (reduced func, signature) tuple, or None.
97
+ """
98
+ if isinstance(func, type) and not as_instance:
99
+ # If it's a type and should be modelled as a type, use __init__.
100
+ func = func.__init__
101
+ # Skip the `self` argument in __init__
102
+ eat_self = True
103
+ elif isinstance(func, (classmethod, staticmethod)):
104
+ if isinstance(func, classmethod):
105
+ # Skip the `cls` argument of a class method
106
+ eat_self = True
107
+ # Use the original decorated method to extract the correct function signature
108
+ func = func.__func__
109
+ elif not isinstance(func, FunctionTypes):
110
+ # If we really want to model an instance of the passed type,
111
+ # __call__ should be looked up, not __init__.
112
+ try:
113
+ func = func.__call__
114
+ except AttributeError:
115
+ return None
116
+ if eat_self:
117
+ sig_func = partial(func, None)
118
+ else:
119
+ sig_func = func
120
+ try:
121
+ return func, inspect.signature(sig_func)
122
+ except ValueError:
123
+ # Certain callable types are not supported by inspect.signature()
124
+ return None
125
+
126
+
127
+ def _check_signature(func, mock, skipfirst, instance=False):
128
+ sig = _get_signature_object(func, instance, skipfirst)
129
+ if sig is None:
130
+ return
131
+ func, sig = sig
132
+ def checksig(self, /, *args, **kwargs):
133
+ sig.bind(*args, **kwargs)
134
+ _copy_func_details(func, checksig)
135
+ type(mock)._mock_check_sig = checksig
136
+ type(mock).__signature__ = sig
137
+
138
+
139
+ def _copy_func_details(func, funcopy):
140
+ # we explicitly don't copy func.__dict__ into this copy as it would
141
+ # expose original attributes that should be mocked
142
+ for attribute in (
143
+ '__name__', '__doc__', '__text_signature__',
144
+ '__module__', '__defaults__', '__kwdefaults__',
145
+ ):
146
+ try:
147
+ setattr(funcopy, attribute, getattr(func, attribute))
148
+ except AttributeError:
149
+ pass
150
+
151
+
152
+ def _callable(obj):
153
+ if isinstance(obj, type):
154
+ return True
155
+ if isinstance(obj, (staticmethod, classmethod, MethodType)):
156
+ return _callable(obj.__func__)
157
+ if getattr(obj, '__call__', None) is not None:
158
+ return True
159
+ return False
160
+
161
+
162
+ def _is_list(obj):
163
+ # checks for list or tuples
164
+ # XXXX badly named!
165
+ return type(obj) in (list, tuple)
166
+
167
+
168
+ def _instance_callable(obj):
169
+ """Given an object, return True if the object is callable.
170
+ For classes, return True if instances would be callable."""
171
+ if not isinstance(obj, type):
172
+ # already an instance
173
+ return getattr(obj, '__call__', None) is not None
174
+
175
+ # *could* be broken by a class overriding __mro__ or __dict__ via
176
+ # a metaclass
177
+ for base in (obj,) + obj.__mro__:
178
+ if base.__dict__.get('__call__') is not None:
179
+ return True
180
+ return False
181
+
182
+
183
+ def _set_signature(mock, original, instance=False):
184
+ # creates a function with signature (*args, **kwargs) that delegates to a
185
+ # mock. It still does signature checking by calling a lambda with the same
186
+ # signature as the original.
187
+
188
+ skipfirst = isinstance(original, type)
189
+ result = _get_signature_object(original, instance, skipfirst)
190
+ if result is None:
191
+ return mock
192
+ func, sig = result
193
+ def checksig(*args, **kwargs):
194
+ sig.bind(*args, **kwargs)
195
+ _copy_func_details(func, checksig)
196
+
197
+ name = original.__name__
198
+ if not name.isidentifier():
199
+ name = 'funcopy'
200
+ context = {'_checksig_': checksig, 'mock': mock}
201
+ src = """def %s(*args, **kwargs):
202
+ _checksig_(*args, **kwargs)
203
+ return mock(*args, **kwargs)""" % name
204
+ exec (src, context)
205
+ funcopy = context[name]
206
+ _setup_func(funcopy, mock, sig)
207
+ return funcopy
208
+
209
+ def _set_async_signature(mock, original, instance=False, is_async_mock=False):
210
+ # creates an async function with signature (*args, **kwargs) that delegates to a
211
+ # mock. It still does signature checking by calling a lambda with the same
212
+ # signature as the original.
213
+
214
+ skipfirst = isinstance(original, type)
215
+ func, sig = _get_signature_object(original, instance, skipfirst)
216
+ def checksig(*args, **kwargs):
217
+ sig.bind(*args, **kwargs)
218
+ _copy_func_details(func, checksig)
219
+
220
+ name = original.__name__
221
+ context = {'_checksig_': checksig, 'mock': mock}
222
+ src = """async def %s(*args, **kwargs):
223
+ _checksig_(*args, **kwargs)
224
+ return await mock(*args, **kwargs)""" % name
225
+ exec (src, context)
226
+ funcopy = context[name]
227
+ _setup_func(funcopy, mock, sig)
228
+ _setup_async_mock(funcopy)
229
+ return funcopy
230
+
231
+
232
+ def _setup_func(funcopy, mock, sig):
233
+ funcopy.mock = mock
234
+
235
+ def assert_called_with(*args, **kwargs):
236
+ return mock.assert_called_with(*args, **kwargs)
237
+ def assert_called(*args, **kwargs):
238
+ return mock.assert_called(*args, **kwargs)
239
+ def assert_not_called(*args, **kwargs):
240
+ return mock.assert_not_called(*args, **kwargs)
241
+ def assert_called_once(*args, **kwargs):
242
+ return mock.assert_called_once(*args, **kwargs)
243
+ def assert_called_once_with(*args, **kwargs):
244
+ return mock.assert_called_once_with(*args, **kwargs)
245
+ def assert_has_calls(*args, **kwargs):
246
+ return mock.assert_has_calls(*args, **kwargs)
247
+ def assert_any_call(*args, **kwargs):
248
+ return mock.assert_any_call(*args, **kwargs)
249
+ def reset_mock():
250
+ funcopy.method_calls = _CallList()
251
+ funcopy.mock_calls = _CallList()
252
+ mock.reset_mock()
253
+ ret = funcopy.return_value
254
+ if _is_instance_mock(ret) and not ret is mock:
255
+ ret.reset_mock()
256
+
257
+ funcopy.called = False
258
+ funcopy.call_count = 0
259
+ funcopy.call_args = None
260
+ funcopy.call_args_list = _CallList()
261
+ funcopy.method_calls = _CallList()
262
+ funcopy.mock_calls = _CallList()
263
+
264
+ funcopy.return_value = mock.return_value
265
+ funcopy.side_effect = mock.side_effect
266
+ funcopy._mock_children = mock._mock_children
267
+
268
+ funcopy.assert_called_with = assert_called_with
269
+ funcopy.assert_called_once_with = assert_called_once_with
270
+ funcopy.assert_has_calls = assert_has_calls
271
+ funcopy.assert_any_call = assert_any_call
272
+ funcopy.reset_mock = reset_mock
273
+ funcopy.assert_called = assert_called
274
+ funcopy.assert_not_called = assert_not_called
275
+ funcopy.assert_called_once = assert_called_once
276
+ funcopy.__signature__ = sig
277
+
278
+ mock._mock_delegate = funcopy
279
+
280
+
281
+ def _setup_async_mock(mock):
282
+ mock._is_coroutine = asyncio.coroutines._is_coroutine
283
+ mock.await_count = 0
284
+ mock.await_args = None
285
+ mock.await_args_list = _CallList()
286
+
287
+ # Mock is not configured yet so the attributes are set
288
+ # to a function and then the corresponding mock helper function
289
+ # is called when the helper is accessed similar to _setup_func.
290
+ def wrapper(attr, /, *args, **kwargs):
291
+ return getattr(mock.mock, attr)(*args, **kwargs)
292
+
293
+ for attribute in ('assert_awaited',
294
+ 'assert_awaited_once',
295
+ 'assert_awaited_with',
296
+ 'assert_awaited_once_with',
297
+ 'assert_any_await',
298
+ 'assert_has_awaits',
299
+ 'assert_not_awaited'):
300
+
301
+ # setattr(mock, attribute, wrapper) causes late binding
302
+ # hence attribute will always be the last value in the loop
303
+ # Use partial(wrapper, attribute) to ensure the attribute is bound
304
+ # correctly.
305
+ setattr(mock, attribute, partial(wrapper, attribute))
306
+
307
+
308
+ def _is_magic(name):
309
+ return '__%s__' % name[2:-2] == name
310
+
311
+
312
+ class _SentinelObject(object):
313
+ "A unique, named, sentinel object."
314
+ def __init__(self, name):
315
+ self.name = name
316
+
317
+ def __repr__(self):
318
+ return 'sentinel.%s' % self.name
319
+
320
+ def __reduce__(self):
321
+ return 'sentinel.%s' % self.name
322
+
323
+
324
+ class _Sentinel(object):
325
+ """Access attributes to return a named object, usable as a sentinel."""
326
+ def __init__(self):
327
+ self._sentinels = {}
328
+
329
+ def __getattr__(self, name):
330
+ if name == '__bases__':
331
+ # Without this help(unittest.mock) raises an exception
332
+ raise AttributeError
333
+ return self._sentinels.setdefault(name, _SentinelObject(name))
334
+
335
+ def __reduce__(self):
336
+ return 'sentinel'
337
+
338
+
339
+ sentinel = _Sentinel()
340
+
341
+ DEFAULT = sentinel.DEFAULT
342
+ _missing = sentinel.MISSING
343
+ _deleted = sentinel.DELETED
344
+
345
+
346
+ _allowed_names = {
347
+ 'return_value', '_mock_return_value', 'side_effect',
348
+ '_mock_side_effect', '_mock_parent', '_mock_new_parent',
349
+ '_mock_name', '_mock_new_name'
350
+ }
351
+
352
+
353
+ def _delegating_property(name):
354
+ _allowed_names.add(name)
355
+ _the_name = '_mock_' + name
356
+ def _get(self, name=name, _the_name=_the_name):
357
+ sig = self._mock_delegate
358
+ if sig is None:
359
+ return getattr(self, _the_name)
360
+ return getattr(sig, name)
361
+ def _set(self, value, name=name, _the_name=_the_name):
362
+ sig = self._mock_delegate
363
+ if sig is None:
364
+ self.__dict__[_the_name] = value
365
+ else:
366
+ setattr(sig, name, value)
367
+
368
+ return property(_get, _set)
369
+
370
+
371
+
372
+ class _CallList(list):
373
+
374
+ def __contains__(self, value):
375
+ if not isinstance(value, list):
376
+ return list.__contains__(self, value)
377
+ len_value = len(value)
378
+ len_self = len(self)
379
+ if len_value > len_self:
380
+ return False
381
+
382
+ for i in range(0, len_self - len_value + 1):
383
+ sub_list = self[i:i+len_value]
384
+ if sub_list == value:
385
+ return True
386
+ return False
387
+
388
+ def __repr__(self):
389
+ return pprint.pformat(list(self))
390
+
391
+
392
+ def _check_and_set_parent(parent, value, name, new_name):
393
+ value = _extract_mock(value)
394
+
395
+ if not _is_instance_mock(value):
396
+ return False
397
+ if ((value._mock_name or value._mock_new_name) or
398
+ (value._mock_parent is not None) or
399
+ (value._mock_new_parent is not None)):
400
+ return False
401
+
402
+ _parent = parent
403
+ while _parent is not None:
404
+ # setting a mock (value) as a child or return value of itself
405
+ # should not modify the mock
406
+ if _parent is value:
407
+ return False
408
+ _parent = _parent._mock_new_parent
409
+
410
+ if new_name:
411
+ value._mock_new_parent = parent
412
+ value._mock_new_name = new_name
413
+ if name:
414
+ value._mock_parent = parent
415
+ value._mock_name = name
416
+ return True
417
+
418
+ # Internal class to identify if we wrapped an iterator object or not.
419
+ class _MockIter(object):
420
+ def __init__(self, obj):
421
+ self.obj = iter(obj)
422
+ def __next__(self):
423
+ return next(self.obj)
424
+
425
+ class Base(object):
426
+ _mock_return_value = DEFAULT
427
+ _mock_side_effect = None
428
+ def __init__(self, /, *args, **kwargs):
429
+ pass
430
+
431
+
432
+
433
+ class NonCallableMock(Base):
434
+ """A non-callable version of `Mock`"""
435
+
436
+ # Store a mutex as a class attribute in order to protect concurrent access
437
+ # to mock attributes. Using a class attribute allows all NonCallableMock
438
+ # instances to share the mutex for simplicity.
439
+ #
440
+ # See https://github.com/python/cpython/issues/98624 for why this is
441
+ # necessary.
442
+ _lock = RLock()
443
+
444
+ def __new__(
445
+ cls, spec=None, wraps=None, name=None, spec_set=None,
446
+ parent=None, _spec_state=None, _new_name='', _new_parent=None,
447
+ _spec_as_instance=False, _eat_self=None, unsafe=False, **kwargs
448
+ ):
449
+ # every instance has its own class
450
+ # so we can create magic methods on the
451
+ # class without stomping on other mocks
452
+ bases = (cls,)
453
+ if not issubclass(cls, AsyncMockMixin):
454
+ # Check if spec is an async object or function
455
+ spec_arg = spec_set or spec
456
+ if spec_arg is not None and _is_async_obj(spec_arg):
457
+ bases = (AsyncMockMixin, cls)
458
+ new = type(cls.__name__, bases, {'__doc__': cls.__doc__})
459
+ instance = _safe_super(NonCallableMock, cls).__new__(new)
460
+ return instance
461
+
462
+
463
+ def __init__(
464
+ self, spec=None, wraps=None, name=None, spec_set=None,
465
+ parent=None, _spec_state=None, _new_name='', _new_parent=None,
466
+ _spec_as_instance=False, _eat_self=None, unsafe=False, **kwargs
467
+ ):
468
+ if _new_parent is None:
469
+ _new_parent = parent
470
+
471
+ __dict__ = self.__dict__
472
+ __dict__['_mock_parent'] = parent
473
+ __dict__['_mock_name'] = name
474
+ __dict__['_mock_new_name'] = _new_name
475
+ __dict__['_mock_new_parent'] = _new_parent
476
+ __dict__['_mock_sealed'] = False
477
+
478
+ if spec_set is not None:
479
+ spec = spec_set
480
+ spec_set = True
481
+ if _eat_self is None:
482
+ _eat_self = parent is not None
483
+
484
+ self._mock_add_spec(spec, spec_set, _spec_as_instance, _eat_self)
485
+
486
+ __dict__['_mock_children'] = {}
487
+ __dict__['_mock_wraps'] = wraps
488
+ __dict__['_mock_delegate'] = None
489
+
490
+ __dict__['_mock_called'] = False
491
+ __dict__['_mock_call_args'] = None
492
+ __dict__['_mock_call_count'] = 0
493
+ __dict__['_mock_call_args_list'] = _CallList()
494
+ __dict__['_mock_mock_calls'] = _CallList()
495
+
496
+ __dict__['method_calls'] = _CallList()
497
+ __dict__['_mock_unsafe'] = unsafe
498
+
499
+ if kwargs:
500
+ self.configure_mock(**kwargs)
501
+
502
+ _safe_super(NonCallableMock, self).__init__(
503
+ spec, wraps, name, spec_set, parent,
504
+ _spec_state
505
+ )
506
+
507
+
508
+ def attach_mock(self, mock, attribute):
509
+ """
510
+ Attach a mock as an attribute of this one, replacing its name and
511
+ parent. Calls to the attached mock will be recorded in the
512
+ `method_calls` and `mock_calls` attributes of this one."""
513
+ inner_mock = _extract_mock(mock)
514
+
515
+ inner_mock._mock_parent = None
516
+ inner_mock._mock_new_parent = None
517
+ inner_mock._mock_name = ''
518
+ inner_mock._mock_new_name = None
519
+
520
+ setattr(self, attribute, mock)
521
+
522
+
523
+ def mock_add_spec(self, spec, spec_set=False):
524
+ """Add a spec to a mock. `spec` can either be an object or a
525
+ list of strings. Only attributes on the `spec` can be fetched as
526
+ attributes from the mock.
527
+
528
+ If `spec_set` is True then only attributes on the spec can be set."""
529
+ self._mock_add_spec(spec, spec_set)
530
+
531
+
532
+ def _mock_add_spec(self, spec, spec_set, _spec_as_instance=False,
533
+ _eat_self=False):
534
+ if _is_instance_mock(spec):
535
+ raise InvalidSpecError(f'Cannot spec a Mock object. [object={spec!r}]')
536
+
537
+ _spec_class = None
538
+ _spec_signature = None
539
+ _spec_asyncs = []
540
+
541
+ if spec is not None and not _is_list(spec):
542
+ if isinstance(spec, type):
543
+ _spec_class = spec
544
+ else:
545
+ _spec_class = type(spec)
546
+ res = _get_signature_object(spec,
547
+ _spec_as_instance, _eat_self)
548
+ _spec_signature = res and res[1]
549
+
550
+ spec_list = dir(spec)
551
+
552
+ for attr in spec_list:
553
+ static_attr = inspect.getattr_static(spec, attr, None)
554
+ unwrapped_attr = static_attr
555
+ try:
556
+ unwrapped_attr = inspect.unwrap(unwrapped_attr)
557
+ except ValueError:
558
+ pass
559
+ if iscoroutinefunction(unwrapped_attr):
560
+ _spec_asyncs.append(attr)
561
+
562
+ spec = spec_list
563
+
564
+ __dict__ = self.__dict__
565
+ __dict__['_spec_class'] = _spec_class
566
+ __dict__['_spec_set'] = spec_set
567
+ __dict__['_spec_signature'] = _spec_signature
568
+ __dict__['_mock_methods'] = spec
569
+ __dict__['_spec_asyncs'] = _spec_asyncs
570
+
571
+ def __get_return_value(self):
572
+ ret = self._mock_return_value
573
+ if self._mock_delegate is not None:
574
+ ret = self._mock_delegate.return_value
575
+
576
+ if ret is DEFAULT and self._mock_wraps is None:
577
+ ret = self._get_child_mock(
578
+ _new_parent=self, _new_name='()'
579
+ )
580
+ self.return_value = ret
581
+ return ret
582
+
583
+
584
+ def __set_return_value(self, value):
585
+ if self._mock_delegate is not None:
586
+ self._mock_delegate.return_value = value
587
+ else:
588
+ self._mock_return_value = value
589
+ _check_and_set_parent(self, value, None, '()')
590
+
591
+ __return_value_doc = "The value to be returned when the mock is called."
592
+ return_value = property(__get_return_value, __set_return_value,
593
+ __return_value_doc)
594
+
595
+
596
+ @property
597
+ def __class__(self):
598
+ if self._spec_class is None:
599
+ return type(self)
600
+ return self._spec_class
601
+
602
+ called = _delegating_property('called')
603
+ call_count = _delegating_property('call_count')
604
+ call_args = _delegating_property('call_args')
605
+ call_args_list = _delegating_property('call_args_list')
606
+ mock_calls = _delegating_property('mock_calls')
607
+
608
+
609
+ def __get_side_effect(self):
610
+ delegated = self._mock_delegate
611
+ if delegated is None:
612
+ return self._mock_side_effect
613
+ sf = delegated.side_effect
614
+ if (sf is not None and not callable(sf)
615
+ and not isinstance(sf, _MockIter) and not _is_exception(sf)):
616
+ sf = _MockIter(sf)
617
+ delegated.side_effect = sf
618
+ return sf
619
+
620
+ def __set_side_effect(self, value):
621
+ value = _try_iter(value)
622
+ delegated = self._mock_delegate
623
+ if delegated is None:
624
+ self._mock_side_effect = value
625
+ else:
626
+ delegated.side_effect = value
627
+
628
+ side_effect = property(__get_side_effect, __set_side_effect)
629
+
630
+
631
+ def reset_mock(self, visited=None, *,
632
+ return_value: bool = False,
633
+ side_effect: bool = False):
634
+ "Restore the mock object to its initial state."
635
+ if visited is None:
636
+ visited = []
637
+ if id(self) in visited:
638
+ return
639
+ visited.append(id(self))
640
+
641
+ self.called = False
642
+ self.call_args = None
643
+ self.call_count = 0
644
+ self.mock_calls = _CallList()
645
+ self.call_args_list = _CallList()
646
+ self.method_calls = _CallList()
647
+
648
+ if return_value:
649
+ self._mock_return_value = DEFAULT
650
+ if side_effect:
651
+ self._mock_side_effect = None
652
+
653
+ for child in self._mock_children.values():
654
+ if isinstance(child, _SpecState) or child is _deleted:
655
+ continue
656
+ child.reset_mock(visited, return_value=return_value, side_effect=side_effect)
657
+
658
+ ret = self._mock_return_value
659
+ if _is_instance_mock(ret) and ret is not self:
660
+ ret.reset_mock(visited)
661
+
662
+
663
+ def configure_mock(self, /, **kwargs):
664
+ """Set attributes on the mock through keyword arguments.
665
+
666
+ Attributes plus return values and side effects can be set on child
667
+ mocks using standard dot notation and unpacking a dictionary in the
668
+ method call:
669
+
670
+ >>> attrs = {'method.return_value': 3, 'other.side_effect': KeyError}
671
+ >>> mock.configure_mock(**attrs)"""
672
+ for arg, val in sorted(kwargs.items(),
673
+ # we sort on the number of dots so that
674
+ # attributes are set before we set attributes on
675
+ # attributes
676
+ key=lambda entry: entry[0].count('.')):
677
+ args = arg.split('.')
678
+ final = args.pop()
679
+ obj = self
680
+ for entry in args:
681
+ obj = getattr(obj, entry)
682
+ setattr(obj, final, val)
683
+
684
+
685
+ def __getattr__(self, name):
686
+ if name in {'_mock_methods', '_mock_unsafe'}:
687
+ raise AttributeError(name)
688
+ elif self._mock_methods is not None:
689
+ if name not in self._mock_methods or name in _all_magics:
690
+ raise AttributeError("Mock object has no attribute %r" % name)
691
+ elif _is_magic(name):
692
+ raise AttributeError(name)
693
+ if not self._mock_unsafe and (not self._mock_methods or name not in self._mock_methods):
694
+ if name.startswith(('assert', 'assret', 'asert', 'aseert', 'assrt')) or name in _ATTRIB_DENY_LIST:
695
+ raise AttributeError(
696
+ f"{name!r} is not a valid assertion. Use a spec "
697
+ f"for the mock if {name!r} is meant to be an attribute.")
698
+
699
+ with NonCallableMock._lock:
700
+ result = self._mock_children.get(name)
701
+ if result is _deleted:
702
+ raise AttributeError(name)
703
+ elif result is None:
704
+ wraps = None
705
+ if self._mock_wraps is not None:
706
+ # XXXX should we get the attribute without triggering code
707
+ # execution?
708
+ wraps = getattr(self._mock_wraps, name)
709
+
710
+ result = self._get_child_mock(
711
+ parent=self, name=name, wraps=wraps, _new_name=name,
712
+ _new_parent=self
713
+ )
714
+ self._mock_children[name] = result
715
+
716
+ elif isinstance(result, _SpecState):
717
+ try:
718
+ result = create_autospec(
719
+ result.spec, result.spec_set, result.instance,
720
+ result.parent, result.name
721
+ )
722
+ except InvalidSpecError:
723
+ target_name = self.__dict__['_mock_name'] or self
724
+ raise InvalidSpecError(
725
+ f'Cannot autospec attr {name!r} from target '
726
+ f'{target_name!r} as it has already been mocked out. '
727
+ f'[target={self!r}, attr={result.spec!r}]')
728
+ self._mock_children[name] = result
729
+
730
+ return result
731
+
732
+
733
+ def _extract_mock_name(self):
734
+ _name_list = [self._mock_new_name]
735
+ _parent = self._mock_new_parent
736
+ last = self
737
+
738
+ dot = '.'
739
+ if _name_list == ['()']:
740
+ dot = ''
741
+
742
+ while _parent is not None:
743
+ last = _parent
744
+
745
+ _name_list.append(_parent._mock_new_name + dot)
746
+ dot = '.'
747
+ if _parent._mock_new_name == '()':
748
+ dot = ''
749
+
750
+ _parent = _parent._mock_new_parent
751
+
752
+ _name_list = list(reversed(_name_list))
753
+ _first = last._mock_name or 'mock'
754
+ if len(_name_list) > 1:
755
+ if _name_list[1] not in ('()', '().'):
756
+ _first += '.'
757
+ _name_list[0] = _first
758
+ return ''.join(_name_list)
759
+
760
+ def __repr__(self):
761
+ name = self._extract_mock_name()
762
+
763
+ name_string = ''
764
+ if name not in ('mock', 'mock.'):
765
+ name_string = ' name=%r' % name
766
+
767
+ spec_string = ''
768
+ if self._spec_class is not None:
769
+ spec_string = ' spec=%r'
770
+ if self._spec_set:
771
+ spec_string = ' spec_set=%r'
772
+ spec_string = spec_string % self._spec_class.__name__
773
+ return "<%s%s%s id='%s'>" % (
774
+ type(self).__name__,
775
+ name_string,
776
+ spec_string,
777
+ id(self)
778
+ )
779
+
780
+
781
+ def __dir__(self):
782
+ """Filter the output of `dir(mock)` to only useful members."""
783
+ if not FILTER_DIR:
784
+ return object.__dir__(self)
785
+
786
+ extras = self._mock_methods or []
787
+ from_type = dir(type(self))
788
+ from_dict = list(self.__dict__)
789
+ from_child_mocks = [
790
+ m_name for m_name, m_value in self._mock_children.items()
791
+ if m_value is not _deleted]
792
+
793
+ from_type = [e for e in from_type if not e.startswith('_')]
794
+ from_dict = [e for e in from_dict if not e.startswith('_') or
795
+ _is_magic(e)]
796
+ return sorted(set(extras + from_type + from_dict + from_child_mocks))
797
+
798
+
799
+ def __setattr__(self, name, value):
800
+ if name in _allowed_names:
801
+ # property setters go through here
802
+ return object.__setattr__(self, name, value)
803
+ elif (self._spec_set and self._mock_methods is not None and
804
+ name not in self._mock_methods and
805
+ name not in self.__dict__):
806
+ raise AttributeError("Mock object has no attribute '%s'" % name)
807
+ elif name in _unsupported_magics:
808
+ msg = 'Attempting to set unsupported magic method %r.' % name
809
+ raise AttributeError(msg)
810
+ elif name in _all_magics:
811
+ if self._mock_methods is not None and name not in self._mock_methods:
812
+ raise AttributeError("Mock object has no attribute '%s'" % name)
813
+
814
+ if not _is_instance_mock(value):
815
+ setattr(type(self), name, _get_method(name, value))
816
+ original = value
817
+ value = lambda *args, **kw: original(self, *args, **kw)
818
+ else:
819
+ # only set _new_name and not name so that mock_calls is tracked
820
+ # but not method calls
821
+ _check_and_set_parent(self, value, None, name)
822
+ setattr(type(self), name, value)
823
+ self._mock_children[name] = value
824
+ elif name == '__class__':
825
+ self._spec_class = value
826
+ return
827
+ else:
828
+ if _check_and_set_parent(self, value, name, name):
829
+ self._mock_children[name] = value
830
+
831
+ if self._mock_sealed and not hasattr(self, name):
832
+ mock_name = f'{self._extract_mock_name()}.{name}'
833
+ raise AttributeError(f'Cannot set {mock_name}')
834
+
835
+ if isinstance(value, PropertyMock):
836
+ self.__dict__[name] = value
837
+ return
838
+ return object.__setattr__(self, name, value)
839
+
840
+
841
+ def __delattr__(self, name):
842
+ if name in _all_magics and name in type(self).__dict__:
843
+ delattr(type(self), name)
844
+ if name not in self.__dict__:
845
+ # for magic methods that are still MagicProxy objects and
846
+ # not set on the instance itself
847
+ return
848
+
849
+ obj = self._mock_children.get(name, _missing)
850
+ if name in self.__dict__:
851
+ _safe_super(NonCallableMock, self).__delattr__(name)
852
+ elif obj is _deleted:
853
+ raise AttributeError(name)
854
+ if obj is not _missing:
855
+ del self._mock_children[name]
856
+ self._mock_children[name] = _deleted
857
+
858
+
859
+ def _format_mock_call_signature(self, args, kwargs):
860
+ name = self._mock_name or 'mock'
861
+ return _format_call_signature(name, args, kwargs)
862
+
863
+
864
+ def _format_mock_failure_message(self, args, kwargs, action='call'):
865
+ message = 'expected %s not found.\nExpected: %s\n Actual: %s'
866
+ expected_string = self._format_mock_call_signature(args, kwargs)
867
+ call_args = self.call_args
868
+ actual_string = self._format_mock_call_signature(*call_args)
869
+ return message % (action, expected_string, actual_string)
870
+
871
+
872
+ def _get_call_signature_from_name(self, name):
873
+ """
874
+ * If call objects are asserted against a method/function like obj.meth1
875
+ then there could be no name for the call object to lookup. Hence just
876
+ return the spec_signature of the method/function being asserted against.
877
+ * If the name is not empty then remove () and split by '.' to get
878
+ list of names to iterate through the children until a potential
879
+ match is found. A child mock is created only during attribute access
880
+ so if we get a _SpecState then no attributes of the spec were accessed
881
+ and can be safely exited.
882
+ """
883
+ if not name:
884
+ return self._spec_signature
885
+
886
+ sig = None
887
+ names = name.replace('()', '').split('.')
888
+ children = self._mock_children
889
+
890
+ for name in names:
891
+ child = children.get(name)
892
+ if child is None or isinstance(child, _SpecState):
893
+ break
894
+ else:
895
+ # If an autospecced object is attached using attach_mock the
896
+ # child would be a function with mock object as attribute from
897
+ # which signature has to be derived.
898
+ child = _extract_mock(child)
899
+ children = child._mock_children
900
+ sig = child._spec_signature
901
+
902
+ return sig
903
+
904
+
905
+ def _call_matcher(self, _call):
906
+ """
907
+ Given a call (or simply an (args, kwargs) tuple), return a
908
+ comparison key suitable for matching with other calls.
909
+ This is a best effort method which relies on the spec's signature,
910
+ if available, or falls back on the arguments themselves.
911
+ """
912
+
913
+ if isinstance(_call, tuple) and len(_call) > 2:
914
+ sig = self._get_call_signature_from_name(_call[0])
915
+ else:
916
+ sig = self._spec_signature
917
+
918
+ if sig is not None:
919
+ if len(_call) == 2:
920
+ name = ''
921
+ args, kwargs = _call
922
+ else:
923
+ name, args, kwargs = _call
924
+ try:
925
+ bound_call = sig.bind(*args, **kwargs)
926
+ return call(name, bound_call.args, bound_call.kwargs)
927
+ except TypeError as e:
928
+ return e.with_traceback(None)
929
+ else:
930
+ return _call
931
+
932
+ def assert_not_called(self):
933
+ """assert that the mock was never called.
934
+ """
935
+ if self.call_count != 0:
936
+ msg = ("Expected '%s' to not have been called. Called %s times.%s"
937
+ % (self._mock_name or 'mock',
938
+ self.call_count,
939
+ self._calls_repr()))
940
+ raise AssertionError(msg)
941
+
942
+ def assert_called(self):
943
+ """assert that the mock was called at least once
944
+ """
945
+ if self.call_count == 0:
946
+ msg = ("Expected '%s' to have been called." %
947
+ (self._mock_name or 'mock'))
948
+ raise AssertionError(msg)
949
+
950
+ def assert_called_once(self):
951
+ """assert that the mock was called only once.
952
+ """
953
+ if not self.call_count == 1:
954
+ msg = ("Expected '%s' to have been called once. Called %s times.%s"
955
+ % (self._mock_name or 'mock',
956
+ self.call_count,
957
+ self._calls_repr()))
958
+ raise AssertionError(msg)
959
+
960
+ def assert_called_with(self, /, *args, **kwargs):
961
+ """assert that the last call was made with the specified arguments.
962
+
963
+ Raises an AssertionError if the args and keyword args passed in are
964
+ different to the last call to the mock."""
965
+ if self.call_args is None:
966
+ expected = self._format_mock_call_signature(args, kwargs)
967
+ actual = 'not called.'
968
+ error_message = ('expected call not found.\nExpected: %s\n Actual: %s'
969
+ % (expected, actual))
970
+ raise AssertionError(error_message)
971
+
972
+ def _error_message():
973
+ msg = self._format_mock_failure_message(args, kwargs)
974
+ return msg
975
+ expected = self._call_matcher(_Call((args, kwargs), two=True))
976
+ actual = self._call_matcher(self.call_args)
977
+ if actual != expected:
978
+ cause = expected if isinstance(expected, Exception) else None
979
+ raise AssertionError(_error_message()) from cause
980
+
981
+
982
+ def assert_called_once_with(self, /, *args, **kwargs):
983
+ """assert that the mock was called exactly once and that that call was
984
+ with the specified arguments."""
985
+ if not self.call_count == 1:
986
+ msg = ("Expected '%s' to be called once. Called %s times.%s"
987
+ % (self._mock_name or 'mock',
988
+ self.call_count,
989
+ self._calls_repr()))
990
+ raise AssertionError(msg)
991
+ return self.assert_called_with(*args, **kwargs)
992
+
993
+
994
+ def assert_has_calls(self, calls, any_order=False):
995
+ """assert the mock has been called with the specified calls.
996
+ The `mock_calls` list is checked for the calls.
997
+
998
+ If `any_order` is False (the default) then the calls must be
999
+ sequential. There can be extra calls before or after the
1000
+ specified calls.
1001
+
1002
+ If `any_order` is True then the calls can be in any order, but
1003
+ they must all appear in `mock_calls`."""
1004
+ expected = [self._call_matcher(c) for c in calls]
1005
+ cause = next((e for e in expected if isinstance(e, Exception)), None)
1006
+ all_calls = _CallList(self._call_matcher(c) for c in self.mock_calls)
1007
+ if not any_order:
1008
+ if expected not in all_calls:
1009
+ if cause is None:
1010
+ problem = 'Calls not found.'
1011
+ else:
1012
+ problem = ('Error processing expected calls.\n'
1013
+ 'Errors: {}').format(
1014
+ [e if isinstance(e, Exception) else None
1015
+ for e in expected])
1016
+ raise AssertionError(
1017
+ f'{problem}\n'
1018
+ f'Expected: {_CallList(calls)}\n'
1019
+ f' Actual: {safe_repr(self.mock_calls)}'
1020
+ ) from cause
1021
+ return
1022
+
1023
+ all_calls = list(all_calls)
1024
+
1025
+ not_found = []
1026
+ for kall in expected:
1027
+ try:
1028
+ all_calls.remove(kall)
1029
+ except ValueError:
1030
+ not_found.append(kall)
1031
+ if not_found:
1032
+ raise AssertionError(
1033
+ '%r does not contain all of %r in its call list, '
1034
+ 'found %r instead' % (self._mock_name or 'mock',
1035
+ tuple(not_found), all_calls)
1036
+ ) from cause
1037
+
1038
+
1039
+ def assert_any_call(self, /, *args, **kwargs):
1040
+ """assert the mock has been called with the specified arguments.
1041
+
1042
+ The assert passes if the mock has *ever* been called, unlike
1043
+ `assert_called_with` and `assert_called_once_with` that only pass if
1044
+ the call is the most recent one."""
1045
+ expected = self._call_matcher(_Call((args, kwargs), two=True))
1046
+ cause = expected if isinstance(expected, Exception) else None
1047
+ actual = [self._call_matcher(c) for c in self.call_args_list]
1048
+ if cause or expected not in _AnyComparer(actual):
1049
+ expected_string = self._format_mock_call_signature(args, kwargs)
1050
+ raise AssertionError(
1051
+ '%s call not found' % expected_string
1052
+ ) from cause
1053
+
1054
+
1055
+ def _get_child_mock(self, /, **kw):
1056
+ """Create the child mocks for attributes and return value.
1057
+ By default child mocks will be the same type as the parent.
1058
+ Subclasses of Mock may want to override this to customize the way
1059
+ child mocks are made.
1060
+
1061
+ For non-callable mocks the callable variant will be used (rather than
1062
+ any custom subclass)."""
1063
+ if self._mock_sealed:
1064
+ attribute = f".{kw['name']}" if "name" in kw else "()"
1065
+ mock_name = self._extract_mock_name() + attribute
1066
+ raise AttributeError(mock_name)
1067
+
1068
+ _new_name = kw.get("_new_name")
1069
+ if _new_name in self.__dict__['_spec_asyncs']:
1070
+ return AsyncMock(**kw)
1071
+
1072
+ _type = type(self)
1073
+ if issubclass(_type, MagicMock) and _new_name in _async_method_magics:
1074
+ # Any asynchronous magic becomes an AsyncMock
1075
+ klass = AsyncMock
1076
+ elif issubclass(_type, AsyncMockMixin):
1077
+ if (_new_name in _all_sync_magics or
1078
+ self._mock_methods and _new_name in self._mock_methods):
1079
+ # Any synchronous method on AsyncMock becomes a MagicMock
1080
+ klass = MagicMock
1081
+ else:
1082
+ klass = AsyncMock
1083
+ elif not issubclass(_type, CallableMixin):
1084
+ if issubclass(_type, NonCallableMagicMock):
1085
+ klass = MagicMock
1086
+ elif issubclass(_type, NonCallableMock):
1087
+ klass = Mock
1088
+ else:
1089
+ klass = _type.__mro__[1]
1090
+ return klass(**kw)
1091
+
1092
+
1093
+ def _calls_repr(self):
1094
+ """Renders self.mock_calls as a string.
1095
+
1096
+ Example: "\nCalls: [call(1), call(2)]."
1097
+
1098
+ If self.mock_calls is empty, an empty string is returned. The
1099
+ output will be truncated if very long.
1100
+ """
1101
+ if not self.mock_calls:
1102
+ return ""
1103
+ return f"\nCalls: {safe_repr(self.mock_calls)}."
1104
+
1105
+
1106
+ # Denylist for forbidden attribute names in safe mode
1107
+ _ATTRIB_DENY_LIST = frozenset({
1108
+ name.removeprefix("assert_")
1109
+ for name in dir(NonCallableMock)
1110
+ if name.startswith("assert_")
1111
+ })
1112
+
1113
+
1114
+ class _AnyComparer(list):
1115
+ """A list which checks if it contains a call which may have an
1116
+ argument of ANY, flipping the components of item and self from
1117
+ their traditional locations so that ANY is guaranteed to be on
1118
+ the left."""
1119
+ def __contains__(self, item):
1120
+ for _call in self:
1121
+ assert len(item) == len(_call)
1122
+ if all([
1123
+ expected == actual
1124
+ for expected, actual in zip(item, _call)
1125
+ ]):
1126
+ return True
1127
+ return False
1128
+
1129
+
1130
+ def _try_iter(obj):
1131
+ if obj is None:
1132
+ return obj
1133
+ if _is_exception(obj):
1134
+ return obj
1135
+ if _callable(obj):
1136
+ return obj
1137
+ try:
1138
+ return iter(obj)
1139
+ except TypeError:
1140
+ # XXXX backwards compatibility
1141
+ # but this will blow up on first call - so maybe we should fail early?
1142
+ return obj
1143
+
1144
+
1145
+ class CallableMixin(Base):
1146
+
1147
+ def __init__(self, spec=None, side_effect=None, return_value=DEFAULT,
1148
+ wraps=None, name=None, spec_set=None, parent=None,
1149
+ _spec_state=None, _new_name='', _new_parent=None, **kwargs):
1150
+ self.__dict__['_mock_return_value'] = return_value
1151
+ _safe_super(CallableMixin, self).__init__(
1152
+ spec, wraps, name, spec_set, parent,
1153
+ _spec_state, _new_name, _new_parent, **kwargs
1154
+ )
1155
+
1156
+ self.side_effect = side_effect
1157
+
1158
+
1159
+ def _mock_check_sig(self, /, *args, **kwargs):
1160
+ # stub method that can be replaced with one with a specific signature
1161
+ pass
1162
+
1163
+
1164
+ def __call__(self, /, *args, **kwargs):
1165
+ # can't use self in-case a function / method we are mocking uses self
1166
+ # in the signature
1167
+ self._mock_check_sig(*args, **kwargs)
1168
+ self._increment_mock_call(*args, **kwargs)
1169
+ return self._mock_call(*args, **kwargs)
1170
+
1171
+
1172
+ def _mock_call(self, /, *args, **kwargs):
1173
+ return self._execute_mock_call(*args, **kwargs)
1174
+
1175
+ def _increment_mock_call(self, /, *args, **kwargs):
1176
+ self.called = True
1177
+
1178
+ # handle call_args
1179
+ # needs to be set here so assertions on call arguments pass before
1180
+ # execution in the case of awaited calls
1181
+ _call = _Call((args, kwargs), two=True)
1182
+ self.call_args = _call
1183
+ self.call_args_list.append(_call)
1184
+ self.call_count = len(self.call_args_list)
1185
+
1186
+ # initial stuff for method_calls:
1187
+ do_method_calls = self._mock_parent is not None
1188
+ method_call_name = self._mock_name
1189
+
1190
+ # initial stuff for mock_calls:
1191
+ mock_call_name = self._mock_new_name
1192
+ is_a_call = mock_call_name == '()'
1193
+ self.mock_calls.append(_Call(('', args, kwargs)))
1194
+
1195
+ # follow up the chain of mocks:
1196
+ _new_parent = self._mock_new_parent
1197
+ while _new_parent is not None:
1198
+
1199
+ # handle method_calls:
1200
+ if do_method_calls:
1201
+ _new_parent.method_calls.append(_Call((method_call_name, args, kwargs)))
1202
+ do_method_calls = _new_parent._mock_parent is not None
1203
+ if do_method_calls:
1204
+ method_call_name = _new_parent._mock_name + '.' + method_call_name
1205
+
1206
+ # handle mock_calls:
1207
+ this_mock_call = _Call((mock_call_name, args, kwargs))
1208
+ _new_parent.mock_calls.append(this_mock_call)
1209
+
1210
+ if _new_parent._mock_new_name:
1211
+ if is_a_call:
1212
+ dot = ''
1213
+ else:
1214
+ dot = '.'
1215
+ is_a_call = _new_parent._mock_new_name == '()'
1216
+ mock_call_name = _new_parent._mock_new_name + dot + mock_call_name
1217
+
1218
+ # follow the parental chain:
1219
+ _new_parent = _new_parent._mock_new_parent
1220
+
1221
+ def _execute_mock_call(self, /, *args, **kwargs):
1222
+ # separate from _increment_mock_call so that awaited functions are
1223
+ # executed separately from their call, also AsyncMock overrides this method
1224
+
1225
+ effect = self.side_effect
1226
+ if effect is not None:
1227
+ if _is_exception(effect):
1228
+ raise effect
1229
+ elif not _callable(effect):
1230
+ result = next(effect)
1231
+ if _is_exception(result):
1232
+ raise result
1233
+ else:
1234
+ result = effect(*args, **kwargs)
1235
+
1236
+ if result is not DEFAULT:
1237
+ return result
1238
+
1239
+ if self._mock_return_value is not DEFAULT:
1240
+ return self.return_value
1241
+
1242
+ if self._mock_delegate and self._mock_delegate.return_value is not DEFAULT:
1243
+ return self.return_value
1244
+
1245
+ if self._mock_wraps is not None:
1246
+ return self._mock_wraps(*args, **kwargs)
1247
+
1248
+ return self.return_value
1249
+
1250
+
1251
+
1252
+ class Mock(CallableMixin, NonCallableMock):
1253
+ """
1254
+ Create a new `Mock` object. `Mock` takes several optional arguments
1255
+ that specify the behaviour of the Mock object:
1256
+
1257
+ * `spec`: This can be either a list of strings or an existing object (a
1258
+ class or instance) that acts as the specification for the mock object. If
1259
+ you pass in an object then a list of strings is formed by calling dir on
1260
+ the object (excluding unsupported magic attributes and methods). Accessing
1261
+ any attribute not in this list will raise an `AttributeError`.
1262
+
1263
+ If `spec` is an object (rather than a list of strings) then
1264
+ `mock.__class__` returns the class of the spec object. This allows mocks
1265
+ to pass `isinstance` tests.
1266
+
1267
+ * `spec_set`: A stricter variant of `spec`. If used, attempting to *set*
1268
+ or get an attribute on the mock that isn't on the object passed as
1269
+ `spec_set` will raise an `AttributeError`.
1270
+
1271
+ * `side_effect`: A function to be called whenever the Mock is called. See
1272
+ the `side_effect` attribute. Useful for raising exceptions or
1273
+ dynamically changing return values. The function is called with the same
1274
+ arguments as the mock, and unless it returns `DEFAULT`, the return
1275
+ value of this function is used as the return value.
1276
+
1277
+ If `side_effect` is an iterable then each call to the mock will return
1278
+ the next value from the iterable. If any of the members of the iterable
1279
+ are exceptions they will be raised instead of returned.
1280
+
1281
+ * `return_value`: The value returned when the mock is called. By default
1282
+ this is a new Mock (created on first access). See the
1283
+ `return_value` attribute.
1284
+
1285
+ * `unsafe`: By default, accessing any attribute whose name starts with
1286
+ *assert*, *assret*, *asert*, *aseert*, or *assrt* raises an AttributeError.
1287
+ Additionally, an AttributeError is raised when accessing
1288
+ attributes that match the name of an assertion method without the prefix
1289
+ `assert_`, e.g. accessing `called_once` instead of `assert_called_once`.
1290
+ Passing `unsafe=True` will allow access to these attributes.
1291
+
1292
+ * `wraps`: Item for the mock object to wrap. If `wraps` is not None then
1293
+ calling the Mock will pass the call through to the wrapped object
1294
+ (returning the real result). Attribute access on the mock will return a
1295
+ Mock object that wraps the corresponding attribute of the wrapped object
1296
+ (so attempting to access an attribute that doesn't exist will raise an
1297
+ `AttributeError`).
1298
+
1299
+ If the mock has an explicit `return_value` set then calls are not passed
1300
+ to the wrapped object and the `return_value` is returned instead.
1301
+
1302
+ * `name`: If the mock has a name then it will be used in the repr of the
1303
+ mock. This can be useful for debugging. The name is propagated to child
1304
+ mocks.
1305
+
1306
+ Mocks can also be called with arbitrary keyword arguments. These will be
1307
+ used to set attributes on the mock after it is created.
1308
+ """
1309
+
1310
+
1311
+ # _check_spec_arg_typos takes kwargs from commands like patch and checks that
1312
+ # they don't contain common misspellings of arguments related to autospeccing.
1313
+ def _check_spec_arg_typos(kwargs_to_check):
1314
+ typos = ("autospect", "auto_spec", "set_spec")
1315
+ for typo in typos:
1316
+ if typo in kwargs_to_check:
1317
+ raise RuntimeError(
1318
+ f"{typo!r} might be a typo; use unsafe=True if this is intended"
1319
+ )
1320
+
1321
+
1322
+ class _patch(object):
1323
+
1324
+ attribute_name = None
1325
+ _active_patches = []
1326
+
1327
+ def __init__(
1328
+ self, getter, attribute, new, spec, create,
1329
+ spec_set, autospec, new_callable, kwargs, *, unsafe=False
1330
+ ):
1331
+ if new_callable is not None:
1332
+ if new is not DEFAULT:
1333
+ raise ValueError(
1334
+ "Cannot use 'new' and 'new_callable' together"
1335
+ )
1336
+ if autospec is not None:
1337
+ raise ValueError(
1338
+ "Cannot use 'autospec' and 'new_callable' together"
1339
+ )
1340
+ if not unsafe:
1341
+ _check_spec_arg_typos(kwargs)
1342
+ if _is_instance_mock(spec):
1343
+ raise InvalidSpecError(
1344
+ f'Cannot spec attr {attribute!r} as the spec '
1345
+ f'has already been mocked out. [spec={spec!r}]')
1346
+ if _is_instance_mock(spec_set):
1347
+ raise InvalidSpecError(
1348
+ f'Cannot spec attr {attribute!r} as the spec_set '
1349
+ f'target has already been mocked out. [spec_set={spec_set!r}]')
1350
+
1351
+ self.getter = getter
1352
+ self.attribute = attribute
1353
+ self.new = new
1354
+ self.new_callable = new_callable
1355
+ self.spec = spec
1356
+ self.create = create
1357
+ self.has_local = False
1358
+ self.spec_set = spec_set
1359
+ self.autospec = autospec
1360
+ self.kwargs = kwargs
1361
+ self.additional_patchers = []
1362
+ self.is_started = False
1363
+
1364
+
1365
+ def copy(self):
1366
+ patcher = _patch(
1367
+ self.getter, self.attribute, self.new, self.spec,
1368
+ self.create, self.spec_set,
1369
+ self.autospec, self.new_callable, self.kwargs
1370
+ )
1371
+ patcher.attribute_name = self.attribute_name
1372
+ patcher.additional_patchers = [
1373
+ p.copy() for p in self.additional_patchers
1374
+ ]
1375
+ return patcher
1376
+
1377
+
1378
+ def __call__(self, func):
1379
+ if isinstance(func, type):
1380
+ return self.decorate_class(func)
1381
+ if inspect.iscoroutinefunction(func):
1382
+ return self.decorate_async_callable(func)
1383
+ return self.decorate_callable(func)
1384
+
1385
+
1386
+ def decorate_class(self, klass):
1387
+ for attr in dir(klass):
1388
+ if not attr.startswith(patch.TEST_PREFIX):
1389
+ continue
1390
+
1391
+ attr_value = getattr(klass, attr)
1392
+ if not hasattr(attr_value, "__call__"):
1393
+ continue
1394
+
1395
+ patcher = self.copy()
1396
+ setattr(klass, attr, patcher(attr_value))
1397
+ return klass
1398
+
1399
+
1400
+ @contextlib.contextmanager
1401
+ def decoration_helper(self, patched, args, keywargs):
1402
+ extra_args = []
1403
+ with contextlib.ExitStack() as exit_stack:
1404
+ for patching in patched.patchings:
1405
+ arg = exit_stack.enter_context(patching)
1406
+ if patching.attribute_name is not None:
1407
+ keywargs.update(arg)
1408
+ elif patching.new is DEFAULT:
1409
+ extra_args.append(arg)
1410
+
1411
+ args += tuple(extra_args)
1412
+ yield (args, keywargs)
1413
+
1414
+
1415
+ def decorate_callable(self, func):
1416
+ # NB. Keep the method in sync with decorate_async_callable()
1417
+ if hasattr(func, 'patchings'):
1418
+ func.patchings.append(self)
1419
+ return func
1420
+
1421
+ @wraps(func)
1422
+ def patched(*args, **keywargs):
1423
+ with self.decoration_helper(patched,
1424
+ args,
1425
+ keywargs) as (newargs, newkeywargs):
1426
+ return func(*newargs, **newkeywargs)
1427
+
1428
+ patched.patchings = [self]
1429
+ return patched
1430
+
1431
+
1432
+ def decorate_async_callable(self, func):
1433
+ # NB. Keep the method in sync with decorate_callable()
1434
+ if hasattr(func, 'patchings'):
1435
+ func.patchings.append(self)
1436
+ return func
1437
+
1438
+ @wraps(func)
1439
+ async def patched(*args, **keywargs):
1440
+ with self.decoration_helper(patched,
1441
+ args,
1442
+ keywargs) as (newargs, newkeywargs):
1443
+ return await func(*newargs, **newkeywargs)
1444
+
1445
+ patched.patchings = [self]
1446
+ return patched
1447
+
1448
+
1449
+ def get_original(self):
1450
+ target = self.getter()
1451
+ name = self.attribute
1452
+
1453
+ original = DEFAULT
1454
+ local = False
1455
+
1456
+ try:
1457
+ original = target.__dict__[name]
1458
+ except (AttributeError, KeyError):
1459
+ original = getattr(target, name, DEFAULT)
1460
+ else:
1461
+ local = True
1462
+
1463
+ if name in _builtins and isinstance(target, ModuleType):
1464
+ self.create = True
1465
+
1466
+ if not self.create and original is DEFAULT:
1467
+ raise AttributeError(
1468
+ "%s does not have the attribute %r" % (target, name)
1469
+ )
1470
+ return original, local
1471
+
1472
+
1473
+ def __enter__(self):
1474
+ """Perform the patch."""
1475
+ if self.is_started:
1476
+ raise RuntimeError("Patch is already started")
1477
+
1478
+ new, spec, spec_set = self.new, self.spec, self.spec_set
1479
+ autospec, kwargs = self.autospec, self.kwargs
1480
+ new_callable = self.new_callable
1481
+ self.target = self.getter()
1482
+
1483
+ # normalise False to None
1484
+ if spec is False:
1485
+ spec = None
1486
+ if spec_set is False:
1487
+ spec_set = None
1488
+ if autospec is False:
1489
+ autospec = None
1490
+
1491
+ if spec is not None and autospec is not None:
1492
+ raise TypeError("Can't specify spec and autospec")
1493
+ if ((spec is not None or autospec is not None) and
1494
+ spec_set not in (True, None)):
1495
+ raise TypeError("Can't provide explicit spec_set *and* spec or autospec")
1496
+
1497
+ original, local = self.get_original()
1498
+
1499
+ if new is DEFAULT and autospec is None:
1500
+ inherit = False
1501
+ if spec is True:
1502
+ # set spec to the object we are replacing
1503
+ spec = original
1504
+ if spec_set is True:
1505
+ spec_set = original
1506
+ spec = None
1507
+ elif spec is not None:
1508
+ if spec_set is True:
1509
+ spec_set = spec
1510
+ spec = None
1511
+ elif spec_set is True:
1512
+ spec_set = original
1513
+
1514
+ if spec is not None or spec_set is not None:
1515
+ if original is DEFAULT:
1516
+ raise TypeError("Can't use 'spec' with create=True")
1517
+ if isinstance(original, type):
1518
+ # If we're patching out a class and there is a spec
1519
+ inherit = True
1520
+
1521
+ # Determine the Klass to use
1522
+ if new_callable is not None:
1523
+ Klass = new_callable
1524
+ elif spec is None and _is_async_obj(original):
1525
+ Klass = AsyncMock
1526
+ elif spec is not None or spec_set is not None:
1527
+ this_spec = spec
1528
+ if spec_set is not None:
1529
+ this_spec = spec_set
1530
+ if _is_list(this_spec):
1531
+ not_callable = '__call__' not in this_spec
1532
+ else:
1533
+ not_callable = not callable(this_spec)
1534
+ if _is_async_obj(this_spec):
1535
+ Klass = AsyncMock
1536
+ elif not_callable:
1537
+ Klass = NonCallableMagicMock
1538
+ else:
1539
+ Klass = MagicMock
1540
+ else:
1541
+ Klass = MagicMock
1542
+
1543
+ _kwargs = {}
1544
+ if spec is not None:
1545
+ _kwargs['spec'] = spec
1546
+ if spec_set is not None:
1547
+ _kwargs['spec_set'] = spec_set
1548
+
1549
+ # add a name to mocks
1550
+ if (isinstance(Klass, type) and
1551
+ issubclass(Klass, NonCallableMock) and self.attribute):
1552
+ _kwargs['name'] = self.attribute
1553
+
1554
+ _kwargs.update(kwargs)
1555
+ new = Klass(**_kwargs)
1556
+
1557
+ if inherit and _is_instance_mock(new):
1558
+ # we can only tell if the instance should be callable if the
1559
+ # spec is not a list
1560
+ this_spec = spec
1561
+ if spec_set is not None:
1562
+ this_spec = spec_set
1563
+ if (not _is_list(this_spec) and not
1564
+ _instance_callable(this_spec)):
1565
+ Klass = NonCallableMagicMock
1566
+
1567
+ _kwargs.pop('name')
1568
+ new.return_value = Klass(_new_parent=new, _new_name='()',
1569
+ **_kwargs)
1570
+ elif autospec is not None:
1571
+ # spec is ignored, new *must* be default, spec_set is treated
1572
+ # as a boolean. Should we check spec is not None and that spec_set
1573
+ # is a bool?
1574
+ if new is not DEFAULT:
1575
+ raise TypeError(
1576
+ "autospec creates the mock for you. Can't specify "
1577
+ "autospec and new."
1578
+ )
1579
+ if original is DEFAULT:
1580
+ raise TypeError("Can't use 'autospec' with create=True")
1581
+ spec_set = bool(spec_set)
1582
+ if autospec is True:
1583
+ autospec = original
1584
+
1585
+ if _is_instance_mock(self.target):
1586
+ raise InvalidSpecError(
1587
+ f'Cannot autospec attr {self.attribute!r} as the patch '
1588
+ f'target has already been mocked out. '
1589
+ f'[target={self.target!r}, attr={autospec!r}]')
1590
+ if _is_instance_mock(autospec):
1591
+ target_name = getattr(self.target, '__name__', self.target)
1592
+ raise InvalidSpecError(
1593
+ f'Cannot autospec attr {self.attribute!r} from target '
1594
+ f'{target_name!r} as it has already been mocked out. '
1595
+ f'[target={self.target!r}, attr={autospec!r}]')
1596
+
1597
+ new = create_autospec(autospec, spec_set=spec_set,
1598
+ _name=self.attribute, **kwargs)
1599
+ elif kwargs:
1600
+ # can't set keyword args when we aren't creating the mock
1601
+ # XXXX If new is a Mock we could call new.configure_mock(**kwargs)
1602
+ raise TypeError("Can't pass kwargs to a mock we aren't creating")
1603
+
1604
+ new_attr = new
1605
+
1606
+ self.temp_original = original
1607
+ self.is_local = local
1608
+ self._exit_stack = contextlib.ExitStack()
1609
+ self.is_started = True
1610
+ try:
1611
+ setattr(self.target, self.attribute, new_attr)
1612
+ if self.attribute_name is not None:
1613
+ extra_args = {}
1614
+ if self.new is DEFAULT:
1615
+ extra_args[self.attribute_name] = new
1616
+ for patching in self.additional_patchers:
1617
+ arg = self._exit_stack.enter_context(patching)
1618
+ if patching.new is DEFAULT:
1619
+ extra_args.update(arg)
1620
+ return extra_args
1621
+
1622
+ return new
1623
+ except:
1624
+ if not self.__exit__(*sys.exc_info()):
1625
+ raise
1626
+
1627
+ def __exit__(self, *exc_info):
1628
+ """Undo the patch."""
1629
+ if not self.is_started:
1630
+ return
1631
+
1632
+ if self.is_local and self.temp_original is not DEFAULT:
1633
+ setattr(self.target, self.attribute, self.temp_original)
1634
+ else:
1635
+ delattr(self.target, self.attribute)
1636
+ if not self.create and (not hasattr(self.target, self.attribute) or
1637
+ self.attribute in ('__doc__', '__module__',
1638
+ '__defaults__', '__annotations__',
1639
+ '__kwdefaults__')):
1640
+ # needed for proxy objects like django settings
1641
+ setattr(self.target, self.attribute, self.temp_original)
1642
+
1643
+ del self.temp_original
1644
+ del self.is_local
1645
+ del self.target
1646
+ exit_stack = self._exit_stack
1647
+ del self._exit_stack
1648
+ self.is_started = False
1649
+ return exit_stack.__exit__(*exc_info)
1650
+
1651
+
1652
+ def start(self):
1653
+ """Activate a patch, returning any created mock."""
1654
+ result = self.__enter__()
1655
+ self._active_patches.append(self)
1656
+ return result
1657
+
1658
+
1659
+ def stop(self):
1660
+ """Stop an active patch."""
1661
+ try:
1662
+ self._active_patches.remove(self)
1663
+ except ValueError:
1664
+ # If the patch hasn't been started this will fail
1665
+ return None
1666
+
1667
+ return self.__exit__(None, None, None)
1668
+
1669
+
1670
+
1671
+ def _get_target(target):
1672
+ try:
1673
+ target, attribute = target.rsplit('.', 1)
1674
+ except (TypeError, ValueError, AttributeError):
1675
+ raise TypeError(
1676
+ f"Need a valid target to patch. You supplied: {target!r}")
1677
+ return partial(pkgutil.resolve_name, target), attribute
1678
+
1679
+
1680
+ def _patch_object(
1681
+ target, attribute, new=DEFAULT, spec=None,
1682
+ create=False, spec_set=None, autospec=None,
1683
+ new_callable=None, *, unsafe=False, **kwargs
1684
+ ):
1685
+ """
1686
+ patch the named member (`attribute`) on an object (`target`) with a mock
1687
+ object.
1688
+
1689
+ `patch.object` can be used as a decorator, class decorator or a context
1690
+ manager. Arguments `new`, `spec`, `create`, `spec_set`,
1691
+ `autospec` and `new_callable` have the same meaning as for `patch`. Like
1692
+ `patch`, `patch.object` takes arbitrary keyword arguments for configuring
1693
+ the mock object it creates.
1694
+
1695
+ When used as a class decorator `patch.object` honours `patch.TEST_PREFIX`
1696
+ for choosing which methods to wrap.
1697
+ """
1698
+ if type(target) is str:
1699
+ raise TypeError(
1700
+ f"{target!r} must be the actual object to be patched, not a str"
1701
+ )
1702
+ getter = lambda: target
1703
+ return _patch(
1704
+ getter, attribute, new, spec, create,
1705
+ spec_set, autospec, new_callable, kwargs, unsafe=unsafe
1706
+ )
1707
+
1708
+
1709
+ def _patch_multiple(target, spec=None, create=False, spec_set=None,
1710
+ autospec=None, new_callable=None, **kwargs):
1711
+ """Perform multiple patches in a single call. It takes the object to be
1712
+ patched (either as an object or a string to fetch the object by importing)
1713
+ and keyword arguments for the patches::
1714
+
1715
+ with patch.multiple(settings, FIRST_PATCH='one', SECOND_PATCH='two'):
1716
+ ...
1717
+
1718
+ Use `DEFAULT` as the value if you want `patch.multiple` to create
1719
+ mocks for you. In this case the created mocks are passed into a decorated
1720
+ function by keyword, and a dictionary is returned when `patch.multiple` is
1721
+ used as a context manager.
1722
+
1723
+ `patch.multiple` can be used as a decorator, class decorator or a context
1724
+ manager. The arguments `spec`, `spec_set`, `create`,
1725
+ `autospec` and `new_callable` have the same meaning as for `patch`. These
1726
+ arguments will be applied to *all* patches done by `patch.multiple`.
1727
+
1728
+ When used as a class decorator `patch.multiple` honours `patch.TEST_PREFIX`
1729
+ for choosing which methods to wrap.
1730
+ """
1731
+ if type(target) is str:
1732
+ getter = partial(pkgutil.resolve_name, target)
1733
+ else:
1734
+ getter = lambda: target
1735
+
1736
+ if not kwargs:
1737
+ raise ValueError(
1738
+ 'Must supply at least one keyword argument with patch.multiple'
1739
+ )
1740
+ # need to wrap in a list for python 3, where items is a view
1741
+ items = list(kwargs.items())
1742
+ attribute, new = items[0]
1743
+ patcher = _patch(
1744
+ getter, attribute, new, spec, create, spec_set,
1745
+ autospec, new_callable, {}
1746
+ )
1747
+ patcher.attribute_name = attribute
1748
+ for attribute, new in items[1:]:
1749
+ this_patcher = _patch(
1750
+ getter, attribute, new, spec, create, spec_set,
1751
+ autospec, new_callable, {}
1752
+ )
1753
+ this_patcher.attribute_name = attribute
1754
+ patcher.additional_patchers.append(this_patcher)
1755
+ return patcher
1756
+
1757
+
1758
+ def patch(
1759
+ target, new=DEFAULT, spec=None, create=False,
1760
+ spec_set=None, autospec=None, new_callable=None, *, unsafe=False, **kwargs
1761
+ ):
1762
+ """
1763
+ `patch` acts as a function decorator, class decorator or a context
1764
+ manager. Inside the body of the function or with statement, the `target`
1765
+ is patched with a `new` object. When the function/with statement exits
1766
+ the patch is undone.
1767
+
1768
+ If `new` is omitted, then the target is replaced with an
1769
+ `AsyncMock if the patched object is an async function or a
1770
+ `MagicMock` otherwise. If `patch` is used as a decorator and `new` is
1771
+ omitted, the created mock is passed in as an extra argument to the
1772
+ decorated function. If `patch` is used as a context manager the created
1773
+ mock is returned by the context manager.
1774
+
1775
+ `target` should be a string in the form `'package.module.ClassName'`. The
1776
+ `target` is imported and the specified object replaced with the `new`
1777
+ object, so the `target` must be importable from the environment you are
1778
+ calling `patch` from. The target is imported when the decorated function
1779
+ is executed, not at decoration time.
1780
+
1781
+ The `spec` and `spec_set` keyword arguments are passed to the `MagicMock`
1782
+ if patch is creating one for you.
1783
+
1784
+ In addition you can pass `spec=True` or `spec_set=True`, which causes
1785
+ patch to pass in the object being mocked as the spec/spec_set object.
1786
+
1787
+ `new_callable` allows you to specify a different class, or callable object,
1788
+ that will be called to create the `new` object. By default `AsyncMock` is
1789
+ used for async functions and `MagicMock` for the rest.
1790
+
1791
+ A more powerful form of `spec` is `autospec`. If you set `autospec=True`
1792
+ then the mock will be created with a spec from the object being replaced.
1793
+ All attributes of the mock will also have the spec of the corresponding
1794
+ attribute of the object being replaced. Methods and functions being
1795
+ mocked will have their arguments checked and will raise a `TypeError` if
1796
+ they are called with the wrong signature. For mocks replacing a class,
1797
+ their return value (the 'instance') will have the same spec as the class.
1798
+
1799
+ Instead of `autospec=True` you can pass `autospec=some_object` to use an
1800
+ arbitrary object as the spec instead of the one being replaced.
1801
+
1802
+ By default `patch` will fail to replace attributes that don't exist. If
1803
+ you pass in `create=True`, and the attribute doesn't exist, patch will
1804
+ create the attribute for you when the patched function is called, and
1805
+ delete it again afterwards. This is useful for writing tests against
1806
+ attributes that your production code creates at runtime. It is off by
1807
+ default because it can be dangerous. With it switched on you can write
1808
+ passing tests against APIs that don't actually exist!
1809
+
1810
+ Patch can be used as a `TestCase` class decorator. It works by
1811
+ decorating each test method in the class. This reduces the boilerplate
1812
+ code when your test methods share a common patchings set. `patch` finds
1813
+ tests by looking for method names that start with `patch.TEST_PREFIX`.
1814
+ By default this is `test`, which matches the way `unittest` finds tests.
1815
+ You can specify an alternative prefix by setting `patch.TEST_PREFIX`.
1816
+
1817
+ Patch can be used as a context manager, with the with statement. Here the
1818
+ patching applies to the indented block after the with statement. If you
1819
+ use "as" then the patched object will be bound to the name after the
1820
+ "as"; very useful if `patch` is creating a mock object for you.
1821
+
1822
+ Patch will raise a `RuntimeError` if passed some common misspellings of
1823
+ the arguments autospec and spec_set. Pass the argument `unsafe` with the
1824
+ value True to disable that check.
1825
+
1826
+ `patch` takes arbitrary keyword arguments. These will be passed to
1827
+ `AsyncMock` if the patched object is asynchronous, to `MagicMock`
1828
+ otherwise or to `new_callable` if specified.
1829
+
1830
+ `patch.dict(...)`, `patch.multiple(...)` and `patch.object(...)` are
1831
+ available for alternate use-cases.
1832
+ """
1833
+ getter, attribute = _get_target(target)
1834
+ return _patch(
1835
+ getter, attribute, new, spec, create,
1836
+ spec_set, autospec, new_callable, kwargs, unsafe=unsafe
1837
+ )
1838
+
1839
+
1840
+ class _patch_dict(object):
1841
+ """
1842
+ Patch a dictionary, or dictionary like object, and restore the dictionary
1843
+ to its original state after the test.
1844
+
1845
+ `in_dict` can be a dictionary or a mapping like container. If it is a
1846
+ mapping then it must at least support getting, setting and deleting items
1847
+ plus iterating over keys.
1848
+
1849
+ `in_dict` can also be a string specifying the name of the dictionary, which
1850
+ will then be fetched by importing it.
1851
+
1852
+ `values` can be a dictionary of values to set in the dictionary. `values`
1853
+ can also be an iterable of `(key, value)` pairs.
1854
+
1855
+ If `clear` is True then the dictionary will be cleared before the new
1856
+ values are set.
1857
+
1858
+ `patch.dict` can also be called with arbitrary keyword arguments to set
1859
+ values in the dictionary::
1860
+
1861
+ with patch.dict('sys.modules', mymodule=Mock(), other_module=Mock()):
1862
+ ...
1863
+
1864
+ `patch.dict` can be used as a context manager, decorator or class
1865
+ decorator. When used as a class decorator `patch.dict` honours
1866
+ `patch.TEST_PREFIX` for choosing which methods to wrap.
1867
+ """
1868
+
1869
+ def __init__(self, in_dict, values=(), clear=False, **kwargs):
1870
+ self.in_dict = in_dict
1871
+ # support any argument supported by dict(...) constructor
1872
+ self.values = dict(values)
1873
+ self.values.update(kwargs)
1874
+ self.clear = clear
1875
+ self._original = None
1876
+
1877
+
1878
+ def __call__(self, f):
1879
+ if isinstance(f, type):
1880
+ return self.decorate_class(f)
1881
+ if inspect.iscoroutinefunction(f):
1882
+ return self.decorate_async_callable(f)
1883
+ return self.decorate_callable(f)
1884
+
1885
+
1886
+ def decorate_callable(self, f):
1887
+ @wraps(f)
1888
+ def _inner(*args, **kw):
1889
+ self._patch_dict()
1890
+ try:
1891
+ return f(*args, **kw)
1892
+ finally:
1893
+ self._unpatch_dict()
1894
+
1895
+ return _inner
1896
+
1897
+
1898
+ def decorate_async_callable(self, f):
1899
+ @wraps(f)
1900
+ async def _inner(*args, **kw):
1901
+ self._patch_dict()
1902
+ try:
1903
+ return await f(*args, **kw)
1904
+ finally:
1905
+ self._unpatch_dict()
1906
+
1907
+ return _inner
1908
+
1909
+
1910
+ def decorate_class(self, klass):
1911
+ for attr in dir(klass):
1912
+ attr_value = getattr(klass, attr)
1913
+ if (attr.startswith(patch.TEST_PREFIX) and
1914
+ hasattr(attr_value, "__call__")):
1915
+ decorator = _patch_dict(self.in_dict, self.values, self.clear)
1916
+ decorated = decorator(attr_value)
1917
+ setattr(klass, attr, decorated)
1918
+ return klass
1919
+
1920
+
1921
+ def __enter__(self):
1922
+ """Patch the dict."""
1923
+ self._patch_dict()
1924
+ return self.in_dict
1925
+
1926
+
1927
+ def _patch_dict(self):
1928
+ values = self.values
1929
+ if isinstance(self.in_dict, str):
1930
+ self.in_dict = pkgutil.resolve_name(self.in_dict)
1931
+ in_dict = self.in_dict
1932
+ clear = self.clear
1933
+
1934
+ try:
1935
+ original = in_dict.copy()
1936
+ except AttributeError:
1937
+ # dict like object with no copy method
1938
+ # must support iteration over keys
1939
+ original = {}
1940
+ for key in in_dict:
1941
+ original[key] = in_dict[key]
1942
+ self._original = original
1943
+
1944
+ if clear:
1945
+ _clear_dict(in_dict)
1946
+
1947
+ try:
1948
+ in_dict.update(values)
1949
+ except AttributeError:
1950
+ # dict like object with no update method
1951
+ for key in values:
1952
+ in_dict[key] = values[key]
1953
+
1954
+
1955
+ def _unpatch_dict(self):
1956
+ in_dict = self.in_dict
1957
+ original = self._original
1958
+
1959
+ _clear_dict(in_dict)
1960
+
1961
+ try:
1962
+ in_dict.update(original)
1963
+ except AttributeError:
1964
+ for key in original:
1965
+ in_dict[key] = original[key]
1966
+
1967
+
1968
+ def __exit__(self, *args):
1969
+ """Unpatch the dict."""
1970
+ if self._original is not None:
1971
+ self._unpatch_dict()
1972
+ return False
1973
+
1974
+
1975
+ def start(self):
1976
+ """Activate a patch, returning any created mock."""
1977
+ result = self.__enter__()
1978
+ _patch._active_patches.append(self)
1979
+ return result
1980
+
1981
+
1982
+ def stop(self):
1983
+ """Stop an active patch."""
1984
+ try:
1985
+ _patch._active_patches.remove(self)
1986
+ except ValueError:
1987
+ # If the patch hasn't been started this will fail
1988
+ return None
1989
+
1990
+ return self.__exit__(None, None, None)
1991
+
1992
+
1993
+ def _clear_dict(in_dict):
1994
+ try:
1995
+ in_dict.clear()
1996
+ except AttributeError:
1997
+ keys = list(in_dict)
1998
+ for key in keys:
1999
+ del in_dict[key]
2000
+
2001
+
2002
+ def _patch_stopall():
2003
+ """Stop all active patches. LIFO to unroll nested patches."""
2004
+ for patch in reversed(_patch._active_patches):
2005
+ patch.stop()
2006
+
2007
+
2008
+ patch.object = _patch_object
2009
+ patch.dict = _patch_dict
2010
+ patch.multiple = _patch_multiple
2011
+ patch.stopall = _patch_stopall
2012
+ patch.TEST_PREFIX = 'test'
2013
+
2014
+ magic_methods = (
2015
+ "lt le gt ge eq ne "
2016
+ "getitem setitem delitem "
2017
+ "len contains iter "
2018
+ "hash str sizeof "
2019
+ "enter exit "
2020
+ # we added divmod and rdivmod here instead of numerics
2021
+ # because there is no idivmod
2022
+ "divmod rdivmod neg pos abs invert "
2023
+ "complex int float index "
2024
+ "round trunc floor ceil "
2025
+ "bool next "
2026
+ "fspath "
2027
+ "aiter "
2028
+ )
2029
+
2030
+ numerics = (
2031
+ "add sub mul matmul truediv floordiv mod lshift rshift and xor or pow"
2032
+ )
2033
+ inplace = ' '.join('i%s' % n for n in numerics.split())
2034
+ right = ' '.join('r%s' % n for n in numerics.split())
2035
+
2036
+ # not including __prepare__, __instancecheck__, __subclasscheck__
2037
+ # (as they are metaclass methods)
2038
+ # __del__ is not supported at all as it causes problems if it exists
2039
+
2040
+ _non_defaults = {
2041
+ '__get__', '__set__', '__delete__', '__reversed__', '__missing__',
2042
+ '__reduce__', '__reduce_ex__', '__getinitargs__', '__getnewargs__',
2043
+ '__getstate__', '__setstate__', '__getformat__',
2044
+ '__repr__', '__dir__', '__subclasses__', '__format__',
2045
+ '__getnewargs_ex__',
2046
+ }
2047
+
2048
+
2049
+ def _get_method(name, func):
2050
+ "Turns a callable object (like a mock) into a real function"
2051
+ def method(self, /, *args, **kw):
2052
+ return func(self, *args, **kw)
2053
+ method.__name__ = name
2054
+ return method
2055
+
2056
+
2057
+ _magics = {
2058
+ '__%s__' % method for method in
2059
+ ' '.join([magic_methods, numerics, inplace, right]).split()
2060
+ }
2061
+
2062
+ # Magic methods used for async `with` statements
2063
+ _async_method_magics = {"__aenter__", "__aexit__", "__anext__"}
2064
+ # Magic methods that are only used with async calls but are synchronous functions themselves
2065
+ _sync_async_magics = {"__aiter__"}
2066
+ _async_magics = _async_method_magics | _sync_async_magics
2067
+
2068
+ _all_sync_magics = _magics | _non_defaults
2069
+ _all_magics = _all_sync_magics | _async_magics
2070
+
2071
+ _unsupported_magics = {
2072
+ '__getattr__', '__setattr__',
2073
+ '__init__', '__new__', '__prepare__',
2074
+ '__instancecheck__', '__subclasscheck__',
2075
+ '__del__'
2076
+ }
2077
+
2078
+ _calculate_return_value = {
2079
+ '__hash__': lambda self: object.__hash__(self),
2080
+ '__str__': lambda self: object.__str__(self),
2081
+ '__sizeof__': lambda self: object.__sizeof__(self),
2082
+ '__fspath__': lambda self: f"{type(self).__name__}/{self._extract_mock_name()}/{id(self)}",
2083
+ }
2084
+
2085
+ _return_values = {
2086
+ '__lt__': NotImplemented,
2087
+ '__gt__': NotImplemented,
2088
+ '__le__': NotImplemented,
2089
+ '__ge__': NotImplemented,
2090
+ '__int__': 1,
2091
+ '__contains__': False,
2092
+ '__len__': 0,
2093
+ '__exit__': False,
2094
+ '__complex__': 1j,
2095
+ '__float__': 1.0,
2096
+ '__bool__': True,
2097
+ '__index__': 1,
2098
+ '__aexit__': False,
2099
+ }
2100
+
2101
+
2102
+ def _get_eq(self):
2103
+ def __eq__(other):
2104
+ ret_val = self.__eq__._mock_return_value
2105
+ if ret_val is not DEFAULT:
2106
+ return ret_val
2107
+ if self is other:
2108
+ return True
2109
+ return NotImplemented
2110
+ return __eq__
2111
+
2112
+ def _get_ne(self):
2113
+ def __ne__(other):
2114
+ if self.__ne__._mock_return_value is not DEFAULT:
2115
+ return DEFAULT
2116
+ if self is other:
2117
+ return False
2118
+ return NotImplemented
2119
+ return __ne__
2120
+
2121
+ def _get_iter(self):
2122
+ def __iter__():
2123
+ ret_val = self.__iter__._mock_return_value
2124
+ if ret_val is DEFAULT:
2125
+ return iter([])
2126
+ # if ret_val was already an iterator, then calling iter on it should
2127
+ # return the iterator unchanged
2128
+ return iter(ret_val)
2129
+ return __iter__
2130
+
2131
+ def _get_async_iter(self):
2132
+ def __aiter__():
2133
+ ret_val = self.__aiter__._mock_return_value
2134
+ if ret_val is DEFAULT:
2135
+ return _AsyncIterator(iter([]))
2136
+ return _AsyncIterator(iter(ret_val))
2137
+ return __aiter__
2138
+
2139
+ _side_effect_methods = {
2140
+ '__eq__': _get_eq,
2141
+ '__ne__': _get_ne,
2142
+ '__iter__': _get_iter,
2143
+ '__aiter__': _get_async_iter
2144
+ }
2145
+
2146
+
2147
+
2148
+ def _set_return_value(mock, method, name):
2149
+ fixed = _return_values.get(name, DEFAULT)
2150
+ if fixed is not DEFAULT:
2151
+ method.return_value = fixed
2152
+ return
2153
+
2154
+ return_calculator = _calculate_return_value.get(name)
2155
+ if return_calculator is not None:
2156
+ return_value = return_calculator(mock)
2157
+ method.return_value = return_value
2158
+ return
2159
+
2160
+ side_effector = _side_effect_methods.get(name)
2161
+ if side_effector is not None:
2162
+ method.side_effect = side_effector(mock)
2163
+
2164
+
2165
+
2166
+ class MagicMixin(Base):
2167
+ def __init__(self, /, *args, **kw):
2168
+ self._mock_set_magics() # make magic work for kwargs in init
2169
+ _safe_super(MagicMixin, self).__init__(*args, **kw)
2170
+ self._mock_set_magics() # fix magic broken by upper level init
2171
+
2172
+
2173
+ def _mock_set_magics(self):
2174
+ orig_magics = _magics | _async_method_magics
2175
+ these_magics = orig_magics
2176
+
2177
+ if getattr(self, "_mock_methods", None) is not None:
2178
+ these_magics = orig_magics.intersection(self._mock_methods)
2179
+
2180
+ remove_magics = set()
2181
+ remove_magics = orig_magics - these_magics
2182
+
2183
+ for entry in remove_magics:
2184
+ if entry in type(self).__dict__:
2185
+ # remove unneeded magic methods
2186
+ delattr(self, entry)
2187
+
2188
+ # don't overwrite existing attributes if called a second time
2189
+ these_magics = these_magics - set(type(self).__dict__)
2190
+
2191
+ _type = type(self)
2192
+ for entry in these_magics:
2193
+ setattr(_type, entry, MagicProxy(entry, self))
2194
+
2195
+
2196
+
2197
+ class NonCallableMagicMock(MagicMixin, NonCallableMock):
2198
+ """A version of `MagicMock` that isn't callable."""
2199
+ def mock_add_spec(self, spec, spec_set=False):
2200
+ """Add a spec to a mock. `spec` can either be an object or a
2201
+ list of strings. Only attributes on the `spec` can be fetched as
2202
+ attributes from the mock.
2203
+
2204
+ If `spec_set` is True then only attributes on the spec can be set."""
2205
+ self._mock_add_spec(spec, spec_set)
2206
+ self._mock_set_magics()
2207
+
2208
+
2209
+ class AsyncMagicMixin(MagicMixin):
2210
+ pass
2211
+
2212
+
2213
+ class MagicMock(MagicMixin, Mock):
2214
+ """
2215
+ MagicMock is a subclass of Mock with default implementations
2216
+ of most of the magic methods. You can use MagicMock without having to
2217
+ configure the magic methods yourself.
2218
+
2219
+ If you use the `spec` or `spec_set` arguments then *only* magic
2220
+ methods that exist in the spec will be created.
2221
+
2222
+ Attributes and the return value of a `MagicMock` will also be `MagicMocks`.
2223
+ """
2224
+ def mock_add_spec(self, spec, spec_set=False):
2225
+ """Add a spec to a mock. `spec` can either be an object or a
2226
+ list of strings. Only attributes on the `spec` can be fetched as
2227
+ attributes from the mock.
2228
+
2229
+ If `spec_set` is True then only attributes on the spec can be set."""
2230
+ self._mock_add_spec(spec, spec_set)
2231
+ self._mock_set_magics()
2232
+
2233
+ def reset_mock(self, /, *args, return_value: bool = False, **kwargs):
2234
+ if (
2235
+ return_value
2236
+ and self._mock_name
2237
+ and _is_magic(self._mock_name)
2238
+ ):
2239
+ # Don't reset return values for magic methods,
2240
+ # otherwise `m.__str__` will start
2241
+ # to return `MagicMock` instances, instead of `str` instances.
2242
+ return_value = False
2243
+ super().reset_mock(*args, return_value=return_value, **kwargs)
2244
+
2245
+
2246
+ class MagicProxy(Base):
2247
+ def __init__(self, name, parent):
2248
+ self.name = name
2249
+ self.parent = parent
2250
+
2251
+ def create_mock(self):
2252
+ entry = self.name
2253
+ parent = self.parent
2254
+ m = parent._get_child_mock(name=entry, _new_name=entry,
2255
+ _new_parent=parent)
2256
+ setattr(parent, entry, m)
2257
+ _set_return_value(parent, m, entry)
2258
+ return m
2259
+
2260
+ def __get__(self, obj, _type=None):
2261
+ return self.create_mock()
2262
+
2263
+
2264
+ try:
2265
+ _CODE_SIG = inspect.signature(partial(CodeType.__init__, None))
2266
+ _CODE_ATTRS = dir(CodeType)
2267
+ except ValueError:
2268
+ _CODE_SIG = None
2269
+
2270
+
2271
+ class AsyncMockMixin(Base):
2272
+ await_count = _delegating_property('await_count')
2273
+ await_args = _delegating_property('await_args')
2274
+ await_args_list = _delegating_property('await_args_list')
2275
+
2276
+ def __init__(self, /, *args, **kwargs):
2277
+ super().__init__(*args, **kwargs)
2278
+ # iscoroutinefunction() checks _is_coroutine property to say if an
2279
+ # object is a coroutine. Without this check it looks to see if it is a
2280
+ # function/method, which in this case it is not (since it is an
2281
+ # AsyncMock).
2282
+ # It is set through __dict__ because when spec_set is True, this
2283
+ # attribute is likely undefined.
2284
+ self.__dict__['_is_coroutine'] = asyncio.coroutines._is_coroutine
2285
+ self.__dict__['_mock_await_count'] = 0
2286
+ self.__dict__['_mock_await_args'] = None
2287
+ self.__dict__['_mock_await_args_list'] = _CallList()
2288
+ if _CODE_SIG:
2289
+ code_mock = NonCallableMock(spec_set=_CODE_ATTRS)
2290
+ code_mock.__dict__["_spec_class"] = CodeType
2291
+ code_mock.__dict__["_spec_signature"] = _CODE_SIG
2292
+ else:
2293
+ code_mock = NonCallableMock(spec_set=CodeType)
2294
+ code_mock.co_flags = (
2295
+ inspect.CO_COROUTINE
2296
+ + inspect.CO_VARARGS
2297
+ + inspect.CO_VARKEYWORDS
2298
+ )
2299
+ code_mock.co_argcount = 0
2300
+ code_mock.co_varnames = ('args', 'kwargs')
2301
+ code_mock.co_posonlyargcount = 0
2302
+ code_mock.co_kwonlyargcount = 0
2303
+ self.__dict__['__code__'] = code_mock
2304
+ self.__dict__['__name__'] = 'AsyncMock'
2305
+ self.__dict__['__defaults__'] = tuple()
2306
+ self.__dict__['__kwdefaults__'] = {}
2307
+ self.__dict__['__annotations__'] = None
2308
+
2309
+ async def _execute_mock_call(self, /, *args, **kwargs):
2310
+ # This is nearly just like super(), except for special handling
2311
+ # of coroutines
2312
+
2313
+ _call = _Call((args, kwargs), two=True)
2314
+ self.await_count += 1
2315
+ self.await_args = _call
2316
+ self.await_args_list.append(_call)
2317
+
2318
+ effect = self.side_effect
2319
+ if effect is not None:
2320
+ if _is_exception(effect):
2321
+ raise effect
2322
+ elif not _callable(effect):
2323
+ try:
2324
+ result = next(effect)
2325
+ except StopIteration:
2326
+ # It is impossible to propagate a StopIteration
2327
+ # through coroutines because of PEP 479
2328
+ raise StopAsyncIteration
2329
+ if _is_exception(result):
2330
+ raise result
2331
+ elif iscoroutinefunction(effect):
2332
+ result = await effect(*args, **kwargs)
2333
+ else:
2334
+ result = effect(*args, **kwargs)
2335
+
2336
+ if result is not DEFAULT:
2337
+ return result
2338
+
2339
+ if self._mock_return_value is not DEFAULT:
2340
+ return self.return_value
2341
+
2342
+ if self._mock_wraps is not None:
2343
+ if iscoroutinefunction(self._mock_wraps):
2344
+ return await self._mock_wraps(*args, **kwargs)
2345
+ return self._mock_wraps(*args, **kwargs)
2346
+
2347
+ return self.return_value
2348
+
2349
+ def assert_awaited(self):
2350
+ """
2351
+ Assert that the mock was awaited at least once.
2352
+ """
2353
+ if self.await_count == 0:
2354
+ msg = f"Expected {self._mock_name or 'mock'} to have been awaited."
2355
+ raise AssertionError(msg)
2356
+
2357
+ def assert_awaited_once(self):
2358
+ """
2359
+ Assert that the mock was awaited exactly once.
2360
+ """
2361
+ if not self.await_count == 1:
2362
+ msg = (f"Expected {self._mock_name or 'mock'} to have been awaited once."
2363
+ f" Awaited {self.await_count} times.")
2364
+ raise AssertionError(msg)
2365
+
2366
+ def assert_awaited_with(self, /, *args, **kwargs):
2367
+ """
2368
+ Assert that the last await was with the specified arguments.
2369
+ """
2370
+ if self.await_args is None:
2371
+ expected = self._format_mock_call_signature(args, kwargs)
2372
+ raise AssertionError(f'Expected await: {expected}\nNot awaited')
2373
+
2374
+ def _error_message():
2375
+ msg = self._format_mock_failure_message(args, kwargs, action='await')
2376
+ return msg
2377
+
2378
+ expected = self._call_matcher(_Call((args, kwargs), two=True))
2379
+ actual = self._call_matcher(self.await_args)
2380
+ if actual != expected:
2381
+ cause = expected if isinstance(expected, Exception) else None
2382
+ raise AssertionError(_error_message()) from cause
2383
+
2384
+ def assert_awaited_once_with(self, /, *args, **kwargs):
2385
+ """
2386
+ Assert that the mock was awaited exactly once and with the specified
2387
+ arguments.
2388
+ """
2389
+ if not self.await_count == 1:
2390
+ msg = (f"Expected {self._mock_name or 'mock'} to have been awaited once."
2391
+ f" Awaited {self.await_count} times.")
2392
+ raise AssertionError(msg)
2393
+ return self.assert_awaited_with(*args, **kwargs)
2394
+
2395
+ def assert_any_await(self, /, *args, **kwargs):
2396
+ """
2397
+ Assert the mock has ever been awaited with the specified arguments.
2398
+ """
2399
+ expected = self._call_matcher(_Call((args, kwargs), two=True))
2400
+ cause = expected if isinstance(expected, Exception) else None
2401
+ actual = [self._call_matcher(c) for c in self.await_args_list]
2402
+ if cause or expected not in _AnyComparer(actual):
2403
+ expected_string = self._format_mock_call_signature(args, kwargs)
2404
+ raise AssertionError(
2405
+ '%s await not found' % expected_string
2406
+ ) from cause
2407
+
2408
+ def assert_has_awaits(self, calls, any_order=False):
2409
+ """
2410
+ Assert the mock has been awaited with the specified calls.
2411
+ The :attr:`await_args_list` list is checked for the awaits.
2412
+
2413
+ If `any_order` is False (the default) then the awaits must be
2414
+ sequential. There can be extra calls before or after the
2415
+ specified awaits.
2416
+
2417
+ If `any_order` is True then the awaits can be in any order, but
2418
+ they must all appear in :attr:`await_args_list`.
2419
+ """
2420
+ expected = [self._call_matcher(c) for c in calls]
2421
+ cause = next((e for e in expected if isinstance(e, Exception)), None)
2422
+ all_awaits = _CallList(self._call_matcher(c) for c in self.await_args_list)
2423
+ if not any_order:
2424
+ if expected not in all_awaits:
2425
+ if cause is None:
2426
+ problem = 'Awaits not found.'
2427
+ else:
2428
+ problem = ('Error processing expected awaits.\n'
2429
+ 'Errors: {}').format(
2430
+ [e if isinstance(e, Exception) else None
2431
+ for e in expected])
2432
+ raise AssertionError(
2433
+ f'{problem}\n'
2434
+ f'Expected: {_CallList(calls)}\n'
2435
+ f'Actual: {self.await_args_list}'
2436
+ ) from cause
2437
+ return
2438
+
2439
+ all_awaits = list(all_awaits)
2440
+
2441
+ not_found = []
2442
+ for kall in expected:
2443
+ try:
2444
+ all_awaits.remove(kall)
2445
+ except ValueError:
2446
+ not_found.append(kall)
2447
+ if not_found:
2448
+ raise AssertionError(
2449
+ '%r not all found in await list' % (tuple(not_found),)
2450
+ ) from cause
2451
+
2452
+ def assert_not_awaited(self):
2453
+ """
2454
+ Assert that the mock was never awaited.
2455
+ """
2456
+ if self.await_count != 0:
2457
+ msg = (f"Expected {self._mock_name or 'mock'} to not have been awaited."
2458
+ f" Awaited {self.await_count} times.")
2459
+ raise AssertionError(msg)
2460
+
2461
+ def reset_mock(self, /, *args, **kwargs):
2462
+ """
2463
+ See :func:`.Mock.reset_mock()`
2464
+ """
2465
+ super().reset_mock(*args, **kwargs)
2466
+ self.await_count = 0
2467
+ self.await_args = None
2468
+ self.await_args_list = _CallList()
2469
+
2470
+
2471
+ class AsyncMock(AsyncMockMixin, AsyncMagicMixin, Mock):
2472
+ """
2473
+ Enhance :class:`Mock` with features allowing to mock
2474
+ an async function.
2475
+
2476
+ The :class:`AsyncMock` object will behave so the object is
2477
+ recognized as an async function, and the result of a call is an awaitable:
2478
+
2479
+ >>> mock = AsyncMock()
2480
+ >>> iscoroutinefunction(mock)
2481
+ True
2482
+ >>> inspect.isawaitable(mock())
2483
+ True
2484
+
2485
+
2486
+ The result of ``mock()`` is an async function which will have the outcome
2487
+ of ``side_effect`` or ``return_value``:
2488
+
2489
+ - if ``side_effect`` is a function, the async function will return the
2490
+ result of that function,
2491
+ - if ``side_effect`` is an exception, the async function will raise the
2492
+ exception,
2493
+ - if ``side_effect`` is an iterable, the async function will return the
2494
+ next value of the iterable, however, if the sequence of result is
2495
+ exhausted, ``StopIteration`` is raised immediately,
2496
+ - if ``side_effect`` is not defined, the async function will return the
2497
+ value defined by ``return_value``, hence, by default, the async function
2498
+ returns a new :class:`AsyncMock` object.
2499
+
2500
+ If the outcome of ``side_effect`` or ``return_value`` is an async function,
2501
+ the mock async function obtained when the mock object is called will be this
2502
+ async function itself (and not an async function returning an async
2503
+ function).
2504
+
2505
+ The test author can also specify a wrapped object with ``wraps``. In this
2506
+ case, the :class:`Mock` object behavior is the same as with an
2507
+ :class:`.Mock` object: the wrapped object may have methods
2508
+ defined as async function functions.
2509
+
2510
+ Based on Martin Richard's asynctest project.
2511
+ """
2512
+
2513
+
2514
+ class _ANY(object):
2515
+ "A helper object that compares equal to everything."
2516
+
2517
+ def __eq__(self, other):
2518
+ return True
2519
+
2520
+ def __ne__(self, other):
2521
+ return False
2522
+
2523
+ def __repr__(self):
2524
+ return '<ANY>'
2525
+
2526
+ ANY = _ANY()
2527
+
2528
+
2529
+
2530
+ def _format_call_signature(name, args, kwargs):
2531
+ message = '%s(%%s)' % name
2532
+ formatted_args = ''
2533
+ args_string = ', '.join([repr(arg) for arg in args])
2534
+ kwargs_string = ', '.join([
2535
+ '%s=%r' % (key, value) for key, value in kwargs.items()
2536
+ ])
2537
+ if args_string:
2538
+ formatted_args = args_string
2539
+ if kwargs_string:
2540
+ if formatted_args:
2541
+ formatted_args += ', '
2542
+ formatted_args += kwargs_string
2543
+
2544
+ return message % formatted_args
2545
+
2546
+
2547
+
2548
+ class _Call(tuple):
2549
+ """
2550
+ A tuple for holding the results of a call to a mock, either in the form
2551
+ `(args, kwargs)` or `(name, args, kwargs)`.
2552
+
2553
+ If args or kwargs are empty then a call tuple will compare equal to
2554
+ a tuple without those values. This makes comparisons less verbose::
2555
+
2556
+ _Call(('name', (), {})) == ('name',)
2557
+ _Call(('name', (1,), {})) == ('name', (1,))
2558
+ _Call(((), {'a': 'b'})) == ({'a': 'b'},)
2559
+
2560
+ The `_Call` object provides a useful shortcut for comparing with call::
2561
+
2562
+ _Call(((1, 2), {'a': 3})) == call(1, 2, a=3)
2563
+ _Call(('foo', (1, 2), {'a': 3})) == call.foo(1, 2, a=3)
2564
+
2565
+ If the _Call has no name then it will match any name.
2566
+ """
2567
+ def __new__(cls, value=(), name='', parent=None, two=False,
2568
+ from_kall=True):
2569
+ args = ()
2570
+ kwargs = {}
2571
+ _len = len(value)
2572
+ if _len == 3:
2573
+ name, args, kwargs = value
2574
+ elif _len == 2:
2575
+ first, second = value
2576
+ if isinstance(first, str):
2577
+ name = first
2578
+ if isinstance(second, tuple):
2579
+ args = second
2580
+ else:
2581
+ kwargs = second
2582
+ else:
2583
+ args, kwargs = first, second
2584
+ elif _len == 1:
2585
+ value, = value
2586
+ if isinstance(value, str):
2587
+ name = value
2588
+ elif isinstance(value, tuple):
2589
+ args = value
2590
+ else:
2591
+ kwargs = value
2592
+
2593
+ if two:
2594
+ return tuple.__new__(cls, (args, kwargs))
2595
+
2596
+ return tuple.__new__(cls, (name, args, kwargs))
2597
+
2598
+
2599
+ def __init__(self, value=(), name=None, parent=None, two=False,
2600
+ from_kall=True):
2601
+ self._mock_name = name
2602
+ self._mock_parent = parent
2603
+ self._mock_from_kall = from_kall
2604
+
2605
+
2606
+ def __eq__(self, other):
2607
+ try:
2608
+ len_other = len(other)
2609
+ except TypeError:
2610
+ return NotImplemented
2611
+
2612
+ self_name = ''
2613
+ if len(self) == 2:
2614
+ self_args, self_kwargs = self
2615
+ else:
2616
+ self_name, self_args, self_kwargs = self
2617
+
2618
+ if (getattr(self, '_mock_parent', None) and getattr(other, '_mock_parent', None)
2619
+ and self._mock_parent != other._mock_parent):
2620
+ return False
2621
+
2622
+ other_name = ''
2623
+ if len_other == 0:
2624
+ other_args, other_kwargs = (), {}
2625
+ elif len_other == 3:
2626
+ other_name, other_args, other_kwargs = other
2627
+ elif len_other == 1:
2628
+ value, = other
2629
+ if isinstance(value, tuple):
2630
+ other_args = value
2631
+ other_kwargs = {}
2632
+ elif isinstance(value, str):
2633
+ other_name = value
2634
+ other_args, other_kwargs = (), {}
2635
+ else:
2636
+ other_args = ()
2637
+ other_kwargs = value
2638
+ elif len_other == 2:
2639
+ # could be (name, args) or (name, kwargs) or (args, kwargs)
2640
+ first, second = other
2641
+ if isinstance(first, str):
2642
+ other_name = first
2643
+ if isinstance(second, tuple):
2644
+ other_args, other_kwargs = second, {}
2645
+ else:
2646
+ other_args, other_kwargs = (), second
2647
+ else:
2648
+ other_args, other_kwargs = first, second
2649
+ else:
2650
+ return False
2651
+
2652
+ if self_name and other_name != self_name:
2653
+ return False
2654
+
2655
+ # this order is important for ANY to work!
2656
+ return (other_args, other_kwargs) == (self_args, self_kwargs)
2657
+
2658
+
2659
+ __ne__ = object.__ne__
2660
+
2661
+
2662
+ def __call__(self, /, *args, **kwargs):
2663
+ if self._mock_name is None:
2664
+ return _Call(('', args, kwargs), name='()')
2665
+
2666
+ name = self._mock_name + '()'
2667
+ return _Call((self._mock_name, args, kwargs), name=name, parent=self)
2668
+
2669
+
2670
+ def __getattr__(self, attr):
2671
+ if self._mock_name is None:
2672
+ return _Call(name=attr, from_kall=False)
2673
+ name = '%s.%s' % (self._mock_name, attr)
2674
+ return _Call(name=name, parent=self, from_kall=False)
2675
+
2676
+
2677
+ def __getattribute__(self, attr):
2678
+ if attr in tuple.__dict__:
2679
+ raise AttributeError
2680
+ return tuple.__getattribute__(self, attr)
2681
+
2682
+
2683
+ def _get_call_arguments(self):
2684
+ if len(self) == 2:
2685
+ args, kwargs = self
2686
+ else:
2687
+ name, args, kwargs = self
2688
+
2689
+ return args, kwargs
2690
+
2691
+ @property
2692
+ def args(self):
2693
+ return self._get_call_arguments()[0]
2694
+
2695
+ @property
2696
+ def kwargs(self):
2697
+ return self._get_call_arguments()[1]
2698
+
2699
+ def __repr__(self):
2700
+ if not self._mock_from_kall:
2701
+ name = self._mock_name or 'call'
2702
+ if name.startswith('()'):
2703
+ name = 'call%s' % name
2704
+ return name
2705
+
2706
+ if len(self) == 2:
2707
+ name = 'call'
2708
+ args, kwargs = self
2709
+ else:
2710
+ name, args, kwargs = self
2711
+ if not name:
2712
+ name = 'call'
2713
+ elif not name.startswith('()'):
2714
+ name = 'call.%s' % name
2715
+ else:
2716
+ name = 'call%s' % name
2717
+ return _format_call_signature(name, args, kwargs)
2718
+
2719
+
2720
+ def call_list(self):
2721
+ """For a call object that represents multiple calls, `call_list`
2722
+ returns a list of all the intermediate calls as well as the
2723
+ final call."""
2724
+ vals = []
2725
+ thing = self
2726
+ while thing is not None:
2727
+ if thing._mock_from_kall:
2728
+ vals.append(thing)
2729
+ thing = thing._mock_parent
2730
+ return _CallList(reversed(vals))
2731
+
2732
+
2733
+ call = _Call(from_kall=False)
2734
+
2735
+
2736
+ def create_autospec(spec, spec_set=False, instance=False, _parent=None,
2737
+ _name=None, *, unsafe=False, **kwargs):
2738
+ """Create a mock object using another object as a spec. Attributes on the
2739
+ mock will use the corresponding attribute on the `spec` object as their
2740
+ spec.
2741
+
2742
+ Functions or methods being mocked will have their arguments checked
2743
+ to check that they are called with the correct signature.
2744
+
2745
+ If `spec_set` is True then attempting to set attributes that don't exist
2746
+ on the spec object will raise an `AttributeError`.
2747
+
2748
+ If a class is used as a spec then the return value of the mock (the
2749
+ instance of the class) will have the same spec. You can use a class as the
2750
+ spec for an instance object by passing `instance=True`. The returned mock
2751
+ will only be callable if instances of the mock are callable.
2752
+
2753
+ `create_autospec` will raise a `RuntimeError` if passed some common
2754
+ misspellings of the arguments autospec and spec_set. Pass the argument
2755
+ `unsafe` with the value True to disable that check.
2756
+
2757
+ `create_autospec` also takes arbitrary keyword arguments that are passed to
2758
+ the constructor of the created mock."""
2759
+ if _is_list(spec):
2760
+ # can't pass a list instance to the mock constructor as it will be
2761
+ # interpreted as a list of strings
2762
+ spec = type(spec)
2763
+
2764
+ is_type = isinstance(spec, type)
2765
+ if _is_instance_mock(spec):
2766
+ raise InvalidSpecError(f'Cannot autospec a Mock object. '
2767
+ f'[object={spec!r}]')
2768
+ is_async_func = _is_async_func(spec)
2769
+ _kwargs = {'spec': spec}
2770
+ if spec_set:
2771
+ _kwargs = {'spec_set': spec}
2772
+ elif spec is None:
2773
+ # None we mock with a normal mock without a spec
2774
+ _kwargs = {}
2775
+ if _kwargs and instance:
2776
+ _kwargs['_spec_as_instance'] = True
2777
+ if not unsafe:
2778
+ _check_spec_arg_typos(kwargs)
2779
+
2780
+ _name = kwargs.pop('name', _name)
2781
+ _new_name = _name
2782
+ if _parent is None:
2783
+ # for a top level object no _new_name should be set
2784
+ _new_name = ''
2785
+
2786
+ _kwargs.update(kwargs)
2787
+
2788
+ Klass = MagicMock
2789
+ if inspect.isdatadescriptor(spec):
2790
+ # descriptors don't have a spec
2791
+ # because we don't know what type they return
2792
+ _kwargs = {}
2793
+ elif is_async_func:
2794
+ if instance:
2795
+ raise RuntimeError("Instance can not be True when create_autospec "
2796
+ "is mocking an async function")
2797
+ Klass = AsyncMock
2798
+ elif not _callable(spec):
2799
+ Klass = NonCallableMagicMock
2800
+ elif is_type and instance and not _instance_callable(spec):
2801
+ Klass = NonCallableMagicMock
2802
+
2803
+ mock = Klass(parent=_parent, _new_parent=_parent, _new_name=_new_name,
2804
+ name=_name, **_kwargs)
2805
+
2806
+ if isinstance(spec, FunctionTypes):
2807
+ # should only happen at the top level because we don't
2808
+ # recurse for functions
2809
+ if is_async_func:
2810
+ mock = _set_async_signature(mock, spec)
2811
+ else:
2812
+ mock = _set_signature(mock, spec)
2813
+ else:
2814
+ _check_signature(spec, mock, is_type, instance)
2815
+
2816
+ if _parent is not None and not instance:
2817
+ _parent._mock_children[_name] = mock
2818
+
2819
+ # Pop wraps from kwargs because it must not be passed to configure_mock.
2820
+ wrapped = kwargs.pop('wraps', None)
2821
+ if is_type and not instance and 'return_value' not in kwargs:
2822
+ mock.return_value = create_autospec(spec, spec_set, instance=True,
2823
+ _name='()', _parent=mock,
2824
+ wraps=wrapped)
2825
+
2826
+ for entry in dir(spec):
2827
+ if _is_magic(entry):
2828
+ # MagicMock already does the useful magic methods for us
2829
+ continue
2830
+
2831
+ # XXXX do we need a better way of getting attributes without
2832
+ # triggering code execution (?) Probably not - we need the actual
2833
+ # object to mock it so we would rather trigger a property than mock
2834
+ # the property descriptor. Likewise we want to mock out dynamically
2835
+ # provided attributes.
2836
+ # XXXX what about attributes that raise exceptions other than
2837
+ # AttributeError on being fetched?
2838
+ # we could be resilient against it, or catch and propagate the
2839
+ # exception when the attribute is fetched from the mock
2840
+ try:
2841
+ original = getattr(spec, entry)
2842
+ except AttributeError:
2843
+ continue
2844
+
2845
+ child_kwargs = {'spec': original}
2846
+ # Wrap child attributes also.
2847
+ if wrapped and hasattr(wrapped, entry):
2848
+ child_kwargs.update(wraps=original)
2849
+ if spec_set:
2850
+ child_kwargs = {'spec_set': original}
2851
+
2852
+ if not isinstance(original, FunctionTypes):
2853
+ new = _SpecState(original, spec_set, mock, entry, instance)
2854
+ mock._mock_children[entry] = new
2855
+ else:
2856
+ parent = mock
2857
+ if isinstance(spec, FunctionTypes):
2858
+ parent = mock.mock
2859
+
2860
+ skipfirst = _must_skip(spec, entry, is_type)
2861
+ child_kwargs['_eat_self'] = skipfirst
2862
+ if iscoroutinefunction(original):
2863
+ child_klass = AsyncMock
2864
+ else:
2865
+ child_klass = MagicMock
2866
+ new = child_klass(parent=parent, name=entry, _new_name=entry,
2867
+ _new_parent=parent, **child_kwargs)
2868
+ mock._mock_children[entry] = new
2869
+ new.return_value = child_klass()
2870
+ _check_signature(original, new, skipfirst=skipfirst)
2871
+
2872
+ # so functions created with _set_signature become instance attributes,
2873
+ # *plus* their underlying mock exists in _mock_children of the parent
2874
+ # mock. Adding to _mock_children may be unnecessary where we are also
2875
+ # setting as an instance attribute?
2876
+ if isinstance(new, FunctionTypes):
2877
+ setattr(mock, entry, new)
2878
+ # kwargs are passed with respect to the parent mock so, they are not used
2879
+ # for creating return_value of the parent mock. So, this condition
2880
+ # should be true only for the parent mock if kwargs are given.
2881
+ if _is_instance_mock(mock) and kwargs:
2882
+ mock.configure_mock(**kwargs)
2883
+
2884
+ return mock
2885
+
2886
+
2887
+ def _must_skip(spec, entry, is_type):
2888
+ """
2889
+ Return whether we should skip the first argument on spec's `entry`
2890
+ attribute.
2891
+ """
2892
+ if not isinstance(spec, type):
2893
+ if entry in getattr(spec, '__dict__', {}):
2894
+ # instance attribute - shouldn't skip
2895
+ return False
2896
+ spec = spec.__class__
2897
+
2898
+ for klass in spec.__mro__:
2899
+ result = klass.__dict__.get(entry, DEFAULT)
2900
+ if result is DEFAULT:
2901
+ continue
2902
+ if isinstance(result, (staticmethod, classmethod)):
2903
+ return False
2904
+ elif isinstance(result, FunctionTypes):
2905
+ # Normal method => skip if looked up on type
2906
+ # (if looked up on instance, self is already skipped)
2907
+ return is_type
2908
+ else:
2909
+ return False
2910
+
2911
+ # function is a dynamically provided attribute
2912
+ return is_type
2913
+
2914
+
2915
+ class _SpecState(object):
2916
+
2917
+ def __init__(self, spec, spec_set=False, parent=None,
2918
+ name=None, ids=None, instance=False):
2919
+ self.spec = spec
2920
+ self.ids = ids
2921
+ self.spec_set = spec_set
2922
+ self.parent = parent
2923
+ self.instance = instance
2924
+ self.name = name
2925
+
2926
+
2927
+ FunctionTypes = (
2928
+ # python function
2929
+ type(create_autospec),
2930
+ # instance method
2931
+ type(ANY.__eq__),
2932
+ )
2933
+
2934
+
2935
+ file_spec = None
2936
+ open_spec = None
2937
+
2938
+
2939
+ def _to_stream(read_data):
2940
+ if isinstance(read_data, bytes):
2941
+ return io.BytesIO(read_data)
2942
+ else:
2943
+ return io.StringIO(read_data)
2944
+
2945
+
2946
+ def mock_open(mock=None, read_data=''):
2947
+ """
2948
+ A helper function to create a mock to replace the use of `open`. It works
2949
+ for `open` called directly or used as a context manager.
2950
+
2951
+ The `mock` argument is the mock object to configure. If `None` (the
2952
+ default) then a `MagicMock` will be created for you, with the API limited
2953
+ to methods or attributes available on standard file handles.
2954
+
2955
+ `read_data` is a string for the `read`, `readline` and `readlines` of the
2956
+ file handle to return. This is an empty string by default.
2957
+ """
2958
+ _read_data = _to_stream(read_data)
2959
+ _state = [_read_data, None]
2960
+
2961
+ def _readlines_side_effect(*args, **kwargs):
2962
+ if handle.readlines.return_value is not None:
2963
+ return handle.readlines.return_value
2964
+ return _state[0].readlines(*args, **kwargs)
2965
+
2966
+ def _read_side_effect(*args, **kwargs):
2967
+ if handle.read.return_value is not None:
2968
+ return handle.read.return_value
2969
+ return _state[0].read(*args, **kwargs)
2970
+
2971
+ def _readline_side_effect(*args, **kwargs):
2972
+ yield from _iter_side_effect()
2973
+ while True:
2974
+ yield _state[0].readline(*args, **kwargs)
2975
+
2976
+ def _iter_side_effect():
2977
+ if handle.readline.return_value is not None:
2978
+ while True:
2979
+ yield handle.readline.return_value
2980
+ for line in _state[0]:
2981
+ yield line
2982
+
2983
+ def _next_side_effect():
2984
+ if handle.readline.return_value is not None:
2985
+ return handle.readline.return_value
2986
+ return next(_state[0])
2987
+
2988
+ def _exit_side_effect(exctype, excinst, exctb):
2989
+ handle.close()
2990
+
2991
+ global file_spec
2992
+ if file_spec is None:
2993
+ import _io
2994
+ file_spec = list(set(dir(_io.TextIOWrapper)).union(set(dir(_io.BytesIO))))
2995
+
2996
+ global open_spec
2997
+ if open_spec is None:
2998
+ import _io
2999
+ open_spec = list(set(dir(_io.open)))
3000
+ if mock is None:
3001
+ mock = MagicMock(name='open', spec=open_spec)
3002
+
3003
+ handle = MagicMock(spec=file_spec)
3004
+ handle.__enter__.return_value = handle
3005
+
3006
+ handle.write.return_value = None
3007
+ handle.read.return_value = None
3008
+ handle.readline.return_value = None
3009
+ handle.readlines.return_value = None
3010
+
3011
+ handle.read.side_effect = _read_side_effect
3012
+ _state[1] = _readline_side_effect()
3013
+ handle.readline.side_effect = _state[1]
3014
+ handle.readlines.side_effect = _readlines_side_effect
3015
+ handle.__iter__.side_effect = _iter_side_effect
3016
+ handle.__next__.side_effect = _next_side_effect
3017
+ handle.__exit__.side_effect = _exit_side_effect
3018
+
3019
+ def reset_data(*args, **kwargs):
3020
+ _state[0] = _to_stream(read_data)
3021
+ if handle.readline.side_effect == _state[1]:
3022
+ # Only reset the side effect if the user hasn't overridden it.
3023
+ _state[1] = _readline_side_effect()
3024
+ handle.readline.side_effect = _state[1]
3025
+ return DEFAULT
3026
+
3027
+ mock.side_effect = reset_data
3028
+ mock.return_value = handle
3029
+ return mock
3030
+
3031
+
3032
+ class PropertyMock(Mock):
3033
+ """
3034
+ A mock intended to be used as a property, or other descriptor, on a class.
3035
+ `PropertyMock` provides `__get__` and `__set__` methods so you can specify
3036
+ a return value when it is fetched.
3037
+
3038
+ Fetching a `PropertyMock` instance from an object calls the mock, with
3039
+ no args. Setting it calls the mock with the value being set.
3040
+ """
3041
+ def _get_child_mock(self, /, **kwargs):
3042
+ return MagicMock(**kwargs)
3043
+
3044
+ def __get__(self, obj, obj_type=None):
3045
+ return self()
3046
+ def __set__(self, obj, val):
3047
+ self(val)
3048
+
3049
+
3050
+ _timeout_unset = sentinel.TIMEOUT_UNSET
3051
+
3052
+ class ThreadingMixin(Base):
3053
+
3054
+ DEFAULT_TIMEOUT = None
3055
+
3056
+ def _get_child_mock(self, /, **kw):
3057
+ if isinstance(kw.get("parent"), ThreadingMixin):
3058
+ kw["timeout"] = kw["parent"]._mock_wait_timeout
3059
+ elif isinstance(kw.get("_new_parent"), ThreadingMixin):
3060
+ kw["timeout"] = kw["_new_parent"]._mock_wait_timeout
3061
+ return super()._get_child_mock(**kw)
3062
+
3063
+ def __init__(self, *args, timeout=_timeout_unset, **kwargs):
3064
+ super().__init__(*args, **kwargs)
3065
+ if timeout is _timeout_unset:
3066
+ timeout = self.DEFAULT_TIMEOUT
3067
+ self.__dict__["_mock_event"] = threading.Event() # Event for any call
3068
+ self.__dict__["_mock_calls_events"] = [] # Events for each of the calls
3069
+ self.__dict__["_mock_calls_events_lock"] = threading.Lock()
3070
+ self.__dict__["_mock_wait_timeout"] = timeout
3071
+
3072
+ def reset_mock(self, /, *args, **kwargs):
3073
+ """
3074
+ See :func:`.Mock.reset_mock()`
3075
+ """
3076
+ super().reset_mock(*args, **kwargs)
3077
+ self.__dict__["_mock_event"] = threading.Event()
3078
+ self.__dict__["_mock_calls_events"] = []
3079
+
3080
+ def __get_event(self, expected_args, expected_kwargs):
3081
+ with self._mock_calls_events_lock:
3082
+ for args, kwargs, event in self._mock_calls_events:
3083
+ if (args, kwargs) == (expected_args, expected_kwargs):
3084
+ return event
3085
+ new_event = threading.Event()
3086
+ self._mock_calls_events.append((expected_args, expected_kwargs, new_event))
3087
+ return new_event
3088
+
3089
+ def _mock_call(self, *args, **kwargs):
3090
+ ret_value = super()._mock_call(*args, **kwargs)
3091
+
3092
+ call_event = self.__get_event(args, kwargs)
3093
+ call_event.set()
3094
+
3095
+ self._mock_event.set()
3096
+
3097
+ return ret_value
3098
+
3099
+ def wait_until_called(self, *, timeout=_timeout_unset):
3100
+ """Wait until the mock object is called.
3101
+
3102
+ `timeout` - time to wait for in seconds, waits forever otherwise.
3103
+ Defaults to the constructor provided timeout.
3104
+ Use None to block undefinetively.
3105
+ """
3106
+ if timeout is _timeout_unset:
3107
+ timeout = self._mock_wait_timeout
3108
+ if not self._mock_event.wait(timeout=timeout):
3109
+ msg = (f"{self._mock_name or 'mock'} was not called before"
3110
+ f" timeout({timeout}).")
3111
+ raise AssertionError(msg)
3112
+
3113
+ def wait_until_any_call_with(self, *args, **kwargs):
3114
+ """Wait until the mock object is called with given args.
3115
+
3116
+ Waits for the timeout in seconds provided in the constructor.
3117
+ """
3118
+ event = self.__get_event(args, kwargs)
3119
+ if not event.wait(timeout=self._mock_wait_timeout):
3120
+ expected_string = self._format_mock_call_signature(args, kwargs)
3121
+ raise AssertionError(f'{expected_string} call not found')
3122
+
3123
+
3124
+ class ThreadingMock(ThreadingMixin, MagicMixin, Mock):
3125
+ """
3126
+ A mock that can be used to wait until on calls happening
3127
+ in a different thread.
3128
+
3129
+ The constructor can take a `timeout` argument which
3130
+ controls the timeout in seconds for all `wait` calls of the mock.
3131
+
3132
+ You can change the default timeout of all instances via the
3133
+ `ThreadingMock.DEFAULT_TIMEOUT` attribute.
3134
+
3135
+ If no timeout is set, it will block undefinetively.
3136
+ """
3137
+ pass
3138
+
3139
+
3140
+ def seal(mock):
3141
+ """Disable the automatic generation of child mocks.
3142
+
3143
+ Given an input Mock, seals it to ensure no further mocks will be generated
3144
+ when accessing an attribute that was not already defined.
3145
+
3146
+ The operation recursively seals the mock passed in, meaning that
3147
+ the mock itself, any mocks generated by accessing one of its attributes,
3148
+ and all assigned mocks without a name or spec will be sealed.
3149
+ """
3150
+ mock._mock_sealed = True
3151
+ for attr in dir(mock):
3152
+ try:
3153
+ m = getattr(mock, attr)
3154
+ except AttributeError:
3155
+ continue
3156
+ if not isinstance(m, NonCallableMock):
3157
+ continue
3158
+ if isinstance(m._mock_children.get(attr), _SpecState):
3159
+ continue
3160
+ if m._mock_new_parent is mock:
3161
+ seal(m)
3162
+
3163
+
3164
+ class _AsyncIterator:
3165
+ """
3166
+ Wraps an iterator in an asynchronous iterator.
3167
+ """
3168
+ def __init__(self, iterator):
3169
+ self.iterator = iterator
3170
+ code_mock = NonCallableMock(spec_set=CodeType)
3171
+ code_mock.co_flags = inspect.CO_ITERABLE_COROUTINE
3172
+ self.__dict__['__code__'] = code_mock
3173
+
3174
+ async def __anext__(self):
3175
+ try:
3176
+ return next(self.iterator)
3177
+ except StopIteration:
3178
+ pass
3179
+ raise StopAsyncIteration