basedpyright 1.22.0 → 1.22.1

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 (280) hide show
  1. package/dist/971.js +3 -0
  2. package/dist/971.js.LICENSE.txt +27 -0
  3. package/dist/971.js.map +1 -0
  4. package/dist/pyright-langserver.js +1 -1
  5. package/dist/pyright-langserver.js.LICENSE.txt +0 -28
  6. package/dist/pyright-langserver.js.map +1 -1
  7. package/dist/pyright.js +1 -1
  8. package/dist/pyright.js.LICENSE.txt +0 -28
  9. package/dist/pyright.js.map +1 -1
  10. package/dist/typeshed-fallback/commit.txt +1 -1
  11. package/dist/typeshed-fallback/stdlib/VERSIONS +9 -0
  12. package/dist/typeshed-fallback/stdlib/_codecs.pyi +4 -1
  13. package/dist/typeshed-fallback/stdlib/_collections_abc.pyi +9 -0
  14. package/dist/typeshed-fallback/stdlib/_csv.pyi +88 -14
  15. package/dist/typeshed-fallback/stdlib/_ctypes.pyi +186 -55
  16. package/dist/typeshed-fallback/stdlib/_curses.pyi +2 -6
  17. package/dist/typeshed-fallback/stdlib/_curses_panel.pyi +67 -0
  18. package/dist/typeshed-fallback/stdlib/_dbm.pyi +7 -6
  19. package/dist/typeshed-fallback/stdlib/_decimal.pyi +1 -8
  20. package/dist/typeshed-fallback/stdlib/_hashlib.pyi +253 -0
  21. package/dist/typeshed-fallback/stdlib/_json.pyi +7 -0
  22. package/dist/typeshed-fallback/stdlib/_multibytecodec.pyi +44 -0
  23. package/dist/typeshed-fallback/stdlib/_posixsubprocess.pyi +0 -1
  24. package/dist/typeshed-fallback/stdlib/_socket.pyi +92 -42
  25. package/dist/typeshed-fallback/stdlib/_thread.pyi +16 -0
  26. package/dist/typeshed-fallback/stdlib/_threading_local.pyi +4 -0
  27. package/dist/typeshed-fallback/stdlib/builtins.pyi +21 -2
  28. package/dist/typeshed-fallback/stdlib/bz2.pyi +1 -0
  29. package/dist/typeshed-fallback/stdlib/codecs.pyi +5 -1
  30. package/dist/typeshed-fallback/stdlib/configparser.pyi +17 -9
  31. package/dist/typeshed-fallback/stdlib/contextlib.pyi +9 -3
  32. package/dist/typeshed-fallback/stdlib/crypt.pyi +9 -2
  33. package/dist/typeshed-fallback/stdlib/csv.pyi +6 -4
  34. package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +32 -12
  35. package/dist/typeshed-fallback/stdlib/ctypes/macholib/__init__.pyi +1 -0
  36. package/dist/typeshed-fallback/stdlib/ctypes/macholib/dyld.pyi +8 -0
  37. package/dist/typeshed-fallback/stdlib/ctypes/macholib/dylib.pyi +14 -0
  38. package/dist/typeshed-fallback/stdlib/ctypes/macholib/framework.pyi +14 -0
  39. package/dist/typeshed-fallback/stdlib/ctypes/util.pyi +2 -0
  40. package/dist/typeshed-fallback/stdlib/ctypes/wintypes.pyi +11 -5
  41. package/dist/typeshed-fallback/stdlib/curses/__init__.pyi +19 -1
  42. package/dist/typeshed-fallback/stdlib/curses/panel.pyi +1 -34
  43. package/dist/typeshed-fallback/stdlib/datetime.pyi +15 -6
  44. package/dist/typeshed-fallback/stdlib/dbm/__init__.pyi +3 -1
  45. package/dist/typeshed-fallback/stdlib/decimal.pyi +10 -1
  46. package/dist/typeshed-fallback/stdlib/distutils/ccompiler.pyi +1 -1
  47. package/dist/typeshed-fallback/stdlib/distutils/spawn.pyi +5 -1
  48. package/dist/typeshed-fallback/stdlib/doctest.pyi +7 -9
  49. package/dist/typeshed-fallback/stdlib/email/__init__.pyi +23 -15
  50. package/dist/typeshed-fallback/stdlib/email/_policybase.pyi +2 -0
  51. package/dist/typeshed-fallback/stdlib/encodings/aliases.pyi +1 -0
  52. package/dist/typeshed-fallback/stdlib/encodings/ascii.pyi +30 -0
  53. package/dist/typeshed-fallback/stdlib/encodings/base64_codec.pyi +26 -0
  54. package/dist/typeshed-fallback/stdlib/encodings/big5.pyi +23 -0
  55. package/dist/typeshed-fallback/stdlib/encodings/big5hkscs.pyi +23 -0
  56. package/dist/typeshed-fallback/stdlib/encodings/bz2_codec.pyi +26 -0
  57. package/dist/typeshed-fallback/stdlib/encodings/charmap.pyi +33 -0
  58. package/dist/typeshed-fallback/stdlib/encodings/cp037.pyi +21 -0
  59. package/dist/typeshed-fallback/stdlib/encodings/cp1006.pyi +21 -0
  60. package/dist/typeshed-fallback/stdlib/encodings/cp1026.pyi +21 -0
  61. package/dist/typeshed-fallback/stdlib/encodings/cp1125.pyi +21 -0
  62. package/dist/typeshed-fallback/stdlib/encodings/cp1140.pyi +21 -0
  63. package/dist/typeshed-fallback/stdlib/encodings/cp1250.pyi +21 -0
  64. package/dist/typeshed-fallback/stdlib/encodings/cp1251.pyi +21 -0
  65. package/dist/typeshed-fallback/stdlib/encodings/cp1252.pyi +21 -0
  66. package/dist/typeshed-fallback/stdlib/encodings/cp1253.pyi +21 -0
  67. package/dist/typeshed-fallback/stdlib/encodings/cp1254.pyi +21 -0
  68. package/dist/typeshed-fallback/stdlib/encodings/cp1255.pyi +21 -0
  69. package/dist/typeshed-fallback/stdlib/encodings/cp1256.pyi +21 -0
  70. package/dist/typeshed-fallback/stdlib/encodings/cp1257.pyi +21 -0
  71. package/dist/typeshed-fallback/stdlib/encodings/cp1258.pyi +21 -0
  72. package/dist/typeshed-fallback/stdlib/encodings/cp273.pyi +21 -0
  73. package/dist/typeshed-fallback/stdlib/encodings/cp424.pyi +21 -0
  74. package/dist/typeshed-fallback/stdlib/encodings/cp437.pyi +21 -0
  75. package/dist/typeshed-fallback/stdlib/encodings/cp500.pyi +21 -0
  76. package/dist/typeshed-fallback/stdlib/encodings/cp720.pyi +21 -0
  77. package/dist/typeshed-fallback/stdlib/encodings/cp737.pyi +21 -0
  78. package/dist/typeshed-fallback/stdlib/encodings/cp775.pyi +21 -0
  79. package/dist/typeshed-fallback/stdlib/encodings/cp850.pyi +21 -0
  80. package/dist/typeshed-fallback/stdlib/encodings/cp852.pyi +21 -0
  81. package/dist/typeshed-fallback/stdlib/encodings/cp855.pyi +21 -0
  82. package/dist/typeshed-fallback/stdlib/encodings/cp856.pyi +21 -0
  83. package/dist/typeshed-fallback/stdlib/encodings/cp857.pyi +21 -0
  84. package/dist/typeshed-fallback/stdlib/encodings/cp858.pyi +21 -0
  85. package/dist/typeshed-fallback/stdlib/encodings/cp860.pyi +21 -0
  86. package/dist/typeshed-fallback/stdlib/encodings/cp861.pyi +21 -0
  87. package/dist/typeshed-fallback/stdlib/encodings/cp862.pyi +21 -0
  88. package/dist/typeshed-fallback/stdlib/encodings/cp863.pyi +21 -0
  89. package/dist/typeshed-fallback/stdlib/encodings/cp864.pyi +21 -0
  90. package/dist/typeshed-fallback/stdlib/encodings/cp865.pyi +21 -0
  91. package/dist/typeshed-fallback/stdlib/encodings/cp866.pyi +21 -0
  92. package/dist/typeshed-fallback/stdlib/encodings/cp869.pyi +21 -0
  93. package/dist/typeshed-fallback/stdlib/encodings/cp874.pyi +21 -0
  94. package/dist/typeshed-fallback/stdlib/encodings/cp875.pyi +21 -0
  95. package/dist/typeshed-fallback/stdlib/encodings/cp932.pyi +23 -0
  96. package/dist/typeshed-fallback/stdlib/encodings/cp949.pyi +23 -0
  97. package/dist/typeshed-fallback/stdlib/encodings/cp950.pyi +23 -0
  98. package/dist/typeshed-fallback/stdlib/encodings/euc_jis_2004.pyi +23 -0
  99. package/dist/typeshed-fallback/stdlib/encodings/euc_jisx0213.pyi +23 -0
  100. package/dist/typeshed-fallback/stdlib/encodings/euc_jp.pyi +23 -0
  101. package/dist/typeshed-fallback/stdlib/encodings/euc_kr.pyi +23 -0
  102. package/dist/typeshed-fallback/stdlib/encodings/gb18030.pyi +23 -0
  103. package/dist/typeshed-fallback/stdlib/encodings/gb2312.pyi +23 -0
  104. package/dist/typeshed-fallback/stdlib/encodings/gbk.pyi +23 -0
  105. package/dist/typeshed-fallback/stdlib/encodings/hex_codec.pyi +26 -0
  106. package/dist/typeshed-fallback/stdlib/encodings/hp_roman8.pyi +21 -0
  107. package/dist/typeshed-fallback/stdlib/encodings/hz.pyi +23 -0
  108. package/dist/typeshed-fallback/stdlib/encodings/idna.pyi +26 -0
  109. package/dist/typeshed-fallback/stdlib/encodings/iso2022_jp.pyi +23 -0
  110. package/dist/typeshed-fallback/stdlib/encodings/iso2022_jp_1.pyi +23 -0
  111. package/dist/typeshed-fallback/stdlib/encodings/iso2022_jp_2.pyi +23 -0
  112. package/dist/typeshed-fallback/stdlib/encodings/iso2022_jp_2004.pyi +23 -0
  113. package/dist/typeshed-fallback/stdlib/encodings/iso2022_jp_3.pyi +23 -0
  114. package/dist/typeshed-fallback/stdlib/encodings/iso2022_jp_ext.pyi +23 -0
  115. package/dist/typeshed-fallback/stdlib/encodings/iso2022_kr.pyi +23 -0
  116. package/dist/typeshed-fallback/stdlib/encodings/iso8859_1.pyi +21 -0
  117. package/dist/typeshed-fallback/stdlib/encodings/iso8859_10.pyi +21 -0
  118. package/dist/typeshed-fallback/stdlib/encodings/iso8859_11.pyi +21 -0
  119. package/dist/typeshed-fallback/stdlib/encodings/iso8859_13.pyi +21 -0
  120. package/dist/typeshed-fallback/stdlib/encodings/iso8859_14.pyi +21 -0
  121. package/dist/typeshed-fallback/stdlib/encodings/iso8859_15.pyi +21 -0
  122. package/dist/typeshed-fallback/stdlib/encodings/iso8859_16.pyi +21 -0
  123. package/dist/typeshed-fallback/stdlib/encodings/iso8859_2.pyi +21 -0
  124. package/dist/typeshed-fallback/stdlib/encodings/iso8859_3.pyi +21 -0
  125. package/dist/typeshed-fallback/stdlib/encodings/iso8859_4.pyi +21 -0
  126. package/dist/typeshed-fallback/stdlib/encodings/iso8859_5.pyi +21 -0
  127. package/dist/typeshed-fallback/stdlib/encodings/iso8859_6.pyi +21 -0
  128. package/dist/typeshed-fallback/stdlib/encodings/iso8859_7.pyi +21 -0
  129. package/dist/typeshed-fallback/stdlib/encodings/iso8859_8.pyi +21 -0
  130. package/dist/typeshed-fallback/stdlib/encodings/iso8859_9.pyi +21 -0
  131. package/dist/typeshed-fallback/stdlib/encodings/johab.pyi +23 -0
  132. package/dist/typeshed-fallback/stdlib/encodings/koi8_r.pyi +21 -0
  133. package/dist/typeshed-fallback/stdlib/encodings/koi8_t.pyi +21 -0
  134. package/dist/typeshed-fallback/stdlib/encodings/koi8_u.pyi +21 -0
  135. package/dist/typeshed-fallback/stdlib/encodings/kz1048.pyi +21 -0
  136. package/dist/typeshed-fallback/stdlib/encodings/latin_1.pyi +30 -0
  137. package/dist/typeshed-fallback/stdlib/encodings/mac_arabic.pyi +21 -0
  138. package/dist/typeshed-fallback/stdlib/encodings/mac_centeuro.pyi +21 -0
  139. package/dist/typeshed-fallback/stdlib/encodings/mac_croatian.pyi +21 -0
  140. package/dist/typeshed-fallback/stdlib/encodings/mac_cyrillic.pyi +21 -0
  141. package/dist/typeshed-fallback/stdlib/encodings/mac_farsi.pyi +21 -0
  142. package/dist/typeshed-fallback/stdlib/encodings/mac_greek.pyi +21 -0
  143. package/dist/typeshed-fallback/stdlib/encodings/mac_iceland.pyi +21 -0
  144. package/dist/typeshed-fallback/stdlib/encodings/mac_latin2.pyi +21 -0
  145. package/dist/typeshed-fallback/stdlib/encodings/mac_roman.pyi +21 -0
  146. package/dist/typeshed-fallback/stdlib/encodings/mac_romanian.pyi +21 -0
  147. package/dist/typeshed-fallback/stdlib/encodings/mac_turkish.pyi +21 -0
  148. package/dist/typeshed-fallback/stdlib/encodings/mbcs.pyi +28 -0
  149. package/dist/typeshed-fallback/stdlib/encodings/oem.pyi +28 -0
  150. package/dist/typeshed-fallback/stdlib/encodings/palmos.pyi +21 -0
  151. package/dist/typeshed-fallback/stdlib/encodings/ptcp154.pyi +21 -0
  152. package/dist/typeshed-fallback/stdlib/encodings/punycode.pyi +33 -0
  153. package/dist/typeshed-fallback/stdlib/encodings/quopri_codec.pyi +26 -0
  154. package/dist/typeshed-fallback/stdlib/encodings/raw_unicode_escape.pyi +34 -0
  155. package/dist/typeshed-fallback/stdlib/encodings/rot_13.pyi +23 -0
  156. package/dist/typeshed-fallback/stdlib/encodings/shift_jis.pyi +23 -0
  157. package/dist/typeshed-fallback/stdlib/encodings/shift_jis_2004.pyi +23 -0
  158. package/dist/typeshed-fallback/stdlib/encodings/shift_jisx0213.pyi +23 -0
  159. package/dist/typeshed-fallback/stdlib/encodings/tis_620.pyi +21 -0
  160. package/dist/typeshed-fallback/stdlib/encodings/undefined.pyi +20 -0
  161. package/dist/typeshed-fallback/stdlib/encodings/unicode_escape.pyi +34 -0
  162. package/dist/typeshed-fallback/stdlib/encodings/utf_16.pyi +20 -0
  163. package/dist/typeshed-fallback/stdlib/encodings/utf_16_be.pyi +26 -0
  164. package/dist/typeshed-fallback/stdlib/encodings/utf_16_le.pyi +26 -0
  165. package/dist/typeshed-fallback/stdlib/encodings/utf_32.pyi +20 -0
  166. package/dist/typeshed-fallback/stdlib/encodings/utf_32_be.pyi +26 -0
  167. package/dist/typeshed-fallback/stdlib/encodings/utf_32_le.pyi +26 -0
  168. package/dist/typeshed-fallback/stdlib/encodings/utf_7.pyi +26 -0
  169. package/dist/typeshed-fallback/stdlib/encodings/utf_8.pyi +7 -2
  170. package/dist/typeshed-fallback/stdlib/encodings/uu_codec.pyi +28 -0
  171. package/dist/typeshed-fallback/stdlib/encodings/zlib_codec.pyi +26 -0
  172. package/dist/typeshed-fallback/stdlib/fcntl.pyi +3 -1
  173. package/dist/typeshed-fallback/stdlib/gettext.pyi +2 -0
  174. package/dist/typeshed-fallback/stdlib/hashlib.pyi +37 -96
  175. package/dist/typeshed-fallback/stdlib/hmac.pyi +33 -28
  176. package/dist/typeshed-fallback/stdlib/importlib/resources/abc.pyi +2 -0
  177. package/dist/typeshed-fallback/stdlib/ipaddress.pyi +175 -21
  178. package/dist/typeshed-fallback/stdlib/json/scanner.pyi +3 -0
  179. package/dist/typeshed-fallback/stdlib/modulefinder.pyi +2 -0
  180. package/dist/typeshed-fallback/stdlib/multiprocessing/context.pyi +2 -1
  181. package/dist/typeshed-fallback/stdlib/multiprocessing/sharedctypes.pyi +2 -1
  182. package/dist/typeshed-fallback/stdlib/multiprocessing/synchronize.pyi +9 -5
  183. package/dist/typeshed-fallback/stdlib/os/__init__.pyi +506 -44
  184. package/dist/typeshed-fallback/stdlib/platform.pyi +38 -8
  185. package/dist/typeshed-fallback/stdlib/posix.pyi +30 -10
  186. package/dist/typeshed-fallback/stdlib/pstats.pyi +29 -11
  187. package/dist/typeshed-fallback/stdlib/pyexpat/__init__.pyi +3 -1
  188. package/dist/typeshed-fallback/stdlib/sched.pyi +5 -2
  189. package/dist/typeshed-fallback/stdlib/socket.pyi +620 -63
  190. package/dist/typeshed-fallback/stdlib/sqlite3/__init__.pyi +3 -1
  191. package/dist/typeshed-fallback/stdlib/sqlite3/dump.pyi +2 -0
  192. package/dist/typeshed-fallback/stdlib/ssl.pyi +3 -1
  193. package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +111 -9
  194. package/dist/typeshed-fallback/stdlib/termios.pyi +108 -72
  195. package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +103 -50
  196. package/dist/typeshed-fallback/stdlib/tkinter/font.pyi +3 -1
  197. package/dist/typeshed-fallback/stdlib/tokenize.pyi +3 -1
  198. package/dist/typeshed-fallback/stdlib/turtle.pyi +15 -4
  199. package/dist/typeshed-fallback/stdlib/typing.pyi +10 -8
  200. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +8 -5
  201. package/dist/typeshed-fallback/stdlib/webbrowser.pyi +1 -0
  202. package/dist/typeshed-fallback/stdlib/wsgiref/types.pyi +2 -2
  203. package/dist/typeshed-fallback/stdlib/xml/__init__.pyi +3 -1
  204. package/dist/typeshed-fallback/stdlib/zipfile/_path.pyi +2 -0
  205. package/dist/typeshed-fallback/stdlib/zlib.pyi +22 -8
  206. package/dist/typeshed-fallback/stubs/Deprecated/METADATA.toml +1 -1
  207. package/dist/typeshed-fallback/stubs/Deprecated/deprecated/classic.pyi +6 -1
  208. package/dist/typeshed-fallback/stubs/Deprecated/deprecated/sphinx.pyi +1 -0
  209. package/dist/typeshed-fallback/stubs/bleach/METADATA.toml +1 -1
  210. package/dist/typeshed-fallback/stubs/docutils/docutils/core.pyi +216 -1
  211. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/__init__.pyi +60 -2
  212. package/dist/typeshed-fallback/stubs/gevent/METADATA.toml +1 -1
  213. package/dist/typeshed-fallback/stubs/gevent/gevent/events.pyi +3 -1
  214. package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +6 -2
  215. package/dist/typeshed-fallback/stubs/icalendar/icalendar/__init__.pyi +14 -0
  216. package/dist/typeshed-fallback/stubs/icalendar/icalendar/alarms.pyi +54 -0
  217. package/dist/typeshed-fallback/stubs/icalendar/icalendar/cal.pyi +137 -11
  218. package/dist/typeshed-fallback/stubs/icalendar/icalendar/prop.pyi +8 -7
  219. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/__init__.pyi +3 -2
  220. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/equivalent_timezone_ids.pyi +15 -0
  221. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/equivalent_timezone_ids_result.pyi +6 -0
  222. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/tzid.pyi +8 -0
  223. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/tzp.pyi +2 -2
  224. package/dist/typeshed-fallback/stubs/icalendar/icalendar/tools.pyi +12 -1
  225. package/dist/typeshed-fallback/stubs/networkx/METADATA.toml +1 -1
  226. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/strongly_connected.pyi +0 -2
  227. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/branchings.pyi +0 -31
  228. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/operations.pyi +1 -1
  229. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/reportviews.pyi +3 -1
  230. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/layout.pyi +4 -0
  231. package/dist/typeshed-fallback/stubs/networkx/networkx/generators/trees.pyi +0 -4
  232. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/json_graph/node_link.pyi +12 -2
  233. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/text.pyi +1 -4
  234. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/configs.pyi +20 -2
  235. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/__init__.pyi +2 -1
  236. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/__init__.pyi +2 -0
  237. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/_writer.pyi +4 -2
  238. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/cell.pyi +2 -2
  239. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/comments/comment_sheet.pyi +2 -1
  240. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/workbook/workbook.pyi +2 -2
  241. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_read_only.pyi +5 -14
  242. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_reader.pyi +2 -3
  243. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/_writer.pyi +4 -3
  244. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/merge.pyi +2 -1
  245. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/worksheet.pyi +30 -19
  246. package/dist/typeshed-fallback/stubs/peewee/METADATA.toml +1 -1
  247. package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +3 -1
  248. package/dist/typeshed-fallback/stubs/pynput/pynput/_util.pyi +2 -2
  249. package/dist/typeshed-fallback/stubs/pysftp/pysftp/__init__.pyi +2 -2
  250. package/dist/typeshed-fallback/stubs/pywin32/isapi/install.pyi +98 -0
  251. package/dist/typeshed-fallback/stubs/pywin32/win32/win32clipboard.pyi +26 -24
  252. package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
  253. package/dist/typeshed-fallback/stubs/setuptools/distutils/spawn.pyi +1 -0
  254. package/dist/typeshed-fallback/stubs/setuptools/setuptools/__init__.pyi +6 -7
  255. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/ccompiler.pyi +2 -2
  256. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/cmd.pyi +2 -2
  257. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/spawn.pyi +7 -0
  258. package/dist/typeshed-fallback/stubs/setuptools/setuptools/build_meta.pyi +4 -2
  259. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/bdist_egg.pyi +9 -8
  260. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/bdist_wheel.pyi +3 -5
  261. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/build_ext.pyi +2 -1
  262. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/build_py.pyi +6 -7
  263. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/easy_install.pyi +12 -17
  264. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/editable_wheel.pyi +1 -1
  265. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/egg_info.pyi +1 -1
  266. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/install_egg_info.pyi +1 -1
  267. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/sdist.pyi +2 -1
  268. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/test.pyi +2 -2
  269. package/dist/typeshed-fallback/stubs/setuptools/setuptools/config/__init__.pyi +1 -14
  270. package/dist/typeshed-fallback/stubs/setuptools/setuptools/config/expand.pyi +1 -1
  271. package/dist/typeshed-fallback/stubs/setuptools/setuptools/config/setupcfg.pyi +7 -5
  272. package/dist/typeshed-fallback/stubs/setuptools/setuptools/depends.pyi +8 -4
  273. package/dist/typeshed-fallback/stubs/setuptools/setuptools/dist.pyi +1 -1
  274. package/dist/typeshed-fallback/stubs/setuptools/setuptools/msvc.pyi +7 -8
  275. package/dist/typeshed-fallback/stubs/setuptools/setuptools/package_index.pyi +7 -3
  276. package/dist/typeshed-fallback/stubs/setuptools/setuptools/sandbox.pyi +2 -4
  277. package/dist/typeshed-fallback/stubs/tqdm/METADATA.toml +2 -1
  278. package/dist/typeshed-fallback/stubs/tqdm/tqdm/contrib/discord.pyi +14 -3
  279. package/dist/typeshed-fallback/stubs/waitress/waitress/runner.pyi +1 -5
  280. package/package.json +1 -1
@@ -36,22 +36,20 @@ if sys.platform != "win32":
36
36
  F_TLOCK as F_TLOCK,
37
37
  F_ULOCK as F_ULOCK,
38
38
  NGROUPS_MAX as NGROUPS_MAX,
39
+ O_ACCMODE as O_ACCMODE,
39
40
  O_APPEND as O_APPEND,
40
41
  O_ASYNC as O_ASYNC,
42
+ O_CLOEXEC as O_CLOEXEC,
41
43
  O_CREAT as O_CREAT,
42
- O_DIRECT as O_DIRECT,
43
44
  O_DIRECTORY as O_DIRECTORY,
44
45
  O_DSYNC as O_DSYNC,
45
46
  O_EXCL as O_EXCL,
46
- O_LARGEFILE as O_LARGEFILE,
47
47
  O_NDELAY as O_NDELAY,
48
- O_NOATIME as O_NOATIME,
49
48
  O_NOCTTY as O_NOCTTY,
50
49
  O_NOFOLLOW as O_NOFOLLOW,
51
50
  O_NONBLOCK as O_NONBLOCK,
52
51
  O_RDONLY as O_RDONLY,
53
52
  O_RDWR as O_RDWR,
54
- O_RSYNC as O_RSYNC,
55
53
  O_SYNC as O_SYNC,
56
54
  O_TRUNC as O_TRUNC,
57
55
  O_WRONLY as O_WRONLY,
@@ -71,13 +69,9 @@ if sys.platform != "win32":
71
69
  RTLD_NODELETE as RTLD_NODELETE,
72
70
  RTLD_NOLOAD as RTLD_NOLOAD,
73
71
  RTLD_NOW as RTLD_NOW,
74
- SCHED_BATCH as SCHED_BATCH,
75
72
  SCHED_FIFO as SCHED_FIFO,
76
- SCHED_IDLE as SCHED_IDLE,
77
73
  SCHED_OTHER as SCHED_OTHER,
78
- SCHED_RESET_ON_FORK as SCHED_RESET_ON_FORK,
79
74
  SCHED_RR as SCHED_RR,
80
- SCHED_SPORADIC as SCHED_SPORADIC,
81
75
  SEEK_DATA as SEEK_DATA,
82
76
  SEEK_HOLE as SEEK_HOLE,
83
77
  ST_NOSUID as ST_NOSUID,
@@ -240,6 +234,9 @@ if sys.platform != "win32":
240
234
  if sys.version_info >= (3, 9):
241
235
  from os import CLD_KILLED as CLD_KILLED, CLD_STOPPED as CLD_STOPPED, waitstatus_to_exitcode as waitstatus_to_exitcode
242
236
 
237
+ if sys.version_info >= (3, 10):
238
+ from os import O_FSYNC as O_FSYNC
239
+
243
240
  if sys.version_info >= (3, 11):
244
241
  from os import login_tty as login_tty
245
242
 
@@ -261,10 +258,13 @@ if sys.platform != "win32":
261
258
  )
262
259
 
263
260
  if sys.platform != "linux":
264
- from os import chflags as chflags, lchflags as lchflags, lchmod as lchmod
261
+ from os import O_EXLOCK as O_EXLOCK, O_SHLOCK as O_SHLOCK, chflags as chflags, lchflags as lchflags, lchmod as lchmod
265
262
 
266
263
  if sys.platform != "linux" and sys.platform != "darwin":
267
- from os import EX_NOTFOUND as EX_NOTFOUND
264
+ from os import EX_NOTFOUND as EX_NOTFOUND, SCHED_SPORADIC as SCHED_SPORADIC
265
+
266
+ if sys.platform != "linux" and sys.version_info >= (3, 13):
267
+ from os import O_EXEC as O_EXEC, O_SEARCH as O_SEARCH
268
268
 
269
269
  if sys.platform != "darwin":
270
270
  from os import (
@@ -278,6 +278,15 @@ if sys.platform != "win32":
278
278
  RWF_HIPRI as RWF_HIPRI,
279
279
  RWF_NOWAIT as RWF_NOWAIT,
280
280
  RWF_SYNC as RWF_SYNC,
281
+ ST_APPEND as ST_APPEND,
282
+ ST_MANDLOCK as ST_MANDLOCK,
283
+ ST_NOATIME as ST_NOATIME,
284
+ ST_NODEV as ST_NODEV,
285
+ ST_NODIRATIME as ST_NODIRATIME,
286
+ ST_NOEXEC as ST_NOEXEC,
287
+ ST_RELATIME as ST_RELATIME,
288
+ ST_SYNCHRONOUS as ST_SYNCHRONOUS,
289
+ ST_WRITE as ST_WRITE,
281
290
  fdatasync as fdatasync,
282
291
  getresgid as getresgid,
283
292
  getresuid as getresuid,
@@ -322,7 +331,16 @@ if sys.platform != "win32":
322
331
  MFD_HUGE_MASK as MFD_HUGE_MASK,
323
332
  MFD_HUGE_SHIFT as MFD_HUGE_SHIFT,
324
333
  MFD_HUGETLB as MFD_HUGETLB,
334
+ O_DIRECT as O_DIRECT,
335
+ O_LARGEFILE as O_LARGEFILE,
336
+ O_NOATIME as O_NOATIME,
337
+ O_PATH as O_PATH,
338
+ O_RSYNC as O_RSYNC,
339
+ O_TMPFILE as O_TMPFILE,
325
340
  RTLD_DEEPBIND as RTLD_DEEPBIND,
341
+ SCHED_BATCH as SCHED_BATCH,
342
+ SCHED_IDLE as SCHED_IDLE,
343
+ SCHED_RESET_ON_FORK as SCHED_RESET_ON_FORK,
326
344
  XATTR_CREATE as XATTR_CREATE,
327
345
  XATTR_REPLACE as XATTR_REPLACE,
328
346
  XATTR_SIZE_MAX as XATTR_SIZE_MAX,
@@ -380,6 +398,8 @@ if sys.platform != "win32":
380
398
  PRIO_DARWIN_PROCESS as PRIO_DARWIN_PROCESS,
381
399
  PRIO_DARWIN_THREAD as PRIO_DARWIN_THREAD,
382
400
  )
401
+ if sys.platform == "darwin" and sys.version_info >= (3, 10):
402
+ from os import O_EVTONLY as O_EVTONLY, O_NOFOLLOW_ANY as O_NOFOLLOW_ANY, O_SYMLINK as O_SYMLINK
383
403
 
384
404
  # Not same as os.environ or os.environb
385
405
  # Because of this variable, we can't do "from posix import *" in os/__init__.pyi
@@ -1,11 +1,16 @@
1
1
  import sys
2
- from _typeshed import StrEnum, StrOrBytesPath
2
+ from _typeshed import StrOrBytesPath
3
3
  from collections.abc import Iterable
4
4
  from cProfile import Profile as _cProfile
5
5
  from profile import Profile
6
6
  from typing import IO, Any, Literal, overload
7
7
  from typing_extensions import Self, TypeAlias
8
8
 
9
+ if sys.version_info >= (3, 11):
10
+ from enum import StrEnum
11
+ else:
12
+ from enum import Enum
13
+
9
14
  if sys.version_info >= (3, 9):
10
15
  __all__ = ["Stats", "SortKey", "FunctionProfile", "StatsProfile"]
11
16
  else:
@@ -13,16 +18,29 @@ else:
13
18
 
14
19
  _Selector: TypeAlias = str | float | int
15
20
 
16
- class SortKey(StrEnum):
17
- CALLS = "calls"
18
- CUMULATIVE = "cumulative"
19
- FILENAME = "filename"
20
- LINE = "line"
21
- NAME = "name"
22
- NFL = "nfl"
23
- PCALLS = "pcalls"
24
- STDNAME = "stdname"
25
- TIME = "time"
21
+ if sys.version_info >= (3, 11):
22
+ class SortKey(StrEnum):
23
+ CALLS = "calls"
24
+ CUMULATIVE = "cumulative"
25
+ FILENAME = "filename"
26
+ LINE = "line"
27
+ NAME = "name"
28
+ NFL = "nfl"
29
+ PCALLS = "pcalls"
30
+ STDNAME = "stdname"
31
+ TIME = "time"
32
+
33
+ else:
34
+ class SortKey(str, Enum):
35
+ CALLS = "calls"
36
+ CUMULATIVE = "cumulative"
37
+ FILENAME = "filename"
38
+ LINE = "line"
39
+ NAME = "name"
40
+ NFL = "nfl"
41
+ PCALLS = "pcalls"
42
+ STDNAME = "stdname"
43
+ TIME = "time"
26
44
 
27
45
  if sys.version_info >= (3, 9):
28
46
  from dataclasses import dataclass
@@ -4,7 +4,7 @@ from _typeshed import ReadableBuffer, SupportsRead
4
4
  from collections.abc import Callable
5
5
  from pyexpat import errors as errors, model as model
6
6
  from typing import Any, Final, final
7
- from typing_extensions import TypeAlias
7
+ from typing_extensions import CapsuleType, TypeAlias
8
8
  from xml.parsers.expat import ExpatError as ExpatError
9
9
 
10
10
  EXPAT_VERSION: Final[str] # undocumented
@@ -127,3 +127,5 @@ def ParserCreate(
127
127
  ) -> XMLParserType:
128
128
  """Return a new XML parser object."""
129
129
  ...
130
+
131
+ expat_CAPI: CapsuleType
@@ -1,6 +1,6 @@
1
1
  import sys
2
2
  from collections.abc import Callable
3
- from typing import Any, NamedTuple
3
+ from typing import Any, NamedTuple, type_check_only
4
4
  from typing_extensions import TypeAlias
5
5
 
6
6
  __all__ = ["scheduler"]
@@ -17,13 +17,16 @@ if sys.version_info >= (3, 10):
17
17
  kwargs: dict[str, Any]
18
18
 
19
19
  else:
20
- class Event(NamedTuple):
20
+ @type_check_only
21
+ class _EventBase(NamedTuple):
21
22
  time: float
22
23
  priority: Any
23
24
  action: _ActionCallback
24
25
  argument: tuple[Any, ...]
25
26
  kwargs: dict[str, Any]
26
27
 
28
+ class Event(_EventBase): ...
29
+
27
30
  class scheduler:
28
31
  timefunc: Callable[[], float]
29
32
  delayfunc: Callable[[float], object]