Jun Komoda
|
4009efa349
|
_CField as a generic descriptor protocol (#10595)
|
2023-09-01 16:23:33 +02:00 |
|
Alex Waygood
|
6fd7e36e80
|
Add default values for third-party stubs beginning with 'P' (#9957)
|
2023-03-27 18:58:53 +01:00 |
|
Ali Hamdan
|
f8add366d5
|
pyserial: Fix read and write methods (#9825)
|
2023-03-08 21:11:26 -08:00 |
|
Avasam
|
52ec44fa58
|
Improve many __(a)exit__ annotations (#9696)
|
2023-02-25 21:50:30 +00:00 |
|
hamdanal
|
a2fee5b30f
|
pyserial: fix stubtest errors (#9722)
|
2023-02-19 12:08:20 +00:00 |
|
Alex Waygood
|
7180d0223b
|
Use typing_extensions.Self instead of _typeshed.Self (#9702)
|
2023-02-15 11:32:43 +01:00 |
|
Alex Waygood
|
6d535bf0a3
|
Enable stubtest for pyserial (#9692)
|
2023-02-09 00:10:33 +01:00 |
|
hamdanal
|
250befdef0
|
Fix optional USB attributes in pyserial's ListPortInfo (#9654)
Some USB specific attributes in pyserial's [`serial.tools.list_port_common.ListPortInfo`](https://github.com/python/typeshed/blob/main/stubs/pyserial/serial/tools/list_ports_common.pyi#L11-L24) class are not always available. They depend on the USB device and its driver correctly reporting these attributes. I discovered this recently with a new device that does not report its serial number. Only the Vendor ID `vid` and Product ID `pid` are guaranteed (This can be seen [here](https://github.com/pyserial/pyserial/blob/master/serial/tools/list_ports_linux.py#L52-L62) where `vid` and `pid` are always cast as `int` while other attributes are left as `str | None` for USB devices).
This is a follow up to #9347 and the discussion at https://github.com/python/typeshed/pull/9347#issuecomment-1358245865
|
2023-02-01 14:03:24 -08:00 |
|
hamdanal
|
c6b09b60de
|
Add stubs for the pyserial package (#9347)
|
2022-12-22 14:10:54 -06:00 |
|