basedpyright 1.31.6 → 1.31.7-73ef798dbfde5656fa115d2a33f19c34d437e448

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 (65) hide show
  1. package/README.md +1 -1
  2. package/dist/pyright-langserver.js +1 -1
  3. package/dist/pyright-langserver.js.map +1 -1
  4. package/dist/pyright.js +1 -1
  5. package/dist/pyright.js.map +1 -1
  6. package/dist/typeshed-fallback/stdlib/_asyncio.pyi +6 -2
  7. package/dist/typeshed-fallback/stdlib/_compression.pyi +28 -28
  8. package/dist/typeshed-fallback/stdlib/_contextvars.pyi +6 -2
  9. package/dist/typeshed-fallback/stdlib/_ctypes.pyi +10 -51
  10. package/dist/typeshed-fallback/stdlib/_curses.pyi +187 -17
  11. package/dist/typeshed-fallback/stdlib/_decimal.pyi +7 -1
  12. package/dist/typeshed-fallback/stdlib/_heapq.pyi +20 -5
  13. package/dist/typeshed-fallback/stdlib/_interpqueues.pyi +6 -6
  14. package/dist/typeshed-fallback/stdlib/_interpreters.pyi +1 -7
  15. package/dist/typeshed-fallback/stdlib/_io.pyi +9 -5
  16. package/dist/typeshed-fallback/stdlib/_lsprof.pyi +12 -20
  17. package/dist/typeshed-fallback/stdlib/_operator.pyi +6 -2
  18. package/dist/typeshed-fallback/stdlib/_pickle.pyi +3 -3
  19. package/dist/typeshed-fallback/stdlib/_posixsubprocess.pyi +26 -26
  20. package/dist/typeshed-fallback/stdlib/_socket.pyi +6 -18
  21. package/dist/typeshed-fallback/stdlib/_stat.pyi +1 -1
  22. package/dist/typeshed-fallback/stdlib/_thread.pyi +10 -2
  23. package/dist/typeshed-fallback/stdlib/_zstd.pyi +300 -97
  24. package/dist/typeshed-fallback/stdlib/annotationlib.pyi +146 -146
  25. package/dist/typeshed-fallback/stdlib/ast.pyi +256 -96
  26. package/dist/typeshed-fallback/stdlib/asyncio/graph.pyi +28 -28
  27. package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +3 -1
  28. package/dist/typeshed-fallback/stdlib/asyncio/tools.pyi +46 -46
  29. package/dist/typeshed-fallback/stdlib/builtins.pyi +46 -36
  30. package/dist/typeshed-fallback/stdlib/compression/_common/_streams.pyi +26 -26
  31. package/dist/typeshed-fallback/stdlib/compression/bz2.pyi +1 -1
  32. package/dist/typeshed-fallback/stdlib/compression/gzip.pyi +1 -1
  33. package/dist/typeshed-fallback/stdlib/compression/lzma.pyi +1 -1
  34. package/dist/typeshed-fallback/stdlib/compression/zlib.pyi +1 -1
  35. package/dist/typeshed-fallback/stdlib/compression/zstd/__init__.pyi +88 -88
  36. package/dist/typeshed-fallback/stdlib/compression/zstd/_zstdfile.pyi +117 -117
  37. package/dist/typeshed-fallback/stdlib/concurrent/futures/interpreter.pyi +79 -79
  38. package/dist/typeshed-fallback/stdlib/concurrent/futures/thread.pyi +8 -8
  39. package/dist/typeshed-fallback/stdlib/concurrent/interpreters/__init__.pyi +68 -68
  40. package/dist/typeshed-fallback/stdlib/concurrent/interpreters/_crossinterp.pyi +30 -30
  41. package/dist/typeshed-fallback/stdlib/concurrent/interpreters/_queues.pyi +74 -74
  42. package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +7 -1
  43. package/dist/typeshed-fallback/stdlib/datetime.pyi +6 -2
  44. package/dist/typeshed-fallback/stdlib/decimal.pyi +12 -1
  45. package/dist/typeshed-fallback/stdlib/faulthandler.pyi +7 -5
  46. package/dist/typeshed-fallback/stdlib/functools.pyi +5 -9
  47. package/dist/typeshed-fallback/stdlib/gc.pyi +1 -1
  48. package/dist/typeshed-fallback/stdlib/marshal.pyi +6 -6
  49. package/dist/typeshed-fallback/stdlib/math.pyi +1 -3
  50. package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +3 -1
  51. package/dist/typeshed-fallback/stdlib/numbers.pyi +2 -10
  52. package/dist/typeshed-fallback/stdlib/os/__init__.pyi +15 -1
  53. package/dist/typeshed-fallback/stdlib/pathlib/__init__.pyi +6 -1
  54. package/dist/typeshed-fallback/stdlib/pathlib/types.pyi +8 -8
  55. package/dist/typeshed-fallback/stdlib/pyexpat/__init__.pyi +1 -1
  56. package/dist/typeshed-fallback/stdlib/string/templatelib.pyi +46 -36
  57. package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +25 -2
  58. package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +7 -1
  59. package/dist/typeshed-fallback/stdlib/types.pyi +22 -8
  60. package/dist/typeshed-fallback/stdlib/typing.pyi +1 -0
  61. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +1 -0
  62. package/dist/typeshed-fallback/stdlib/unicodedata.pyi +2 -2
  63. package/dist/typeshed-fallback/stdlib/winsound.pyi +4 -0
  64. package/dist/typeshed-fallback/stdlib/xxlimited.pyi +3 -16
  65. package/package.json +1 -1
@@ -10,6 +10,10 @@ SND_NODEFAULT - Do not play a default beep if the sound can not be found
10
10
  SND_NOSTOP - Do not interrupt any sounds currently playing
11
11
  SND_NOWAIT - Return immediately if the sound driver is busy
12
12
  SND_APPLICATION - sound is an application-specific alias in the registry.
13
+ SND_SENTRY - Triggers a SoundSentry event when the sound is played.
14
+ SND_SYNC - Play the sound synchronously, default behavior.
15
+ SND_SYSTEM - Assign sound to the audio session for system notification sounds.
16
+
13
17
  Beep(frequency, duration) - Make a beep through the PC speaker.
14
18
  MessageBeep(type) - Call Windows MessageBeep.
15
19
  """
@@ -1,5 +1,3 @@
1
- """This is a template module just for instruction."""
2
-
3
1
  import sys
4
2
  from typing import Any, ClassVar, final
5
3
 
@@ -7,23 +5,12 @@ class Str(str): ...
7
5
 
8
6
  @final
9
7
  class Xxo:
10
- """A class that explicitly stores attributes in an internal dict"""
11
- def demo(self) -> None:
12
- """demo(o) -> o"""
13
- ...
8
+ def demo(self) -> None: ...
14
9
  if sys.version_info >= (3, 11) and sys.platform != "win32":
15
10
  x_exports: int
16
11
 
17
- def foo(i: int, j: int, /) -> Any:
18
- """
19
- foo(i,j)
20
-
21
- Return the sum of i and j.
22
- """
23
- ...
24
- def new() -> Xxo:
25
- """new() -> new Xx object"""
26
- ...
12
+ def foo(i: int, j: int, /) -> Any: ...
13
+ def new() -> Xxo: ...
27
14
 
28
15
  if sys.version_info >= (3, 10):
29
16
  class Error(Exception): ...
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "basedpyright",
3
3
  "displayName": "basedpyright",
4
4
  "description": "a fork of pyright with various type checking improvements, pylance features and more.",
5
- "version": "1.31.6",
5
+ "version": "1.31.7-73ef798dbfde5656fa115d2a33f19c34d437e448",
6
6
  "license": "MIT",
7
7
  "author": {
8
8
  "name": "detachhead"