Up to [cvs.NetBSD.org] / pkgsrc / comms / py-serial
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-serial: updated to 3.5 Version 3.5 Bugfixes: - spy: ensure bytes in write() Bugfixes (posix): - serialposix: Fix inconsistent state after exception in open() Bugfixes (win32): - win32: Fix exception for composite serial number search on Windows Bugfixes (MacOS): - list_ports_osx: kIOMasterPortDefault no longer exported on Big Sur - list_ports_osx: getting USB info on BigSur/AppleSilicon
Version 3.4: Improvements: * miniterm: suspend function (temporarily release port, Ctrl-T s) * context manager automatically opens port on __enter__ * list_ports: add interface number to location string * protocol_socket: Retry if BlockingIOError occurs in reset_input_buffer. Bugfixes: * list_ports: option to include symlinked devices * list_ports: workaround for special characters in port names Bugfixes (posix): * allow calling cancel functions w/o error if port is closed * protocol_socket: sync error handling with posix version * posix: ignore more blocking errors and EINTR, timeout only applies to blocking I/O * fix: port_publisher typo
Update to 2.7. Fix PKGNAME. Version 2.7 2013-10-17 --------------------------- - Win32: setRTS and setDTR can be called before the port is opened and it will set the initial state on port open. - Posix: add platform specific method: outWaiting (already present for Win32) - Posix: rename flowControl to setXON to match name on Win32, add flowControlOut function - rfc2217: zero polls value (baudrate, data size, stop bits, parity) (Erik Lundh) - Posix: [Patch pyserial:28] Accept any speed on Linux [update] - Posix: [Patch pyserial:29] PosixSerial.read() should "ignore" errno.EINTR - OSX: [Patch pyserial:27] Scan by VendorID/Product ID for USB Serial devices - Ensure working with bytes in write() calls Bugfixes: - [Bug 3540332] SerialException not returned - [Bug pyserial:145] Error in socket_connection.py - [Bug pyserial:135] reading from socket with timeout=None causes TypeError - [Bug pyserial:130] setup.py should not append py3k to package name - [Bug pyserial:117] no error on lost conn w/socket:// Bugfixes (posix): - [Patch 3462364] Fix: NameError: global name 'base' is not defined - list_ports and device() for BSD updated (Anders Langworthy) - [Bug 3518380] python3.2 -m serial.tools.list_ports error - [Bug pyserial:137] Patch to add non-standard baudrates to Cygwin - [Bug pyserial:141] open: Pass errno from IOError to SerialException - [Bug pyserial:125] Undefined 'base' on list_ports_posix.py, function usb_lsusb - [Bug pyserial:151] Serial.write() without a timeout uses 100% CPU on POSIX - [Patch pyserial:30] [PATCH 1/1] serial.Serial() should not raise IOError. Bugfixes (win32): - [Bug 3444941] ctypes.WinError() unicode error - [Bug 3550043] on Windows in tools global name 'GetLastError' is not defined - [Bug pyserial:146] flush() does nothing in windows (despite docs) - [Bug pyserial:144] com0com ports ignored due to missing "friendly name" - [Bug pyserial:152] Cannot configure port, some setting was wrong. Can leave port handle open but port not accessible
Add puyserial 26, which provides a uniform interface for accessing serial ports across platforms.