winrt-Windows.System.Threading.Core 2.1.0__tar.gz → 2.2.0__tar.gz
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.
- {winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/PKG-INFO +5 -5
- winrt_windows_system_threading_core-2.2.0/all-requirements.txt +4 -0
- {winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/py.Windows.System.Threading.Core.cpp +64 -13
- {winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/pyproject.toml +3 -2
- winrt_windows_system_threading_core-2.2.0/pywinrt-version.txt +1 -0
- {winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/requirements.txt +2 -2
- {winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/winrt/_winrt_windows_system_threading_core.pyi +1 -1
- {winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/winrt/windows/system/threading/core/__init__.py +1 -1
- {winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/winrt_Windows.System.Threading.Core.egg-info/PKG-INFO +5 -5
- winrt_windows_system_threading_core-2.2.0/winrt_Windows.System.Threading.Core.egg-info/requires.txt +5 -0
- winrt_windows_system_threading_core-2.1.0/all-requirements.txt +0 -4
- winrt_windows_system_threading_core-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_system_threading_core-2.1.0/winrt_Windows.System.Threading.Core.egg-info/requires.txt +0 -5
- {winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/README.md +0 -0
- {winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/setup.cfg +0 -0
- {winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/setup.py +0 -0
- {winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/winrt/windows/system/threading/core/py.typed +0 -0
- {winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/winrt_Windows.System.Threading.Core.egg-info/SOURCES.txt +0 -0
- {winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/winrt_Windows.System.Threading.Core.egg-info/dependency_links.txt +0 -0
- {winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/winrt_Windows.System.Threading.Core.egg-info/top_level.txt +0 -0
{winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.Threading.Core
|
|
3
|
-
Version: 2.
|
|
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,12 +10,12 @@ 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
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.System.Threading[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.System.Threading[all]==2.2.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.System.Threading.Core.h"
|
|
4
4
|
|
|
@@ -21,7 +21,7 @@ namespace py::cpp::Windows::System::Threading::Core
|
|
|
21
21
|
{
|
|
22
22
|
auto param0 = py::convert_to<winrt::Windows::System::Threading::WorkItemHandler>(args, 0);
|
|
23
23
|
|
|
24
|
-
winrt::Windows::System::Threading::Core::PreallocatedWorkItem instance{
|
|
24
|
+
winrt::Windows::System::Threading::Core::PreallocatedWorkItem instance{param0};
|
|
25
25
|
return py::wrap(instance, type);
|
|
26
26
|
}
|
|
27
27
|
catch (...)
|
|
@@ -37,7 +37,7 @@ namespace py::cpp::Windows::System::Threading::Core
|
|
|
37
37
|
auto param0 = py::convert_to<winrt::Windows::System::Threading::WorkItemHandler>(args, 0);
|
|
38
38
|
auto param1 = py::convert_to<winrt::Windows::System::Threading::WorkItemPriority>(args, 1);
|
|
39
39
|
|
|
40
|
-
winrt::Windows::System::Threading::Core::PreallocatedWorkItem instance{
|
|
40
|
+
winrt::Windows::System::Threading::Core::PreallocatedWorkItem instance{param0, param1};
|
|
41
41
|
return py::wrap(instance, type);
|
|
42
42
|
}
|
|
43
43
|
catch (...)
|
|
@@ -54,7 +54,7 @@ namespace py::cpp::Windows::System::Threading::Core
|
|
|
54
54
|
auto param1 = py::convert_to<winrt::Windows::System::Threading::WorkItemPriority>(args, 1);
|
|
55
55
|
auto param2 = py::convert_to<winrt::Windows::System::Threading::WorkItemOptions>(args, 2);
|
|
56
56
|
|
|
57
|
-
winrt::Windows::System::Threading::Core::PreallocatedWorkItem instance{
|
|
57
|
+
winrt::Windows::System::Threading::Core::PreallocatedWorkItem instance{param0, param1, param2};
|
|
58
58
|
return py::wrap(instance, type);
|
|
59
59
|
}
|
|
60
60
|
catch (...)
|
|
@@ -86,7 +86,14 @@ namespace py::cpp::Windows::System::Threading::Core
|
|
|
86
86
|
{
|
|
87
87
|
try
|
|
88
88
|
{
|
|
89
|
-
|
|
89
|
+
static std::optional<bool> is_overload_present{};
|
|
90
|
+
|
|
91
|
+
if (!is_overload_present.has_value())
|
|
92
|
+
{
|
|
93
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Threading.Core.PreallocatedWorkItem", L"RunAsync", 0);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
if (!is_overload_present.value())
|
|
90
97
|
{
|
|
91
98
|
py::set_arg_count_version_error(0);
|
|
92
99
|
return nullptr;
|
|
@@ -182,7 +189,14 @@ namespace py::cpp::Windows::System::Threading::Core
|
|
|
182
189
|
{
|
|
183
190
|
try
|
|
184
191
|
{
|
|
185
|
-
|
|
192
|
+
static std::optional<bool> is_overload_present{};
|
|
193
|
+
|
|
194
|
+
if (!is_overload_present.has_value())
|
|
195
|
+
{
|
|
196
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Threading.Core.SignalNotifier", L"AttachToEvent", 2);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
if (!is_overload_present.value())
|
|
186
200
|
{
|
|
187
201
|
py::set_arg_count_version_error(2);
|
|
188
202
|
return nullptr;
|
|
@@ -203,7 +217,14 @@ namespace py::cpp::Windows::System::Threading::Core
|
|
|
203
217
|
{
|
|
204
218
|
try
|
|
205
219
|
{
|
|
206
|
-
|
|
220
|
+
static std::optional<bool> is_overload_present{};
|
|
221
|
+
|
|
222
|
+
if (!is_overload_present.has_value())
|
|
223
|
+
{
|
|
224
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Threading.Core.SignalNotifier", L"AttachToEvent", 3);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
if (!is_overload_present.value())
|
|
207
228
|
{
|
|
208
229
|
py::set_arg_count_version_error(3);
|
|
209
230
|
return nullptr;
|
|
@@ -236,7 +257,14 @@ namespace py::cpp::Windows::System::Threading::Core
|
|
|
236
257
|
{
|
|
237
258
|
try
|
|
238
259
|
{
|
|
239
|
-
|
|
260
|
+
static std::optional<bool> is_overload_present{};
|
|
261
|
+
|
|
262
|
+
if (!is_overload_present.has_value())
|
|
263
|
+
{
|
|
264
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Threading.Core.SignalNotifier", L"AttachToSemaphore", 2);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
if (!is_overload_present.value())
|
|
240
268
|
{
|
|
241
269
|
py::set_arg_count_version_error(2);
|
|
242
270
|
return nullptr;
|
|
@@ -257,7 +285,14 @@ namespace py::cpp::Windows::System::Threading::Core
|
|
|
257
285
|
{
|
|
258
286
|
try
|
|
259
287
|
{
|
|
260
|
-
|
|
288
|
+
static std::optional<bool> is_overload_present{};
|
|
289
|
+
|
|
290
|
+
if (!is_overload_present.has_value())
|
|
291
|
+
{
|
|
292
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Threading.Core.SignalNotifier", L"AttachToSemaphore", 3);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
if (!is_overload_present.value())
|
|
261
296
|
{
|
|
262
297
|
py::set_arg_count_version_error(3);
|
|
263
298
|
return nullptr;
|
|
@@ -290,7 +325,14 @@ namespace py::cpp::Windows::System::Threading::Core
|
|
|
290
325
|
{
|
|
291
326
|
try
|
|
292
327
|
{
|
|
293
|
-
|
|
328
|
+
static std::optional<bool> is_overload_present{};
|
|
329
|
+
|
|
330
|
+
if (!is_overload_present.has_value())
|
|
331
|
+
{
|
|
332
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Threading.Core.SignalNotifier", L"Enable", 0);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
if (!is_overload_present.value())
|
|
294
336
|
{
|
|
295
337
|
py::set_arg_count_version_error(0);
|
|
296
338
|
return nullptr;
|
|
@@ -320,7 +362,14 @@ namespace py::cpp::Windows::System::Threading::Core
|
|
|
320
362
|
{
|
|
321
363
|
try
|
|
322
364
|
{
|
|
323
|
-
|
|
365
|
+
static std::optional<bool> is_overload_present{};
|
|
366
|
+
|
|
367
|
+
if (!is_overload_present.has_value())
|
|
368
|
+
{
|
|
369
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Threading.Core.SignalNotifier", L"Terminate", 0);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
if (!is_overload_present.value())
|
|
324
373
|
{
|
|
325
374
|
py::set_arg_count_version_error(0);
|
|
326
375
|
return nullptr;
|
|
@@ -465,7 +514,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_threading_core(void) noexcept
|
|
|
465
514
|
return nullptr;
|
|
466
515
|
}
|
|
467
516
|
|
|
468
|
-
|
|
517
|
+
py::pytype_handle PreallocatedWorkItem_type{py::register_python_type(module.get(), &type_spec_PreallocatedWorkItem, object_bases.get(), nullptr)};
|
|
518
|
+
if (!PreallocatedWorkItem_type)
|
|
469
519
|
{
|
|
470
520
|
return nullptr;
|
|
471
521
|
}
|
|
@@ -476,7 +526,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_threading_core(void) noexcept
|
|
|
476
526
|
return nullptr;
|
|
477
527
|
}
|
|
478
528
|
|
|
479
|
-
|
|
529
|
+
py::pytype_handle SignalNotifier_type{py::register_python_type(module.get(), &type_spec_SignalNotifier, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_SignalNotifier_Static.get()))};
|
|
530
|
+
if (!SignalNotifier_type)
|
|
480
531
|
{
|
|
481
532
|
return nullptr;
|
|
482
533
|
}
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9,<3.
|
|
19
|
+
requires-python = ">=3.9,<3.14"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -36,7 +36,8 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
|
-
build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
39
|
+
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
|
+
before-build = "uv pip install setuptools"
|
|
40
41
|
# don't build for PyPy
|
|
41
42
|
skip = "pp*"
|
|
42
43
|
# suppress warnings about ARM64 testing
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.2.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.2.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.Threading.Core
|
|
3
|
-
Version: 2.
|
|
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,12 +10,12 @@ 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
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.System.Threading[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.System.Threading[all]==2.2.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.1.0
|
{winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/README.md
RENAMED
|
File without changes
|
{winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/setup.cfg
RENAMED
|
File without changes
|
{winrt_windows_system_threading_core-2.1.0 → winrt_windows_system_threading_core-2.2.0}/setup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|