@djlint/linux-arm64-musl 0.0.0 → 1.54.0

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 (1658) hide show
  1. package/LICENSE +675 -0
  2. package/README.md +3 -1
  3. package/package.json +20 -3
  4. package/python/bin/python3 +0 -0
  5. package/python/lib/python3.14/LICENSE.txt +277 -0
  6. package/python/lib/python3.14/__future__.py +147 -0
  7. package/python/lib/python3.14/__hello__.py +16 -0
  8. package/python/lib/python3.14/__phello__/__init__.py +7 -0
  9. package/python/lib/python3.14/__phello__/__pycache__/__init__.cpython-314.pyc +0 -0
  10. package/python/lib/python3.14/__phello__/__pycache__/spam.cpython-314.pyc +0 -0
  11. package/python/lib/python3.14/__phello__/spam.py +7 -0
  12. package/python/lib/python3.14/__pycache__/__future__.cpython-314.pyc +0 -0
  13. package/python/lib/python3.14/__pycache__/__hello__.cpython-314.pyc +0 -0
  14. package/python/lib/python3.14/__pycache__/_aix_support.cpython-314.pyc +0 -0
  15. package/python/lib/python3.14/__pycache__/_android_support.cpython-314.pyc +0 -0
  16. package/python/lib/python3.14/__pycache__/_apple_support.cpython-314.pyc +0 -0
  17. package/python/lib/python3.14/__pycache__/_ast_unparse.cpython-314.pyc +0 -0
  18. package/python/lib/python3.14/__pycache__/_collections_abc.cpython-314.pyc +0 -0
  19. package/python/lib/python3.14/__pycache__/_colorize.cpython-314.pyc +0 -0
  20. package/python/lib/python3.14/__pycache__/_compat_pickle.cpython-314.pyc +0 -0
  21. package/python/lib/python3.14/__pycache__/_ios_support.cpython-314.pyc +0 -0
  22. package/python/lib/python3.14/__pycache__/_markupbase.cpython-314.pyc +0 -0
  23. package/python/lib/python3.14/__pycache__/_opcode_metadata.cpython-314.pyc +0 -0
  24. package/python/lib/python3.14/__pycache__/_osx_support.cpython-314.pyc +0 -0
  25. package/python/lib/python3.14/__pycache__/_py_abc.cpython-314.pyc +0 -0
  26. package/python/lib/python3.14/__pycache__/_py_warnings.cpython-314.pyc +0 -0
  27. package/python/lib/python3.14/__pycache__/_pydatetime.cpython-314.pyc +0 -0
  28. package/python/lib/python3.14/__pycache__/_pydecimal.cpython-314.pyc +0 -0
  29. package/python/lib/python3.14/__pycache__/_pyio.cpython-314.pyc +0 -0
  30. package/python/lib/python3.14/__pycache__/_pylong.cpython-314.pyc +0 -0
  31. package/python/lib/python3.14/__pycache__/_sitebuiltins.cpython-314.pyc +0 -0
  32. package/python/lib/python3.14/__pycache__/_strptime.cpython-314.pyc +0 -0
  33. package/python/lib/python3.14/__pycache__/_sysconfigdata__linux_aarch64-linux-musl.cpython-314.pyc +0 -0
  34. package/python/lib/python3.14/__pycache__/_threading_local.cpython-314.pyc +0 -0
  35. package/python/lib/python3.14/__pycache__/_weakrefset.cpython-314.pyc +0 -0
  36. package/python/lib/python3.14/__pycache__/abc.cpython-314.pyc +0 -0
  37. package/python/lib/python3.14/__pycache__/annotationlib.cpython-314.pyc +0 -0
  38. package/python/lib/python3.14/__pycache__/antigravity.cpython-314.pyc +0 -0
  39. package/python/lib/python3.14/__pycache__/argparse.cpython-314.pyc +0 -0
  40. package/python/lib/python3.14/__pycache__/ast.cpython-314.pyc +0 -0
  41. package/python/lib/python3.14/__pycache__/base64.cpython-314.pyc +0 -0
  42. package/python/lib/python3.14/__pycache__/bdb.cpython-314.pyc +0 -0
  43. package/python/lib/python3.14/__pycache__/bisect.cpython-314.pyc +0 -0
  44. package/python/lib/python3.14/__pycache__/bz2.cpython-314.pyc +0 -0
  45. package/python/lib/python3.14/__pycache__/cProfile.cpython-314.pyc +0 -0
  46. package/python/lib/python3.14/__pycache__/calendar.cpython-314.pyc +0 -0
  47. package/python/lib/python3.14/__pycache__/cmd.cpython-314.pyc +0 -0
  48. package/python/lib/python3.14/__pycache__/code.cpython-314.pyc +0 -0
  49. package/python/lib/python3.14/__pycache__/codecs.cpython-314.pyc +0 -0
  50. package/python/lib/python3.14/__pycache__/codeop.cpython-314.pyc +0 -0
  51. package/python/lib/python3.14/__pycache__/colorsys.cpython-314.pyc +0 -0
  52. package/python/lib/python3.14/__pycache__/compileall.cpython-314.pyc +0 -0
  53. package/python/lib/python3.14/__pycache__/configparser.cpython-314.pyc +0 -0
  54. package/python/lib/python3.14/__pycache__/contextlib.cpython-314.pyc +0 -0
  55. package/python/lib/python3.14/__pycache__/contextvars.cpython-314.pyc +0 -0
  56. package/python/lib/python3.14/__pycache__/copy.cpython-314.pyc +0 -0
  57. package/python/lib/python3.14/__pycache__/copyreg.cpython-314.pyc +0 -0
  58. package/python/lib/python3.14/__pycache__/csv.cpython-314.pyc +0 -0
  59. package/python/lib/python3.14/__pycache__/dataclasses.cpython-314.pyc +0 -0
  60. package/python/lib/python3.14/__pycache__/datetime.cpython-314.pyc +0 -0
  61. package/python/lib/python3.14/__pycache__/decimal.cpython-314.pyc +0 -0
  62. package/python/lib/python3.14/__pycache__/difflib.cpython-314.pyc +0 -0
  63. package/python/lib/python3.14/__pycache__/dis.cpython-314.pyc +0 -0
  64. package/python/lib/python3.14/__pycache__/doctest.cpython-314.pyc +0 -0
  65. package/python/lib/python3.14/__pycache__/enum.cpython-314.pyc +0 -0
  66. package/python/lib/python3.14/__pycache__/filecmp.cpython-314.pyc +0 -0
  67. package/python/lib/python3.14/__pycache__/fileinput.cpython-314.pyc +0 -0
  68. package/python/lib/python3.14/__pycache__/fnmatch.cpython-314.pyc +0 -0
  69. package/python/lib/python3.14/__pycache__/fractions.cpython-314.pyc +0 -0
  70. package/python/lib/python3.14/__pycache__/ftplib.cpython-314.pyc +0 -0
  71. package/python/lib/python3.14/__pycache__/functools.cpython-314.pyc +0 -0
  72. package/python/lib/python3.14/__pycache__/genericpath.cpython-314.pyc +0 -0
  73. package/python/lib/python3.14/__pycache__/getopt.cpython-314.pyc +0 -0
  74. package/python/lib/python3.14/__pycache__/getpass.cpython-314.pyc +0 -0
  75. package/python/lib/python3.14/__pycache__/gettext.cpython-314.pyc +0 -0
  76. package/python/lib/python3.14/__pycache__/glob.cpython-314.pyc +0 -0
  77. package/python/lib/python3.14/__pycache__/graphlib.cpython-314.pyc +0 -0
  78. package/python/lib/python3.14/__pycache__/gzip.cpython-314.pyc +0 -0
  79. package/python/lib/python3.14/__pycache__/hashlib.cpython-314.pyc +0 -0
  80. package/python/lib/python3.14/__pycache__/heapq.cpython-314.pyc +0 -0
  81. package/python/lib/python3.14/__pycache__/hmac.cpython-314.pyc +0 -0
  82. package/python/lib/python3.14/__pycache__/imaplib.cpython-314.pyc +0 -0
  83. package/python/lib/python3.14/__pycache__/inspect.cpython-314.pyc +0 -0
  84. package/python/lib/python3.14/__pycache__/io.cpython-314.pyc +0 -0
  85. package/python/lib/python3.14/__pycache__/ipaddress.cpython-314.pyc +0 -0
  86. package/python/lib/python3.14/__pycache__/keyword.cpython-314.pyc +0 -0
  87. package/python/lib/python3.14/__pycache__/linecache.cpython-314.pyc +0 -0
  88. package/python/lib/python3.14/__pycache__/locale.cpython-314.pyc +0 -0
  89. package/python/lib/python3.14/__pycache__/lzma.cpython-314.pyc +0 -0
  90. package/python/lib/python3.14/__pycache__/mailbox.cpython-314.pyc +0 -0
  91. package/python/lib/python3.14/__pycache__/mimetypes.cpython-314.pyc +0 -0
  92. package/python/lib/python3.14/__pycache__/modulefinder.cpython-314.pyc +0 -0
  93. package/python/lib/python3.14/__pycache__/netrc.cpython-314.pyc +0 -0
  94. package/python/lib/python3.14/__pycache__/ntpath.cpython-314.pyc +0 -0
  95. package/python/lib/python3.14/__pycache__/nturl2path.cpython-314.pyc +0 -0
  96. package/python/lib/python3.14/__pycache__/numbers.cpython-314.pyc +0 -0
  97. package/python/lib/python3.14/__pycache__/opcode.cpython-314.pyc +0 -0
  98. package/python/lib/python3.14/__pycache__/operator.cpython-314.pyc +0 -0
  99. package/python/lib/python3.14/__pycache__/optparse.cpython-314.pyc +0 -0
  100. package/python/lib/python3.14/__pycache__/os.cpython-314.pyc +0 -0
  101. package/python/lib/python3.14/__pycache__/pdb.cpython-314.pyc +0 -0
  102. package/python/lib/python3.14/__pycache__/pickle.cpython-314.pyc +0 -0
  103. package/python/lib/python3.14/__pycache__/pickletools.cpython-314.pyc +0 -0
  104. package/python/lib/python3.14/__pycache__/pkgutil.cpython-314.pyc +0 -0
  105. package/python/lib/python3.14/__pycache__/platform.cpython-314.pyc +0 -0
  106. package/python/lib/python3.14/__pycache__/plistlib.cpython-314.pyc +0 -0
  107. package/python/lib/python3.14/__pycache__/poplib.cpython-314.pyc +0 -0
  108. package/python/lib/python3.14/__pycache__/posixpath.cpython-314.pyc +0 -0
  109. package/python/lib/python3.14/__pycache__/pprint.cpython-314.pyc +0 -0
  110. package/python/lib/python3.14/__pycache__/profile.cpython-314.pyc +0 -0
  111. package/python/lib/python3.14/__pycache__/pstats.cpython-314.pyc +0 -0
  112. package/python/lib/python3.14/__pycache__/pty.cpython-314.pyc +0 -0
  113. package/python/lib/python3.14/__pycache__/py_compile.cpython-314.pyc +0 -0
  114. package/python/lib/python3.14/__pycache__/pyclbr.cpython-314.pyc +0 -0
  115. package/python/lib/python3.14/__pycache__/pydoc.cpython-314.pyc +0 -0
  116. package/python/lib/python3.14/__pycache__/queue.cpython-314.pyc +0 -0
  117. package/python/lib/python3.14/__pycache__/quopri.cpython-314.pyc +0 -0
  118. package/python/lib/python3.14/__pycache__/random.cpython-314.pyc +0 -0
  119. package/python/lib/python3.14/__pycache__/reprlib.cpython-314.pyc +0 -0
  120. package/python/lib/python3.14/__pycache__/rlcompleter.cpython-314.pyc +0 -0
  121. package/python/lib/python3.14/__pycache__/runpy.cpython-314.pyc +0 -0
  122. package/python/lib/python3.14/__pycache__/sched.cpython-314.pyc +0 -0
  123. package/python/lib/python3.14/__pycache__/secrets.cpython-314.pyc +0 -0
  124. package/python/lib/python3.14/__pycache__/selectors.cpython-314.pyc +0 -0
  125. package/python/lib/python3.14/__pycache__/shelve.cpython-314.pyc +0 -0
  126. package/python/lib/python3.14/__pycache__/shlex.cpython-314.pyc +0 -0
  127. package/python/lib/python3.14/__pycache__/shutil.cpython-314.pyc +0 -0
  128. package/python/lib/python3.14/__pycache__/signal.cpython-314.pyc +0 -0
  129. package/python/lib/python3.14/__pycache__/site.cpython-314.pyc +0 -0
  130. package/python/lib/python3.14/__pycache__/smtplib.cpython-314.pyc +0 -0
  131. package/python/lib/python3.14/__pycache__/socket.cpython-314.pyc +0 -0
  132. package/python/lib/python3.14/__pycache__/socketserver.cpython-314.pyc +0 -0
  133. package/python/lib/python3.14/__pycache__/sre_compile.cpython-314.pyc +0 -0
  134. package/python/lib/python3.14/__pycache__/sre_constants.cpython-314.pyc +0 -0
  135. package/python/lib/python3.14/__pycache__/sre_parse.cpython-314.pyc +0 -0
  136. package/python/lib/python3.14/__pycache__/ssl.cpython-314.pyc +0 -0
  137. package/python/lib/python3.14/__pycache__/stat.cpython-314.pyc +0 -0
  138. package/python/lib/python3.14/__pycache__/statistics.cpython-314.pyc +0 -0
  139. package/python/lib/python3.14/__pycache__/stringprep.cpython-314.pyc +0 -0
  140. package/python/lib/python3.14/__pycache__/struct.cpython-314.pyc +0 -0
  141. package/python/lib/python3.14/__pycache__/subprocess.cpython-314.pyc +0 -0
  142. package/python/lib/python3.14/__pycache__/symtable.cpython-314.pyc +0 -0
  143. package/python/lib/python3.14/__pycache__/tabnanny.cpython-314.pyc +0 -0
  144. package/python/lib/python3.14/__pycache__/tarfile.cpython-314.pyc +0 -0
  145. package/python/lib/python3.14/__pycache__/tempfile.cpython-314.pyc +0 -0
  146. package/python/lib/python3.14/__pycache__/textwrap.cpython-314.pyc +0 -0
  147. package/python/lib/python3.14/__pycache__/this.cpython-314.pyc +0 -0
  148. package/python/lib/python3.14/__pycache__/threading.cpython-314.pyc +0 -0
  149. package/python/lib/python3.14/__pycache__/timeit.cpython-314.pyc +0 -0
  150. package/python/lib/python3.14/__pycache__/token.cpython-314.pyc +0 -0
  151. package/python/lib/python3.14/__pycache__/tokenize.cpython-314.pyc +0 -0
  152. package/python/lib/python3.14/__pycache__/trace.cpython-314.pyc +0 -0
  153. package/python/lib/python3.14/__pycache__/traceback.cpython-314.pyc +0 -0
  154. package/python/lib/python3.14/__pycache__/tracemalloc.cpython-314.pyc +0 -0
  155. package/python/lib/python3.14/__pycache__/tty.cpython-314.pyc +0 -0
  156. package/python/lib/python3.14/__pycache__/types.cpython-314.pyc +0 -0
  157. package/python/lib/python3.14/__pycache__/typing.cpython-314.pyc +0 -0
  158. package/python/lib/python3.14/__pycache__/uuid.cpython-314.pyc +0 -0
  159. package/python/lib/python3.14/__pycache__/warnings.cpython-314.pyc +0 -0
  160. package/python/lib/python3.14/__pycache__/wave.cpython-314.pyc +0 -0
  161. package/python/lib/python3.14/__pycache__/weakref.cpython-314.pyc +0 -0
  162. package/python/lib/python3.14/__pycache__/webbrowser.cpython-314.pyc +0 -0
  163. package/python/lib/python3.14/__pycache__/zipapp.cpython-314.pyc +0 -0
  164. package/python/lib/python3.14/__pycache__/zipimport.cpython-314.pyc +0 -0
  165. package/python/lib/python3.14/_aix_support.py +108 -0
  166. package/python/lib/python3.14/_android_support.py +192 -0
  167. package/python/lib/python3.14/_apple_support.py +66 -0
  168. package/python/lib/python3.14/_ast_unparse.py +1161 -0
  169. package/python/lib/python3.14/_collections_abc.py +1172 -0
  170. package/python/lib/python3.14/_colorize.py +355 -0
  171. package/python/lib/python3.14/_compat_pickle.py +251 -0
  172. package/python/lib/python3.14/_ios_support.py +74 -0
  173. package/python/lib/python3.14/_markupbase.py +396 -0
  174. package/python/lib/python3.14/_opcode_metadata.py +371 -0
  175. package/python/lib/python3.14/_osx_support.py +579 -0
  176. package/python/lib/python3.14/_py_abc.py +152 -0
  177. package/python/lib/python3.14/_py_warnings.py +869 -0
  178. package/python/lib/python3.14/_pydatetime.py +2734 -0
  179. package/python/lib/python3.14/_pydecimal.py +6503 -0
  180. package/python/lib/python3.14/_pyio.py +2764 -0
  181. package/python/lib/python3.14/_pylong.py +729 -0
  182. package/python/lib/python3.14/_pyrepl/__init__.py +19 -0
  183. package/python/lib/python3.14/_pyrepl/__main__.py +10 -0
  184. package/python/lib/python3.14/_pyrepl/__pycache__/__init__.cpython-314.pyc +0 -0
  185. package/python/lib/python3.14/_pyrepl/__pycache__/__main__.cpython-314.pyc +0 -0
  186. package/python/lib/python3.14/_pyrepl/__pycache__/_module_completer.cpython-314.pyc +0 -0
  187. package/python/lib/python3.14/_pyrepl/__pycache__/_threading_handler.cpython-314.pyc +0 -0
  188. package/python/lib/python3.14/_pyrepl/__pycache__/base_eventqueue.cpython-314.pyc +0 -0
  189. package/python/lib/python3.14/_pyrepl/__pycache__/commands.cpython-314.pyc +0 -0
  190. package/python/lib/python3.14/_pyrepl/__pycache__/completing_reader.cpython-314.pyc +0 -0
  191. package/python/lib/python3.14/_pyrepl/__pycache__/console.cpython-314.pyc +0 -0
  192. package/python/lib/python3.14/_pyrepl/__pycache__/fancy_termios.cpython-314.pyc +0 -0
  193. package/python/lib/python3.14/_pyrepl/__pycache__/historical_reader.cpython-314.pyc +0 -0
  194. package/python/lib/python3.14/_pyrepl/__pycache__/input.cpython-314.pyc +0 -0
  195. package/python/lib/python3.14/_pyrepl/__pycache__/keymap.cpython-314.pyc +0 -0
  196. package/python/lib/python3.14/_pyrepl/__pycache__/main.cpython-314.pyc +0 -0
  197. package/python/lib/python3.14/_pyrepl/__pycache__/pager.cpython-314.pyc +0 -0
  198. package/python/lib/python3.14/_pyrepl/__pycache__/reader.cpython-314.pyc +0 -0
  199. package/python/lib/python3.14/_pyrepl/__pycache__/readline.cpython-314.pyc +0 -0
  200. package/python/lib/python3.14/_pyrepl/__pycache__/simple_interact.cpython-314.pyc +0 -0
  201. package/python/lib/python3.14/_pyrepl/__pycache__/terminfo.cpython-314.pyc +0 -0
  202. package/python/lib/python3.14/_pyrepl/__pycache__/trace.cpython-314.pyc +0 -0
  203. package/python/lib/python3.14/_pyrepl/__pycache__/types.cpython-314.pyc +0 -0
  204. package/python/lib/python3.14/_pyrepl/__pycache__/unix_console.cpython-314.pyc +0 -0
  205. package/python/lib/python3.14/_pyrepl/__pycache__/unix_eventqueue.cpython-314.pyc +0 -0
  206. package/python/lib/python3.14/_pyrepl/__pycache__/utils.cpython-314.pyc +0 -0
  207. package/python/lib/python3.14/_pyrepl/__pycache__/windows_console.cpython-314.pyc +0 -0
  208. package/python/lib/python3.14/_pyrepl/__pycache__/windows_eventqueue.cpython-314.pyc +0 -0
  209. package/python/lib/python3.14/_pyrepl/_module_completer.py +426 -0
  210. package/python/lib/python3.14/_pyrepl/_threading_handler.py +74 -0
  211. package/python/lib/python3.14/_pyrepl/base_eventqueue.py +110 -0
  212. package/python/lib/python3.14/_pyrepl/commands.py +505 -0
  213. package/python/lib/python3.14/_pyrepl/completing_reader.py +299 -0
  214. package/python/lib/python3.14/_pyrepl/console.py +229 -0
  215. package/python/lib/python3.14/_pyrepl/fancy_termios.py +82 -0
  216. package/python/lib/python3.14/_pyrepl/historical_reader.py +424 -0
  217. package/python/lib/python3.14/_pyrepl/input.py +114 -0
  218. package/python/lib/python3.14/_pyrepl/keymap.py +213 -0
  219. package/python/lib/python3.14/_pyrepl/main.py +58 -0
  220. package/python/lib/python3.14/_pyrepl/mypy.ini +25 -0
  221. package/python/lib/python3.14/_pyrepl/pager.py +175 -0
  222. package/python/lib/python3.14/_pyrepl/reader.py +773 -0
  223. package/python/lib/python3.14/_pyrepl/readline.py +621 -0
  224. package/python/lib/python3.14/_pyrepl/simple_interact.py +186 -0
  225. package/python/lib/python3.14/_pyrepl/terminfo.py +488 -0
  226. package/python/lib/python3.14/_pyrepl/trace.py +34 -0
  227. package/python/lib/python3.14/_pyrepl/types.py +10 -0
  228. package/python/lib/python3.14/_pyrepl/unix_console.py +860 -0
  229. package/python/lib/python3.14/_pyrepl/unix_eventqueue.py +77 -0
  230. package/python/lib/python3.14/_pyrepl/utils.py +391 -0
  231. package/python/lib/python3.14/_pyrepl/windows_console.py +735 -0
  232. package/python/lib/python3.14/_pyrepl/windows_eventqueue.py +42 -0
  233. package/python/lib/python3.14/_sitebuiltins.py +91 -0
  234. package/python/lib/python3.14/_strptime.py +822 -0
  235. package/python/lib/python3.14/_sysconfig_vars__linux_aarch64-linux-musl.json +1166 -0
  236. package/python/lib/python3.14/_sysconfigdata__linux_aarch64-linux-musl.py +1152 -0
  237. package/python/lib/python3.14/_threading_local.py +120 -0
  238. package/python/lib/python3.14/_weakrefset.py +147 -0
  239. package/python/lib/python3.14/abc.py +188 -0
  240. package/python/lib/python3.14/annotationlib.py +1205 -0
  241. package/python/lib/python3.14/antigravity.py +17 -0
  242. package/python/lib/python3.14/argparse.py +2789 -0
  243. package/python/lib/python3.14/ast.py +680 -0
  244. package/python/lib/python3.14/asyncio/__init__.py +74 -0
  245. package/python/lib/python3.14/asyncio/__main__.py +248 -0
  246. package/python/lib/python3.14/asyncio/__pycache__/__init__.cpython-314.pyc +0 -0
  247. package/python/lib/python3.14/asyncio/__pycache__/__main__.cpython-314.pyc +0 -0
  248. package/python/lib/python3.14/asyncio/__pycache__/base_events.cpython-314.pyc +0 -0
  249. package/python/lib/python3.14/asyncio/__pycache__/base_futures.cpython-314.pyc +0 -0
  250. package/python/lib/python3.14/asyncio/__pycache__/base_subprocess.cpython-314.pyc +0 -0
  251. package/python/lib/python3.14/asyncio/__pycache__/base_tasks.cpython-314.pyc +0 -0
  252. package/python/lib/python3.14/asyncio/__pycache__/constants.cpython-314.pyc +0 -0
  253. package/python/lib/python3.14/asyncio/__pycache__/coroutines.cpython-314.pyc +0 -0
  254. package/python/lib/python3.14/asyncio/__pycache__/events.cpython-314.pyc +0 -0
  255. package/python/lib/python3.14/asyncio/__pycache__/exceptions.cpython-314.pyc +0 -0
  256. package/python/lib/python3.14/asyncio/__pycache__/format_helpers.cpython-314.pyc +0 -0
  257. package/python/lib/python3.14/asyncio/__pycache__/futures.cpython-314.pyc +0 -0
  258. package/python/lib/python3.14/asyncio/__pycache__/graph.cpython-314.pyc +0 -0
  259. package/python/lib/python3.14/asyncio/__pycache__/locks.cpython-314.pyc +0 -0
  260. package/python/lib/python3.14/asyncio/__pycache__/log.cpython-314.pyc +0 -0
  261. package/python/lib/python3.14/asyncio/__pycache__/mixins.cpython-314.pyc +0 -0
  262. package/python/lib/python3.14/asyncio/__pycache__/proactor_events.cpython-314.pyc +0 -0
  263. package/python/lib/python3.14/asyncio/__pycache__/protocols.cpython-314.pyc +0 -0
  264. package/python/lib/python3.14/asyncio/__pycache__/queues.cpython-314.pyc +0 -0
  265. package/python/lib/python3.14/asyncio/__pycache__/runners.cpython-314.pyc +0 -0
  266. package/python/lib/python3.14/asyncio/__pycache__/selector_events.cpython-314.pyc +0 -0
  267. package/python/lib/python3.14/asyncio/__pycache__/sslproto.cpython-314.pyc +0 -0
  268. package/python/lib/python3.14/asyncio/__pycache__/staggered.cpython-314.pyc +0 -0
  269. package/python/lib/python3.14/asyncio/__pycache__/streams.cpython-314.pyc +0 -0
  270. package/python/lib/python3.14/asyncio/__pycache__/subprocess.cpython-314.pyc +0 -0
  271. package/python/lib/python3.14/asyncio/__pycache__/taskgroups.cpython-314.pyc +0 -0
  272. package/python/lib/python3.14/asyncio/__pycache__/tasks.cpython-314.pyc +0 -0
  273. package/python/lib/python3.14/asyncio/__pycache__/threads.cpython-314.pyc +0 -0
  274. package/python/lib/python3.14/asyncio/__pycache__/timeouts.cpython-314.pyc +0 -0
  275. package/python/lib/python3.14/asyncio/__pycache__/tools.cpython-314.pyc +0 -0
  276. package/python/lib/python3.14/asyncio/__pycache__/transports.cpython-314.pyc +0 -0
  277. package/python/lib/python3.14/asyncio/__pycache__/trsock.cpython-314.pyc +0 -0
  278. package/python/lib/python3.14/asyncio/__pycache__/unix_events.cpython-314.pyc +0 -0
  279. package/python/lib/python3.14/asyncio/__pycache__/windows_events.cpython-314.pyc +0 -0
  280. package/python/lib/python3.14/asyncio/__pycache__/windows_utils.cpython-314.pyc +0 -0
  281. package/python/lib/python3.14/asyncio/base_events.py +2089 -0
  282. package/python/lib/python3.14/asyncio/base_futures.py +67 -0
  283. package/python/lib/python3.14/asyncio/base_subprocess.py +327 -0
  284. package/python/lib/python3.14/asyncio/base_tasks.py +94 -0
  285. package/python/lib/python3.14/asyncio/constants.py +41 -0
  286. package/python/lib/python3.14/asyncio/coroutines.py +118 -0
  287. package/python/lib/python3.14/asyncio/events.py +881 -0
  288. package/python/lib/python3.14/asyncio/exceptions.py +62 -0
  289. package/python/lib/python3.14/asyncio/format_helpers.py +84 -0
  290. package/python/lib/python3.14/asyncio/futures.py +481 -0
  291. package/python/lib/python3.14/asyncio/graph.py +279 -0
  292. package/python/lib/python3.14/asyncio/locks.py +617 -0
  293. package/python/lib/python3.14/asyncio/log.py +7 -0
  294. package/python/lib/python3.14/asyncio/mixins.py +21 -0
  295. package/python/lib/python3.14/asyncio/proactor_events.py +923 -0
  296. package/python/lib/python3.14/asyncio/protocols.py +216 -0
  297. package/python/lib/python3.14/asyncio/queues.py +309 -0
  298. package/python/lib/python3.14/asyncio/runners.py +226 -0
  299. package/python/lib/python3.14/asyncio/selector_events.py +1337 -0
  300. package/python/lib/python3.14/asyncio/sslproto.py +937 -0
  301. package/python/lib/python3.14/asyncio/staggered.py +179 -0
  302. package/python/lib/python3.14/asyncio/streams.py +804 -0
  303. package/python/lib/python3.14/asyncio/subprocess.py +229 -0
  304. package/python/lib/python3.14/asyncio/taskgroups.py +280 -0
  305. package/python/lib/python3.14/asyncio/tasks.py +1145 -0
  306. package/python/lib/python3.14/asyncio/threads.py +26 -0
  307. package/python/lib/python3.14/asyncio/timeouts.py +183 -0
  308. package/python/lib/python3.14/asyncio/tools.py +278 -0
  309. package/python/lib/python3.14/asyncio/transports.py +337 -0
  310. package/python/lib/python3.14/asyncio/trsock.py +98 -0
  311. package/python/lib/python3.14/asyncio/unix_events.py +1031 -0
  312. package/python/lib/python3.14/asyncio/windows_events.py +906 -0
  313. package/python/lib/python3.14/asyncio/windows_utils.py +181 -0
  314. package/python/lib/python3.14/base64.py +625 -0
  315. package/python/lib/python3.14/bdb.py +1214 -0
  316. package/python/lib/python3.14/bisect.py +118 -0
  317. package/python/lib/python3.14/build-details.json +58 -0
  318. package/python/lib/python3.14/bz2.py +352 -0
  319. package/python/lib/python3.14/cProfile.py +207 -0
  320. package/python/lib/python3.14/calendar.py +926 -0
  321. package/python/lib/python3.14/cmd.py +414 -0
  322. package/python/lib/python3.14/code.py +396 -0
  323. package/python/lib/python3.14/codecs.py +1125 -0
  324. package/python/lib/python3.14/codeop.py +154 -0
  325. package/python/lib/python3.14/collections/__init__.py +1612 -0
  326. package/python/lib/python3.14/collections/__pycache__/__init__.cpython-314.pyc +0 -0
  327. package/python/lib/python3.14/colorsys.py +166 -0
  328. package/python/lib/python3.14/compileall.py +472 -0
  329. package/python/lib/python3.14/compression/__init__.py +0 -0
  330. package/python/lib/python3.14/compression/__pycache__/__init__.cpython-314.pyc +0 -0
  331. package/python/lib/python3.14/compression/__pycache__/bz2.cpython-314.pyc +0 -0
  332. package/python/lib/python3.14/compression/__pycache__/gzip.cpython-314.pyc +0 -0
  333. package/python/lib/python3.14/compression/__pycache__/lzma.cpython-314.pyc +0 -0
  334. package/python/lib/python3.14/compression/__pycache__/zlib.cpython-314.pyc +0 -0
  335. package/python/lib/python3.14/compression/_common/__init__.py +0 -0
  336. package/python/lib/python3.14/compression/_common/__pycache__/__init__.cpython-314.pyc +0 -0
  337. package/python/lib/python3.14/compression/_common/__pycache__/_streams.cpython-314.pyc +0 -0
  338. package/python/lib/python3.14/compression/_common/_streams.py +162 -0
  339. package/python/lib/python3.14/compression/bz2.py +5 -0
  340. package/python/lib/python3.14/compression/gzip.py +5 -0
  341. package/python/lib/python3.14/compression/lzma.py +5 -0
  342. package/python/lib/python3.14/compression/zlib.py +5 -0
  343. package/python/lib/python3.14/compression/zstd/__init__.py +244 -0
  344. package/python/lib/python3.14/compression/zstd/__pycache__/__init__.cpython-314.pyc +0 -0
  345. package/python/lib/python3.14/compression/zstd/__pycache__/_zstdfile.cpython-314.pyc +0 -0
  346. package/python/lib/python3.14/compression/zstd/_zstdfile.py +347 -0
  347. package/python/lib/python3.14/concurrent/__init__.py +1 -0
  348. package/python/lib/python3.14/concurrent/__pycache__/__init__.cpython-314.pyc +0 -0
  349. package/python/lib/python3.14/concurrent/futures/__init__.py +65 -0
  350. package/python/lib/python3.14/concurrent/futures/__pycache__/__init__.cpython-314.pyc +0 -0
  351. package/python/lib/python3.14/concurrent/futures/__pycache__/_base.cpython-314.pyc +0 -0
  352. package/python/lib/python3.14/concurrent/futures/__pycache__/interpreter.cpython-314.pyc +0 -0
  353. package/python/lib/python3.14/concurrent/futures/__pycache__/process.cpython-314.pyc +0 -0
  354. package/python/lib/python3.14/concurrent/futures/__pycache__/thread.cpython-314.pyc +0 -0
  355. package/python/lib/python3.14/concurrent/futures/_base.py +680 -0
  356. package/python/lib/python3.14/concurrent/futures/interpreter.py +123 -0
  357. package/python/lib/python3.14/concurrent/futures/process.py +1047 -0
  358. package/python/lib/python3.14/concurrent/futures/thread.py +274 -0
  359. package/python/lib/python3.14/concurrent/interpreters/__init__.py +253 -0
  360. package/python/lib/python3.14/concurrent/interpreters/__pycache__/__init__.cpython-314.pyc +0 -0
  361. package/python/lib/python3.14/concurrent/interpreters/__pycache__/_crossinterp.cpython-314.pyc +0 -0
  362. package/python/lib/python3.14/concurrent/interpreters/__pycache__/_queues.cpython-314.pyc +0 -0
  363. package/python/lib/python3.14/concurrent/interpreters/_crossinterp.py +107 -0
  364. package/python/lib/python3.14/concurrent/interpreters/_queues.py +290 -0
  365. package/python/lib/python3.14/configparser.py +1426 -0
  366. package/python/lib/python3.14/contextlib.py +814 -0
  367. package/python/lib/python3.14/contextvars.py +8 -0
  368. package/python/lib/python3.14/copy.py +286 -0
  369. package/python/lib/python3.14/copyreg.py +222 -0
  370. package/python/lib/python3.14/csv.py +527 -0
  371. package/python/lib/python3.14/ctypes/__init__.py +686 -0
  372. package/python/lib/python3.14/ctypes/__pycache__/__init__.cpython-314.pyc +0 -0
  373. package/python/lib/python3.14/ctypes/__pycache__/_aix.cpython-314.pyc +0 -0
  374. package/python/lib/python3.14/ctypes/__pycache__/_endian.cpython-314.pyc +0 -0
  375. package/python/lib/python3.14/ctypes/__pycache__/_layout.cpython-314.pyc +0 -0
  376. package/python/lib/python3.14/ctypes/__pycache__/util.cpython-314.pyc +0 -0
  377. package/python/lib/python3.14/ctypes/__pycache__/wintypes.cpython-314.pyc +0 -0
  378. package/python/lib/python3.14/ctypes/_aix.py +327 -0
  379. package/python/lib/python3.14/ctypes/_endian.py +78 -0
  380. package/python/lib/python3.14/ctypes/_layout.py +330 -0
  381. package/python/lib/python3.14/ctypes/macholib/README.ctypes +7 -0
  382. package/python/lib/python3.14/ctypes/macholib/__init__.py +9 -0
  383. package/python/lib/python3.14/ctypes/macholib/__pycache__/__init__.cpython-314.pyc +0 -0
  384. package/python/lib/python3.14/ctypes/macholib/__pycache__/dyld.cpython-314.pyc +0 -0
  385. package/python/lib/python3.14/ctypes/macholib/__pycache__/dylib.cpython-314.pyc +0 -0
  386. package/python/lib/python3.14/ctypes/macholib/__pycache__/framework.cpython-314.pyc +0 -0
  387. package/python/lib/python3.14/ctypes/macholib/dyld.py +165 -0
  388. package/python/lib/python3.14/ctypes/macholib/dylib.py +42 -0
  389. package/python/lib/python3.14/ctypes/macholib/fetch_macholib +2 -0
  390. package/python/lib/python3.14/ctypes/macholib/fetch_macholib.bat +1 -0
  391. package/python/lib/python3.14/ctypes/macholib/framework.py +42 -0
  392. package/python/lib/python3.14/ctypes/util.py +502 -0
  393. package/python/lib/python3.14/ctypes/wintypes.py +210 -0
  394. package/python/lib/python3.14/curses/__init__.py +101 -0
  395. package/python/lib/python3.14/curses/__pycache__/__init__.cpython-314.pyc +0 -0
  396. package/python/lib/python3.14/curses/__pycache__/ascii.cpython-314.pyc +0 -0
  397. package/python/lib/python3.14/curses/__pycache__/has_key.cpython-314.pyc +0 -0
  398. package/python/lib/python3.14/curses/__pycache__/panel.cpython-314.pyc +0 -0
  399. package/python/lib/python3.14/curses/__pycache__/textpad.cpython-314.pyc +0 -0
  400. package/python/lib/python3.14/curses/ascii.py +99 -0
  401. package/python/lib/python3.14/curses/has_key.py +192 -0
  402. package/python/lib/python3.14/curses/panel.py +6 -0
  403. package/python/lib/python3.14/curses/textpad.py +236 -0
  404. package/python/lib/python3.14/dataclasses.py +1813 -0
  405. package/python/lib/python3.14/datetime.py +13 -0
  406. package/python/lib/python3.14/dbm/__init__.py +194 -0
  407. package/python/lib/python3.14/dbm/__pycache__/__init__.cpython-314.pyc +0 -0
  408. package/python/lib/python3.14/dbm/__pycache__/dumb.cpython-314.pyc +0 -0
  409. package/python/lib/python3.14/dbm/__pycache__/gnu.cpython-314.pyc +0 -0
  410. package/python/lib/python3.14/dbm/__pycache__/ndbm.cpython-314.pyc +0 -0
  411. package/python/lib/python3.14/dbm/__pycache__/sqlite3.cpython-314.pyc +0 -0
  412. package/python/lib/python3.14/dbm/dumb.py +319 -0
  413. package/python/lib/python3.14/dbm/gnu.py +3 -0
  414. package/python/lib/python3.14/dbm/ndbm.py +3 -0
  415. package/python/lib/python3.14/dbm/sqlite3.py +144 -0
  416. package/python/lib/python3.14/decimal.py +109 -0
  417. package/python/lib/python3.14/difflib.py +2066 -0
  418. package/python/lib/python3.14/dis.py +1157 -0
  419. package/python/lib/python3.14/doctest.py +2922 -0
  420. package/python/lib/python3.14/email/__init__.py +61 -0
  421. package/python/lib/python3.14/email/__pycache__/__init__.cpython-314.pyc +0 -0
  422. package/python/lib/python3.14/email/__pycache__/_encoded_words.cpython-314.pyc +0 -0
  423. package/python/lib/python3.14/email/__pycache__/_header_value_parser.cpython-314.pyc +0 -0
  424. package/python/lib/python3.14/email/__pycache__/_parseaddr.cpython-314.pyc +0 -0
  425. package/python/lib/python3.14/email/__pycache__/_policybase.cpython-314.pyc +0 -0
  426. package/python/lib/python3.14/email/__pycache__/base64mime.cpython-314.pyc +0 -0
  427. package/python/lib/python3.14/email/__pycache__/charset.cpython-314.pyc +0 -0
  428. package/python/lib/python3.14/email/__pycache__/contentmanager.cpython-314.pyc +0 -0
  429. package/python/lib/python3.14/email/__pycache__/encoders.cpython-314.pyc +0 -0
  430. package/python/lib/python3.14/email/__pycache__/errors.cpython-314.pyc +0 -0
  431. package/python/lib/python3.14/email/__pycache__/feedparser.cpython-314.pyc +0 -0
  432. package/python/lib/python3.14/email/__pycache__/generator.cpython-314.pyc +0 -0
  433. package/python/lib/python3.14/email/__pycache__/header.cpython-314.pyc +0 -0
  434. package/python/lib/python3.14/email/__pycache__/headerregistry.cpython-314.pyc +0 -0
  435. package/python/lib/python3.14/email/__pycache__/iterators.cpython-314.pyc +0 -0
  436. package/python/lib/python3.14/email/__pycache__/message.cpython-314.pyc +0 -0
  437. package/python/lib/python3.14/email/__pycache__/parser.cpython-314.pyc +0 -0
  438. package/python/lib/python3.14/email/__pycache__/policy.cpython-314.pyc +0 -0
  439. package/python/lib/python3.14/email/__pycache__/quoprimime.cpython-314.pyc +0 -0
  440. package/python/lib/python3.14/email/__pycache__/utils.cpython-314.pyc +0 -0
  441. package/python/lib/python3.14/email/_encoded_words.py +233 -0
  442. package/python/lib/python3.14/email/_header_value_parser.py +3164 -0
  443. package/python/lib/python3.14/email/_parseaddr.py +563 -0
  444. package/python/lib/python3.14/email/_policybase.py +392 -0
  445. package/python/lib/python3.14/email/architecture.rst +216 -0
  446. package/python/lib/python3.14/email/base64mime.py +115 -0
  447. package/python/lib/python3.14/email/charset.py +396 -0
  448. package/python/lib/python3.14/email/contentmanager.py +254 -0
  449. package/python/lib/python3.14/email/encoders.py +65 -0
  450. package/python/lib/python3.14/email/errors.py +117 -0
  451. package/python/lib/python3.14/email/feedparser.py +536 -0
  452. package/python/lib/python3.14/email/generator.py +530 -0
  453. package/python/lib/python3.14/email/header.py +582 -0
  454. package/python/lib/python3.14/email/headerregistry.py +618 -0
  455. package/python/lib/python3.14/email/iterators.py +68 -0
  456. package/python/lib/python3.14/email/message.py +1217 -0
  457. package/python/lib/python3.14/email/mime/__init__.py +0 -0
  458. package/python/lib/python3.14/email/mime/__pycache__/__init__.cpython-314.pyc +0 -0
  459. package/python/lib/python3.14/email/mime/__pycache__/application.cpython-314.pyc +0 -0
  460. package/python/lib/python3.14/email/mime/__pycache__/audio.cpython-314.pyc +0 -0
  461. package/python/lib/python3.14/email/mime/__pycache__/base.cpython-314.pyc +0 -0
  462. package/python/lib/python3.14/email/mime/__pycache__/image.cpython-314.pyc +0 -0
  463. package/python/lib/python3.14/email/mime/__pycache__/message.cpython-314.pyc +0 -0
  464. package/python/lib/python3.14/email/mime/__pycache__/multipart.cpython-314.pyc +0 -0
  465. package/python/lib/python3.14/email/mime/__pycache__/nonmultipart.cpython-314.pyc +0 -0
  466. package/python/lib/python3.14/email/mime/__pycache__/text.cpython-314.pyc +0 -0
  467. package/python/lib/python3.14/email/mime/application.py +37 -0
  468. package/python/lib/python3.14/email/mime/audio.py +97 -0
  469. package/python/lib/python3.14/email/mime/base.py +29 -0
  470. package/python/lib/python3.14/email/mime/image.py +152 -0
  471. package/python/lib/python3.14/email/mime/message.py +33 -0
  472. package/python/lib/python3.14/email/mime/multipart.py +47 -0
  473. package/python/lib/python3.14/email/mime/nonmultipart.py +21 -0
  474. package/python/lib/python3.14/email/mime/text.py +40 -0
  475. package/python/lib/python3.14/email/parser.py +127 -0
  476. package/python/lib/python3.14/email/policy.py +239 -0
  477. package/python/lib/python3.14/email/quoprimime.py +300 -0
  478. package/python/lib/python3.14/email/utils.py +489 -0
  479. package/python/lib/python3.14/encodings/__init__.py +182 -0
  480. package/python/lib/python3.14/encodings/__pycache__/__init__.cpython-314.pyc +0 -0
  481. package/python/lib/python3.14/encodings/__pycache__/_win_cp_codecs.cpython-314.pyc +0 -0
  482. package/python/lib/python3.14/encodings/__pycache__/aliases.cpython-314.pyc +0 -0
  483. package/python/lib/python3.14/encodings/__pycache__/ascii.cpython-314.pyc +0 -0
  484. package/python/lib/python3.14/encodings/__pycache__/base64_codec.cpython-314.pyc +0 -0
  485. package/python/lib/python3.14/encodings/__pycache__/big5.cpython-314.pyc +0 -0
  486. package/python/lib/python3.14/encodings/__pycache__/big5hkscs.cpython-314.pyc +0 -0
  487. package/python/lib/python3.14/encodings/__pycache__/bz2_codec.cpython-314.pyc +0 -0
  488. package/python/lib/python3.14/encodings/__pycache__/charmap.cpython-314.pyc +0 -0
  489. package/python/lib/python3.14/encodings/__pycache__/cp037.cpython-314.pyc +0 -0
  490. package/python/lib/python3.14/encodings/__pycache__/cp1006.cpython-314.pyc +0 -0
  491. package/python/lib/python3.14/encodings/__pycache__/cp1026.cpython-314.pyc +0 -0
  492. package/python/lib/python3.14/encodings/__pycache__/cp1125.cpython-314.pyc +0 -0
  493. package/python/lib/python3.14/encodings/__pycache__/cp1140.cpython-314.pyc +0 -0
  494. package/python/lib/python3.14/encodings/__pycache__/cp1250.cpython-314.pyc +0 -0
  495. package/python/lib/python3.14/encodings/__pycache__/cp1251.cpython-314.pyc +0 -0
  496. package/python/lib/python3.14/encodings/__pycache__/cp1252.cpython-314.pyc +0 -0
  497. package/python/lib/python3.14/encodings/__pycache__/cp1253.cpython-314.pyc +0 -0
  498. package/python/lib/python3.14/encodings/__pycache__/cp1254.cpython-314.pyc +0 -0
  499. package/python/lib/python3.14/encodings/__pycache__/cp1255.cpython-314.pyc +0 -0
  500. package/python/lib/python3.14/encodings/__pycache__/cp1256.cpython-314.pyc +0 -0
  501. package/python/lib/python3.14/encodings/__pycache__/cp1257.cpython-314.pyc +0 -0
  502. package/python/lib/python3.14/encodings/__pycache__/cp1258.cpython-314.pyc +0 -0
  503. package/python/lib/python3.14/encodings/__pycache__/cp273.cpython-314.pyc +0 -0
  504. package/python/lib/python3.14/encodings/__pycache__/cp424.cpython-314.pyc +0 -0
  505. package/python/lib/python3.14/encodings/__pycache__/cp437.cpython-314.pyc +0 -0
  506. package/python/lib/python3.14/encodings/__pycache__/cp500.cpython-314.pyc +0 -0
  507. package/python/lib/python3.14/encodings/__pycache__/cp720.cpython-314.pyc +0 -0
  508. package/python/lib/python3.14/encodings/__pycache__/cp737.cpython-314.pyc +0 -0
  509. package/python/lib/python3.14/encodings/__pycache__/cp775.cpython-314.pyc +0 -0
  510. package/python/lib/python3.14/encodings/__pycache__/cp850.cpython-314.pyc +0 -0
  511. package/python/lib/python3.14/encodings/__pycache__/cp852.cpython-314.pyc +0 -0
  512. package/python/lib/python3.14/encodings/__pycache__/cp855.cpython-314.pyc +0 -0
  513. package/python/lib/python3.14/encodings/__pycache__/cp856.cpython-314.pyc +0 -0
  514. package/python/lib/python3.14/encodings/__pycache__/cp857.cpython-314.pyc +0 -0
  515. package/python/lib/python3.14/encodings/__pycache__/cp858.cpython-314.pyc +0 -0
  516. package/python/lib/python3.14/encodings/__pycache__/cp860.cpython-314.pyc +0 -0
  517. package/python/lib/python3.14/encodings/__pycache__/cp861.cpython-314.pyc +0 -0
  518. package/python/lib/python3.14/encodings/__pycache__/cp862.cpython-314.pyc +0 -0
  519. package/python/lib/python3.14/encodings/__pycache__/cp863.cpython-314.pyc +0 -0
  520. package/python/lib/python3.14/encodings/__pycache__/cp864.cpython-314.pyc +0 -0
  521. package/python/lib/python3.14/encodings/__pycache__/cp865.cpython-314.pyc +0 -0
  522. package/python/lib/python3.14/encodings/__pycache__/cp866.cpython-314.pyc +0 -0
  523. package/python/lib/python3.14/encodings/__pycache__/cp869.cpython-314.pyc +0 -0
  524. package/python/lib/python3.14/encodings/__pycache__/cp874.cpython-314.pyc +0 -0
  525. package/python/lib/python3.14/encodings/__pycache__/cp875.cpython-314.pyc +0 -0
  526. package/python/lib/python3.14/encodings/__pycache__/cp932.cpython-314.pyc +0 -0
  527. package/python/lib/python3.14/encodings/__pycache__/cp949.cpython-314.pyc +0 -0
  528. package/python/lib/python3.14/encodings/__pycache__/cp950.cpython-314.pyc +0 -0
  529. package/python/lib/python3.14/encodings/__pycache__/euc_jis_2004.cpython-314.pyc +0 -0
  530. package/python/lib/python3.14/encodings/__pycache__/euc_jisx0213.cpython-314.pyc +0 -0
  531. package/python/lib/python3.14/encodings/__pycache__/euc_jp.cpython-314.pyc +0 -0
  532. package/python/lib/python3.14/encodings/__pycache__/euc_kr.cpython-314.pyc +0 -0
  533. package/python/lib/python3.14/encodings/__pycache__/gb18030.cpython-314.pyc +0 -0
  534. package/python/lib/python3.14/encodings/__pycache__/gb2312.cpython-314.pyc +0 -0
  535. package/python/lib/python3.14/encodings/__pycache__/gbk.cpython-314.pyc +0 -0
  536. package/python/lib/python3.14/encodings/__pycache__/hex_codec.cpython-314.pyc +0 -0
  537. package/python/lib/python3.14/encodings/__pycache__/hp_roman8.cpython-314.pyc +0 -0
  538. package/python/lib/python3.14/encodings/__pycache__/hz.cpython-314.pyc +0 -0
  539. package/python/lib/python3.14/encodings/__pycache__/idna.cpython-314.pyc +0 -0
  540. package/python/lib/python3.14/encodings/__pycache__/iso2022_jp.cpython-314.pyc +0 -0
  541. package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_1.cpython-314.pyc +0 -0
  542. package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_2.cpython-314.pyc +0 -0
  543. package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_2004.cpython-314.pyc +0 -0
  544. package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_3.cpython-314.pyc +0 -0
  545. package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_ext.cpython-314.pyc +0 -0
  546. package/python/lib/python3.14/encodings/__pycache__/iso2022_kr.cpython-314.pyc +0 -0
  547. package/python/lib/python3.14/encodings/__pycache__/iso8859_1.cpython-314.pyc +0 -0
  548. package/python/lib/python3.14/encodings/__pycache__/iso8859_10.cpython-314.pyc +0 -0
  549. package/python/lib/python3.14/encodings/__pycache__/iso8859_11.cpython-314.pyc +0 -0
  550. package/python/lib/python3.14/encodings/__pycache__/iso8859_13.cpython-314.pyc +0 -0
  551. package/python/lib/python3.14/encodings/__pycache__/iso8859_14.cpython-314.pyc +0 -0
  552. package/python/lib/python3.14/encodings/__pycache__/iso8859_15.cpython-314.pyc +0 -0
  553. package/python/lib/python3.14/encodings/__pycache__/iso8859_16.cpython-314.pyc +0 -0
  554. package/python/lib/python3.14/encodings/__pycache__/iso8859_2.cpython-314.pyc +0 -0
  555. package/python/lib/python3.14/encodings/__pycache__/iso8859_3.cpython-314.pyc +0 -0
  556. package/python/lib/python3.14/encodings/__pycache__/iso8859_4.cpython-314.pyc +0 -0
  557. package/python/lib/python3.14/encodings/__pycache__/iso8859_5.cpython-314.pyc +0 -0
  558. package/python/lib/python3.14/encodings/__pycache__/iso8859_6.cpython-314.pyc +0 -0
  559. package/python/lib/python3.14/encodings/__pycache__/iso8859_7.cpython-314.pyc +0 -0
  560. package/python/lib/python3.14/encodings/__pycache__/iso8859_8.cpython-314.pyc +0 -0
  561. package/python/lib/python3.14/encodings/__pycache__/iso8859_9.cpython-314.pyc +0 -0
  562. package/python/lib/python3.14/encodings/__pycache__/johab.cpython-314.pyc +0 -0
  563. package/python/lib/python3.14/encodings/__pycache__/koi8_r.cpython-314.pyc +0 -0
  564. package/python/lib/python3.14/encodings/__pycache__/koi8_t.cpython-314.pyc +0 -0
  565. package/python/lib/python3.14/encodings/__pycache__/koi8_u.cpython-314.pyc +0 -0
  566. package/python/lib/python3.14/encodings/__pycache__/kz1048.cpython-314.pyc +0 -0
  567. package/python/lib/python3.14/encodings/__pycache__/latin_1.cpython-314.pyc +0 -0
  568. package/python/lib/python3.14/encodings/__pycache__/mac_arabic.cpython-314.pyc +0 -0
  569. package/python/lib/python3.14/encodings/__pycache__/mac_croatian.cpython-314.pyc +0 -0
  570. package/python/lib/python3.14/encodings/__pycache__/mac_cyrillic.cpython-314.pyc +0 -0
  571. package/python/lib/python3.14/encodings/__pycache__/mac_farsi.cpython-314.pyc +0 -0
  572. package/python/lib/python3.14/encodings/__pycache__/mac_greek.cpython-314.pyc +0 -0
  573. package/python/lib/python3.14/encodings/__pycache__/mac_iceland.cpython-314.pyc +0 -0
  574. package/python/lib/python3.14/encodings/__pycache__/mac_latin2.cpython-314.pyc +0 -0
  575. package/python/lib/python3.14/encodings/__pycache__/mac_roman.cpython-314.pyc +0 -0
  576. package/python/lib/python3.14/encodings/__pycache__/mac_romanian.cpython-314.pyc +0 -0
  577. package/python/lib/python3.14/encodings/__pycache__/mac_turkish.cpython-314.pyc +0 -0
  578. package/python/lib/python3.14/encodings/__pycache__/mbcs.cpython-314.pyc +0 -0
  579. package/python/lib/python3.14/encodings/__pycache__/oem.cpython-314.pyc +0 -0
  580. package/python/lib/python3.14/encodings/__pycache__/palmos.cpython-314.pyc +0 -0
  581. package/python/lib/python3.14/encodings/__pycache__/ptcp154.cpython-314.pyc +0 -0
  582. package/python/lib/python3.14/encodings/__pycache__/punycode.cpython-314.pyc +0 -0
  583. package/python/lib/python3.14/encodings/__pycache__/quopri_codec.cpython-314.pyc +0 -0
  584. package/python/lib/python3.14/encodings/__pycache__/raw_unicode_escape.cpython-314.pyc +0 -0
  585. package/python/lib/python3.14/encodings/__pycache__/rot_13.cpython-314.pyc +0 -0
  586. package/python/lib/python3.14/encodings/__pycache__/shift_jis.cpython-314.pyc +0 -0
  587. package/python/lib/python3.14/encodings/__pycache__/shift_jis_2004.cpython-314.pyc +0 -0
  588. package/python/lib/python3.14/encodings/__pycache__/shift_jisx0213.cpython-314.pyc +0 -0
  589. package/python/lib/python3.14/encodings/__pycache__/tis_620.cpython-314.pyc +0 -0
  590. package/python/lib/python3.14/encodings/__pycache__/undefined.cpython-314.pyc +0 -0
  591. package/python/lib/python3.14/encodings/__pycache__/unicode_escape.cpython-314.pyc +0 -0
  592. package/python/lib/python3.14/encodings/__pycache__/utf_16.cpython-314.pyc +0 -0
  593. package/python/lib/python3.14/encodings/__pycache__/utf_16_be.cpython-314.pyc +0 -0
  594. package/python/lib/python3.14/encodings/__pycache__/utf_16_le.cpython-314.pyc +0 -0
  595. package/python/lib/python3.14/encodings/__pycache__/utf_32.cpython-314.pyc +0 -0
  596. package/python/lib/python3.14/encodings/__pycache__/utf_32_be.cpython-314.pyc +0 -0
  597. package/python/lib/python3.14/encodings/__pycache__/utf_32_le.cpython-314.pyc +0 -0
  598. package/python/lib/python3.14/encodings/__pycache__/utf_7.cpython-314.pyc +0 -0
  599. package/python/lib/python3.14/encodings/__pycache__/utf_8.cpython-314.pyc +0 -0
  600. package/python/lib/python3.14/encodings/__pycache__/utf_8_sig.cpython-314.pyc +0 -0
  601. package/python/lib/python3.14/encodings/__pycache__/uu_codec.cpython-314.pyc +0 -0
  602. package/python/lib/python3.14/encodings/__pycache__/zlib_codec.cpython-314.pyc +0 -0
  603. package/python/lib/python3.14/encodings/_win_cp_codecs.py +36 -0
  604. package/python/lib/python3.14/encodings/aliases.py +568 -0
  605. package/python/lib/python3.14/encodings/ascii.py +50 -0
  606. package/python/lib/python3.14/encodings/base64_codec.py +55 -0
  607. package/python/lib/python3.14/encodings/big5.py +39 -0
  608. package/python/lib/python3.14/encodings/big5hkscs.py +39 -0
  609. package/python/lib/python3.14/encodings/bz2_codec.py +78 -0
  610. package/python/lib/python3.14/encodings/charmap.py +69 -0
  611. package/python/lib/python3.14/encodings/cp037.py +307 -0
  612. package/python/lib/python3.14/encodings/cp1006.py +307 -0
  613. package/python/lib/python3.14/encodings/cp1026.py +307 -0
  614. package/python/lib/python3.14/encodings/cp1125.py +698 -0
  615. package/python/lib/python3.14/encodings/cp1140.py +307 -0
  616. package/python/lib/python3.14/encodings/cp1250.py +307 -0
  617. package/python/lib/python3.14/encodings/cp1251.py +307 -0
  618. package/python/lib/python3.14/encodings/cp1252.py +307 -0
  619. package/python/lib/python3.14/encodings/cp1253.py +307 -0
  620. package/python/lib/python3.14/encodings/cp1254.py +307 -0
  621. package/python/lib/python3.14/encodings/cp1255.py +307 -0
  622. package/python/lib/python3.14/encodings/cp1256.py +307 -0
  623. package/python/lib/python3.14/encodings/cp1257.py +307 -0
  624. package/python/lib/python3.14/encodings/cp1258.py +307 -0
  625. package/python/lib/python3.14/encodings/cp273.py +307 -0
  626. package/python/lib/python3.14/encodings/cp424.py +307 -0
  627. package/python/lib/python3.14/encodings/cp437.py +698 -0
  628. package/python/lib/python3.14/encodings/cp500.py +307 -0
  629. package/python/lib/python3.14/encodings/cp720.py +309 -0
  630. package/python/lib/python3.14/encodings/cp737.py +698 -0
  631. package/python/lib/python3.14/encodings/cp775.py +697 -0
  632. package/python/lib/python3.14/encodings/cp850.py +698 -0
  633. package/python/lib/python3.14/encodings/cp852.py +698 -0
  634. package/python/lib/python3.14/encodings/cp855.py +698 -0
  635. package/python/lib/python3.14/encodings/cp856.py +307 -0
  636. package/python/lib/python3.14/encodings/cp857.py +694 -0
  637. package/python/lib/python3.14/encodings/cp858.py +698 -0
  638. package/python/lib/python3.14/encodings/cp860.py +698 -0
  639. package/python/lib/python3.14/encodings/cp861.py +698 -0
  640. package/python/lib/python3.14/encodings/cp862.py +698 -0
  641. package/python/lib/python3.14/encodings/cp863.py +698 -0
  642. package/python/lib/python3.14/encodings/cp864.py +690 -0
  643. package/python/lib/python3.14/encodings/cp865.py +698 -0
  644. package/python/lib/python3.14/encodings/cp866.py +698 -0
  645. package/python/lib/python3.14/encodings/cp869.py +689 -0
  646. package/python/lib/python3.14/encodings/cp874.py +307 -0
  647. package/python/lib/python3.14/encodings/cp875.py +307 -0
  648. package/python/lib/python3.14/encodings/cp932.py +39 -0
  649. package/python/lib/python3.14/encodings/cp949.py +39 -0
  650. package/python/lib/python3.14/encodings/cp950.py +39 -0
  651. package/python/lib/python3.14/encodings/euc_jis_2004.py +39 -0
  652. package/python/lib/python3.14/encodings/euc_jisx0213.py +39 -0
  653. package/python/lib/python3.14/encodings/euc_jp.py +39 -0
  654. package/python/lib/python3.14/encodings/euc_kr.py +39 -0
  655. package/python/lib/python3.14/encodings/gb18030.py +39 -0
  656. package/python/lib/python3.14/encodings/gb2312.py +39 -0
  657. package/python/lib/python3.14/encodings/gbk.py +39 -0
  658. package/python/lib/python3.14/encodings/hex_codec.py +55 -0
  659. package/python/lib/python3.14/encodings/hp_roman8.py +314 -0
  660. package/python/lib/python3.14/encodings/hz.py +39 -0
  661. package/python/lib/python3.14/encodings/idna.py +387 -0
  662. package/python/lib/python3.14/encodings/iso2022_jp.py +39 -0
  663. package/python/lib/python3.14/encodings/iso2022_jp_1.py +39 -0
  664. package/python/lib/python3.14/encodings/iso2022_jp_2.py +39 -0
  665. package/python/lib/python3.14/encodings/iso2022_jp_2004.py +39 -0
  666. package/python/lib/python3.14/encodings/iso2022_jp_3.py +39 -0
  667. package/python/lib/python3.14/encodings/iso2022_jp_ext.py +39 -0
  668. package/python/lib/python3.14/encodings/iso2022_kr.py +39 -0
  669. package/python/lib/python3.14/encodings/iso8859_1.py +307 -0
  670. package/python/lib/python3.14/encodings/iso8859_10.py +307 -0
  671. package/python/lib/python3.14/encodings/iso8859_11.py +307 -0
  672. package/python/lib/python3.14/encodings/iso8859_13.py +307 -0
  673. package/python/lib/python3.14/encodings/iso8859_14.py +307 -0
  674. package/python/lib/python3.14/encodings/iso8859_15.py +307 -0
  675. package/python/lib/python3.14/encodings/iso8859_16.py +307 -0
  676. package/python/lib/python3.14/encodings/iso8859_2.py +307 -0
  677. package/python/lib/python3.14/encodings/iso8859_3.py +307 -0
  678. package/python/lib/python3.14/encodings/iso8859_4.py +307 -0
  679. package/python/lib/python3.14/encodings/iso8859_5.py +307 -0
  680. package/python/lib/python3.14/encodings/iso8859_6.py +307 -0
  681. package/python/lib/python3.14/encodings/iso8859_7.py +307 -0
  682. package/python/lib/python3.14/encodings/iso8859_8.py +307 -0
  683. package/python/lib/python3.14/encodings/iso8859_9.py +307 -0
  684. package/python/lib/python3.14/encodings/johab.py +39 -0
  685. package/python/lib/python3.14/encodings/koi8_r.py +307 -0
  686. package/python/lib/python3.14/encodings/koi8_t.py +308 -0
  687. package/python/lib/python3.14/encodings/koi8_u.py +307 -0
  688. package/python/lib/python3.14/encodings/kz1048.py +307 -0
  689. package/python/lib/python3.14/encodings/latin_1.py +50 -0
  690. package/python/lib/python3.14/encodings/mac_arabic.py +698 -0
  691. package/python/lib/python3.14/encodings/mac_croatian.py +307 -0
  692. package/python/lib/python3.14/encodings/mac_cyrillic.py +307 -0
  693. package/python/lib/python3.14/encodings/mac_farsi.py +307 -0
  694. package/python/lib/python3.14/encodings/mac_greek.py +307 -0
  695. package/python/lib/python3.14/encodings/mac_iceland.py +307 -0
  696. package/python/lib/python3.14/encodings/mac_latin2.py +312 -0
  697. package/python/lib/python3.14/encodings/mac_roman.py +307 -0
  698. package/python/lib/python3.14/encodings/mac_romanian.py +307 -0
  699. package/python/lib/python3.14/encodings/mac_turkish.py +307 -0
  700. package/python/lib/python3.14/encodings/mbcs.py +47 -0
  701. package/python/lib/python3.14/encodings/oem.py +41 -0
  702. package/python/lib/python3.14/encodings/palmos.py +308 -0
  703. package/python/lib/python3.14/encodings/ptcp154.py +312 -0
  704. package/python/lib/python3.14/encodings/punycode.py +253 -0
  705. package/python/lib/python3.14/encodings/quopri_codec.py +56 -0
  706. package/python/lib/python3.14/encodings/raw_unicode_escape.py +46 -0
  707. package/python/lib/python3.14/encodings/rot_13.py +113 -0
  708. package/python/lib/python3.14/encodings/shift_jis.py +39 -0
  709. package/python/lib/python3.14/encodings/shift_jis_2004.py +39 -0
  710. package/python/lib/python3.14/encodings/shift_jisx0213.py +39 -0
  711. package/python/lib/python3.14/encodings/tis_620.py +307 -0
  712. package/python/lib/python3.14/encodings/undefined.py +49 -0
  713. package/python/lib/python3.14/encodings/unicode_escape.py +46 -0
  714. package/python/lib/python3.14/encodings/utf_16.py +155 -0
  715. package/python/lib/python3.14/encodings/utf_16_be.py +42 -0
  716. package/python/lib/python3.14/encodings/utf_16_le.py +42 -0
  717. package/python/lib/python3.14/encodings/utf_32.py +150 -0
  718. package/python/lib/python3.14/encodings/utf_32_be.py +37 -0
  719. package/python/lib/python3.14/encodings/utf_32_le.py +37 -0
  720. package/python/lib/python3.14/encodings/utf_7.py +38 -0
  721. package/python/lib/python3.14/encodings/utf_8.py +42 -0
  722. package/python/lib/python3.14/encodings/utf_8_sig.py +130 -0
  723. package/python/lib/python3.14/encodings/uu_codec.py +103 -0
  724. package/python/lib/python3.14/encodings/zlib_codec.py +77 -0
  725. package/python/lib/python3.14/enum.py +2169 -0
  726. package/python/lib/python3.14/filecmp.py +320 -0
  727. package/python/lib/python3.14/fileinput.py +442 -0
  728. package/python/lib/python3.14/fnmatch.py +209 -0
  729. package/python/lib/python3.14/fractions.py +1078 -0
  730. package/python/lib/python3.14/ftplib.py +975 -0
  731. package/python/lib/python3.14/functools.py +1165 -0
  732. package/python/lib/python3.14/genericpath.py +200 -0
  733. package/python/lib/python3.14/getopt.py +232 -0
  734. package/python/lib/python3.14/getpass.py +256 -0
  735. package/python/lib/python3.14/gettext.py +660 -0
  736. package/python/lib/python3.14/glob.py +574 -0
  737. package/python/lib/python3.14/graphlib.py +254 -0
  738. package/python/lib/python3.14/gzip.py +724 -0
  739. package/python/lib/python3.14/hashlib.py +255 -0
  740. package/python/lib/python3.14/heapq.py +611 -0
  741. package/python/lib/python3.14/hmac.py +279 -0
  742. package/python/lib/python3.14/html/__init__.py +132 -0
  743. package/python/lib/python3.14/html/__pycache__/__init__.cpython-314.pyc +0 -0
  744. package/python/lib/python3.14/html/__pycache__/entities.cpython-314.pyc +0 -0
  745. package/python/lib/python3.14/html/__pycache__/parser.cpython-314.pyc +0 -0
  746. package/python/lib/python3.14/html/entities.py +2513 -0
  747. package/python/lib/python3.14/html/parser.py +583 -0
  748. package/python/lib/python3.14/http/__init__.py +213 -0
  749. package/python/lib/python3.14/http/__pycache__/__init__.cpython-314.pyc +0 -0
  750. package/python/lib/python3.14/http/__pycache__/client.cpython-314.pyc +0 -0
  751. package/python/lib/python3.14/http/__pycache__/cookiejar.cpython-314.pyc +0 -0
  752. package/python/lib/python3.14/http/__pycache__/cookies.cpython-314.pyc +0 -0
  753. package/python/lib/python3.14/http/__pycache__/server.cpython-314.pyc +0 -0
  754. package/python/lib/python3.14/http/client.py +1598 -0
  755. package/python/lib/python3.14/http/cookiejar.py +2135 -0
  756. package/python/lib/python3.14/http/cookies.py +637 -0
  757. package/python/lib/python3.14/http/server.py +1445 -0
  758. package/python/lib/python3.14/imaplib.py +2090 -0
  759. package/python/lib/python3.14/importlib/__init__.py +136 -0
  760. package/python/lib/python3.14/importlib/__pycache__/__init__.cpython-314.pyc +0 -0
  761. package/python/lib/python3.14/importlib/__pycache__/_abc.cpython-314.pyc +0 -0
  762. package/python/lib/python3.14/importlib/__pycache__/_bootstrap.cpython-314.pyc +0 -0
  763. package/python/lib/python3.14/importlib/__pycache__/_bootstrap_external.cpython-314.pyc +0 -0
  764. package/python/lib/python3.14/importlib/__pycache__/abc.cpython-314.pyc +0 -0
  765. package/python/lib/python3.14/importlib/__pycache__/machinery.cpython-314.pyc +0 -0
  766. package/python/lib/python3.14/importlib/__pycache__/readers.cpython-314.pyc +0 -0
  767. package/python/lib/python3.14/importlib/__pycache__/simple.cpython-314.pyc +0 -0
  768. package/python/lib/python3.14/importlib/__pycache__/util.cpython-314.pyc +0 -0
  769. package/python/lib/python3.14/importlib/_abc.py +39 -0
  770. package/python/lib/python3.14/importlib/_bootstrap.py +1570 -0
  771. package/python/lib/python3.14/importlib/_bootstrap_external.py +1566 -0
  772. package/python/lib/python3.14/importlib/abc.py +234 -0
  773. package/python/lib/python3.14/importlib/machinery.py +50 -0
  774. package/python/lib/python3.14/importlib/metadata/__init__.py +1093 -0
  775. package/python/lib/python3.14/importlib/metadata/__pycache__/__init__.cpython-314.pyc +0 -0
  776. package/python/lib/python3.14/importlib/metadata/__pycache__/_adapters.cpython-314.pyc +0 -0
  777. package/python/lib/python3.14/importlib/metadata/__pycache__/_collections.cpython-314.pyc +0 -0
  778. package/python/lib/python3.14/importlib/metadata/__pycache__/_functools.cpython-314.pyc +0 -0
  779. package/python/lib/python3.14/importlib/metadata/__pycache__/_itertools.cpython-314.pyc +0 -0
  780. package/python/lib/python3.14/importlib/metadata/__pycache__/_meta.cpython-314.pyc +0 -0
  781. package/python/lib/python3.14/importlib/metadata/__pycache__/_text.cpython-314.pyc +0 -0
  782. package/python/lib/python3.14/importlib/metadata/__pycache__/diagnose.cpython-314.pyc +0 -0
  783. package/python/lib/python3.14/importlib/metadata/_adapters.py +89 -0
  784. package/python/lib/python3.14/importlib/metadata/_collections.py +30 -0
  785. package/python/lib/python3.14/importlib/metadata/_functools.py +104 -0
  786. package/python/lib/python3.14/importlib/metadata/_itertools.py +73 -0
  787. package/python/lib/python3.14/importlib/metadata/_meta.py +67 -0
  788. package/python/lib/python3.14/importlib/metadata/_text.py +99 -0
  789. package/python/lib/python3.14/importlib/metadata/diagnose.py +21 -0
  790. package/python/lib/python3.14/importlib/readers.py +12 -0
  791. package/python/lib/python3.14/importlib/resources/__init__.py +43 -0
  792. package/python/lib/python3.14/importlib/resources/__pycache__/__init__.cpython-314.pyc +0 -0
  793. package/python/lib/python3.14/importlib/resources/__pycache__/_adapters.cpython-314.pyc +0 -0
  794. package/python/lib/python3.14/importlib/resources/__pycache__/_common.cpython-314.pyc +0 -0
  795. package/python/lib/python3.14/importlib/resources/__pycache__/_functional.cpython-314.pyc +0 -0
  796. package/python/lib/python3.14/importlib/resources/__pycache__/_itertools.cpython-314.pyc +0 -0
  797. package/python/lib/python3.14/importlib/resources/__pycache__/abc.cpython-314.pyc +0 -0
  798. package/python/lib/python3.14/importlib/resources/__pycache__/readers.cpython-314.pyc +0 -0
  799. package/python/lib/python3.14/importlib/resources/__pycache__/simple.cpython-314.pyc +0 -0
  800. package/python/lib/python3.14/importlib/resources/_adapters.py +168 -0
  801. package/python/lib/python3.14/importlib/resources/_common.py +211 -0
  802. package/python/lib/python3.14/importlib/resources/_functional.py +81 -0
  803. package/python/lib/python3.14/importlib/resources/_itertools.py +38 -0
  804. package/python/lib/python3.14/importlib/resources/abc.py +173 -0
  805. package/python/lib/python3.14/importlib/resources/readers.py +203 -0
  806. package/python/lib/python3.14/importlib/resources/simple.py +106 -0
  807. package/python/lib/python3.14/importlib/simple.py +14 -0
  808. package/python/lib/python3.14/importlib/util.py +279 -0
  809. package/python/lib/python3.14/inspect.py +3425 -0
  810. package/python/lib/python3.14/io.py +150 -0
  811. package/python/lib/python3.14/ipaddress.py +2421 -0
  812. package/python/lib/python3.14/json/__init__.py +365 -0
  813. package/python/lib/python3.14/json/__main__.py +20 -0
  814. package/python/lib/python3.14/json/__pycache__/__init__.cpython-314.pyc +0 -0
  815. package/python/lib/python3.14/json/__pycache__/__main__.cpython-314.pyc +0 -0
  816. package/python/lib/python3.14/json/__pycache__/decoder.cpython-314.pyc +0 -0
  817. package/python/lib/python3.14/json/__pycache__/encoder.cpython-314.pyc +0 -0
  818. package/python/lib/python3.14/json/__pycache__/scanner.cpython-314.pyc +0 -0
  819. package/python/lib/python3.14/json/__pycache__/tool.cpython-314.pyc +0 -0
  820. package/python/lib/python3.14/json/decoder.py +364 -0
  821. package/python/lib/python3.14/json/encoder.py +461 -0
  822. package/python/lib/python3.14/json/scanner.py +73 -0
  823. package/python/lib/python3.14/json/tool.py +122 -0
  824. package/python/lib/python3.14/keyword.py +64 -0
  825. package/python/lib/python3.14/lib-dynload/.empty +0 -0
  826. package/python/lib/python3.14/lib-dynload/_dbm.cpython-314-aarch64-linux-musl.so +0 -0
  827. package/python/lib/python3.14/linecache.py +302 -0
  828. package/python/lib/python3.14/locale.py +1992 -0
  829. package/python/lib/python3.14/logging/__init__.py +2335 -0
  830. package/python/lib/python3.14/logging/__pycache__/__init__.cpython-314.pyc +0 -0
  831. package/python/lib/python3.14/logging/__pycache__/config.cpython-314.pyc +0 -0
  832. package/python/lib/python3.14/logging/__pycache__/handlers.cpython-314.pyc +0 -0
  833. package/python/lib/python3.14/logging/config.py +1093 -0
  834. package/python/lib/python3.14/logging/handlers.py +1654 -0
  835. package/python/lib/python3.14/lzma.py +364 -0
  836. package/python/lib/python3.14/mailbox.py +2220 -0
  837. package/python/lib/python3.14/mimetypes.py +755 -0
  838. package/python/lib/python3.14/modulefinder.py +671 -0
  839. package/python/lib/python3.14/multiprocessing/__init__.py +37 -0
  840. package/python/lib/python3.14/multiprocessing/__pycache__/__init__.cpython-314.pyc +0 -0
  841. package/python/lib/python3.14/multiprocessing/__pycache__/connection.cpython-314.pyc +0 -0
  842. package/python/lib/python3.14/multiprocessing/__pycache__/context.cpython-314.pyc +0 -0
  843. package/python/lib/python3.14/multiprocessing/__pycache__/forkserver.cpython-314.pyc +0 -0
  844. package/python/lib/python3.14/multiprocessing/__pycache__/heap.cpython-314.pyc +0 -0
  845. package/python/lib/python3.14/multiprocessing/__pycache__/managers.cpython-314.pyc +0 -0
  846. package/python/lib/python3.14/multiprocessing/__pycache__/pool.cpython-314.pyc +0 -0
  847. package/python/lib/python3.14/multiprocessing/__pycache__/popen_fork.cpython-314.pyc +0 -0
  848. package/python/lib/python3.14/multiprocessing/__pycache__/popen_forkserver.cpython-314.pyc +0 -0
  849. package/python/lib/python3.14/multiprocessing/__pycache__/popen_spawn_posix.cpython-314.pyc +0 -0
  850. package/python/lib/python3.14/multiprocessing/__pycache__/popen_spawn_win32.cpython-314.pyc +0 -0
  851. package/python/lib/python3.14/multiprocessing/__pycache__/process.cpython-314.pyc +0 -0
  852. package/python/lib/python3.14/multiprocessing/__pycache__/queues.cpython-314.pyc +0 -0
  853. package/python/lib/python3.14/multiprocessing/__pycache__/reduction.cpython-314.pyc +0 -0
  854. package/python/lib/python3.14/multiprocessing/__pycache__/resource_sharer.cpython-314.pyc +0 -0
  855. package/python/lib/python3.14/multiprocessing/__pycache__/resource_tracker.cpython-314.pyc +0 -0
  856. package/python/lib/python3.14/multiprocessing/__pycache__/shared_memory.cpython-314.pyc +0 -0
  857. package/python/lib/python3.14/multiprocessing/__pycache__/sharedctypes.cpython-314.pyc +0 -0
  858. package/python/lib/python3.14/multiprocessing/__pycache__/spawn.cpython-314.pyc +0 -0
  859. package/python/lib/python3.14/multiprocessing/__pycache__/synchronize.cpython-314.pyc +0 -0
  860. package/python/lib/python3.14/multiprocessing/__pycache__/util.cpython-314.pyc +0 -0
  861. package/python/lib/python3.14/multiprocessing/connection.py +1233 -0
  862. package/python/lib/python3.14/multiprocessing/context.py +405 -0
  863. package/python/lib/python3.14/multiprocessing/dummy/__init__.py +126 -0
  864. package/python/lib/python3.14/multiprocessing/dummy/__pycache__/__init__.cpython-314.pyc +0 -0
  865. package/python/lib/python3.14/multiprocessing/dummy/__pycache__/connection.cpython-314.pyc +0 -0
  866. package/python/lib/python3.14/multiprocessing/dummy/connection.py +75 -0
  867. package/python/lib/python3.14/multiprocessing/forkserver.py +429 -0
  868. package/python/lib/python3.14/multiprocessing/heap.py +337 -0
  869. package/python/lib/python3.14/multiprocessing/managers.py +1438 -0
  870. package/python/lib/python3.14/multiprocessing/pool.py +957 -0
  871. package/python/lib/python3.14/multiprocessing/popen_fork.py +100 -0
  872. package/python/lib/python3.14/multiprocessing/popen_forkserver.py +74 -0
  873. package/python/lib/python3.14/multiprocessing/popen_spawn_posix.py +76 -0
  874. package/python/lib/python3.14/multiprocessing/popen_spawn_win32.py +147 -0
  875. package/python/lib/python3.14/multiprocessing/process.py +443 -0
  876. package/python/lib/python3.14/multiprocessing/queues.py +399 -0
  877. package/python/lib/python3.14/multiprocessing/reduction.py +281 -0
  878. package/python/lib/python3.14/multiprocessing/resource_sharer.py +154 -0
  879. package/python/lib/python3.14/multiprocessing/resource_tracker.py +495 -0
  880. package/python/lib/python3.14/multiprocessing/shared_memory.py +544 -0
  881. package/python/lib/python3.14/multiprocessing/sharedctypes.py +240 -0
  882. package/python/lib/python3.14/multiprocessing/spawn.py +307 -0
  883. package/python/lib/python3.14/multiprocessing/synchronize.py +411 -0
  884. package/python/lib/python3.14/multiprocessing/util.py +619 -0
  885. package/python/lib/python3.14/netrc.py +200 -0
  886. package/python/lib/python3.14/ntpath.py +889 -0
  887. package/python/lib/python3.14/nturl2path.py +82 -0
  888. package/python/lib/python3.14/numbers.py +427 -0
  889. package/python/lib/python3.14/opcode.py +122 -0
  890. package/python/lib/python3.14/operator.py +475 -0
  891. package/python/lib/python3.14/optparse.py +1664 -0
  892. package/python/lib/python3.14/os.py +1191 -0
  893. package/python/lib/python3.14/pathlib/__init__.py +1307 -0
  894. package/python/lib/python3.14/pathlib/__pycache__/__init__.cpython-314.pyc +0 -0
  895. package/python/lib/python3.14/pathlib/__pycache__/_local.cpython-314.pyc +0 -0
  896. package/python/lib/python3.14/pathlib/__pycache__/_os.cpython-314.pyc +0 -0
  897. package/python/lib/python3.14/pathlib/__pycache__/types.cpython-314.pyc +0 -0
  898. package/python/lib/python3.14/pathlib/_local.py +12 -0
  899. package/python/lib/python3.14/pathlib/_os.py +530 -0
  900. package/python/lib/python3.14/pathlib/types.py +430 -0
  901. package/python/lib/python3.14/pdb.py +3682 -0
  902. package/python/lib/python3.14/pickle.py +1925 -0
  903. package/python/lib/python3.14/pickletools.py +2887 -0
  904. package/python/lib/python3.14/pkgutil.py +474 -0
  905. package/python/lib/python3.14/platform.py +1515 -0
  906. package/python/lib/python3.14/plistlib.py +956 -0
  907. package/python/lib/python3.14/poplib.py +477 -0
  908. package/python/lib/python3.14/posixpath.py +592 -0
  909. package/python/lib/python3.14/pprint.py +675 -0
  910. package/python/lib/python3.14/profile.py +615 -0
  911. package/python/lib/python3.14/pstats.py +777 -0
  912. package/python/lib/python3.14/pty.py +182 -0
  913. package/python/lib/python3.14/py_compile.py +212 -0
  914. package/python/lib/python3.14/pyclbr.py +314 -0
  915. package/python/lib/python3.14/pydoc.py +2890 -0
  916. package/python/lib/python3.14/queue.py +385 -0
  917. package/python/lib/python3.14/quopri.py +235 -0
  918. package/python/lib/python3.14/random.py +1087 -0
  919. package/python/lib/python3.14/re/__init__.py +428 -0
  920. package/python/lib/python3.14/re/__pycache__/__init__.cpython-314.pyc +0 -0
  921. package/python/lib/python3.14/re/__pycache__/_casefix.cpython-314.pyc +0 -0
  922. package/python/lib/python3.14/re/__pycache__/_compiler.cpython-314.pyc +0 -0
  923. package/python/lib/python3.14/re/__pycache__/_constants.cpython-314.pyc +0 -0
  924. package/python/lib/python3.14/re/__pycache__/_parser.cpython-314.pyc +0 -0
  925. package/python/lib/python3.14/re/_casefix.py +106 -0
  926. package/python/lib/python3.14/re/_compiler.py +782 -0
  927. package/python/lib/python3.14/re/_constants.py +224 -0
  928. package/python/lib/python3.14/re/_parser.py +1066 -0
  929. package/python/lib/python3.14/reprlib.py +230 -0
  930. package/python/lib/python3.14/rlcompleter.py +222 -0
  931. package/python/lib/python3.14/runpy.py +326 -0
  932. package/python/lib/python3.14/sched.py +167 -0
  933. package/python/lib/python3.14/secrets.py +71 -0
  934. package/python/lib/python3.14/selectors.py +603 -0
  935. package/python/lib/python3.14/shelve.py +250 -0
  936. package/python/lib/python3.14/shlex.py +351 -0
  937. package/python/lib/python3.14/shutil.py +1660 -0
  938. package/python/lib/python3.14/signal.py +94 -0
  939. package/python/lib/python3.14/site-packages/_yaml/__init__.py +33 -0
  940. package/python/lib/python3.14/site-packages/_yaml/__pycache__/__init__.cpython-314.pyc +0 -0
  941. package/python/lib/python3.14/site-packages/click/__init__.py +144 -0
  942. package/python/lib/python3.14/site-packages/click/__pycache__/__init__.cpython-314.pyc +0 -0
  943. package/python/lib/python3.14/site-packages/click/__pycache__/_compat.cpython-314.pyc +0 -0
  944. package/python/lib/python3.14/site-packages/click/__pycache__/_termui_impl.cpython-314.pyc +0 -0
  945. package/python/lib/python3.14/site-packages/click/__pycache__/_textwrap.cpython-314.pyc +0 -0
  946. package/python/lib/python3.14/site-packages/click/__pycache__/_utils.cpython-314.pyc +0 -0
  947. package/python/lib/python3.14/site-packages/click/__pycache__/_winconsole.cpython-314.pyc +0 -0
  948. package/python/lib/python3.14/site-packages/click/__pycache__/core.cpython-314.pyc +0 -0
  949. package/python/lib/python3.14/site-packages/click/__pycache__/decorators.cpython-314.pyc +0 -0
  950. package/python/lib/python3.14/site-packages/click/__pycache__/exceptions.cpython-314.pyc +0 -0
  951. package/python/lib/python3.14/site-packages/click/__pycache__/formatting.cpython-314.pyc +0 -0
  952. package/python/lib/python3.14/site-packages/click/__pycache__/globals.cpython-314.pyc +0 -0
  953. package/python/lib/python3.14/site-packages/click/__pycache__/parser.cpython-314.pyc +0 -0
  954. package/python/lib/python3.14/site-packages/click/__pycache__/shell_completion.cpython-314.pyc +0 -0
  955. package/python/lib/python3.14/site-packages/click/__pycache__/termui.cpython-314.pyc +0 -0
  956. package/python/lib/python3.14/site-packages/click/__pycache__/testing.cpython-314.pyc +0 -0
  957. package/python/lib/python3.14/site-packages/click/__pycache__/types.cpython-314.pyc +0 -0
  958. package/python/lib/python3.14/site-packages/click/__pycache__/utils.cpython-314.pyc +0 -0
  959. package/python/lib/python3.14/site-packages/click/_compat.py +590 -0
  960. package/python/lib/python3.14/site-packages/click/_termui_impl.py +970 -0
  961. package/python/lib/python3.14/site-packages/click/_textwrap.py +188 -0
  962. package/python/lib/python3.14/site-packages/click/_utils.py +45 -0
  963. package/python/lib/python3.14/site-packages/click/_winconsole.py +292 -0
  964. package/python/lib/python3.14/site-packages/click/core.py +3825 -0
  965. package/python/lib/python3.14/site-packages/click/decorators.py +625 -0
  966. package/python/lib/python3.14/site-packages/click/exceptions.py +378 -0
  967. package/python/lib/python3.14/site-packages/click/formatting.py +320 -0
  968. package/python/lib/python3.14/site-packages/click/globals.py +67 -0
  969. package/python/lib/python3.14/site-packages/click/parser.py +533 -0
  970. package/python/lib/python3.14/site-packages/click/py.typed +0 -0
  971. package/python/lib/python3.14/site-packages/click/shell_completion.py +796 -0
  972. package/python/lib/python3.14/site-packages/click/termui.py +1024 -0
  973. package/python/lib/python3.14/site-packages/click/testing.py +796 -0
  974. package/python/lib/python3.14/site-packages/click/types.py +1437 -0
  975. package/python/lib/python3.14/site-packages/click/utils.py +676 -0
  976. package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/INSTALLER +1 -0
  977. package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/METADATA +83 -0
  978. package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/RECORD +24 -0
  979. package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/REQUESTED +0 -0
  980. package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/WHEEL +4 -0
  981. package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/licenses/LICENSE.txt +28 -0
  982. package/python/lib/python3.14/site-packages/cssbeautifier/__init__.py +51 -0
  983. package/python/lib/python3.14/site-packages/cssbeautifier/__pycache__/__init__.cpython-314.pyc +0 -0
  984. package/python/lib/python3.14/site-packages/cssbeautifier/__pycache__/__version__.cpython-314.pyc +0 -0
  985. package/python/lib/python3.14/site-packages/cssbeautifier/__pycache__/_main.cpython-314.pyc +0 -0
  986. package/python/lib/python3.14/site-packages/cssbeautifier/__version__.py +1 -0
  987. package/python/lib/python3.14/site-packages/cssbeautifier/_main.py +208 -0
  988. package/python/lib/python3.14/site-packages/cssbeautifier/css/__init__.py +1 -0
  989. package/python/lib/python3.14/site-packages/cssbeautifier/css/__pycache__/__init__.cpython-314.pyc +0 -0
  990. package/python/lib/python3.14/site-packages/cssbeautifier/css/__pycache__/beautifier.cpython-314.pyc +0 -0
  991. package/python/lib/python3.14/site-packages/cssbeautifier/css/__pycache__/options.cpython-314.pyc +0 -0
  992. package/python/lib/python3.14/site-packages/cssbeautifier/css/beautifier.py +559 -0
  993. package/python/lib/python3.14/site-packages/cssbeautifier/css/options.py +60 -0
  994. package/python/lib/python3.14/site-packages/cssbeautifier/tests/__init__.py +1 -0
  995. package/python/lib/python3.14/site-packages/cssbeautifier/tests/__pycache__/__init__.cpython-314.pyc +0 -0
  996. package/python/lib/python3.14/site-packages/cssbeautifier/tests/generated/__init__.py +1 -0
  997. package/python/lib/python3.14/site-packages/cssbeautifier/tests/generated/__pycache__/__init__.cpython-314.pyc +0 -0
  998. package/python/lib/python3.14/site-packages/cssbeautifier/tests/generated/__pycache__/tests.cpython-314.pyc +0 -0
  999. package/python/lib/python3.14/site-packages/cssbeautifier/tests/generated/tests.py +11333 -0
  1000. package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/INSTALLER +1 -0
  1001. package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/METADATA +19 -0
  1002. package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/RECORD +51 -0
  1003. package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/REQUESTED +0 -0
  1004. package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/WHEEL +5 -0
  1005. package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/entry_points.txt +2 -0
  1006. package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/top_level.txt +1 -0
  1007. package/python/lib/python3.14/site-packages/djlint/__init__.py +27 -0
  1008. package/python/lib/python3.14/site-packages/djlint/__main__.py +8 -0
  1009. package/python/lib/python3.14/site-packages/djlint/__pycache__/__init__.cpython-314.pyc +0 -0
  1010. package/python/lib/python3.14/site-packages/djlint/__pycache__/__main__.cpython-314.pyc +0 -0
  1011. package/python/lib/python3.14/site-packages/djlint/__pycache__/_cli.cpython-314.pyc +0 -0
  1012. package/python/lib/python3.14/site-packages/djlint/__pycache__/api.cpython-314.pyc +0 -0
  1013. package/python/lib/python3.14/site-packages/djlint/__pycache__/const.cpython-314.pyc +0 -0
  1014. package/python/lib/python3.14/site-packages/djlint/__pycache__/github_output.cpython-314.pyc +0 -0
  1015. package/python/lib/python3.14/site-packages/djlint/__pycache__/helpers.cpython-314.pyc +0 -0
  1016. package/python/lib/python3.14/site-packages/djlint/__pycache__/lint.cpython-314.pyc +0 -0
  1017. package/python/lib/python3.14/site-packages/djlint/__pycache__/output.cpython-314.pyc +0 -0
  1018. package/python/lib/python3.14/site-packages/djlint/__pycache__/reformat.cpython-314.pyc +0 -0
  1019. package/python/lib/python3.14/site-packages/djlint/__pycache__/sarif_output.cpython-314.pyc +0 -0
  1020. package/python/lib/python3.14/site-packages/djlint/__pycache__/server.cpython-314.pyc +0 -0
  1021. package/python/lib/python3.14/site-packages/djlint/__pycache__/settings.cpython-314.pyc +0 -0
  1022. package/python/lib/python3.14/site-packages/djlint/__pycache__/src.cpython-314.pyc +0 -0
  1023. package/python/lib/python3.14/site-packages/djlint/_cli.cpython-314-aarch64-linux-musl.so +0 -0
  1024. package/python/lib/python3.14/site-packages/djlint/_cli.py +1006 -0
  1025. package/python/lib/python3.14/site-packages/djlint/api.cpython-314-aarch64-linux-musl.so +0 -0
  1026. package/python/lib/python3.14/site-packages/djlint/api.py +106 -0
  1027. package/python/lib/python3.14/site-packages/djlint/const.cpython-314-aarch64-linux-musl.so +0 -0
  1028. package/python/lib/python3.14/site-packages/djlint/const.py +506 -0
  1029. package/python/lib/python3.14/site-packages/djlint/formatter/__init__.cpython-314-aarch64-linux-musl.so +0 -0
  1030. package/python/lib/python3.14/site-packages/djlint/formatter/__init__.py +0 -0
  1031. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/__init__.cpython-314.pyc +0 -0
  1032. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/attribute_values.cpython-314.pyc +0 -0
  1033. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/attributes.cpython-314.pyc +0 -0
  1034. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/beautifier.cpython-314.pyc +0 -0
  1035. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/class_attributes.cpython-314.pyc +0 -0
  1036. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/compress.cpython-314.pyc +0 -0
  1037. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/condense.cpython-314.pyc +0 -0
  1038. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/css.cpython-314.pyc +0 -0
  1039. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/endblocks.cpython-314.pyc +0 -0
  1040. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/entities.cpython-314.pyc +0 -0
  1041. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/expand.cpython-314.pyc +0 -0
  1042. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/indent.cpython-314.pyc +0 -0
  1043. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/js.cpython-314.pyc +0 -0
  1044. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/load_tags.cpython-314.pyc +0 -0
  1045. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/mako.cpython-314.pyc +0 -0
  1046. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/tokenizer.cpython-314.pyc +0 -0
  1047. package/python/lib/python3.14/site-packages/djlint/formatter/attribute_values.cpython-314-aarch64-linux-musl.so +0 -0
  1048. package/python/lib/python3.14/site-packages/djlint/formatter/attribute_values.py +152 -0
  1049. package/python/lib/python3.14/site-packages/djlint/formatter/attributes.cpython-314-aarch64-linux-musl.so +0 -0
  1050. package/python/lib/python3.14/site-packages/djlint/formatter/attributes.py +580 -0
  1051. package/python/lib/python3.14/site-packages/djlint/formatter/beautifier.cpython-314-aarch64-linux-musl.so +0 -0
  1052. package/python/lib/python3.14/site-packages/djlint/formatter/beautifier.py +144 -0
  1053. package/python/lib/python3.14/site-packages/djlint/formatter/class_attributes.cpython-314-aarch64-linux-musl.so +0 -0
  1054. package/python/lib/python3.14/site-packages/djlint/formatter/class_attributes.py +318 -0
  1055. package/python/lib/python3.14/site-packages/djlint/formatter/compress.cpython-314-aarch64-linux-musl.so +0 -0
  1056. package/python/lib/python3.14/site-packages/djlint/formatter/compress.py +158 -0
  1057. package/python/lib/python3.14/site-packages/djlint/formatter/condense.cpython-314-aarch64-linux-musl.so +0 -0
  1058. package/python/lib/python3.14/site-packages/djlint/formatter/condense.py +503 -0
  1059. package/python/lib/python3.14/site-packages/djlint/formatter/css.cpython-314-aarch64-linux-musl.so +0 -0
  1060. package/python/lib/python3.14/site-packages/djlint/formatter/css.py +28 -0
  1061. package/python/lib/python3.14/site-packages/djlint/formatter/endblocks.cpython-314-aarch64-linux-musl.so +0 -0
  1062. package/python/lib/python3.14/site-packages/djlint/formatter/endblocks.py +68 -0
  1063. package/python/lib/python3.14/site-packages/djlint/formatter/entities.cpython-314-aarch64-linux-musl.so +0 -0
  1064. package/python/lib/python3.14/site-packages/djlint/formatter/entities.py +39 -0
  1065. package/python/lib/python3.14/site-packages/djlint/formatter/expand.cpython-314-aarch64-linux-musl.so +0 -0
  1066. package/python/lib/python3.14/site-packages/djlint/formatter/expand.py +576 -0
  1067. package/python/lib/python3.14/site-packages/djlint/formatter/indent.cpython-314-aarch64-linux-musl.so +0 -0
  1068. package/python/lib/python3.14/site-packages/djlint/formatter/indent.py +1239 -0
  1069. package/python/lib/python3.14/site-packages/djlint/formatter/js.cpython-314-aarch64-linux-musl.so +0 -0
  1070. package/python/lib/python3.14/site-packages/djlint/formatter/js.py +82 -0
  1071. package/python/lib/python3.14/site-packages/djlint/formatter/load_tags.cpython-314-aarch64-linux-musl.so +0 -0
  1072. package/python/lib/python3.14/site-packages/djlint/formatter/load_tags.py +60 -0
  1073. package/python/lib/python3.14/site-packages/djlint/formatter/mako.cpython-314-aarch64-linux-musl.so +0 -0
  1074. package/python/lib/python3.14/site-packages/djlint/formatter/mako.py +501 -0
  1075. package/python/lib/python3.14/site-packages/djlint/formatter/tokenizer.cpython-314-aarch64-linux-musl.so +0 -0
  1076. package/python/lib/python3.14/site-packages/djlint/formatter/tokenizer.py +359 -0
  1077. package/python/lib/python3.14/site-packages/djlint/github_output.cpython-314-aarch64-linux-musl.so +0 -0
  1078. package/python/lib/python3.14/site-packages/djlint/github_output.py +117 -0
  1079. package/python/lib/python3.14/site-packages/djlint/helpers.cpython-314-aarch64-linux-musl.so +0 -0
  1080. package/python/lib/python3.14/site-packages/djlint/helpers.py +979 -0
  1081. package/python/lib/python3.14/site-packages/djlint/lint.cpython-314-aarch64-linux-musl.so +0 -0
  1082. package/python/lib/python3.14/site-packages/djlint/lint.py +246 -0
  1083. package/python/lib/python3.14/site-packages/djlint/output.cpython-314-aarch64-linux-musl.so +0 -0
  1084. package/python/lib/python3.14/site-packages/djlint/output.py +250 -0
  1085. package/python/lib/python3.14/site-packages/djlint/py.typed +0 -0
  1086. package/python/lib/python3.14/site-packages/djlint/reformat.cpython-314-aarch64-linux-musl.so +0 -0
  1087. package/python/lib/python3.14/site-packages/djlint/reformat.py +130 -0
  1088. package/python/lib/python3.14/site-packages/djlint/rules/D058.cpython-314-aarch64-linux-musl.so +0 -0
  1089. package/python/lib/python3.14/site-packages/djlint/rules/D058.py +78 -0
  1090. package/python/lib/python3.14/site-packages/djlint/rules/D059.cpython-314-aarch64-linux-musl.so +0 -0
  1091. package/python/lib/python3.14/site-packages/djlint/rules/D059.py +139 -0
  1092. package/python/lib/python3.14/site-packages/djlint/rules/H009.cpython-314-aarch64-linux-musl.so +0 -0
  1093. package/python/lib/python3.14/site-packages/djlint/rules/H009.py +54 -0
  1094. package/python/lib/python3.14/site-packages/djlint/rules/H012.cpython-314-aarch64-linux-musl.so +0 -0
  1095. package/python/lib/python3.14/site-packages/djlint/rules/H012.py +240 -0
  1096. package/python/lib/python3.14/site-packages/djlint/rules/H014.cpython-314-aarch64-linux-musl.so +0 -0
  1097. package/python/lib/python3.14/site-packages/djlint/rules/H014.py +68 -0
  1098. package/python/lib/python3.14/site-packages/djlint/rules/H016.cpython-314-aarch64-linux-musl.so +0 -0
  1099. package/python/lib/python3.14/site-packages/djlint/rules/H016.py +83 -0
  1100. package/python/lib/python3.14/site-packages/djlint/rules/H022.cpython-314-aarch64-linux-musl.so +0 -0
  1101. package/python/lib/python3.14/site-packages/djlint/rules/H022.py +161 -0
  1102. package/python/lib/python3.14/site-packages/djlint/rules/H025.cpython-314-aarch64-linux-musl.so +0 -0
  1103. package/python/lib/python3.14/site-packages/djlint/rules/H025.py +141 -0
  1104. package/python/lib/python3.14/site-packages/djlint/rules/H036.cpython-314-aarch64-linux-musl.so +0 -0
  1105. package/python/lib/python3.14/site-packages/djlint/rules/H036.py +183 -0
  1106. package/python/lib/python3.14/site-packages/djlint/rules/H037.cpython-314-aarch64-linux-musl.so +0 -0
  1107. package/python/lib/python3.14/site-packages/djlint/rules/H037.py +138 -0
  1108. package/python/lib/python3.14/site-packages/djlint/rules/H041.cpython-314-aarch64-linux-musl.so +0 -0
  1109. package/python/lib/python3.14/site-packages/djlint/rules/H041.py +113 -0
  1110. package/python/lib/python3.14/site-packages/djlint/rules/H042.cpython-314-aarch64-linux-musl.so +0 -0
  1111. package/python/lib/python3.14/site-packages/djlint/rules/H042.py +199 -0
  1112. package/python/lib/python3.14/site-packages/djlint/rules/H044.cpython-314-aarch64-linux-musl.so +0 -0
  1113. package/python/lib/python3.14/site-packages/djlint/rules/H044.py +119 -0
  1114. package/python/lib/python3.14/site-packages/djlint/rules/H047.cpython-314-aarch64-linux-musl.so +0 -0
  1115. package/python/lib/python3.14/site-packages/djlint/rules/H047.py +118 -0
  1116. package/python/lib/python3.14/site-packages/djlint/rules/H048.cpython-314-aarch64-linux-musl.so +0 -0
  1117. package/python/lib/python3.14/site-packages/djlint/rules/H048.py +82 -0
  1118. package/python/lib/python3.14/site-packages/djlint/rules/H051.cpython-314-aarch64-linux-musl.so +0 -0
  1119. package/python/lib/python3.14/site-packages/djlint/rules/H051.py +98 -0
  1120. package/python/lib/python3.14/site-packages/djlint/rules/H053.cpython-314-aarch64-linux-musl.so +0 -0
  1121. package/python/lib/python3.14/site-packages/djlint/rules/H053.py +361 -0
  1122. package/python/lib/python3.14/site-packages/djlint/rules/H054.cpython-314-aarch64-linux-musl.so +0 -0
  1123. package/python/lib/python3.14/site-packages/djlint/rules/H054.py +264 -0
  1124. package/python/lib/python3.14/site-packages/djlint/rules/H057.cpython-314-aarch64-linux-musl.so +0 -0
  1125. package/python/lib/python3.14/site-packages/djlint/rules/H057.py +235 -0
  1126. package/python/lib/python3.14/site-packages/djlint/rules/T001.cpython-314-aarch64-linux-musl.so +0 -0
  1127. package/python/lib/python3.14/site-packages/djlint/rules/T001.py +103 -0
  1128. package/python/lib/python3.14/site-packages/djlint/rules/T002.cpython-314-aarch64-linux-musl.so +0 -0
  1129. package/python/lib/python3.14/site-packages/djlint/rules/T002.py +75 -0
  1130. package/python/lib/python3.14/site-packages/djlint/rules/T003.cpython-314-aarch64-linux-musl.so +0 -0
  1131. package/python/lib/python3.14/site-packages/djlint/rules/T003.py +93 -0
  1132. package/python/lib/python3.14/site-packages/djlint/rules/T027.cpython-314-aarch64-linux-musl.so +0 -0
  1133. package/python/lib/python3.14/site-packages/djlint/rules/T027.py +183 -0
  1134. package/python/lib/python3.14/site-packages/djlint/rules/T038.cpython-314-aarch64-linux-musl.so +0 -0
  1135. package/python/lib/python3.14/site-packages/djlint/rules/T038.py +152 -0
  1136. package/python/lib/python3.14/site-packages/djlint/rules/T039.cpython-314-aarch64-linux-musl.so +0 -0
  1137. package/python/lib/python3.14/site-packages/djlint/rules/T039.py +167 -0
  1138. package/python/lib/python3.14/site-packages/djlint/rules/T041.cpython-314-aarch64-linux-musl.so +0 -0
  1139. package/python/lib/python3.14/site-packages/djlint/rules/T041.py +307 -0
  1140. package/python/lib/python3.14/site-packages/djlint/rules/T042.cpython-314-aarch64-linux-musl.so +0 -0
  1141. package/python/lib/python3.14/site-packages/djlint/rules/T042.py +219 -0
  1142. package/python/lib/python3.14/site-packages/djlint/rules/T043.cpython-314-aarch64-linux-musl.so +0 -0
  1143. package/python/lib/python3.14/site-packages/djlint/rules/T043.py +154 -0
  1144. package/python/lib/python3.14/site-packages/djlint/rules/T044.cpython-314-aarch64-linux-musl.so +0 -0
  1145. package/python/lib/python3.14/site-packages/djlint/rules/T044.py +189 -0
  1146. package/python/lib/python3.14/site-packages/djlint/rules/T045.cpython-314-aarch64-linux-musl.so +0 -0
  1147. package/python/lib/python3.14/site-packages/djlint/rules/T045.py +281 -0
  1148. package/python/lib/python3.14/site-packages/djlint/rules/__init__.cpython-314-aarch64-linux-musl.so +0 -0
  1149. package/python/lib/python3.14/site-packages/djlint/rules/__init__.py +0 -0
  1150. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/D058.cpython-314.pyc +0 -0
  1151. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/D059.cpython-314.pyc +0 -0
  1152. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H009.cpython-314.pyc +0 -0
  1153. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H012.cpython-314.pyc +0 -0
  1154. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H014.cpython-314.pyc +0 -0
  1155. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H016.cpython-314.pyc +0 -0
  1156. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H022.cpython-314.pyc +0 -0
  1157. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H025.cpython-314.pyc +0 -0
  1158. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H036.cpython-314.pyc +0 -0
  1159. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H037.cpython-314.pyc +0 -0
  1160. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H041.cpython-314.pyc +0 -0
  1161. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H042.cpython-314.pyc +0 -0
  1162. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H044.cpython-314.pyc +0 -0
  1163. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H047.cpython-314.pyc +0 -0
  1164. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H048.cpython-314.pyc +0 -0
  1165. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H051.cpython-314.pyc +0 -0
  1166. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H053.cpython-314.pyc +0 -0
  1167. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H054.cpython-314.pyc +0 -0
  1168. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H057.cpython-314.pyc +0 -0
  1169. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T001.cpython-314.pyc +0 -0
  1170. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T002.cpython-314.pyc +0 -0
  1171. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T003.cpython-314.pyc +0 -0
  1172. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T027.cpython-314.pyc +0 -0
  1173. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T038.cpython-314.pyc +0 -0
  1174. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T039.cpython-314.pyc +0 -0
  1175. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T041.cpython-314.pyc +0 -0
  1176. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T042.cpython-314.pyc +0 -0
  1177. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T043.cpython-314.pyc +0 -0
  1178. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T044.cpython-314.pyc +0 -0
  1179. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T045.cpython-314.pyc +0 -0
  1180. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/__init__.cpython-314.pyc +0 -0
  1181. package/python/lib/python3.14/site-packages/djlint/rules.yaml +482 -0
  1182. package/python/lib/python3.14/site-packages/djlint/sarif_output.cpython-314-aarch64-linux-musl.so +0 -0
  1183. package/python/lib/python3.14/site-packages/djlint/sarif_output.py +171 -0
  1184. package/python/lib/python3.14/site-packages/djlint/server.cpython-314-aarch64-linux-musl.so +0 -0
  1185. package/python/lib/python3.14/site-packages/djlint/server.py +983 -0
  1186. package/python/lib/python3.14/site-packages/djlint/settings.cpython-314-aarch64-linux-musl.so +0 -0
  1187. package/python/lib/python3.14/site-packages/djlint/settings.py +2381 -0
  1188. package/python/lib/python3.14/site-packages/djlint/src.cpython-314-aarch64-linux-musl.so +0 -0
  1189. package/python/lib/python3.14/site-packages/djlint/src.py +192 -0
  1190. package/python/lib/python3.14/site-packages/djlint/types.pyi +20 -0
  1191. package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/INSTALLER +1 -0
  1192. package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/METADATA +236 -0
  1193. package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/RECORD +133 -0
  1194. package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/REQUESTED +0 -0
  1195. package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/WHEEL +5 -0
  1196. package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/entry_points.txt +2 -0
  1197. package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/licenses/LICENSE +675 -0
  1198. package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/licenses/LICENSE-THIRD-PARTY +271 -0
  1199. package/python/lib/python3.14/site-packages/ed0510dfe26979f3c42b__mypyc.cpython-314-aarch64-linux-musl.so +0 -0
  1200. package/python/lib/python3.14/site-packages/editorconfig/__init__.py +20 -0
  1201. package/python/lib/python3.14/site-packages/editorconfig/__main__.py +83 -0
  1202. package/python/lib/python3.14/site-packages/editorconfig/__pycache__/__init__.cpython-314.pyc +0 -0
  1203. package/python/lib/python3.14/site-packages/editorconfig/__pycache__/__main__.cpython-314.pyc +0 -0
  1204. package/python/lib/python3.14/site-packages/editorconfig/__pycache__/exceptions.cpython-314.pyc +0 -0
  1205. package/python/lib/python3.14/site-packages/editorconfig/__pycache__/fnmatch.cpython-314.pyc +0 -0
  1206. package/python/lib/python3.14/site-packages/editorconfig/__pycache__/handler.cpython-314.pyc +0 -0
  1207. package/python/lib/python3.14/site-packages/editorconfig/__pycache__/ini.cpython-314.pyc +0 -0
  1208. package/python/lib/python3.14/site-packages/editorconfig/__pycache__/version.cpython-314.pyc +0 -0
  1209. package/python/lib/python3.14/site-packages/editorconfig/__pycache__/versiontools.cpython-314.pyc +0 -0
  1210. package/python/lib/python3.14/site-packages/editorconfig/exceptions.py +24 -0
  1211. package/python/lib/python3.14/site-packages/editorconfig/fnmatch.py +224 -0
  1212. package/python/lib/python3.14/site-packages/editorconfig/handler.py +128 -0
  1213. package/python/lib/python3.14/site-packages/editorconfig/ini.py +173 -0
  1214. package/python/lib/python3.14/site-packages/editorconfig/py.typed +0 -0
  1215. package/python/lib/python3.14/site-packages/editorconfig/version.py +1 -0
  1216. package/python/lib/python3.14/site-packages/editorconfig/versiontools.py +36 -0
  1217. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/INSTALLER +1 -0
  1218. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/METADATA +116 -0
  1219. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/RECORD +20 -0
  1220. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/REQUESTED +0 -0
  1221. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/WHEEL +5 -0
  1222. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/entry_points.txt +2 -0
  1223. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/licenses/COPYING +11 -0
  1224. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/licenses/LICENSE.BSD +22 -0
  1225. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/licenses/LICENSE.PSF +192 -0
  1226. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/top_level.txt +1 -0
  1227. package/python/lib/python3.14/site-packages/jsbeautifier/__init__.py +309 -0
  1228. package/python/lib/python3.14/site-packages/jsbeautifier/__pycache__/__init__.cpython-314.pyc +0 -0
  1229. package/python/lib/python3.14/site-packages/jsbeautifier/__pycache__/__version__.cpython-314.pyc +0 -0
  1230. package/python/lib/python3.14/site-packages/jsbeautifier/__version__.py +1 -0
  1231. package/python/lib/python3.14/site-packages/jsbeautifier/cli/__init__.py +210 -0
  1232. package/python/lib/python3.14/site-packages/jsbeautifier/cli/__pycache__/__init__.cpython-314.pyc +0 -0
  1233. package/python/lib/python3.14/site-packages/jsbeautifier/core/__init__.py +1 -0
  1234. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/__init__.cpython-314.pyc +0 -0
  1235. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/directives.cpython-314.pyc +0 -0
  1236. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/inputscanner.cpython-314.pyc +0 -0
  1237. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/options.cpython-314.pyc +0 -0
  1238. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/output.cpython-314.pyc +0 -0
  1239. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/pattern.cpython-314.pyc +0 -0
  1240. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/templatablepattern.cpython-314.pyc +0 -0
  1241. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/token.cpython-314.pyc +0 -0
  1242. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/tokenizer.cpython-314.pyc +0 -0
  1243. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/tokenstream.cpython-314.pyc +0 -0
  1244. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/whitespacepattern.cpython-314.pyc +0 -0
  1245. package/python/lib/python3.14/site-packages/jsbeautifier/core/directives.py +55 -0
  1246. package/python/lib/python3.14/site-packages/jsbeautifier/core/inputscanner.py +139 -0
  1247. package/python/lib/python3.14/site-packages/jsbeautifier/core/options.py +230 -0
  1248. package/python/lib/python3.14/site-packages/jsbeautifier/core/output.py +352 -0
  1249. package/python/lib/python3.14/site-packages/jsbeautifier/core/pattern.py +83 -0
  1250. package/python/lib/python3.14/site-packages/jsbeautifier/core/templatablepattern.py +192 -0
  1251. package/python/lib/python3.14/site-packages/jsbeautifier/core/token.py +38 -0
  1252. package/python/lib/python3.14/site-packages/jsbeautifier/core/tokenizer.py +138 -0
  1253. package/python/lib/python3.14/site-packages/jsbeautifier/core/tokenstream.py +74 -0
  1254. package/python/lib/python3.14/site-packages/jsbeautifier/core/whitespacepattern.py +73 -0
  1255. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__init__.py +1 -0
  1256. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/__init__.cpython-314.pyc +0 -0
  1257. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/acorn.cpython-314.pyc +0 -0
  1258. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/beautifier.cpython-314.pyc +0 -0
  1259. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/options.cpython-314.pyc +0 -0
  1260. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/tokenizer.cpython-314.pyc +0 -0
  1261. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/acorn.py +81 -0
  1262. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/beautifier.py +1647 -0
  1263. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/options.py +102 -0
  1264. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/tokenizer.py +628 -0
  1265. package/python/lib/python3.14/site-packages/jsbeautifier/tests/__init__.py +1 -0
  1266. package/python/lib/python3.14/site-packages/jsbeautifier/tests/__pycache__/__init__.cpython-314.pyc +0 -0
  1267. package/python/lib/python3.14/site-packages/jsbeautifier/tests/__pycache__/testindentation.cpython-314.pyc +0 -0
  1268. package/python/lib/python3.14/site-packages/jsbeautifier/tests/generated/__init__.py +1 -0
  1269. package/python/lib/python3.14/site-packages/jsbeautifier/tests/generated/__pycache__/__init__.cpython-314.pyc +0 -0
  1270. package/python/lib/python3.14/site-packages/jsbeautifier/tests/generated/__pycache__/tests.cpython-314.pyc +0 -0
  1271. package/python/lib/python3.14/site-packages/jsbeautifier/tests/generated/tests.py +10470 -0
  1272. package/python/lib/python3.14/site-packages/jsbeautifier/tests/testindentation.py +49 -0
  1273. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__init__.py +73 -0
  1274. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/__init__.cpython-314.pyc +0 -0
  1275. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/evalbased.cpython-314.pyc +0 -0
  1276. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/javascriptobfuscator.cpython-314.pyc +0 -0
  1277. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/myobfuscate.cpython-314.pyc +0 -0
  1278. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/packer.cpython-314.pyc +0 -0
  1279. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/urlencode.cpython-314.pyc +0 -0
  1280. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/evalbased.py +44 -0
  1281. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/javascriptobfuscator.py +61 -0
  1282. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/myobfuscate.py +83 -0
  1283. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/packer.py +158 -0
  1284. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__init__.py +2 -0
  1285. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/__init__.cpython-314.pyc +0 -0
  1286. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/testjavascriptobfuscator.cpython-314.pyc +0 -0
  1287. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/testmyobfuscate.cpython-314.pyc +0 -0
  1288. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/testpacker.cpython-314.pyc +0 -0
  1289. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/testurlencode.cpython-314.pyc +0 -0
  1290. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/testjavascriptobfuscator.py +59 -0
  1291. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/testmyobfuscate.py +48 -0
  1292. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/testpacker.py +72 -0
  1293. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/testurlencode.py +46 -0
  1294. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/urlencode.py +32 -0
  1295. package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/INSTALLER +1 -0
  1296. package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/METADATA +18 -0
  1297. package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/RECORD +42 -0
  1298. package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/REQUESTED +0 -0
  1299. package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/WHEEL +5 -0
  1300. package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/entry_points.txt +2 -0
  1301. package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/top_level.txt +1 -0
  1302. package/python/lib/python3.14/site-packages/json5/__init__.py +30 -0
  1303. package/python/lib/python3.14/site-packages/json5/__main__.py +22 -0
  1304. package/python/lib/python3.14/site-packages/json5/__pycache__/__init__.cpython-314.pyc +0 -0
  1305. package/python/lib/python3.14/site-packages/json5/__pycache__/__main__.cpython-314.pyc +0 -0
  1306. package/python/lib/python3.14/site-packages/json5/__pycache__/host.cpython-314.pyc +0 -0
  1307. package/python/lib/python3.14/site-packages/json5/__pycache__/lib.cpython-314.pyc +0 -0
  1308. package/python/lib/python3.14/site-packages/json5/__pycache__/parser.cpython-314.pyc +0 -0
  1309. package/python/lib/python3.14/site-packages/json5/__pycache__/tool.cpython-314.pyc +0 -0
  1310. package/python/lib/python3.14/site-packages/json5/__pycache__/version.cpython-314.pyc +0 -0
  1311. package/python/lib/python3.14/site-packages/json5/host.py +53 -0
  1312. package/python/lib/python3.14/site-packages/json5/lib.py +1007 -0
  1313. package/python/lib/python3.14/site-packages/json5/parser.py +1376 -0
  1314. package/python/lib/python3.14/site-packages/json5/py.typed +0 -0
  1315. package/python/lib/python3.14/site-packages/json5/tool.py +198 -0
  1316. package/python/lib/python3.14/site-packages/json5/version.py +18 -0
  1317. package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/INSTALLER +1 -0
  1318. package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/METADATA +585 -0
  1319. package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/RECORD +17 -0
  1320. package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/REQUESTED +0 -0
  1321. package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/WHEEL +5 -0
  1322. package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/entry_points.txt +2 -0
  1323. package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/licenses/LICENSE +281 -0
  1324. package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/top_level.txt +1 -0
  1325. package/python/lib/python3.14/site-packages/pathspec/__init__.py +68 -0
  1326. package/python/lib/python3.14/site-packages/pathspec/__pycache__/__init__.cpython-314.pyc +0 -0
  1327. package/python/lib/python3.14/site-packages/pathspec/__pycache__/_meta.cpython-314.pyc +0 -0
  1328. package/python/lib/python3.14/site-packages/pathspec/__pycache__/_typing.cpython-314.pyc +0 -0
  1329. package/python/lib/python3.14/site-packages/pathspec/__pycache__/_version.cpython-314.pyc +0 -0
  1330. package/python/lib/python3.14/site-packages/pathspec/__pycache__/backend.cpython-314.pyc +0 -0
  1331. package/python/lib/python3.14/site-packages/pathspec/__pycache__/gitignore.cpython-314.pyc +0 -0
  1332. package/python/lib/python3.14/site-packages/pathspec/__pycache__/pathspec.cpython-314.pyc +0 -0
  1333. package/python/lib/python3.14/site-packages/pathspec/__pycache__/pattern.cpython-314.pyc +0 -0
  1334. package/python/lib/python3.14/site-packages/pathspec/__pycache__/util.cpython-314.pyc +0 -0
  1335. package/python/lib/python3.14/site-packages/pathspec/_backends/__init__.py +4 -0
  1336. package/python/lib/python3.14/site-packages/pathspec/_backends/__pycache__/__init__.cpython-314.pyc +0 -0
  1337. package/python/lib/python3.14/site-packages/pathspec/_backends/__pycache__/_utils.cpython-314.pyc +0 -0
  1338. package/python/lib/python3.14/site-packages/pathspec/_backends/__pycache__/agg.cpython-314.pyc +0 -0
  1339. package/python/lib/python3.14/site-packages/pathspec/_backends/_utils.py +45 -0
  1340. package/python/lib/python3.14/site-packages/pathspec/_backends/agg.py +104 -0
  1341. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__init__.py +0 -0
  1342. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/__init__.cpython-314.pyc +0 -0
  1343. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/_base.cpython-314.pyc +0 -0
  1344. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/base.cpython-314.pyc +0 -0
  1345. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/gitignore.cpython-314.pyc +0 -0
  1346. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/pathspec.cpython-314.pyc +0 -0
  1347. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/_base.py +78 -0
  1348. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/base.py +24 -0
  1349. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/gitignore.py +250 -0
  1350. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/pathspec.py +257 -0
  1351. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__init__.py +0 -0
  1352. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/__init__.cpython-314.pyc +0 -0
  1353. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/_base.cpython-314.pyc +0 -0
  1354. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/base.cpython-314.pyc +0 -0
  1355. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/gitignore.cpython-314.pyc +0 -0
  1356. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/pathspec.cpython-314.pyc +0 -0
  1357. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/_base.py +95 -0
  1358. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/base.py +18 -0
  1359. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/gitignore.py +180 -0
  1360. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/pathspec.py +189 -0
  1361. package/python/lib/python3.14/site-packages/pathspec/_backends/simple/__init__.py +0 -0
  1362. package/python/lib/python3.14/site-packages/pathspec/_backends/simple/__pycache__/__init__.cpython-314.pyc +0 -0
  1363. package/python/lib/python3.14/site-packages/pathspec/_backends/simple/__pycache__/gitignore.cpython-314.pyc +0 -0
  1364. package/python/lib/python3.14/site-packages/pathspec/_backends/simple/__pycache__/pathspec.cpython-314.pyc +0 -0
  1365. package/python/lib/python3.14/site-packages/pathspec/_backends/simple/gitignore.py +104 -0
  1366. package/python/lib/python3.14/site-packages/pathspec/_backends/simple/pathspec.py +76 -0
  1367. package/python/lib/python3.14/site-packages/pathspec/_meta.py +70 -0
  1368. package/python/lib/python3.14/site-packages/pathspec/_typing.py +64 -0
  1369. package/python/lib/python3.14/site-packages/pathspec/_version.py +5 -0
  1370. package/python/lib/python3.14/site-packages/pathspec/backend.py +51 -0
  1371. package/python/lib/python3.14/site-packages/pathspec/gitignore.py +172 -0
  1372. package/python/lib/python3.14/site-packages/pathspec/pathspec.py +527 -0
  1373. package/python/lib/python3.14/site-packages/pathspec/pattern.py +259 -0
  1374. package/python/lib/python3.14/site-packages/pathspec/patterns/__init__.py +12 -0
  1375. package/python/lib/python3.14/site-packages/pathspec/patterns/__pycache__/__init__.cpython-314.pyc +0 -0
  1376. package/python/lib/python3.14/site-packages/pathspec/patterns/__pycache__/gitwildmatch.cpython-314.pyc +0 -0
  1377. package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__init__.py +17 -0
  1378. package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__pycache__/__init__.cpython-314.pyc +0 -0
  1379. package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__pycache__/base.cpython-314.pyc +0 -0
  1380. package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__pycache__/basic.cpython-314.pyc +0 -0
  1381. package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__pycache__/spec.cpython-314.pyc +0 -0
  1382. package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/base.py +210 -0
  1383. package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/basic.py +320 -0
  1384. package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/spec.py +344 -0
  1385. package/python/lib/python3.14/site-packages/pathspec/patterns/gitwildmatch.py +52 -0
  1386. package/python/lib/python3.14/site-packages/pathspec/py.typed +1 -0
  1387. package/python/lib/python3.14/site-packages/pathspec/util.py +864 -0
  1388. package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/INSTALLER +1 -0
  1389. package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/METADATA +392 -0
  1390. package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/RECORD +38 -0
  1391. package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/REQUESTED +0 -0
  1392. package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/WHEEL +4 -0
  1393. package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/licenses/LICENSE +373 -0
  1394. package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/INSTALLER +1 -0
  1395. package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/METADATA +59 -0
  1396. package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/RECORD +26 -0
  1397. package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/REQUESTED +0 -0
  1398. package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/WHEEL +5 -0
  1399. package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/licenses/LICENSE +20 -0
  1400. package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/top_level.txt +2 -0
  1401. package/python/lib/python3.14/site-packages/regex/__init__.py +3 -0
  1402. package/python/lib/python3.14/site-packages/regex/__pycache__/__init__.cpython-314.pyc +0 -0
  1403. package/python/lib/python3.14/site-packages/regex/__pycache__/_main.cpython-314.pyc +0 -0
  1404. package/python/lib/python3.14/site-packages/regex/__pycache__/_regex_core.cpython-314.pyc +0 -0
  1405. package/python/lib/python3.14/site-packages/regex/_main.py +759 -0
  1406. package/python/lib/python3.14/site-packages/regex/_regex.cpython-314-aarch64-linux-musl.so +0 -0
  1407. package/python/lib/python3.14/site-packages/regex/_regex_core.py +4689 -0
  1408. package/python/lib/python3.14/site-packages/regex/tests/__pycache__/test_regex.cpython-314.pyc +0 -0
  1409. package/python/lib/python3.14/site-packages/regex/tests/test_regex.py +4557 -0
  1410. package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/INSTALLER +1 -0
  1411. package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/METADATA +1060 -0
  1412. package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/RECORD +12 -0
  1413. package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/REQUESTED +0 -0
  1414. package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/WHEEL +5 -0
  1415. package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/licenses/LICENSE.txt +208 -0
  1416. package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/top_level.txt +1 -0
  1417. package/python/lib/python3.14/site-packages/yaml/__init__.py +390 -0
  1418. package/python/lib/python3.14/site-packages/yaml/__pycache__/__init__.cpython-314.pyc +0 -0
  1419. package/python/lib/python3.14/site-packages/yaml/__pycache__/composer.cpython-314.pyc +0 -0
  1420. package/python/lib/python3.14/site-packages/yaml/__pycache__/constructor.cpython-314.pyc +0 -0
  1421. package/python/lib/python3.14/site-packages/yaml/__pycache__/cyaml.cpython-314.pyc +0 -0
  1422. package/python/lib/python3.14/site-packages/yaml/__pycache__/dumper.cpython-314.pyc +0 -0
  1423. package/python/lib/python3.14/site-packages/yaml/__pycache__/emitter.cpython-314.pyc +0 -0
  1424. package/python/lib/python3.14/site-packages/yaml/__pycache__/error.cpython-314.pyc +0 -0
  1425. package/python/lib/python3.14/site-packages/yaml/__pycache__/events.cpython-314.pyc +0 -0
  1426. package/python/lib/python3.14/site-packages/yaml/__pycache__/loader.cpython-314.pyc +0 -0
  1427. package/python/lib/python3.14/site-packages/yaml/__pycache__/nodes.cpython-314.pyc +0 -0
  1428. package/python/lib/python3.14/site-packages/yaml/__pycache__/parser.cpython-314.pyc +0 -0
  1429. package/python/lib/python3.14/site-packages/yaml/__pycache__/reader.cpython-314.pyc +0 -0
  1430. package/python/lib/python3.14/site-packages/yaml/__pycache__/representer.cpython-314.pyc +0 -0
  1431. package/python/lib/python3.14/site-packages/yaml/__pycache__/resolver.cpython-314.pyc +0 -0
  1432. package/python/lib/python3.14/site-packages/yaml/__pycache__/scanner.cpython-314.pyc +0 -0
  1433. package/python/lib/python3.14/site-packages/yaml/__pycache__/serializer.cpython-314.pyc +0 -0
  1434. package/python/lib/python3.14/site-packages/yaml/__pycache__/tokens.cpython-314.pyc +0 -0
  1435. package/python/lib/python3.14/site-packages/yaml/_yaml.cpython-314-aarch64-linux-musl.so +0 -0
  1436. package/python/lib/python3.14/site-packages/yaml/composer.py +139 -0
  1437. package/python/lib/python3.14/site-packages/yaml/constructor.py +748 -0
  1438. package/python/lib/python3.14/site-packages/yaml/cyaml.py +101 -0
  1439. package/python/lib/python3.14/site-packages/yaml/dumper.py +62 -0
  1440. package/python/lib/python3.14/site-packages/yaml/emitter.py +1137 -0
  1441. package/python/lib/python3.14/site-packages/yaml/error.py +75 -0
  1442. package/python/lib/python3.14/site-packages/yaml/events.py +86 -0
  1443. package/python/lib/python3.14/site-packages/yaml/loader.py +63 -0
  1444. package/python/lib/python3.14/site-packages/yaml/nodes.py +49 -0
  1445. package/python/lib/python3.14/site-packages/yaml/parser.py +589 -0
  1446. package/python/lib/python3.14/site-packages/yaml/reader.py +185 -0
  1447. package/python/lib/python3.14/site-packages/yaml/representer.py +389 -0
  1448. package/python/lib/python3.14/site-packages/yaml/resolver.py +227 -0
  1449. package/python/lib/python3.14/site-packages/yaml/scanner.py +1435 -0
  1450. package/python/lib/python3.14/site-packages/yaml/serializer.py +111 -0
  1451. package/python/lib/python3.14/site-packages/yaml/tokens.py +104 -0
  1452. package/python/lib/python3.14/site.py +779 -0
  1453. package/python/lib/python3.14/smtplib.py +1121 -0
  1454. package/python/lib/python3.14/socket.py +994 -0
  1455. package/python/lib/python3.14/socketserver.py +863 -0
  1456. package/python/lib/python3.14/sqlite3/__init__.py +57 -0
  1457. package/python/lib/python3.14/sqlite3/__main__.py +139 -0
  1458. package/python/lib/python3.14/sqlite3/__pycache__/__init__.cpython-314.pyc +0 -0
  1459. package/python/lib/python3.14/sqlite3/__pycache__/__main__.cpython-314.pyc +0 -0
  1460. package/python/lib/python3.14/sqlite3/__pycache__/dbapi2.cpython-314.pyc +0 -0
  1461. package/python/lib/python3.14/sqlite3/__pycache__/dump.cpython-314.pyc +0 -0
  1462. package/python/lib/python3.14/sqlite3/dbapi2.py +96 -0
  1463. package/python/lib/python3.14/sqlite3/dump.py +118 -0
  1464. package/python/lib/python3.14/sre_compile.py +7 -0
  1465. package/python/lib/python3.14/sre_constants.py +7 -0
  1466. package/python/lib/python3.14/sre_parse.py +7 -0
  1467. package/python/lib/python3.14/ssl.py +1552 -0
  1468. package/python/lib/python3.14/stat.py +212 -0
  1469. package/python/lib/python3.14/statistics.py +1879 -0
  1470. package/python/lib/python3.14/string/__init__.py +332 -0
  1471. package/python/lib/python3.14/string/__pycache__/__init__.cpython-314.pyc +0 -0
  1472. package/python/lib/python3.14/string/__pycache__/templatelib.cpython-314.pyc +0 -0
  1473. package/python/lib/python3.14/string/templatelib.py +33 -0
  1474. package/python/lib/python3.14/stringprep.py +456 -0
  1475. package/python/lib/python3.14/struct.py +15 -0
  1476. package/python/lib/python3.14/subprocess.py +2257 -0
  1477. package/python/lib/python3.14/symtable.py +451 -0
  1478. package/python/lib/python3.14/sysconfig/__init__.py +798 -0
  1479. package/python/lib/python3.14/sysconfig/__main__.py +276 -0
  1480. package/python/lib/python3.14/sysconfig/__pycache__/__init__.cpython-314.pyc +0 -0
  1481. package/python/lib/python3.14/sysconfig/__pycache__/__main__.cpython-314.pyc +0 -0
  1482. package/python/lib/python3.14/tabnanny.py +338 -0
  1483. package/python/lib/python3.14/tarfile.py +3228 -0
  1484. package/python/lib/python3.14/tempfile.py +1057 -0
  1485. package/python/lib/python3.14/textwrap.py +475 -0
  1486. package/python/lib/python3.14/this.py +28 -0
  1487. package/python/lib/python3.14/threading.py +1643 -0
  1488. package/python/lib/python3.14/timeit.py +378 -0
  1489. package/python/lib/python3.14/token.py +144 -0
  1490. package/python/lib/python3.14/tokenize.py +598 -0
  1491. package/python/lib/python3.14/tomllib/__init__.py +10 -0
  1492. package/python/lib/python3.14/tomllib/__pycache__/__init__.cpython-314.pyc +0 -0
  1493. package/python/lib/python3.14/tomllib/__pycache__/_parser.cpython-314.pyc +0 -0
  1494. package/python/lib/python3.14/tomllib/__pycache__/_re.cpython-314.pyc +0 -0
  1495. package/python/lib/python3.14/tomllib/__pycache__/_types.cpython-314.pyc +0 -0
  1496. package/python/lib/python3.14/tomllib/_parser.py +765 -0
  1497. package/python/lib/python3.14/tomllib/_re.py +113 -0
  1498. package/python/lib/python3.14/tomllib/_types.py +10 -0
  1499. package/python/lib/python3.14/tomllib/mypy.ini +15 -0
  1500. package/python/lib/python3.14/trace.py +751 -0
  1501. package/python/lib/python3.14/traceback.py +1751 -0
  1502. package/python/lib/python3.14/tracemalloc.py +560 -0
  1503. package/python/lib/python3.14/tty.py +73 -0
  1504. package/python/lib/python3.14/types.py +345 -0
  1505. package/python/lib/python3.14/typing.py +3866 -0
  1506. package/python/lib/python3.14/unittest/__init__.py +80 -0
  1507. package/python/lib/python3.14/unittest/__main__.py +18 -0
  1508. package/python/lib/python3.14/unittest/__pycache__/__init__.cpython-314.pyc +0 -0
  1509. package/python/lib/python3.14/unittest/__pycache__/__main__.cpython-314.pyc +0 -0
  1510. package/python/lib/python3.14/unittest/__pycache__/_log.cpython-314.pyc +0 -0
  1511. package/python/lib/python3.14/unittest/__pycache__/async_case.cpython-314.pyc +0 -0
  1512. package/python/lib/python3.14/unittest/__pycache__/case.cpython-314.pyc +0 -0
  1513. package/python/lib/python3.14/unittest/__pycache__/loader.cpython-314.pyc +0 -0
  1514. package/python/lib/python3.14/unittest/__pycache__/main.cpython-314.pyc +0 -0
  1515. package/python/lib/python3.14/unittest/__pycache__/mock.cpython-314.pyc +0 -0
  1516. package/python/lib/python3.14/unittest/__pycache__/result.cpython-314.pyc +0 -0
  1517. package/python/lib/python3.14/unittest/__pycache__/runner.cpython-314.pyc +0 -0
  1518. package/python/lib/python3.14/unittest/__pycache__/signals.cpython-314.pyc +0 -0
  1519. package/python/lib/python3.14/unittest/__pycache__/suite.cpython-314.pyc +0 -0
  1520. package/python/lib/python3.14/unittest/__pycache__/util.cpython-314.pyc +0 -0
  1521. package/python/lib/python3.14/unittest/_log.py +86 -0
  1522. package/python/lib/python3.14/unittest/async_case.py +158 -0
  1523. package/python/lib/python3.14/unittest/case.py +1628 -0
  1524. package/python/lib/python3.14/unittest/loader.py +491 -0
  1525. package/python/lib/python3.14/unittest/main.py +280 -0
  1526. package/python/lib/python3.14/unittest/mock.py +3208 -0
  1527. package/python/lib/python3.14/unittest/result.py +259 -0
  1528. package/python/lib/python3.14/unittest/runner.py +313 -0
  1529. package/python/lib/python3.14/unittest/signals.py +71 -0
  1530. package/python/lib/python3.14/unittest/suite.py +379 -0
  1531. package/python/lib/python3.14/unittest/util.py +170 -0
  1532. package/python/lib/python3.14/urllib/__init__.py +0 -0
  1533. package/python/lib/python3.14/urllib/__pycache__/__init__.cpython-314.pyc +0 -0
  1534. package/python/lib/python3.14/urllib/__pycache__/error.cpython-314.pyc +0 -0
  1535. package/python/lib/python3.14/urllib/__pycache__/parse.cpython-314.pyc +0 -0
  1536. package/python/lib/python3.14/urllib/__pycache__/request.cpython-314.pyc +0 -0
  1537. package/python/lib/python3.14/urllib/__pycache__/response.cpython-314.pyc +0 -0
  1538. package/python/lib/python3.14/urllib/__pycache__/robotparser.cpython-314.pyc +0 -0
  1539. package/python/lib/python3.14/urllib/error.py +74 -0
  1540. package/python/lib/python3.14/urllib/parse.py +1289 -0
  1541. package/python/lib/python3.14/urllib/request.py +2175 -0
  1542. package/python/lib/python3.14/urllib/response.py +84 -0
  1543. package/python/lib/python3.14/urllib/robotparser.py +363 -0
  1544. package/python/lib/python3.14/uuid.py +1013 -0
  1545. package/python/lib/python3.14/venv/__init__.py +700 -0
  1546. package/python/lib/python3.14/venv/__main__.py +10 -0
  1547. package/python/lib/python3.14/venv/__pycache__/__init__.cpython-314.pyc +0 -0
  1548. package/python/lib/python3.14/venv/__pycache__/__main__.cpython-314.pyc +0 -0
  1549. package/python/lib/python3.14/venv/scripts/common/Activate.ps1 +248 -0
  1550. package/python/lib/python3.14/venv/scripts/common/activate +76 -0
  1551. package/python/lib/python3.14/venv/scripts/common/activate.fish +69 -0
  1552. package/python/lib/python3.14/venv/scripts/posix/activate.csh +29 -0
  1553. package/python/lib/python3.14/warnings.py +99 -0
  1554. package/python/lib/python3.14/wave.py +665 -0
  1555. package/python/lib/python3.14/weakref.py +574 -0
  1556. package/python/lib/python3.14/webbrowser.py +763 -0
  1557. package/python/lib/python3.14/wsgiref/__init__.py +25 -0
  1558. package/python/lib/python3.14/wsgiref/__pycache__/__init__.cpython-314.pyc +0 -0
  1559. package/python/lib/python3.14/wsgiref/__pycache__/handlers.cpython-314.pyc +0 -0
  1560. package/python/lib/python3.14/wsgiref/__pycache__/headers.cpython-314.pyc +0 -0
  1561. package/python/lib/python3.14/wsgiref/__pycache__/simple_server.cpython-314.pyc +0 -0
  1562. package/python/lib/python3.14/wsgiref/__pycache__/types.cpython-314.pyc +0 -0
  1563. package/python/lib/python3.14/wsgiref/__pycache__/util.cpython-314.pyc +0 -0
  1564. package/python/lib/python3.14/wsgiref/__pycache__/validate.cpython-314.pyc +0 -0
  1565. package/python/lib/python3.14/wsgiref/handlers.py +575 -0
  1566. package/python/lib/python3.14/wsgiref/headers.py +192 -0
  1567. package/python/lib/python3.14/wsgiref/simple_server.py +161 -0
  1568. package/python/lib/python3.14/wsgiref/types.py +54 -0
  1569. package/python/lib/python3.14/wsgiref/util.py +159 -0
  1570. package/python/lib/python3.14/wsgiref/validate.py +438 -0
  1571. package/python/lib/python3.14/xml/__init__.py +20 -0
  1572. package/python/lib/python3.14/xml/__pycache__/__init__.cpython-314.pyc +0 -0
  1573. package/python/lib/python3.14/xml/dom/NodeFilter.py +27 -0
  1574. package/python/lib/python3.14/xml/dom/__init__.py +140 -0
  1575. package/python/lib/python3.14/xml/dom/__pycache__/NodeFilter.cpython-314.pyc +0 -0
  1576. package/python/lib/python3.14/xml/dom/__pycache__/__init__.cpython-314.pyc +0 -0
  1577. package/python/lib/python3.14/xml/dom/__pycache__/domreg.cpython-314.pyc +0 -0
  1578. package/python/lib/python3.14/xml/dom/__pycache__/expatbuilder.cpython-314.pyc +0 -0
  1579. package/python/lib/python3.14/xml/dom/__pycache__/minicompat.cpython-314.pyc +0 -0
  1580. package/python/lib/python3.14/xml/dom/__pycache__/minidom.cpython-314.pyc +0 -0
  1581. package/python/lib/python3.14/xml/dom/__pycache__/pulldom.cpython-314.pyc +0 -0
  1582. package/python/lib/python3.14/xml/dom/__pycache__/xmlbuilder.cpython-314.pyc +0 -0
  1583. package/python/lib/python3.14/xml/dom/domreg.py +99 -0
  1584. package/python/lib/python3.14/xml/dom/expatbuilder.py +964 -0
  1585. package/python/lib/python3.14/xml/dom/minicompat.py +109 -0
  1586. package/python/lib/python3.14/xml/dom/minidom.py +2027 -0
  1587. package/python/lib/python3.14/xml/dom/pulldom.py +350 -0
  1588. package/python/lib/python3.14/xml/dom/xmlbuilder.py +389 -0
  1589. package/python/lib/python3.14/xml/etree/ElementInclude.py +186 -0
  1590. package/python/lib/python3.14/xml/etree/ElementPath.py +430 -0
  1591. package/python/lib/python3.14/xml/etree/ElementTree.py +2093 -0
  1592. package/python/lib/python3.14/xml/etree/__init__.py +33 -0
  1593. package/python/lib/python3.14/xml/etree/__pycache__/ElementInclude.cpython-314.pyc +0 -0
  1594. package/python/lib/python3.14/xml/etree/__pycache__/ElementPath.cpython-314.pyc +0 -0
  1595. package/python/lib/python3.14/xml/etree/__pycache__/ElementTree.cpython-314.pyc +0 -0
  1596. package/python/lib/python3.14/xml/etree/__pycache__/__init__.cpython-314.pyc +0 -0
  1597. package/python/lib/python3.14/xml/etree/__pycache__/cElementTree.cpython-314.pyc +0 -0
  1598. package/python/lib/python3.14/xml/etree/cElementTree.py +3 -0
  1599. package/python/lib/python3.14/xml/parsers/__init__.py +8 -0
  1600. package/python/lib/python3.14/xml/parsers/__pycache__/__init__.cpython-314.pyc +0 -0
  1601. package/python/lib/python3.14/xml/parsers/__pycache__/expat.cpython-314.pyc +0 -0
  1602. package/python/lib/python3.14/xml/parsers/expat.py +8 -0
  1603. package/python/lib/python3.14/xml/sax/__init__.py +109 -0
  1604. package/python/lib/python3.14/xml/sax/__pycache__/__init__.cpython-314.pyc +0 -0
  1605. package/python/lib/python3.14/xml/sax/__pycache__/_exceptions.cpython-314.pyc +0 -0
  1606. package/python/lib/python3.14/xml/sax/__pycache__/expatreader.cpython-314.pyc +0 -0
  1607. package/python/lib/python3.14/xml/sax/__pycache__/handler.cpython-314.pyc +0 -0
  1608. package/python/lib/python3.14/xml/sax/__pycache__/saxutils.cpython-314.pyc +0 -0
  1609. package/python/lib/python3.14/xml/sax/__pycache__/xmlreader.cpython-314.pyc +0 -0
  1610. package/python/lib/python3.14/xml/sax/_exceptions.py +127 -0
  1611. package/python/lib/python3.14/xml/sax/expatreader.py +454 -0
  1612. package/python/lib/python3.14/xml/sax/handler.py +387 -0
  1613. package/python/lib/python3.14/xml/sax/saxutils.py +370 -0
  1614. package/python/lib/python3.14/xml/sax/xmlreader.py +379 -0
  1615. package/python/lib/python3.14/xmlrpc/__init__.py +1 -0
  1616. package/python/lib/python3.14/xmlrpc/__pycache__/__init__.cpython-314.pyc +0 -0
  1617. package/python/lib/python3.14/xmlrpc/__pycache__/client.cpython-314.pyc +0 -0
  1618. package/python/lib/python3.14/xmlrpc/__pycache__/server.cpython-314.pyc +0 -0
  1619. package/python/lib/python3.14/xmlrpc/client.py +1503 -0
  1620. package/python/lib/python3.14/xmlrpc/server.py +1003 -0
  1621. package/python/lib/python3.14/zipapp.py +231 -0
  1622. package/python/lib/python3.14/zipfile/__init__.py +2488 -0
  1623. package/python/lib/python3.14/zipfile/__main__.py +4 -0
  1624. package/python/lib/python3.14/zipfile/__pycache__/__init__.cpython-314.pyc +0 -0
  1625. package/python/lib/python3.14/zipfile/__pycache__/__main__.cpython-314.pyc +0 -0
  1626. package/python/lib/python3.14/zipfile/_path/__init__.py +455 -0
  1627. package/python/lib/python3.14/zipfile/_path/__pycache__/__init__.cpython-314.pyc +0 -0
  1628. package/python/lib/python3.14/zipfile/_path/__pycache__/glob.cpython-314.pyc +0 -0
  1629. package/python/lib/python3.14/zipfile/_path/glob.py +113 -0
  1630. package/python/lib/python3.14/zipimport.py +827 -0
  1631. package/python/lib/python3.14/zoneinfo/__init__.py +34 -0
  1632. package/python/lib/python3.14/zoneinfo/__pycache__/__init__.cpython-314.pyc +0 -0
  1633. package/python/lib/python3.14/zoneinfo/__pycache__/_common.cpython-314.pyc +0 -0
  1634. package/python/lib/python3.14/zoneinfo/__pycache__/_tzpath.cpython-314.pyc +0 -0
  1635. package/python/lib/python3.14/zoneinfo/__pycache__/_zoneinfo.cpython-314.pyc +0 -0
  1636. package/python/lib/python3.14/zoneinfo/_common.py +172 -0
  1637. package/python/lib/python3.14/zoneinfo/_tzpath.py +189 -0
  1638. package/python/lib/python3.14/zoneinfo/_zoneinfo.py +779 -0
  1639. package/python/licenses/LICENSE.bdb.txt +126 -0
  1640. package/python/licenses/LICENSE.bzip2.txt +37 -0
  1641. package/python/licenses/LICENSE.cpython.txt +771 -0
  1642. package/python/licenses/LICENSE.expat.txt +21 -0
  1643. package/python/licenses/LICENSE.libX11.txt +942 -0
  1644. package/python/licenses/LICENSE.libXau.txt +21 -0
  1645. package/python/licenses/LICENSE.libedit.txt +29 -0
  1646. package/python/licenses/LICENSE.libffi.txt +21 -0
  1647. package/python/licenses/LICENSE.liblzma.txt +13 -0
  1648. package/python/licenses/LICENSE.libuuid.txt +27 -0
  1649. package/python/licenses/LICENSE.libxcb.txt +30 -0
  1650. package/python/licenses/LICENSE.mpdecimal.txt +24 -0
  1651. package/python/licenses/LICENSE.ncurses.txt +29 -0
  1652. package/python/licenses/LICENSE.openssl-3.txt +177 -0
  1653. package/python/licenses/LICENSE.sqlite.txt +23 -0
  1654. package/python/licenses/LICENSE.tcl.txt +40 -0
  1655. package/python/licenses/LICENSE.tix.txt +54 -0
  1656. package/python/licenses/LICENSE.zlib-ng.txt +19 -0
  1657. package/python/licenses/LICENSE.zlib.txt +22 -0
  1658. package/python/licenses/LICENSE.zstd.txt +30 -0
@@ -0,0 +1,1751 @@
1
+ """Extract, format and print information about Python stack traces."""
2
+
3
+ import collections.abc
4
+ import itertools
5
+ import linecache
6
+ import sys
7
+ import textwrap
8
+ import warnings
9
+ import codeop
10
+ import keyword
11
+ import tokenize
12
+ import io
13
+ import _colorize
14
+
15
+ from contextlib import suppress
16
+
17
+ __all__ = ['extract_stack', 'extract_tb', 'format_exception',
18
+ 'format_exception_only', 'format_list', 'format_stack',
19
+ 'format_tb', 'print_exc', 'format_exc', 'print_exception',
20
+ 'print_last', 'print_stack', 'print_tb', 'clear_frames',
21
+ 'FrameSummary', 'StackSummary', 'TracebackException',
22
+ 'walk_stack', 'walk_tb', 'print_list']
23
+
24
+ #
25
+ # Formatting and printing lists of traceback lines.
26
+ #
27
+
28
+
29
+ def print_list(extracted_list, file=None):
30
+ """Print the list of tuples as returned by extract_tb() or
31
+ extract_stack() as a formatted stack trace to the given file."""
32
+ if file is None:
33
+ file = sys.stderr
34
+ for item in StackSummary.from_list(extracted_list).format():
35
+ print(item, file=file, end="")
36
+
37
+ def format_list(extracted_list):
38
+ """Format a list of tuples or FrameSummary objects for printing.
39
+
40
+ Given a list of tuples or FrameSummary objects as returned by
41
+ extract_tb() or extract_stack(), return a list of strings ready
42
+ for printing.
43
+
44
+ Each string in the resulting list corresponds to the item with the
45
+ same index in the argument list. Each string ends in a newline;
46
+ the strings may contain internal newlines as well, for those items
47
+ whose source text line is not None.
48
+ """
49
+ return StackSummary.from_list(extracted_list).format()
50
+
51
+ #
52
+ # Printing and Extracting Tracebacks.
53
+ #
54
+
55
+ def print_tb(tb, limit=None, file=None):
56
+ """Print up to 'limit' stack trace entries from the traceback 'tb'.
57
+
58
+ If 'limit' is omitted or None, all entries are printed. If 'file'
59
+ is omitted or None, the output goes to sys.stderr; otherwise
60
+ 'file' should be an open file or file-like object with a write()
61
+ method.
62
+ """
63
+ print_list(extract_tb(tb, limit=limit), file=file)
64
+
65
+ def format_tb(tb, limit=None):
66
+ """A shorthand for 'format_list(extract_tb(tb, limit))'."""
67
+ return extract_tb(tb, limit=limit).format()
68
+
69
+ def extract_tb(tb, limit=None):
70
+ """
71
+ Return a StackSummary object representing a list of
72
+ pre-processed entries from traceback.
73
+
74
+ This is useful for alternate formatting of stack traces. If
75
+ 'limit' is omitted or None, all entries are extracted. A
76
+ pre-processed stack trace entry is a FrameSummary object
77
+ representing the information that is usually printed for a
78
+ stack trace. The line attribute is a string with
79
+ leading and trailing whitespace stripped; if the source is not
80
+ available the corresponding attribute is None.
81
+ """
82
+ return StackSummary._extract_from_extended_frame_gen(
83
+ _walk_tb_with_full_positions(tb), limit=limit)
84
+
85
+ #
86
+ # Exception formatting and output.
87
+ #
88
+
89
+ _cause_message = (
90
+ "\nThe above exception was the direct cause "
91
+ "of the following exception:\n\n")
92
+
93
+ _context_message = (
94
+ "\nDuring handling of the above exception, "
95
+ "another exception occurred:\n\n")
96
+
97
+
98
+ class _Sentinel:
99
+ def __repr__(self):
100
+ return "<implicit>"
101
+
102
+ _sentinel = _Sentinel()
103
+
104
+ def _parse_value_tb(exc, value, tb):
105
+ if (value is _sentinel) != (tb is _sentinel):
106
+ raise ValueError("Both or neither of value and tb must be given")
107
+ if value is tb is _sentinel:
108
+ if exc is not None:
109
+ if isinstance(exc, BaseException):
110
+ return exc, exc.__traceback__
111
+
112
+ raise TypeError(f'Exception expected for value, '
113
+ f'{type(exc).__name__} found')
114
+ else:
115
+ return None, None
116
+ return value, tb
117
+
118
+
119
+ def print_exception(exc, /, value=_sentinel, tb=_sentinel, limit=None, \
120
+ file=None, chain=True, **kwargs):
121
+ """Print exception up to 'limit' stack trace entries from 'tb' to 'file'.
122
+
123
+ This differs from print_tb() in the following ways: (1) if
124
+ traceback is not None, it prints a header "Traceback (most recent
125
+ call last):"; (2) it prints the exception type and value after the
126
+ stack trace; (3) if type is SyntaxError and value has the
127
+ appropriate format, it prints the line where the syntax error
128
+ occurred with a caret on the next line indicating the approximate
129
+ position of the error.
130
+ """
131
+ colorize = kwargs.get("colorize", False)
132
+ value, tb = _parse_value_tb(exc, value, tb)
133
+ te = TracebackException(type(value), value, tb, limit=limit, compact=True)
134
+ te.print(file=file, chain=chain, colorize=colorize)
135
+
136
+
137
+ BUILTIN_EXCEPTION_LIMIT = object()
138
+
139
+
140
+ def _print_exception_bltin(exc, /):
141
+ file = sys.stderr if sys.stderr is not None else sys.__stderr__
142
+ colorize = _colorize.can_colorize(file=file)
143
+ return print_exception(exc, limit=BUILTIN_EXCEPTION_LIMIT, file=file, colorize=colorize)
144
+
145
+
146
+ def format_exception(exc, /, value=_sentinel, tb=_sentinel, limit=None, \
147
+ chain=True, **kwargs):
148
+ """Format a stack trace and the exception information.
149
+
150
+ The arguments have the same meaning as the corresponding arguments
151
+ to print_exception(). The return value is a list of strings, each
152
+ ending in a newline and some containing internal newlines. When
153
+ these lines are concatenated and printed, exactly the same text is
154
+ printed as does print_exception().
155
+ """
156
+ colorize = kwargs.get("colorize", False)
157
+ value, tb = _parse_value_tb(exc, value, tb)
158
+ te = TracebackException(type(value), value, tb, limit=limit, compact=True)
159
+ return list(te.format(chain=chain, colorize=colorize))
160
+
161
+
162
+ def format_exception_only(exc, /, value=_sentinel, *, show_group=False, **kwargs):
163
+ """Format the exception part of a traceback.
164
+
165
+ The return value is a list of strings, each ending in a newline.
166
+
167
+ The list contains the exception's message, which is
168
+ normally a single string; however, for :exc:`SyntaxError` exceptions, it
169
+ contains several lines that (when printed) display detailed information
170
+ about where the syntax error occurred. Following the message, the list
171
+ contains the exception's ``__notes__``.
172
+
173
+ When *show_group* is ``True``, and the exception is an instance of
174
+ :exc:`BaseExceptionGroup`, the nested exceptions are included as
175
+ well, recursively, with indentation relative to their nesting depth.
176
+ """
177
+ colorize = kwargs.get("colorize", False)
178
+ if value is _sentinel:
179
+ value = exc
180
+ te = TracebackException(type(value), value, None, compact=True)
181
+ return list(te.format_exception_only(show_group=show_group, colorize=colorize))
182
+
183
+
184
+ # -- not official API but folk probably use these two functions.
185
+
186
+ def _format_final_exc_line(etype, value, *, insert_final_newline=True, colorize=False):
187
+ valuestr = _safe_string(value, 'exception')
188
+ end_char = "\n" if insert_final_newline else ""
189
+ if colorize:
190
+ theme = _colorize.get_theme(force_color=True).traceback
191
+ else:
192
+ theme = _colorize.get_theme(force_no_color=True).traceback
193
+ if value is None or not valuestr:
194
+ line = f"{theme.type}{etype}{theme.reset}{end_char}"
195
+ else:
196
+ line = f"{theme.type}{etype}{theme.reset}: {theme.message}{valuestr}{theme.reset}{end_char}"
197
+ return line
198
+
199
+
200
+ def _safe_string(value, what, func=str):
201
+ try:
202
+ return func(value)
203
+ except:
204
+ return f'<{what} {func.__name__}() failed>'
205
+
206
+ # --
207
+
208
+ def print_exc(limit=None, file=None, chain=True):
209
+ """Shorthand for 'print_exception(sys.exception(), limit=limit, file=file, chain=chain)'."""
210
+ print_exception(sys.exception(), limit=limit, file=file, chain=chain)
211
+
212
+ def format_exc(limit=None, chain=True):
213
+ """Like print_exc() but return a string."""
214
+ return "".join(format_exception(sys.exception(), limit=limit, chain=chain))
215
+
216
+ def print_last(limit=None, file=None, chain=True):
217
+ """This is a shorthand for 'print_exception(sys.last_exc, limit=limit, file=file, chain=chain)'."""
218
+ if not hasattr(sys, "last_exc") and not hasattr(sys, "last_type"):
219
+ raise ValueError("no last exception")
220
+
221
+ if hasattr(sys, "last_exc"):
222
+ print_exception(sys.last_exc, limit=limit, file=file, chain=chain)
223
+ else:
224
+ print_exception(sys.last_type, sys.last_value, sys.last_traceback,
225
+ limit=limit, file=file, chain=chain)
226
+
227
+
228
+ #
229
+ # Printing and Extracting Stacks.
230
+ #
231
+
232
+ def print_stack(f=None, limit=None, file=None):
233
+ """Print a stack trace from its invocation point.
234
+
235
+ The optional 'f' argument can be used to specify an alternate
236
+ stack frame at which to start. The optional 'limit' and 'file'
237
+ arguments have the same meaning as for print_exception().
238
+ """
239
+ if f is None:
240
+ f = sys._getframe().f_back
241
+ print_list(extract_stack(f, limit=limit), file=file)
242
+
243
+
244
+ def format_stack(f=None, limit=None):
245
+ """Shorthand for 'format_list(extract_stack(f, limit))'."""
246
+ if f is None:
247
+ f = sys._getframe().f_back
248
+ return format_list(extract_stack(f, limit=limit))
249
+
250
+
251
+ def extract_stack(f=None, limit=None):
252
+ """Extract the raw traceback from the current stack frame.
253
+
254
+ The return value has the same format as for extract_tb(). The
255
+ optional 'f' and 'limit' arguments have the same meaning as for
256
+ print_stack(). Each item in the list is a FrameSummary object,
257
+ and the entries are in order from oldest to newest stack frame.
258
+ """
259
+ if f is None:
260
+ f = sys._getframe().f_back
261
+ stack = StackSummary.extract(walk_stack(f), limit=limit)
262
+ stack.reverse()
263
+ return stack
264
+
265
+
266
+ def clear_frames(tb):
267
+ "Clear all references to local variables in the frames of a traceback."
268
+ while tb is not None:
269
+ try:
270
+ tb.tb_frame.clear()
271
+ except RuntimeError:
272
+ # Ignore the exception raised if the frame is still executing.
273
+ pass
274
+ tb = tb.tb_next
275
+
276
+
277
+ class FrameSummary:
278
+ """Information about a single frame from a traceback.
279
+
280
+ - :attr:`filename` The filename for the frame.
281
+ - :attr:`lineno` The line within filename for the frame that was
282
+ active when the frame was captured.
283
+ - :attr:`name` The name of the function or method that was executing
284
+ when the frame was captured.
285
+ - :attr:`line` The text from the linecache module for the line
286
+ of code that was running when the frame was captured.
287
+ - :attr:`locals` Either None if locals were not supplied, or a dict
288
+ mapping the name to the repr() of the variable.
289
+ """
290
+
291
+ __slots__ = ('filename', 'lineno', 'end_lineno', 'colno', 'end_colno',
292
+ 'name', '_lines', '_lines_dedented', 'locals', '_code')
293
+
294
+ def __init__(self, filename, lineno, name, *, lookup_line=True,
295
+ locals=None, line=None,
296
+ end_lineno=None, colno=None, end_colno=None, **kwargs):
297
+ """Construct a FrameSummary.
298
+
299
+ :param lookup_line: If True, `linecache` is consulted for the source
300
+ code line. Otherwise, the line will be looked up when first needed.
301
+ :param locals: If supplied the frame locals, which will be captured as
302
+ object representations.
303
+ :param line: If provided, use this instead of looking up the line in
304
+ the linecache.
305
+ """
306
+ self.filename = filename
307
+ self.lineno = lineno
308
+ self.end_lineno = lineno if end_lineno is None else end_lineno
309
+ self.colno = colno
310
+ self.end_colno = end_colno
311
+ self.name = name
312
+ self._code = kwargs.get("_code")
313
+ self._lines = line
314
+ self._lines_dedented = None
315
+ if lookup_line:
316
+ self.line
317
+ self.locals = {k: _safe_string(v, 'local', func=repr)
318
+ for k, v in locals.items()} if locals else None
319
+
320
+ def __eq__(self, other):
321
+ if isinstance(other, FrameSummary):
322
+ return (self.filename == other.filename and
323
+ self.lineno == other.lineno and
324
+ self.name == other.name and
325
+ self.locals == other.locals)
326
+ if isinstance(other, tuple):
327
+ return (self.filename, self.lineno, self.name, self.line) == other
328
+ return NotImplemented
329
+
330
+ def __getitem__(self, pos):
331
+ return (self.filename, self.lineno, self.name, self.line)[pos]
332
+
333
+ def __iter__(self):
334
+ return iter([self.filename, self.lineno, self.name, self.line])
335
+
336
+ def __repr__(self):
337
+ return "<FrameSummary file {filename}, line {lineno} in {name}>".format(
338
+ filename=self.filename, lineno=self.lineno, name=self.name)
339
+
340
+ def __len__(self):
341
+ return 4
342
+
343
+ def _set_lines(self):
344
+ if (
345
+ self._lines is None
346
+ and self.lineno is not None
347
+ and self.end_lineno is not None
348
+ ):
349
+ lines = []
350
+ for lineno in range(self.lineno, self.end_lineno + 1):
351
+ # treat errors (empty string) and empty lines (newline) as the same
352
+ line = linecache.getline(self.filename, lineno).rstrip()
353
+ if not line and self._code is not None and self.filename.startswith("<"):
354
+ line = linecache._getline_from_code(self._code, lineno).rstrip()
355
+ lines.append(line)
356
+ self._lines = "\n".join(lines) + "\n"
357
+
358
+ @property
359
+ def _original_lines(self):
360
+ # Returns the line as-is from the source, without modifying whitespace.
361
+ self._set_lines()
362
+ return self._lines
363
+
364
+ @property
365
+ def _dedented_lines(self):
366
+ # Returns _original_lines, but dedented
367
+ self._set_lines()
368
+ if self._lines_dedented is None and self._lines is not None:
369
+ self._lines_dedented = textwrap.dedent(self._lines)
370
+ return self._lines_dedented
371
+
372
+ @property
373
+ def line(self):
374
+ self._set_lines()
375
+ if self._lines is None:
376
+ return None
377
+ # return only the first line, stripped
378
+ return self._lines.partition("\n")[0].strip()
379
+
380
+
381
+ def walk_stack(f):
382
+ """Walk a stack yielding the frame and line number for each frame.
383
+
384
+ This will follow f.f_back from the given frame. If no frame is given, the
385
+ current stack is used. Usually used with StackSummary.extract.
386
+ """
387
+ if f is None:
388
+ f = sys._getframe().f_back
389
+
390
+ def walk_stack_generator(frame):
391
+ while frame is not None:
392
+ yield frame, frame.f_lineno
393
+ frame = frame.f_back
394
+
395
+ return walk_stack_generator(f)
396
+
397
+
398
+ def walk_tb(tb):
399
+ """Walk a traceback yielding the frame and line number for each frame.
400
+
401
+ This will follow tb.tb_next (and thus is in the opposite order to
402
+ walk_stack). Usually used with StackSummary.extract.
403
+ """
404
+ while tb is not None:
405
+ yield tb.tb_frame, tb.tb_lineno
406
+ tb = tb.tb_next
407
+
408
+
409
+ def _walk_tb_with_full_positions(tb):
410
+ # Internal version of walk_tb that yields full code positions including
411
+ # end line and column information.
412
+ while tb is not None:
413
+ positions = _get_code_position(tb.tb_frame.f_code, tb.tb_lasti)
414
+ # Yield tb_lineno when co_positions does not have a line number to
415
+ # maintain behavior with walk_tb.
416
+ if positions[0] is None:
417
+ yield tb.tb_frame, (tb.tb_lineno, ) + positions[1:]
418
+ else:
419
+ yield tb.tb_frame, positions
420
+ tb = tb.tb_next
421
+
422
+
423
+ def _get_code_position(code, instruction_index):
424
+ if instruction_index < 0:
425
+ return (None, None, None, None)
426
+ positions_gen = code.co_positions()
427
+ return next(itertools.islice(positions_gen, instruction_index // 2, None))
428
+
429
+
430
+ _RECURSIVE_CUTOFF = 3 # Also hardcoded in traceback.c.
431
+
432
+
433
+ class StackSummary(list):
434
+ """A list of FrameSummary objects, representing a stack of frames."""
435
+
436
+ @classmethod
437
+ def extract(klass, frame_gen, *, limit=None, lookup_lines=True,
438
+ capture_locals=False):
439
+ """Create a StackSummary from a traceback or stack object.
440
+
441
+ :param frame_gen: A generator that yields (frame, lineno) tuples
442
+ whose summaries are to be included in the stack.
443
+ :param limit: None to include all frames or the number of frames to
444
+ include.
445
+ :param lookup_lines: If True, lookup lines for each frame immediately,
446
+ otherwise lookup is deferred until the frame is rendered.
447
+ :param capture_locals: If True, the local variables from each frame will
448
+ be captured as object representations into the FrameSummary.
449
+ """
450
+ def extended_frame_gen():
451
+ for f, lineno in frame_gen:
452
+ yield f, (lineno, None, None, None)
453
+
454
+ return klass._extract_from_extended_frame_gen(
455
+ extended_frame_gen(), limit=limit, lookup_lines=lookup_lines,
456
+ capture_locals=capture_locals)
457
+
458
+ @classmethod
459
+ def _extract_from_extended_frame_gen(klass, frame_gen, *, limit=None,
460
+ lookup_lines=True, capture_locals=False):
461
+ # Same as extract but operates on a frame generator that yields
462
+ # (frame, (lineno, end_lineno, colno, end_colno)) in the stack.
463
+ # Only lineno is required, the remaining fields can be None if the
464
+ # information is not available.
465
+ builtin_limit = limit is BUILTIN_EXCEPTION_LIMIT
466
+ if limit is None or builtin_limit:
467
+ limit = getattr(sys, 'tracebacklimit', None)
468
+ if limit is not None and limit < 0:
469
+ limit = 0
470
+ if limit is not None:
471
+ if builtin_limit:
472
+ frame_gen = tuple(frame_gen)
473
+ frame_gen = frame_gen[len(frame_gen) - limit:]
474
+ elif limit >= 0:
475
+ frame_gen = itertools.islice(frame_gen, limit)
476
+ else:
477
+ frame_gen = collections.deque(frame_gen, maxlen=-limit)
478
+
479
+ result = klass()
480
+ fnames = set()
481
+ for f, (lineno, end_lineno, colno, end_colno) in frame_gen:
482
+ co = f.f_code
483
+ filename = co.co_filename
484
+ name = co.co_name
485
+ fnames.add(filename)
486
+ linecache.lazycache(filename, f.f_globals)
487
+ # Must defer line lookups until we have called checkcache.
488
+ if capture_locals:
489
+ f_locals = f.f_locals
490
+ else:
491
+ f_locals = None
492
+ result.append(
493
+ FrameSummary(filename, lineno, name,
494
+ lookup_line=False, locals=f_locals,
495
+ end_lineno=end_lineno, colno=colno, end_colno=end_colno,
496
+ _code=f.f_code,
497
+ )
498
+ )
499
+ for filename in fnames:
500
+ linecache.checkcache(filename)
501
+
502
+ # If immediate lookup was desired, trigger lookups now.
503
+ if lookup_lines:
504
+ for f in result:
505
+ f.line
506
+ return result
507
+
508
+ @classmethod
509
+ def from_list(klass, a_list):
510
+ """
511
+ Create a StackSummary object from a supplied list of
512
+ FrameSummary objects or old-style list of tuples.
513
+ """
514
+ # While doing a fast-path check for isinstance(a_list, StackSummary) is
515
+ # appealing, idlelib.run.cleanup_traceback and other similar code may
516
+ # break this by making arbitrary frames plain tuples, so we need to
517
+ # check on a frame by frame basis.
518
+ result = StackSummary()
519
+ for frame in a_list:
520
+ if isinstance(frame, FrameSummary):
521
+ result.append(frame)
522
+ else:
523
+ filename, lineno, name, line = frame
524
+ result.append(FrameSummary(filename, lineno, name, line=line))
525
+ return result
526
+
527
+ def format_frame_summary(self, frame_summary, **kwargs):
528
+ """Format the lines for a single FrameSummary.
529
+
530
+ Returns a string representing one frame involved in the stack. This
531
+ gets called for every frame to be printed in the stack summary.
532
+ """
533
+ colorize = kwargs.get("colorize", False)
534
+ row = []
535
+ filename = frame_summary.filename
536
+ if frame_summary.filename.startswith("<stdin-") and frame_summary.filename.endswith('>'):
537
+ filename = "<stdin>"
538
+ if colorize:
539
+ theme = _colorize.get_theme(force_color=True).traceback
540
+ else:
541
+ theme = _colorize.get_theme(force_no_color=True).traceback
542
+ row.append(
543
+ ' File {}"{}"{}, line {}{}{}, in {}{}{}\n'.format(
544
+ theme.filename,
545
+ filename,
546
+ theme.reset,
547
+ theme.line_no,
548
+ frame_summary.lineno,
549
+ theme.reset,
550
+ theme.frame,
551
+ frame_summary.name,
552
+ theme.reset,
553
+ )
554
+ )
555
+ if frame_summary._dedented_lines and frame_summary._dedented_lines.strip():
556
+ if (
557
+ frame_summary.colno is None or
558
+ frame_summary.end_colno is None
559
+ ):
560
+ # only output first line if column information is missing
561
+ row.append(textwrap.indent(frame_summary.line, ' ') + "\n")
562
+ else:
563
+ # get first and last line
564
+ all_lines_original = frame_summary._original_lines.splitlines()
565
+ first_line = all_lines_original[0]
566
+ # assume all_lines_original has enough lines (since we constructed it)
567
+ last_line = all_lines_original[frame_summary.end_lineno - frame_summary.lineno]
568
+
569
+ # character index of the start/end of the instruction
570
+ start_offset = _byte_offset_to_character_offset(first_line, frame_summary.colno)
571
+ end_offset = _byte_offset_to_character_offset(last_line, frame_summary.end_colno)
572
+
573
+ all_lines = frame_summary._dedented_lines.splitlines()[
574
+ :frame_summary.end_lineno - frame_summary.lineno + 1
575
+ ]
576
+
577
+ # adjust start/end offset based on dedent
578
+ dedent_characters = len(first_line) - len(all_lines[0])
579
+ start_offset = max(0, start_offset - dedent_characters)
580
+ end_offset = max(0, end_offset - dedent_characters)
581
+
582
+ # When showing this on a terminal, some of the non-ASCII characters
583
+ # might be rendered as double-width characters, so we need to take
584
+ # that into account when calculating the length of the line.
585
+ dp_start_offset = _display_width(all_lines[0], offset=start_offset)
586
+ dp_end_offset = _display_width(all_lines[-1], offset=end_offset)
587
+
588
+ # get exact code segment corresponding to the instruction
589
+ segment = "\n".join(all_lines)
590
+ segment = segment[start_offset:len(segment) - (len(all_lines[-1]) - end_offset)]
591
+
592
+ # attempt to parse for anchors
593
+ anchors = None
594
+ show_carets = False
595
+ with suppress(Exception):
596
+ anchors = _extract_caret_anchors_from_line_segment(segment)
597
+ show_carets = self._should_show_carets(start_offset, end_offset, all_lines, anchors)
598
+
599
+ result = []
600
+
601
+ # only display first line, last line, and lines around anchor start/end
602
+ significant_lines = {0, len(all_lines) - 1}
603
+
604
+ anchors_left_end_offset = 0
605
+ anchors_right_start_offset = 0
606
+ primary_char = "^"
607
+ secondary_char = "^"
608
+ if anchors:
609
+ anchors_left_end_offset = anchors.left_end_offset
610
+ anchors_right_start_offset = anchors.right_start_offset
611
+ # computed anchor positions do not take start_offset into account,
612
+ # so account for it here
613
+ if anchors.left_end_lineno == 0:
614
+ anchors_left_end_offset += start_offset
615
+ if anchors.right_start_lineno == 0:
616
+ anchors_right_start_offset += start_offset
617
+
618
+ # account for display width
619
+ anchors_left_end_offset = _display_width(
620
+ all_lines[anchors.left_end_lineno], offset=anchors_left_end_offset
621
+ )
622
+ anchors_right_start_offset = _display_width(
623
+ all_lines[anchors.right_start_lineno], offset=anchors_right_start_offset
624
+ )
625
+
626
+ primary_char = anchors.primary_char
627
+ secondary_char = anchors.secondary_char
628
+ significant_lines.update(
629
+ range(anchors.left_end_lineno - 1, anchors.left_end_lineno + 2)
630
+ )
631
+ significant_lines.update(
632
+ range(anchors.right_start_lineno - 1, anchors.right_start_lineno + 2)
633
+ )
634
+
635
+ # remove bad line numbers
636
+ significant_lines.discard(-1)
637
+ significant_lines.discard(len(all_lines))
638
+
639
+ def output_line(lineno):
640
+ """output all_lines[lineno] along with carets"""
641
+ result.append(all_lines[lineno] + "\n")
642
+ if not show_carets:
643
+ return
644
+ num_spaces = len(all_lines[lineno]) - len(all_lines[lineno].lstrip())
645
+ carets = []
646
+ num_carets = dp_end_offset if lineno == len(all_lines) - 1 else _display_width(all_lines[lineno])
647
+ # compute caret character for each position
648
+ for col in range(num_carets):
649
+ if col < num_spaces or (lineno == 0 and col < dp_start_offset):
650
+ # before first non-ws char of the line, or before start of instruction
651
+ carets.append(' ')
652
+ elif anchors and (
653
+ lineno > anchors.left_end_lineno or
654
+ (lineno == anchors.left_end_lineno and col >= anchors_left_end_offset)
655
+ ) and (
656
+ lineno < anchors.right_start_lineno or
657
+ (lineno == anchors.right_start_lineno and col < anchors_right_start_offset)
658
+ ):
659
+ # within anchors
660
+ carets.append(secondary_char)
661
+ else:
662
+ carets.append(primary_char)
663
+ if colorize:
664
+ # Replace the previous line with a red version of it only in the parts covered
665
+ # by the carets.
666
+ line = result[-1]
667
+ colorized_line_parts = []
668
+ colorized_carets_parts = []
669
+
670
+ for color, group in itertools.groupby(itertools.zip_longest(line, carets, fillvalue=""), key=lambda x: x[1]):
671
+ caret_group = list(group)
672
+ if color == "^":
673
+ colorized_line_parts.append(theme.error_highlight + "".join(char for char, _ in caret_group) + theme.reset)
674
+ colorized_carets_parts.append(theme.error_highlight + "".join(caret for _, caret in caret_group) + theme.reset)
675
+ elif color == "~":
676
+ colorized_line_parts.append(theme.error_range + "".join(char for char, _ in caret_group) + theme.reset)
677
+ colorized_carets_parts.append(theme.error_range + "".join(caret for _, caret in caret_group) + theme.reset)
678
+ else:
679
+ colorized_line_parts.append("".join(char for char, _ in caret_group))
680
+ colorized_carets_parts.append("".join(caret for _, caret in caret_group))
681
+
682
+ colorized_line = "".join(colorized_line_parts)
683
+ colorized_carets = "".join(colorized_carets_parts)
684
+ result[-1] = colorized_line
685
+ result.append(colorized_carets + "\n")
686
+ else:
687
+ result.append("".join(carets) + "\n")
688
+
689
+ # display significant lines
690
+ sig_lines_list = sorted(significant_lines)
691
+ for i, lineno in enumerate(sig_lines_list):
692
+ if i:
693
+ linediff = lineno - sig_lines_list[i - 1]
694
+ if linediff == 2:
695
+ # 1 line in between - just output it
696
+ output_line(lineno - 1)
697
+ elif linediff > 2:
698
+ # > 1 line in between - abbreviate
699
+ result.append(f"...<{linediff - 1} lines>...\n")
700
+ output_line(lineno)
701
+
702
+ row.append(
703
+ textwrap.indent(textwrap.dedent("".join(result)), ' ', lambda line: True)
704
+ )
705
+ if frame_summary.locals:
706
+ for name, value in sorted(frame_summary.locals.items()):
707
+ row.append(' {name} = {value}\n'.format(name=name, value=value))
708
+
709
+ return ''.join(row)
710
+
711
+ def _should_show_carets(self, start_offset, end_offset, all_lines, anchors):
712
+ with suppress(SyntaxError, ImportError):
713
+ import ast
714
+ tree = ast.parse('\n'.join(all_lines))
715
+ if not tree.body:
716
+ return False
717
+ statement = tree.body[0]
718
+ value = None
719
+ def _spawns_full_line(value):
720
+ return (
721
+ value.lineno == 1
722
+ and value.end_lineno == len(all_lines)
723
+ and value.col_offset == start_offset
724
+ and value.end_col_offset == end_offset
725
+ )
726
+ match statement:
727
+ case ast.Return(value=ast.Call()):
728
+ if isinstance(statement.value.func, ast.Name):
729
+ value = statement.value
730
+ case ast.Assign(value=ast.Call()):
731
+ if (
732
+ len(statement.targets) == 1 and
733
+ isinstance(statement.targets[0], ast.Name)
734
+ ):
735
+ value = statement.value
736
+ if value is not None and _spawns_full_line(value):
737
+ return False
738
+ if anchors:
739
+ return True
740
+ if all_lines[0][:start_offset].lstrip() or all_lines[-1][end_offset:].rstrip():
741
+ return True
742
+ return False
743
+
744
+ def format(self, **kwargs):
745
+ """Format the stack ready for printing.
746
+
747
+ Returns a list of strings ready for printing. Each string in the
748
+ resulting list corresponds to a single frame from the stack.
749
+ Each string ends in a newline; the strings may contain internal
750
+ newlines as well, for those items with source text lines.
751
+
752
+ For long sequences of the same frame and line, the first few
753
+ repetitions are shown, followed by a summary line stating the exact
754
+ number of further repetitions.
755
+ """
756
+ colorize = kwargs.get("colorize", False)
757
+ result = []
758
+ last_file = None
759
+ last_line = None
760
+ last_name = None
761
+ count = 0
762
+ for frame_summary in self:
763
+ formatted_frame = self.format_frame_summary(frame_summary, colorize=colorize)
764
+ if formatted_frame is None:
765
+ continue
766
+ if (last_file is None or last_file != frame_summary.filename or
767
+ last_line is None or last_line != frame_summary.lineno or
768
+ last_name is None or last_name != frame_summary.name):
769
+ if count > _RECURSIVE_CUTOFF:
770
+ count -= _RECURSIVE_CUTOFF
771
+ result.append(
772
+ f' [Previous line repeated {count} more '
773
+ f'time{"s" if count > 1 else ""}]\n'
774
+ )
775
+ last_file = frame_summary.filename
776
+ last_line = frame_summary.lineno
777
+ last_name = frame_summary.name
778
+ count = 0
779
+ count += 1
780
+ if count > _RECURSIVE_CUTOFF:
781
+ continue
782
+ result.append(formatted_frame)
783
+
784
+ if count > _RECURSIVE_CUTOFF:
785
+ count -= _RECURSIVE_CUTOFF
786
+ result.append(
787
+ f' [Previous line repeated {count} more '
788
+ f'time{"s" if count > 1 else ""}]\n'
789
+ )
790
+ return result
791
+
792
+
793
+ def _byte_offset_to_character_offset(str, offset):
794
+ as_utf8 = str.encode('utf-8')
795
+ return len(as_utf8[:offset].decode("utf-8", errors="replace"))
796
+
797
+
798
+ _Anchors = collections.namedtuple(
799
+ "_Anchors",
800
+ [
801
+ "left_end_lineno",
802
+ "left_end_offset",
803
+ "right_start_lineno",
804
+ "right_start_offset",
805
+ "primary_char",
806
+ "secondary_char",
807
+ ],
808
+ defaults=["~", "^"]
809
+ )
810
+
811
+ def _extract_caret_anchors_from_line_segment(segment):
812
+ """
813
+ Given source code `segment` corresponding to a FrameSummary, determine:
814
+ - for binary ops, the location of the binary op
815
+ - for indexing and function calls, the location of the brackets.
816
+ `segment` is expected to be a valid Python expression.
817
+ """
818
+ import ast
819
+
820
+ try:
821
+ # Without parentheses, `segment` is parsed as a statement.
822
+ # Binary ops, subscripts, and calls are expressions, so
823
+ # we can wrap them with parentheses to parse them as
824
+ # (possibly multi-line) expressions.
825
+ # e.g. if we try to highlight the addition in
826
+ # x = (
827
+ # a +
828
+ # b
829
+ # )
830
+ # then we would ast.parse
831
+ # a +
832
+ # b
833
+ # which is not a valid statement because of the newline.
834
+ # Adding brackets makes it a valid expression.
835
+ # (
836
+ # a +
837
+ # b
838
+ # )
839
+ # Line locations will be different than the original,
840
+ # which is taken into account later on.
841
+ tree = ast.parse(f"(\n{segment}\n)")
842
+ except SyntaxError:
843
+ return None
844
+
845
+ if len(tree.body) != 1:
846
+ return None
847
+
848
+ lines = segment.splitlines()
849
+
850
+ def normalize(lineno, offset):
851
+ """Get character index given byte offset"""
852
+ return _byte_offset_to_character_offset(lines[lineno], offset)
853
+
854
+ def next_valid_char(lineno, col):
855
+ """Gets the next valid character index in `lines`, if
856
+ the current location is not valid. Handles empty lines.
857
+ """
858
+ while lineno < len(lines) and col >= len(lines[lineno]):
859
+ col = 0
860
+ lineno += 1
861
+ assert lineno < len(lines) and col < len(lines[lineno])
862
+ return lineno, col
863
+
864
+ def increment(lineno, col):
865
+ """Get the next valid character index in `lines`."""
866
+ col += 1
867
+ lineno, col = next_valid_char(lineno, col)
868
+ return lineno, col
869
+
870
+ def nextline(lineno, col):
871
+ """Get the next valid character at least on the next line"""
872
+ col = 0
873
+ lineno += 1
874
+ lineno, col = next_valid_char(lineno, col)
875
+ return lineno, col
876
+
877
+ def increment_until(lineno, col, stop):
878
+ """Get the next valid non-"\\#" character that satisfies the `stop` predicate"""
879
+ while True:
880
+ ch = lines[lineno][col]
881
+ if ch in "\\#":
882
+ lineno, col = nextline(lineno, col)
883
+ elif not stop(ch):
884
+ lineno, col = increment(lineno, col)
885
+ else:
886
+ break
887
+ return lineno, col
888
+
889
+ def setup_positions(expr, force_valid=True):
890
+ """Get the lineno/col position of the end of `expr`. If `force_valid` is True,
891
+ forces the position to be a valid character (e.g. if the position is beyond the
892
+ end of the line, move to the next line)
893
+ """
894
+ # -2 since end_lineno is 1-indexed and because we added an extra
895
+ # bracket + newline to `segment` when calling ast.parse
896
+ lineno = expr.end_lineno - 2
897
+ col = normalize(lineno, expr.end_col_offset)
898
+ return next_valid_char(lineno, col) if force_valid else (lineno, col)
899
+
900
+ statement = tree.body[0]
901
+ match statement:
902
+ case ast.Expr(expr):
903
+ match expr:
904
+ case ast.BinOp():
905
+ # ast gives these locations for BinOp subexpressions
906
+ # ( left_expr ) + ( right_expr )
907
+ # left^^^^^ right^^^^^
908
+ lineno, col = setup_positions(expr.left)
909
+
910
+ # First operator character is the first non-space/')' character
911
+ lineno, col = increment_until(lineno, col, lambda x: not x.isspace() and x != ')')
912
+
913
+ # binary op is 1 or 2 characters long, on the same line,
914
+ # before the right subexpression
915
+ right_col = col + 1
916
+ if (
917
+ right_col < len(lines[lineno])
918
+ and (
919
+ # operator char should not be in the right subexpression
920
+ expr.right.lineno - 2 > lineno or
921
+ right_col < normalize(expr.right.lineno - 2, expr.right.col_offset)
922
+ )
923
+ and not (ch := lines[lineno][right_col]).isspace()
924
+ and ch not in "\\#"
925
+ ):
926
+ right_col += 1
927
+
928
+ # right_col can be invalid since it is exclusive
929
+ return _Anchors(lineno, col, lineno, right_col)
930
+ case ast.Subscript():
931
+ # ast gives these locations for value and slice subexpressions
932
+ # ( value_expr ) [ slice_expr ]
933
+ # value^^^^^ slice^^^^^
934
+ # subscript^^^^^^^^^^^^^^^^^^^^
935
+
936
+ # find left bracket
937
+ left_lineno, left_col = setup_positions(expr.value)
938
+ left_lineno, left_col = increment_until(left_lineno, left_col, lambda x: x == '[')
939
+ # find right bracket (final character of expression)
940
+ right_lineno, right_col = setup_positions(expr, force_valid=False)
941
+ return _Anchors(left_lineno, left_col, right_lineno, right_col)
942
+ case ast.Call():
943
+ # ast gives these locations for function call expressions
944
+ # ( func_expr ) (args, kwargs)
945
+ # func^^^^^
946
+ # call^^^^^^^^^^^^^^^^^^^^^^^^
947
+
948
+ # find left bracket
949
+ left_lineno, left_col = setup_positions(expr.func)
950
+ left_lineno, left_col = increment_until(left_lineno, left_col, lambda x: x == '(')
951
+ # find right bracket (final character of expression)
952
+ right_lineno, right_col = setup_positions(expr, force_valid=False)
953
+ return _Anchors(left_lineno, left_col, right_lineno, right_col)
954
+
955
+ return None
956
+
957
+ _WIDE_CHAR_SPECIFIERS = "WF"
958
+
959
+ def _display_width(line, offset=None):
960
+ """Calculate the amount of width space the given source
961
+ code segment might take if it were to be displayed on a fixed
962
+ width output device. Supports wide unicode characters and emojis."""
963
+
964
+ if offset is None:
965
+ offset = len(line)
966
+
967
+ # Fast track for ASCII-only strings
968
+ if line.isascii():
969
+ return offset
970
+
971
+ import unicodedata
972
+
973
+ return sum(
974
+ 2 if unicodedata.east_asian_width(char) in _WIDE_CHAR_SPECIFIERS else 1
975
+ for char in line[:offset]
976
+ )
977
+
978
+
979
+
980
+ class _ExceptionPrintContext:
981
+ def __init__(self):
982
+ self.seen = set()
983
+ self.exception_group_depth = 0
984
+ self.need_close = False
985
+
986
+ def indent(self):
987
+ return ' ' * (2 * self.exception_group_depth)
988
+
989
+ def emit(self, text_gen, margin_char=None):
990
+ if margin_char is None:
991
+ margin_char = '|'
992
+ indent_str = self.indent()
993
+ if self.exception_group_depth:
994
+ indent_str += margin_char + ' '
995
+
996
+ if isinstance(text_gen, str):
997
+ yield textwrap.indent(text_gen, indent_str, lambda line: True)
998
+ else:
999
+ for text in text_gen:
1000
+ yield textwrap.indent(text, indent_str, lambda line: True)
1001
+
1002
+
1003
+ class TracebackException:
1004
+ """An exception ready for rendering.
1005
+
1006
+ The traceback module captures enough attributes from the original exception
1007
+ to this intermediary form to ensure that no references are held, while
1008
+ still being able to fully print or format it.
1009
+
1010
+ max_group_width and max_group_depth control the formatting of exception
1011
+ groups. The depth refers to the nesting level of the group, and the width
1012
+ refers to the size of a single exception group's exceptions array. The
1013
+ formatted output is truncated when either limit is exceeded.
1014
+
1015
+ Use `from_exception` to create TracebackException instances from exception
1016
+ objects, or the constructor to create TracebackException instances from
1017
+ individual components.
1018
+
1019
+ - :attr:`__cause__` A TracebackException of the original *__cause__*.
1020
+ - :attr:`__context__` A TracebackException of the original *__context__*.
1021
+ - :attr:`exceptions` For exception groups - a list of TracebackException
1022
+ instances for the nested *exceptions*. ``None`` for other exceptions.
1023
+ - :attr:`__suppress_context__` The *__suppress_context__* value from the
1024
+ original exception.
1025
+ - :attr:`stack` A `StackSummary` representing the traceback.
1026
+ - :attr:`exc_type` (deprecated) The class of the original traceback.
1027
+ - :attr:`exc_type_str` String display of exc_type
1028
+ - :attr:`filename` For syntax errors - the filename where the error
1029
+ occurred.
1030
+ - :attr:`lineno` For syntax errors - the linenumber where the error
1031
+ occurred.
1032
+ - :attr:`end_lineno` For syntax errors - the end linenumber where the error
1033
+ occurred. Can be `None` if not present.
1034
+ - :attr:`text` For syntax errors - the text where the error
1035
+ occurred.
1036
+ - :attr:`offset` For syntax errors - the offset into the text where the
1037
+ error occurred.
1038
+ - :attr:`end_offset` For syntax errors - the end offset into the text where
1039
+ the error occurred. Can be `None` if not present.
1040
+ - :attr:`msg` For syntax errors - the compiler error message.
1041
+ """
1042
+
1043
+ def __init__(self, exc_type, exc_value, exc_traceback, *, limit=None,
1044
+ lookup_lines=True, capture_locals=False, compact=False,
1045
+ max_group_width=15, max_group_depth=10, save_exc_type=True, _seen=None):
1046
+ # NB: we need to accept exc_type, exc_value, exc_traceback to
1047
+ # permit backwards compat with the existing API, otherwise we
1048
+ # need stub thunk objects just to glue it together.
1049
+ # Handle loops in __cause__ or __context__.
1050
+ is_recursive_call = _seen is not None
1051
+ if _seen is None:
1052
+ _seen = set()
1053
+ _seen.add(id(exc_value))
1054
+
1055
+ self.max_group_width = max_group_width
1056
+ self.max_group_depth = max_group_depth
1057
+
1058
+ self.stack = StackSummary._extract_from_extended_frame_gen(
1059
+ _walk_tb_with_full_positions(exc_traceback),
1060
+ limit=limit, lookup_lines=lookup_lines,
1061
+ capture_locals=capture_locals)
1062
+
1063
+ self._exc_type = exc_type if save_exc_type else None
1064
+
1065
+ # Capture now to permit freeing resources: only complication is in the
1066
+ # unofficial API _format_final_exc_line
1067
+ self._str = _safe_string(exc_value, 'exception')
1068
+ try:
1069
+ self.__notes__ = getattr(exc_value, '__notes__', None)
1070
+ except Exception as e:
1071
+ self.__notes__ = [
1072
+ f'Ignored error getting __notes__: {_safe_string(e, '__notes__', repr)}']
1073
+
1074
+ self._is_syntax_error = False
1075
+ self._have_exc_type = exc_type is not None
1076
+ if exc_type is not None:
1077
+ self.exc_type_qualname = exc_type.__qualname__
1078
+ self.exc_type_module = exc_type.__module__
1079
+ else:
1080
+ self.exc_type_qualname = None
1081
+ self.exc_type_module = None
1082
+
1083
+ if exc_type and issubclass(exc_type, SyntaxError):
1084
+ # Handle SyntaxError's specially
1085
+ self.filename = exc_value.filename
1086
+ lno = exc_value.lineno
1087
+ self.lineno = str(lno) if lno is not None else None
1088
+ end_lno = exc_value.end_lineno
1089
+ self.end_lineno = str(end_lno) if end_lno is not None else None
1090
+ self.text = exc_value.text
1091
+ self.offset = exc_value.offset
1092
+ self.end_offset = exc_value.end_offset
1093
+ self.msg = exc_value.msg
1094
+ self._is_syntax_error = True
1095
+ self._exc_metadata = getattr(exc_value, "_metadata", None)
1096
+ elif exc_type and issubclass(exc_type, ImportError) and \
1097
+ getattr(exc_value, "name_from", None) is not None:
1098
+ wrong_name = getattr(exc_value, "name_from", None)
1099
+ suggestion = _compute_suggestion_error(exc_value, exc_traceback, wrong_name)
1100
+ if suggestion:
1101
+ self._str += f". Did you mean: '{suggestion}'?"
1102
+ elif exc_type and issubclass(exc_type, (NameError, AttributeError)) and \
1103
+ getattr(exc_value, "name", None) is not None:
1104
+ wrong_name = getattr(exc_value, "name", None)
1105
+ suggestion = _compute_suggestion_error(exc_value, exc_traceback, wrong_name)
1106
+ if suggestion:
1107
+ self._str += f". Did you mean: '{suggestion}'?"
1108
+ if issubclass(exc_type, NameError):
1109
+ wrong_name = getattr(exc_value, "name", None)
1110
+ if wrong_name is not None and wrong_name in sys.stdlib_module_names:
1111
+ if suggestion:
1112
+ self._str += f" Or did you forget to import '{wrong_name}'?"
1113
+ else:
1114
+ self._str += f". Did you forget to import '{wrong_name}'?"
1115
+ if lookup_lines:
1116
+ self._load_lines()
1117
+ self.__suppress_context__ = \
1118
+ exc_value.__suppress_context__ if exc_value is not None else False
1119
+
1120
+ # Convert __cause__ and __context__ to `TracebackExceptions`s, use a
1121
+ # queue to avoid recursion (only the top-level call gets _seen == None)
1122
+ if not is_recursive_call:
1123
+ queue = [(self, exc_value)]
1124
+ while queue:
1125
+ te, e = queue.pop()
1126
+ if (e is not None and e.__cause__ is not None
1127
+ and id(e.__cause__) not in _seen):
1128
+ cause = TracebackException(
1129
+ type(e.__cause__),
1130
+ e.__cause__,
1131
+ e.__cause__.__traceback__,
1132
+ limit=limit,
1133
+ lookup_lines=lookup_lines,
1134
+ capture_locals=capture_locals,
1135
+ max_group_width=max_group_width,
1136
+ max_group_depth=max_group_depth,
1137
+ _seen=_seen)
1138
+ else:
1139
+ cause = None
1140
+
1141
+ if compact:
1142
+ need_context = (cause is None and
1143
+ e is not None and
1144
+ not e.__suppress_context__)
1145
+ else:
1146
+ need_context = True
1147
+ if (e is not None and e.__context__ is not None
1148
+ and need_context and id(e.__context__) not in _seen):
1149
+ context = TracebackException(
1150
+ type(e.__context__),
1151
+ e.__context__,
1152
+ e.__context__.__traceback__,
1153
+ limit=limit,
1154
+ lookup_lines=lookup_lines,
1155
+ capture_locals=capture_locals,
1156
+ max_group_width=max_group_width,
1157
+ max_group_depth=max_group_depth,
1158
+ _seen=_seen)
1159
+ else:
1160
+ context = None
1161
+
1162
+ if e is not None and isinstance(e, BaseExceptionGroup):
1163
+ exceptions = []
1164
+ for exc in e.exceptions:
1165
+ texc = TracebackException(
1166
+ type(exc),
1167
+ exc,
1168
+ exc.__traceback__,
1169
+ limit=limit,
1170
+ lookup_lines=lookup_lines,
1171
+ capture_locals=capture_locals,
1172
+ max_group_width=max_group_width,
1173
+ max_group_depth=max_group_depth,
1174
+ _seen=_seen)
1175
+ exceptions.append(texc)
1176
+ else:
1177
+ exceptions = None
1178
+
1179
+ te.__cause__ = cause
1180
+ te.__context__ = context
1181
+ te.exceptions = exceptions
1182
+ if cause:
1183
+ queue.append((te.__cause__, e.__cause__))
1184
+ if context:
1185
+ queue.append((te.__context__, e.__context__))
1186
+ if exceptions:
1187
+ queue.extend(zip(te.exceptions, e.exceptions))
1188
+
1189
+ @classmethod
1190
+ def from_exception(cls, exc, *args, **kwargs):
1191
+ """Create a TracebackException from an exception."""
1192
+ return cls(type(exc), exc, exc.__traceback__, *args, **kwargs)
1193
+
1194
+ @property
1195
+ def exc_type(self):
1196
+ warnings.warn('Deprecated in 3.13. Use exc_type_str instead.',
1197
+ DeprecationWarning, stacklevel=2)
1198
+ return self._exc_type
1199
+
1200
+ @property
1201
+ def exc_type_str(self):
1202
+ if not self._have_exc_type:
1203
+ return None
1204
+ stype = self.exc_type_qualname
1205
+ smod = self.exc_type_module
1206
+ if smod not in ("__main__", "builtins"):
1207
+ if not isinstance(smod, str):
1208
+ smod = "<unknown>"
1209
+ stype = smod + '.' + stype
1210
+ return stype
1211
+
1212
+ def _load_lines(self):
1213
+ """Private API. force all lines in the stack to be loaded."""
1214
+ for frame in self.stack:
1215
+ frame.line
1216
+
1217
+ def __eq__(self, other):
1218
+ if isinstance(other, TracebackException):
1219
+ return self.__dict__ == other.__dict__
1220
+ return NotImplemented
1221
+
1222
+ def __str__(self):
1223
+ return self._str
1224
+
1225
+ def format_exception_only(self, *, show_group=False, _depth=0, **kwargs):
1226
+ """Format the exception part of the traceback.
1227
+
1228
+ The return value is a generator of strings, each ending in a newline.
1229
+
1230
+ Generator yields the exception message.
1231
+ For :exc:`SyntaxError` exceptions, it
1232
+ also yields (before the exception message)
1233
+ several lines that (when printed)
1234
+ display detailed information about where the syntax error occurred.
1235
+ Following the message, generator also yields
1236
+ all the exception's ``__notes__``.
1237
+
1238
+ When *show_group* is ``True``, and the exception is an instance of
1239
+ :exc:`BaseExceptionGroup`, the nested exceptions are included as
1240
+ well, recursively, with indentation relative to their nesting depth.
1241
+ """
1242
+ colorize = kwargs.get("colorize", False)
1243
+
1244
+ indent = 3 * _depth * ' '
1245
+ if not self._have_exc_type:
1246
+ yield indent + _format_final_exc_line(None, self._str, colorize=colorize)
1247
+ return
1248
+
1249
+ stype = self.exc_type_str
1250
+ if not self._is_syntax_error:
1251
+ if _depth > 0:
1252
+ # Nested exceptions needs correct handling of multiline messages.
1253
+ formatted = _format_final_exc_line(
1254
+ stype, self._str, insert_final_newline=False, colorize=colorize
1255
+ ).split('\n')
1256
+ yield from [
1257
+ indent + l + '\n'
1258
+ for l in formatted
1259
+ ]
1260
+ else:
1261
+ yield _format_final_exc_line(stype, self._str, colorize=colorize)
1262
+ else:
1263
+ yield from [indent + l for l in self._format_syntax_error(stype, colorize=colorize)]
1264
+
1265
+ if (
1266
+ isinstance(self.__notes__, collections.abc.Sequence)
1267
+ and not isinstance(self.__notes__, (str, bytes))
1268
+ ):
1269
+ for note in self.__notes__:
1270
+ note = _safe_string(note, 'note')
1271
+ yield from [indent + l + '\n' for l in note.split('\n')]
1272
+ elif self.__notes__ is not None:
1273
+ yield indent + "{}\n".format(_safe_string(self.__notes__, '__notes__', func=repr))
1274
+
1275
+ if self.exceptions and show_group:
1276
+ for ex in self.exceptions:
1277
+ yield from ex.format_exception_only(show_group=show_group, _depth=_depth+1, colorize=colorize)
1278
+
1279
+ def _find_keyword_typos(self):
1280
+ assert self._is_syntax_error
1281
+ try:
1282
+ import _suggestions
1283
+ except ImportError:
1284
+ _suggestions = None
1285
+
1286
+ # Only try to find keyword typos if there is no custom message
1287
+ if self.msg != "invalid syntax" and "Perhaps you forgot a comma" not in self.msg:
1288
+ return
1289
+
1290
+ if not self._exc_metadata:
1291
+ return
1292
+
1293
+ line, offset, source = self._exc_metadata
1294
+ end_line = int(self.lineno) if self.lineno is not None else 0
1295
+ lines = None
1296
+ from_filename = False
1297
+
1298
+ if source is None:
1299
+ if self.filename:
1300
+ try:
1301
+ with open(self.filename) as f:
1302
+ lines = f.read().splitlines()
1303
+ except Exception:
1304
+ line, end_line, offset = 0,1,0
1305
+ else:
1306
+ from_filename = True
1307
+ lines = lines if lines is not None else self.text.splitlines()
1308
+ else:
1309
+ lines = source.splitlines()
1310
+
1311
+ error_code = lines[line -1 if line > 0 else 0:end_line]
1312
+ error_code = textwrap.dedent('\n'.join(error_code))
1313
+
1314
+ # Do not continue if the source is too large
1315
+ if len(error_code) > 1024:
1316
+ return
1317
+
1318
+ error_lines = error_code.splitlines()
1319
+ tokens = tokenize.generate_tokens(io.StringIO(error_code).readline)
1320
+ tokens_left_to_process = 10
1321
+ import difflib
1322
+ for token in tokens:
1323
+ start, end = token.start, token.end
1324
+ if token.type != tokenize.NAME:
1325
+ continue
1326
+ # Only consider NAME tokens on the same line as the error
1327
+ the_end = end_line if line == 0 else end_line + 1
1328
+ if from_filename and token.start[0]+line != the_end:
1329
+ continue
1330
+ wrong_name = token.string
1331
+ if wrong_name in keyword.kwlist:
1332
+ continue
1333
+
1334
+ # Limit the number of valid tokens to consider to not spend
1335
+ # to much time in this function
1336
+ tokens_left_to_process -= 1
1337
+ if tokens_left_to_process < 0:
1338
+ break
1339
+ # Limit the number of possible matches to try
1340
+ max_matches = 3
1341
+ matches = []
1342
+ if _suggestions is not None:
1343
+ suggestion = _suggestions._generate_suggestions(keyword.kwlist, wrong_name)
1344
+ if suggestion:
1345
+ matches.append(suggestion)
1346
+ matches.extend(difflib.get_close_matches(wrong_name, keyword.kwlist, n=max_matches, cutoff=0.5))
1347
+ matches = matches[:max_matches]
1348
+ for suggestion in matches:
1349
+ if not suggestion or suggestion == wrong_name:
1350
+ continue
1351
+ # Try to replace the token with the keyword
1352
+ the_lines = error_lines.copy()
1353
+ the_line = the_lines[start[0] - 1][:]
1354
+ chars = list(the_line)
1355
+ chars[token.start[1]:token.end[1]] = suggestion
1356
+ the_lines[start[0] - 1] = ''.join(chars)
1357
+ code = '\n'.join(the_lines)
1358
+
1359
+ # Check if it works
1360
+ try:
1361
+ codeop.compile_command(code, symbol="exec", flags=codeop.PyCF_ONLY_AST)
1362
+ except SyntaxError:
1363
+ continue
1364
+
1365
+ # Keep token.line but handle offsets correctly
1366
+ self.text = token.line
1367
+ self.offset = token.start[1] + 1
1368
+ self.end_offset = token.end[1] + 1
1369
+ self.lineno = start[0]
1370
+ self.end_lineno = end[0]
1371
+ self.msg = f"invalid syntax. Did you mean '{suggestion}'?"
1372
+ return
1373
+
1374
+
1375
+ def _format_syntax_error(self, stype, **kwargs):
1376
+ """Format SyntaxError exceptions (internal helper)."""
1377
+ # Show exactly where the problem was found.
1378
+ colorize = kwargs.get("colorize", False)
1379
+ if colorize:
1380
+ theme = _colorize.get_theme(force_color=True).traceback
1381
+ else:
1382
+ theme = _colorize.get_theme(force_no_color=True).traceback
1383
+ filename_suffix = ''
1384
+ if self.lineno is not None:
1385
+ yield ' File {}"{}"{}, line {}{}{}\n'.format(
1386
+ theme.filename,
1387
+ self.filename or "<string>",
1388
+ theme.reset,
1389
+ theme.line_no,
1390
+ self.lineno,
1391
+ theme.reset,
1392
+ )
1393
+ elif self.filename is not None:
1394
+ filename_suffix = ' ({})'.format(self.filename)
1395
+
1396
+ text = self.text
1397
+ if isinstance(text, str):
1398
+ # text = " foo\n"
1399
+ # rtext = " foo"
1400
+ # ltext = "foo"
1401
+ with suppress(Exception):
1402
+ self._find_keyword_typos()
1403
+ text = self.text
1404
+ rtext = text.rstrip('\n')
1405
+ ltext = rtext.lstrip(' \n\f')
1406
+ spaces = len(rtext) - len(ltext)
1407
+ if self.offset is None:
1408
+ yield ' {}\n'.format(ltext)
1409
+ elif isinstance(self.offset, int):
1410
+ offset = self.offset
1411
+ if self.lineno == self.end_lineno:
1412
+ end_offset = (
1413
+ self.end_offset
1414
+ if (
1415
+ isinstance(self.end_offset, int)
1416
+ and self.end_offset != 0
1417
+ )
1418
+ else offset
1419
+ )
1420
+ else:
1421
+ end_offset = len(rtext) + 1
1422
+
1423
+ if self.text and offset > len(self.text):
1424
+ offset = len(rtext) + 1
1425
+ if self.text and end_offset > len(self.text):
1426
+ end_offset = len(rtext) + 1
1427
+ if offset >= end_offset or end_offset < 0:
1428
+ end_offset = offset + 1
1429
+
1430
+ # Convert 1-based column offset to 0-based index into stripped text
1431
+ colno = offset - 1 - spaces
1432
+ end_colno = end_offset - 1 - spaces
1433
+ caretspace = ' '
1434
+ if colno >= 0:
1435
+ # non-space whitespace (likes tabs) must be kept for alignment
1436
+ caretspace = ((c if c.isspace() else ' ') for c in ltext[:colno])
1437
+ start_color = end_color = ""
1438
+ if colorize:
1439
+ # colorize from colno to end_colno
1440
+ ltext = (
1441
+ ltext[:colno] +
1442
+ theme.error_highlight + ltext[colno:end_colno] + theme.reset +
1443
+ ltext[end_colno:]
1444
+ )
1445
+ start_color = theme.error_highlight
1446
+ end_color = theme.reset
1447
+ yield ' {}\n'.format(ltext)
1448
+ yield ' {}{}{}{}\n'.format(
1449
+ "".join(caretspace),
1450
+ start_color,
1451
+ ('^' * (end_colno - colno)),
1452
+ end_color,
1453
+ )
1454
+ else:
1455
+ yield ' {}\n'.format(ltext)
1456
+ try:
1457
+ if not (msg := self.msg):
1458
+ msg = "<no detail available>"
1459
+ except TypeError:
1460
+ pass
1461
+ yield "{}{}{}: {}{}{}{}\n".format(
1462
+ theme.type,
1463
+ stype,
1464
+ theme.reset,
1465
+ theme.message,
1466
+ msg,
1467
+ theme.reset,
1468
+ filename_suffix,
1469
+ )
1470
+
1471
+ def format(self, *, chain=True, _ctx=None, **kwargs):
1472
+ """Format the exception.
1473
+
1474
+ If chain is not *True*, *__cause__* and *__context__* will not be formatted.
1475
+
1476
+ The return value is a generator of strings, each ending in a newline and
1477
+ some containing internal newlines. `print_exception` is a wrapper around
1478
+ this method which just prints the lines to a file.
1479
+
1480
+ The message indicating which exception occurred is always the last
1481
+ string in the output.
1482
+ """
1483
+ colorize = kwargs.get("colorize", False)
1484
+ if _ctx is None:
1485
+ _ctx = _ExceptionPrintContext()
1486
+
1487
+ output = []
1488
+ exc = self
1489
+ if chain:
1490
+ while exc:
1491
+ if exc.__cause__ is not None:
1492
+ chained_msg = _cause_message
1493
+ chained_exc = exc.__cause__
1494
+ elif (exc.__context__ is not None and
1495
+ not exc.__suppress_context__):
1496
+ chained_msg = _context_message
1497
+ chained_exc = exc.__context__
1498
+ else:
1499
+ chained_msg = None
1500
+ chained_exc = None
1501
+
1502
+ output.append((chained_msg, exc))
1503
+ exc = chained_exc
1504
+ else:
1505
+ output.append((None, exc))
1506
+
1507
+ for msg, exc in reversed(output):
1508
+ if msg is not None:
1509
+ yield from _ctx.emit(msg)
1510
+ if exc.exceptions is None:
1511
+ if exc.stack:
1512
+ yield from _ctx.emit('Traceback (most recent call last):\n')
1513
+ yield from _ctx.emit(exc.stack.format(colorize=colorize))
1514
+ yield from _ctx.emit(exc.format_exception_only(colorize=colorize))
1515
+ elif _ctx.exception_group_depth > self.max_group_depth:
1516
+ # exception group, but depth exceeds limit
1517
+ yield from _ctx.emit(
1518
+ f"... (max_group_depth is {self.max_group_depth})\n")
1519
+ else:
1520
+ # format exception group
1521
+ is_toplevel = (_ctx.exception_group_depth == 0)
1522
+ if is_toplevel:
1523
+ _ctx.exception_group_depth += 1
1524
+
1525
+ if exc.stack:
1526
+ yield from _ctx.emit(
1527
+ 'Exception Group Traceback (most recent call last):\n',
1528
+ margin_char = '+' if is_toplevel else None)
1529
+ yield from _ctx.emit(exc.stack.format(colorize=colorize))
1530
+
1531
+ yield from _ctx.emit(exc.format_exception_only(colorize=colorize))
1532
+ num_excs = len(exc.exceptions)
1533
+ if num_excs <= self.max_group_width:
1534
+ n = num_excs
1535
+ else:
1536
+ n = self.max_group_width + 1
1537
+ _ctx.need_close = False
1538
+ for i in range(n):
1539
+ last_exc = (i == n-1)
1540
+ if last_exc:
1541
+ # The closing frame may be added by a recursive call
1542
+ _ctx.need_close = True
1543
+
1544
+ if self.max_group_width is not None:
1545
+ truncated = (i >= self.max_group_width)
1546
+ else:
1547
+ truncated = False
1548
+ title = f'{i+1}' if not truncated else '...'
1549
+ yield (_ctx.indent() +
1550
+ ('+-' if i==0 else ' ') +
1551
+ f'+---------------- {title} ----------------\n')
1552
+ _ctx.exception_group_depth += 1
1553
+ if not truncated:
1554
+ yield from exc.exceptions[i].format(chain=chain, _ctx=_ctx, colorize=colorize)
1555
+ else:
1556
+ remaining = num_excs - self.max_group_width
1557
+ plural = 's' if remaining > 1 else ''
1558
+ yield from _ctx.emit(
1559
+ f"and {remaining} more exception{plural}\n")
1560
+
1561
+ if last_exc and _ctx.need_close:
1562
+ yield (_ctx.indent() +
1563
+ "+------------------------------------\n")
1564
+ _ctx.need_close = False
1565
+ _ctx.exception_group_depth -= 1
1566
+
1567
+ if is_toplevel:
1568
+ assert _ctx.exception_group_depth == 1
1569
+ _ctx.exception_group_depth = 0
1570
+
1571
+
1572
+ def print(self, *, file=None, chain=True, **kwargs):
1573
+ """Print the result of self.format(chain=chain) to 'file'."""
1574
+ colorize = kwargs.get("colorize", False)
1575
+ if file is None:
1576
+ file = sys.stderr
1577
+ for line in self.format(chain=chain, colorize=colorize):
1578
+ print(line, file=file, end="")
1579
+
1580
+
1581
+ _MAX_CANDIDATE_ITEMS = 750
1582
+ _MAX_STRING_SIZE = 40
1583
+ _MOVE_COST = 2
1584
+ _CASE_COST = 1
1585
+
1586
+
1587
+ def _substitution_cost(ch_a, ch_b):
1588
+ if ch_a == ch_b:
1589
+ return 0
1590
+ if ch_a.lower() == ch_b.lower():
1591
+ return _CASE_COST
1592
+ return _MOVE_COST
1593
+
1594
+
1595
+ def _get_safe___dir__(obj):
1596
+ # Use obj.__dir__() to avoid a TypeError when calling dir(obj).
1597
+ # See gh-131001 and gh-139933.
1598
+ try:
1599
+ d = obj.__dir__()
1600
+ except TypeError: # when obj is a class
1601
+ d = type(obj).__dir__(obj)
1602
+ return sorted(x for x in d if isinstance(x, str))
1603
+
1604
+
1605
+ def _compute_suggestion_error(exc_value, tb, wrong_name):
1606
+ if wrong_name is None or not isinstance(wrong_name, str):
1607
+ return None
1608
+ if isinstance(exc_value, AttributeError):
1609
+ obj = exc_value.obj
1610
+ try:
1611
+ d = _get_safe___dir__(obj)
1612
+ hide_underscored = (wrong_name[:1] != '_')
1613
+ if hide_underscored and tb is not None:
1614
+ while tb.tb_next is not None:
1615
+ tb = tb.tb_next
1616
+ frame = tb.tb_frame
1617
+ if 'self' in frame.f_locals and frame.f_locals['self'] is obj:
1618
+ hide_underscored = False
1619
+ if hide_underscored:
1620
+ d = [x for x in d if x[:1] != '_']
1621
+ except Exception:
1622
+ return None
1623
+ elif isinstance(exc_value, ImportError):
1624
+ try:
1625
+ mod = __import__(exc_value.name)
1626
+ d = _get_safe___dir__(mod)
1627
+ if wrong_name[:1] != '_':
1628
+ d = [x for x in d if x[:1] != '_']
1629
+ except Exception:
1630
+ return None
1631
+ else:
1632
+ assert isinstance(exc_value, NameError)
1633
+ try:
1634
+ # find most recent frame
1635
+ if tb is None:
1636
+ return None
1637
+ while tb.tb_next is not None:
1638
+ tb = tb.tb_next
1639
+ frame = tb.tb_frame
1640
+ d = (
1641
+ list(frame.f_locals)
1642
+ + list(frame.f_globals)
1643
+ + list(frame.f_builtins)
1644
+ )
1645
+ d = [x for x in d if isinstance(x, str)]
1646
+
1647
+ # Check first if we are in a method and the instance
1648
+ # has the wrong name as attribute
1649
+ if 'self' in frame.f_locals:
1650
+ self = frame.f_locals['self']
1651
+ try:
1652
+ has_wrong_name = hasattr(self, wrong_name)
1653
+ except Exception:
1654
+ has_wrong_name = False
1655
+ if has_wrong_name:
1656
+ return f"self.{wrong_name}"
1657
+ except Exception:
1658
+ return None
1659
+
1660
+ try:
1661
+ import _suggestions
1662
+ except ImportError:
1663
+ pass
1664
+ else:
1665
+ return _suggestions._generate_suggestions(d, wrong_name)
1666
+
1667
+ # Compute closest match
1668
+
1669
+ if len(d) > _MAX_CANDIDATE_ITEMS:
1670
+ return None
1671
+ wrong_name_len = len(wrong_name)
1672
+ if wrong_name_len > _MAX_STRING_SIZE:
1673
+ return None
1674
+ best_distance = wrong_name_len
1675
+ suggestion = None
1676
+ for possible_name in d:
1677
+ if possible_name == wrong_name:
1678
+ # A missing attribute is "found". Don't suggest it (see GH-88821).
1679
+ continue
1680
+ # No more than 1/3 of the involved characters should need changed.
1681
+ max_distance = (len(possible_name) + wrong_name_len + 3) * _MOVE_COST // 6
1682
+ # Don't take matches we've already beaten.
1683
+ max_distance = min(max_distance, best_distance - 1)
1684
+ current_distance = _levenshtein_distance(wrong_name, possible_name, max_distance)
1685
+ if current_distance > max_distance:
1686
+ continue
1687
+ if not suggestion or current_distance < best_distance:
1688
+ suggestion = possible_name
1689
+ best_distance = current_distance
1690
+ return suggestion
1691
+
1692
+
1693
+ def _levenshtein_distance(a, b, max_cost):
1694
+ # A Python implementation of Python/suggestions.c:levenshtein_distance.
1695
+
1696
+ # Both strings are the same
1697
+ if a == b:
1698
+ return 0
1699
+
1700
+ # Trim away common affixes
1701
+ pre = 0
1702
+ while a[pre:] and b[pre:] and a[pre] == b[pre]:
1703
+ pre += 1
1704
+ a = a[pre:]
1705
+ b = b[pre:]
1706
+ post = 0
1707
+ while a[:post or None] and b[:post or None] and a[post-1] == b[post-1]:
1708
+ post -= 1
1709
+ a = a[:post or None]
1710
+ b = b[:post or None]
1711
+ if not a or not b:
1712
+ return _MOVE_COST * (len(a) + len(b))
1713
+ if len(a) > _MAX_STRING_SIZE or len(b) > _MAX_STRING_SIZE:
1714
+ return max_cost + 1
1715
+
1716
+ # Prefer shorter buffer
1717
+ if len(b) < len(a):
1718
+ a, b = b, a
1719
+
1720
+ # Quick fail when a match is impossible
1721
+ if (len(b) - len(a)) * _MOVE_COST > max_cost:
1722
+ return max_cost + 1
1723
+
1724
+ # Instead of producing the whole traditional len(a)-by-len(b)
1725
+ # matrix, we can update just one row in place.
1726
+ # Initialize the buffer row
1727
+ row = list(range(_MOVE_COST, _MOVE_COST * (len(a) + 1), _MOVE_COST))
1728
+
1729
+ result = 0
1730
+ for bindex in range(len(b)):
1731
+ bchar = b[bindex]
1732
+ distance = result = bindex * _MOVE_COST
1733
+ minimum = sys.maxsize
1734
+ for index in range(len(a)):
1735
+ # 1) Previous distance in this row is cost(b[:b_index], a[:index])
1736
+ substitute = distance + _substitution_cost(bchar, a[index])
1737
+ # 2) cost(b[:b_index], a[:index+1]) from previous row
1738
+ distance = row[index]
1739
+ # 3) existing result is cost(b[:b_index+1], a[index])
1740
+
1741
+ insert_delete = min(result, distance) + _MOVE_COST
1742
+ result = min(insert_delete, substitute)
1743
+
1744
+ # cost(b[:b_index+1], a[:index+1])
1745
+ row[index] = result
1746
+ if result < minimum:
1747
+ minimum = result
1748
+ if minimum > max_cost:
1749
+ # Everything in this row is too big, so bail early.
1750
+ return max_cost + 1
1751
+ return result