types-python-xlib 0.33.0.20261006__tar.gz → 0.33.0.20261122__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.
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/CHANGELOG.md +23 -0
- {types_python_xlib-0.33.0.20261006/types_python_xlib.egg-info → types_python_xlib-0.33.0.20261122}/PKG-INFO +5 -5
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/README.md +4 -4
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/randr.pyi +2 -1
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/xinput.pyi +8 -3
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/protocol/rq.pyi +22 -14
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/xobject/drawable.pyi +2 -1
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/pyproject.toml +5 -5
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122/types_python_xlib.egg-info}/PKG-INFO +5 -5
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/LICENSE +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/MANIFEST.in +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/METADATA.toml +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/X.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/XK.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/Xatom.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/Xcursorfont.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/Xutil.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/__init__.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/_typing.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/display.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/error.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/__init__.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/composite.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/damage.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/dpms.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/ge.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/nvcontrol.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/record.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/res.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/screensaver.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/security.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/shape.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/xfixes.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/xinerama.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/xtest.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/__init__.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/apl.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/arabic.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/cyrillic.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/greek.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/hebrew.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/katakana.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/korean.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/latin1.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/latin2.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/latin3.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/latin4.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/miscellany.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/publishing.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/special.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/technical.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/thai.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/xf86.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/xk3270.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/xkb.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/protocol/__init__.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/protocol/display.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/protocol/event.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/protocol/request.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/protocol/structs.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/py.typed +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/rdb.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/support/__init__.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/support/connect.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/support/lock.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/support/unix_connect.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/support/vms_connect.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/threaded.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/xauth.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/xobject/__init__.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/xobject/colormap.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/xobject/cursor.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/xobject/fontable.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/xobject/icccm.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/xobject/resource.pyi +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/setup.cfg +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/types_python_xlib.egg-info/SOURCES.txt +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/types_python_xlib.egg-info/dependency_links.txt +0 -0
- {types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/types_python_xlib.egg-info/top_level.txt +0 -0
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
## [0.33.0.20261122](https://pypi.org/project/types-python-xlib/0.33.0.20261122/) (2026-11-22)
|
|
2
|
+
|
|
3
|
+
* Replace final `FloatInt` instances ([#16887](https://github.com/python/typeshed/pull/16887))
|
|
4
|
+
|
|
5
|
+
- `unittest.mock.ThreadingMixin.DEFAULT_TIMEOUT` was marked as final
|
|
6
|
+
by accident.
|
|
7
|
+
- `jenkins.DEFAULT_TIMEOUT` is a sentinel, not `float`.
|
|
8
|
+
- Reportlab landscape and portrait only accept float arguments if they return only float values.
|
|
9
|
+
|
|
10
|
+
* Replace float with FloatInt ([#16789](https://github.com/python/typeshed/pull/16789))
|
|
11
|
+
|
|
12
|
+
## [0.33.0.20261101](https://pypi.org/project/types-python-xlib/0.33.0.20261101/) (2026-11-01)
|
|
13
|
+
|
|
14
|
+
* python-xlib: Fixes from Avasam/python-xlib#7 ([#16670](https://github.com/python/typeshed/pull/16670))
|
|
15
|
+
|
|
16
|
+
Various fixes noticed by Claude Opus 5.5 whilst working on Avasam/python-xlib#7 that apply to `types-python-xlib`.
|
|
17
|
+
|
|
18
|
+
- `rq.List` accepts `rq.Str`, a `ValueField` instance, or any parse-only type with a `parse_binary` method (like `Xlib.ext.xinput.ClassInfo`) as its type. `rq.FixedList` accepts the same types
|
|
19
|
+
- Value fields accept `None` as their name. `rq.Field.name` is `str | None` to match the runtime class default, so the `*.name` stubtest allowlist entry is no longer needed
|
|
20
|
+
- `rq.Object` accepts a tuple, dict or `DictWrapper` as its default, and `rq.Object.default` has the same type
|
|
21
|
+
- `rq.Str.pack_value` accepts `bytes`
|
|
22
|
+
- `rq.Struct.fields` is a variable-length tuple, not single
|
|
23
|
+
|
|
1
24
|
## [0.33.0.20261006](https://pypi.org/project/types-python-xlib/0.33.0.20261006/) (2026-10-06)
|
|
2
25
|
|
|
3
26
|
* Update pyrefly to 1.3.1 ([#16469](https://github.com/python/typeshed/pull/16469))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: types-python-xlib
|
|
3
|
-
Version: 0.33.0.
|
|
3
|
+
Version: 0.33.0.20261122
|
|
4
4
|
Summary: Typing stubs for python-xlib
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Project-URL: Homepage, https://github.com/python/typeshed
|
|
@@ -31,10 +31,10 @@ for more details. The source for this package can be found in the
|
|
|
31
31
|
directory.
|
|
32
32
|
|
|
33
33
|
This package was tested with the following type checkers:
|
|
34
|
-
* [mypy](https://www.mypy-lang.org/) 2.
|
|
35
|
-
* [pyrefly](https://pyrefly.org/) 1.
|
|
34
|
+
* [mypy](https://www.mypy-lang.org/) 2.4.1
|
|
35
|
+
* [pyrefly](https://pyrefly.org/) 1.4.1
|
|
36
36
|
* [pyright](https://microsoft.github.io/pyright/) 1.1.414
|
|
37
|
-
* [ty](https://docs.astral.sh/ty/) 0.0.
|
|
37
|
+
* [ty](https://docs.astral.sh/ty/) 0.0.104
|
|
38
38
|
|
|
39
39
|
It was generated from typeshed commit
|
|
40
|
-
[`
|
|
40
|
+
[`567e5e3e4276a6b05127b6347d80f809d123e35e`](https://github.com/python/typeshed/commit/567e5e3e4276a6b05127b6347d80f809d123e35e).
|
|
@@ -14,10 +14,10 @@ for more details. The source for this package can be found in the
|
|
|
14
14
|
directory.
|
|
15
15
|
|
|
16
16
|
This package was tested with the following type checkers:
|
|
17
|
-
* [mypy](https://www.mypy-lang.org/) 2.
|
|
18
|
-
* [pyrefly](https://pyrefly.org/) 1.
|
|
17
|
+
* [mypy](https://www.mypy-lang.org/) 2.4.1
|
|
18
|
+
* [pyrefly](https://pyrefly.org/) 1.4.1
|
|
19
19
|
* [pyright](https://microsoft.github.io/pyright/) 1.1.414
|
|
20
|
-
* [ty](https://docs.astral.sh/ty/) 0.0.
|
|
20
|
+
* [ty](https://docs.astral.sh/ty/) 0.0.104
|
|
21
21
|
|
|
22
22
|
It was generated from typeshed commit
|
|
23
|
-
[`
|
|
23
|
+
[`567e5e3e4276a6b05127b6347d80f809d123e35e`](https://github.com/python/typeshed/commit/567e5e3e4276a6b05127b6347d80f809d123e35e).
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/randr.pyi
RENAMED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from _typeshed import FloatInt
|
|
1
2
|
from collections.abc import Sequence
|
|
2
3
|
from typing import Final, TypeAlias
|
|
3
4
|
|
|
@@ -127,7 +128,7 @@ def configure_output_property(self: Display | resource.Resource, output: int, pr
|
|
|
127
128
|
class ChangeOutputProperty(rq.Request): ...
|
|
128
129
|
|
|
129
130
|
def change_output_property(
|
|
130
|
-
self: Display | resource.Resource, output: int, property: int, type: int, mode: int, value: Sequence[
|
|
131
|
+
self: Display | resource.Resource, output: int, property: int, type: int, mode: int, value: Sequence[FloatInt] | Sequence[str]
|
|
131
132
|
) -> ChangeOutputProperty: ...
|
|
132
133
|
|
|
133
134
|
class DeleteOutputProperty(rq.Request): ...
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/xinput.pyi
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from _typeshed import ConvertibleToFloat, SliceableBuffer, Unused
|
|
1
|
+
from _typeshed import ConvertibleToFloat, FloatInt, SliceableBuffer, Unused
|
|
2
2
|
from collections.abc import Iterable, Sequence
|
|
3
3
|
from typing import Final, TypeVar
|
|
4
4
|
|
|
@@ -115,7 +115,7 @@ PROPERTY_TYPE_FLOAT: Final = "FLOAT"
|
|
|
115
115
|
|
|
116
116
|
# ignore[override] because of Liskov substitution principle violations
|
|
117
117
|
class FP1616(rq.Int32):
|
|
118
|
-
def check_value(self, value:
|
|
118
|
+
def check_value(self, value: FloatInt) -> int: ... # type: ignore[override]
|
|
119
119
|
def parse_value(self, value: ConvertibleToFloat, display: Unused) -> float: ... # type: ignore[override]
|
|
120
120
|
|
|
121
121
|
class FP3232(rq.ValueField):
|
|
@@ -182,7 +182,12 @@ def get_device_property(
|
|
|
182
182
|
class XIChangeProperty(rq.Request): ...
|
|
183
183
|
|
|
184
184
|
def change_device_property(
|
|
185
|
-
self: Display | resource.Resource,
|
|
185
|
+
self: Display | resource.Resource,
|
|
186
|
+
deviceid: int,
|
|
187
|
+
property: int,
|
|
188
|
+
type: int,
|
|
189
|
+
mode: int,
|
|
190
|
+
value: Sequence[FloatInt] | Sequence[str],
|
|
186
191
|
) -> XIChangeProperty: ...
|
|
187
192
|
|
|
188
193
|
class XIDeleteProperty(rq.Request): ...
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/protocol/rq.pyi
RENAMED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
from _typeshed import ConvertibleToInt, SliceableBuffer, Unused
|
|
1
|
+
from _typeshed import ConvertibleToInt, FloatInt, SliceableBuffer, Unused
|
|
2
2
|
from array import array
|
|
3
3
|
|
|
4
4
|
# Avoid name collision with List.type
|
|
5
5
|
from builtins import type as Type
|
|
6
6
|
from collections.abc import Callable, Iterable, Sequence
|
|
7
|
-
from typing import Any, Final, Literal, SupportsIndex, TypeAlias, TypeVar, overload, type_check_only
|
|
7
|
+
from typing import Any, Final, Literal, Protocol, SupportsIndex, TypeAlias, TypeVar, overload, type_check_only
|
|
8
8
|
from typing_extensions import LiteralString
|
|
9
9
|
|
|
10
10
|
from Xlib._typing import ErrorHandler
|
|
11
11
|
from Xlib.display import _BaseDisplay, _ResourceBaseClass
|
|
12
12
|
from Xlib.error import XError
|
|
13
|
-
from Xlib.ext.xinput import ClassInfoClass
|
|
14
13
|
from Xlib.protocol import display
|
|
15
14
|
|
|
16
15
|
_T = TypeVar("_T")
|
|
@@ -27,7 +26,7 @@ array_unsigned_codes: Final[dict[int, LiteralString]]
|
|
|
27
26
|
struct_to_array_codes: Final[dict[str, LiteralString]]
|
|
28
27
|
|
|
29
28
|
class Field:
|
|
30
|
-
name: str
|
|
29
|
+
name: str | None
|
|
31
30
|
default: int | None
|
|
32
31
|
pack_value: Callable[[Any], tuple[Any, int | None, int | None]] | None
|
|
33
32
|
structcode: str | None
|
|
@@ -82,7 +81,7 @@ class FormatField(Field):
|
|
|
82
81
|
Format = FormatField
|
|
83
82
|
|
|
84
83
|
class ValueField(Field):
|
|
85
|
-
def __init__(self, name: str, default: int | None = None) -> None: ...
|
|
84
|
+
def __init__(self, name: str | None, default: int | None = None) -> None: ...
|
|
86
85
|
|
|
87
86
|
class Int8(ValueField):
|
|
88
87
|
structcode: str
|
|
@@ -203,13 +202,19 @@ class String16(ValueField):
|
|
|
203
202
|
self, data: SliceableBuffer, display: Unused, length: int | Literal["odd", "even"], format: Unused
|
|
204
203
|
) -> tuple[tuple[Any, ...], SliceableBuffer]: ...
|
|
205
204
|
|
|
205
|
+
# Protocol for List types without a struct code that only parse, like Xlib.ext.xinput.ClassInfo
|
|
206
|
+
@type_check_only
|
|
207
|
+
class _ParsesBinary(Protocol):
|
|
208
|
+
structcode: None
|
|
209
|
+
def parse_binary(self, data: SliceableBuffer, display: display.Display | None, /) -> tuple[Any, SliceableBuffer]: ...
|
|
210
|
+
|
|
211
|
+
_ListType: TypeAlias = Struct | ScalarObj | ResourceObj | StrClass | _ParsesBinary | ValueField | Type[ValueField]
|
|
212
|
+
|
|
206
213
|
class List(ValueField):
|
|
207
214
|
structcode: None
|
|
208
|
-
type:
|
|
215
|
+
type: _ListType
|
|
209
216
|
pad: int
|
|
210
|
-
def __init__(
|
|
211
|
-
self, name: str, type: Struct | ScalarObj | ResourceObj | ClassInfoClass | Type[ValueField], pad: int = 1
|
|
212
|
-
) -> None: ...
|
|
217
|
+
def __init__(self, name: str, type: _ListType, pad: int = 1) -> None: ...
|
|
213
218
|
def parse_binary_value(
|
|
214
219
|
self, data: SliceableBuffer, display: display.Display | None, length: SupportsIndex | None, format: Unused
|
|
215
220
|
) -> tuple[list[DictWrapper | None], SliceableBuffer]: ...
|
|
@@ -219,7 +224,7 @@ class List(ValueField):
|
|
|
219
224
|
|
|
220
225
|
class FixedList(List):
|
|
221
226
|
size: int
|
|
222
|
-
def __init__(self, name: str, size: int, type:
|
|
227
|
+
def __init__(self, name: str, size: int, type: _ListType, pad: int = 1) -> None: ...
|
|
223
228
|
def parse_binary_value(
|
|
224
229
|
self, data: SliceableBuffer, display: display.Display | None, length: Unused, format: Unused
|
|
225
230
|
) -> tuple[list[DictWrapper | None], SliceableBuffer]: ...
|
|
@@ -227,7 +232,10 @@ class FixedList(List):
|
|
|
227
232
|
class Object(ValueField):
|
|
228
233
|
type: Struct
|
|
229
234
|
structcode: str | None
|
|
230
|
-
|
|
235
|
+
default: tuple[object, ...] | dict[str, Any] | DictWrapper | None # type: ignore[assignment] # Actually different from base class
|
|
236
|
+
def __init__(
|
|
237
|
+
self, name: str, type: Struct, default: tuple[object, ...] | dict[str, Any] | DictWrapper | None = None
|
|
238
|
+
) -> None: ...
|
|
231
239
|
def parse_binary_value(
|
|
232
240
|
self, data: SliceableBuffer, display: display.Display | None, length: Unused, format: Unused
|
|
233
241
|
) -> tuple[DictWrapper, SliceableBuffer]: ...
|
|
@@ -243,7 +251,7 @@ class PropertyData(ValueField):
|
|
|
243
251
|
self, data: SliceableBuffer, display: Unused, length: ConvertibleToInt | None, format: int
|
|
244
252
|
) -> tuple[tuple[int, SliceableBuffer] | None, SliceableBuffer]: ...
|
|
245
253
|
def pack_value( # type: ignore[override] # Override Callable
|
|
246
|
-
self, value: tuple[int, Sequence[
|
|
254
|
+
self, value: tuple[int, Sequence[FloatInt] | Sequence[str]]
|
|
247
255
|
) -> tuple[bytes, int, Literal[8, 16, 32]]: ...
|
|
248
256
|
|
|
249
257
|
class FixedPropertyData(PropertyData):
|
|
@@ -314,7 +322,7 @@ ColormapObj: ResourceObj
|
|
|
314
322
|
|
|
315
323
|
class StrClass:
|
|
316
324
|
structcode: None
|
|
317
|
-
def pack_value(self, val: str) -> bytes: ...
|
|
325
|
+
def pack_value(self, val: str | bytes) -> bytes: ...
|
|
318
326
|
def parse_binary(self, data: bytes | bytearray, display: Unused) -> tuple[str, bytes | bytearray]: ...
|
|
319
327
|
|
|
320
328
|
Str: StrClass
|
|
@@ -323,7 +331,7 @@ class Struct:
|
|
|
323
331
|
name: str
|
|
324
332
|
check_value: Callable[[Any], Any] | None
|
|
325
333
|
keyword_args: bool
|
|
326
|
-
fields: tuple[Field]
|
|
334
|
+
fields: tuple[Field, ...]
|
|
327
335
|
static_codes: str
|
|
328
336
|
static_values: int
|
|
329
337
|
static_fields: list[Field]
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from _typeshed import FloatInt
|
|
1
2
|
from collections.abc import Iterable, Sequence
|
|
2
3
|
from typing import Any, Literal, Protocol, type_check_only
|
|
3
4
|
|
|
@@ -158,7 +159,7 @@ class Window(Drawable):
|
|
|
158
159
|
property: int,
|
|
159
160
|
property_type: int,
|
|
160
161
|
format: int,
|
|
161
|
-
data: Sequence[
|
|
162
|
+
data: Sequence[FloatInt] | Sequence[str],
|
|
162
163
|
mode: int = 0,
|
|
163
164
|
onerror: ErrorHandler[object] | None = None,
|
|
164
165
|
) -> None: ...
|
|
@@ -4,7 +4,7 @@ requires = ["setuptools>=82.0.1"]
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "types-python-xlib"
|
|
7
|
-
version = "0.33.0.
|
|
7
|
+
version = "0.33.0.20261122"
|
|
8
8
|
license = "Apache-2.0"
|
|
9
9
|
license-files = ["LICENSE"]
|
|
10
10
|
description = "Typing stubs for python-xlib"
|
|
@@ -25,13 +25,13 @@ for more details. The source for this package can be found in the
|
|
|
25
25
|
directory.
|
|
26
26
|
|
|
27
27
|
This package was tested with the following type checkers:
|
|
28
|
-
* [mypy](https://www.mypy-lang.org/) 2.
|
|
29
|
-
* [pyrefly](https://pyrefly.org/) 1.
|
|
28
|
+
* [mypy](https://www.mypy-lang.org/) 2.4.1
|
|
29
|
+
* [pyrefly](https://pyrefly.org/) 1.4.1
|
|
30
30
|
* [pyright](https://microsoft.github.io/pyright/) 1.1.414
|
|
31
|
-
* [ty](https://docs.astral.sh/ty/) 0.0.
|
|
31
|
+
* [ty](https://docs.astral.sh/ty/) 0.0.104
|
|
32
32
|
|
|
33
33
|
It was generated from typeshed commit
|
|
34
|
-
[`
|
|
34
|
+
[`567e5e3e4276a6b05127b6347d80f809d123e35e`](https://github.com/python/typeshed/commit/567e5e3e4276a6b05127b6347d80f809d123e35e).
|
|
35
35
|
""", content-type = "text/markdown" }
|
|
36
36
|
classifiers = [
|
|
37
37
|
"Programming Language :: Python :: 3",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: types-python-xlib
|
|
3
|
-
Version: 0.33.0.
|
|
3
|
+
Version: 0.33.0.20261122
|
|
4
4
|
Summary: Typing stubs for python-xlib
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Project-URL: Homepage, https://github.com/python/typeshed
|
|
@@ -31,10 +31,10 @@ for more details. The source for this package can be found in the
|
|
|
31
31
|
directory.
|
|
32
32
|
|
|
33
33
|
This package was tested with the following type checkers:
|
|
34
|
-
* [mypy](https://www.mypy-lang.org/) 2.
|
|
35
|
-
* [pyrefly](https://pyrefly.org/) 1.
|
|
34
|
+
* [mypy](https://www.mypy-lang.org/) 2.4.1
|
|
35
|
+
* [pyrefly](https://pyrefly.org/) 1.4.1
|
|
36
36
|
* [pyright](https://microsoft.github.io/pyright/) 1.1.414
|
|
37
|
-
* [ty](https://docs.astral.sh/ty/) 0.0.
|
|
37
|
+
* [ty](https://docs.astral.sh/ty/) 0.0.104
|
|
38
38
|
|
|
39
39
|
It was generated from typeshed commit
|
|
40
|
-
[`
|
|
40
|
+
[`567e5e3e4276a6b05127b6347d80f809d123e35e`](https://github.com/python/typeshed/commit/567e5e3e4276a6b05127b6347d80f809d123e35e).
|
|
File without changes
|
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/METADATA.toml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/Xatom.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/Xcursorfont.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/Xutil.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/__init__.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/_typing.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/display.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/error.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/__init__.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/composite.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/damage.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/dpms.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/ge.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/nvcontrol.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/record.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/res.pyi
RENAMED
|
File without changes
|
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/security.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/shape.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/xfixes.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/xinerama.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/ext/xtest.pyi
RENAMED
|
File without changes
|
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/apl.pyi
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/keysymdef/xkb.pyi
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/support/lock.pyi
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/threaded.pyi
RENAMED
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/xauth.pyi
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{types_python_xlib-0.33.0.20261006 → types_python_xlib-0.33.0.20261122}/Xlib-stubs/xobject/icccm.pyi
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|