winrt-Windows.System.Threading 2.0.1__cp39-cp39-win32.whl → 2.2.0__cp39-cp39-win32.whl

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.
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -9,7 +9,7 @@ from builtins import property as _property
9
9
 
10
10
  import winrt._winrt
11
11
  import winrt.system
12
- import winrt.windows.foundation
12
+ import winrt.windows.foundation as windows_foundation
13
13
 
14
14
  from winrt.windows.system.threading import WorkItemOptions, WorkItemPriority
15
15
  from winrt.windows.system.threading import TimerDestroyedHandler, TimerElapsedHandler, WorkItemHandler
@@ -19,16 +19,15 @@ Self = typing.TypeVar('Self')
19
19
  @typing.final
20
20
  class ThreadPool_Static(type):
21
21
  @typing.overload
22
- def run_async(cls, handler: typing.Optional[WorkItemHandler], /) -> winrt.windows.foundation.IAsyncAction: ...
22
+ def run_async(cls, handler: typing.Optional[WorkItemHandler], /) -> windows_foundation.IAsyncAction: ...
23
23
  @typing.overload
24
- def run_async(cls, handler: typing.Optional[WorkItemHandler], priority: WorkItemPriority, /) -> winrt.windows.foundation.IAsyncAction: ...
24
+ def run_async(cls, handler: typing.Optional[WorkItemHandler], priority: WorkItemPriority, /) -> windows_foundation.IAsyncAction: ...
25
25
  @typing.overload
26
- def run_async(cls, handler: typing.Optional[WorkItemHandler], priority: WorkItemPriority, options: WorkItemOptions, /) -> winrt.windows.foundation.IAsyncAction: ...
26
+ def run_async(cls, handler: typing.Optional[WorkItemHandler], priority: WorkItemPriority, options: WorkItemOptions, /) -> windows_foundation.IAsyncAction: ...
27
27
 
28
28
  @typing.final
29
29
  class ThreadPool(winrt.system.Object, metaclass=ThreadPool_Static):
30
- @staticmethod
31
- def _from(obj: winrt.system.Object, /) -> ThreadPool: ...
30
+ pass
32
31
 
33
32
  @typing.final
34
33
  class ThreadPoolTimer_Static(type):
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
3
  import enum
4
4
  import typing
@@ -7,6 +7,9 @@ import uuid as _uuid
7
7
  import winrt.system
8
8
  from winrt import _winrt_windows_system_threading
9
9
 
10
+ if typing.TYPE_CHECKING:
11
+ import winrt.windows.foundation as windows_foundation
12
+
10
13
  __all__ = [
11
14
  "WorkItemOptions",
12
15
  "WorkItemPriority",
@@ -18,7 +21,7 @@ __all__ = [
18
21
  ]
19
22
 
20
23
  class WorkItemOptions(enum.IntFlag):
21
- NONE = 0
24
+ NONE = 0x0
22
25
  TIME_SLICED = 0x1
23
26
 
24
27
  class WorkItemPriority(enum.IntEnum):
@@ -30,4 +33,4 @@ ThreadPool = _winrt_windows_system_threading.ThreadPool
30
33
  ThreadPoolTimer = _winrt_windows_system_threading.ThreadPoolTimer
31
34
  TimerDestroyedHandler = typing.Callable[[typing.Optional[ThreadPoolTimer]], None]
32
35
  TimerElapsedHandler = typing.Callable[[typing.Optional[ThreadPoolTimer]], None]
33
- WorkItemHandler = typing.Callable[[winrt.windows.foundation.IAsyncAction], None]
36
+ WorkItemHandler = typing.Callable[["windows_foundation.IAsyncAction"], None]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.System.Threading
3
- Version: 2.0.1
3
+ Version: 2.2.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -10,11 +10,11 @@ Classifier: Operating System :: Microsoft :: Windows
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
- Requires-Python: <3.13,>=3.9
13
+ Requires-Python: <3.14,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime (==2.0.1)
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all] (==2.0.1) ; extra == 'all'
17
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
18
18
 
19
19
  <!-- warning: Please don't edit this file. It was automatically generated. -->
20
20
 
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_system_threading.cp39-win32.pyd,sha256=OIvfJKndx80q5zlZZC1tF87OHNW_2tL35x8V7O2jMng,49152
2
+ winrt/_winrt_windows_system_threading.pyi,sha256=okUzkjHOlPXowPMqpLEmKq_ZdN2s3sWzDikkZktbMLU,2287
3
+ winrt/windows/system/threading/__init__.py,sha256=ZAvPOf7ak9ZWX8xXskTw3cs-BUWkHqoZgdlnusiLpoU,982
4
+ winrt/windows/system/threading/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.System.Threading-2.2.0.dist-info/METADATA,sha256=HOqnJ0umv8XevmHhedRRuP9syc7sJ_cgxogVimnWo4I,1047
6
+ winrt_Windows.System.Threading-2.2.0.dist-info/WHEEL,sha256=oMVLYRxr_Mj2eBzR64CwhxuKNcwPdTLLcHPchJ-SPBU,95
7
+ winrt_Windows.System.Threading-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.System.Threading-2.2.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.40.0)
2
+ Generator: setuptools (73.0.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp39-cp39-win32
5
5
 
@@ -1,8 +0,0 @@
1
- winrt/_winrt_windows_system_threading.cp39-win32.pyd,sha256=l6eUPCXJCU51E-KMUhvEvHPp5ABiOF_zwpOPpTshOns,48128
2
- winrt/_winrt_windows_system_threading.pyi,sha256=IJE3hL7uCLspzjClc8DZbw2HcXmk7Aj50gzeCxrX7sY,2354
3
- winrt/windows/system/threading/__init__.py,sha256=3Wj05ASQQQSt95ZO2lQeMiDrHJedHmhZb1F0UEuwy8o,900
4
- winrt/windows/system/threading/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- winrt_Windows.System.Threading-2.0.1.dist-info/METADATA,sha256=qowzGHALj2_5p5QjGS2SL_3dFRhbJmkj3eVLodwk68A,1051
6
- winrt_Windows.System.Threading-2.0.1.dist-info/WHEEL,sha256=1aMbN4t2zTDfBHuhuWzAfIzzQesiKpXOWwJmQwUBD2M,96
7
- winrt_Windows.System.Threading-2.0.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
- winrt_Windows.System.Threading-2.0.1.dist-info/RECORD,,