pySerial Changelog
What's new in pySerial 2.7
Oct 28, 2013- OSX: [Patch pyserial:27] Scan by VendorID/Product ID for USB Serial devices.
- Ensure working with bytes in write() calls.
- Bugfixes:
- SerialException not returned
- Error in socket_connection.py
- reading from socket with timeout=None causes TypeError
- setup.py should not append py3k to package name
- no error on lost conn w/socket://
New in pySerial 2.6 (Jul 10, 2012)
- New Features:
- Moved some of the examples to serial.tools so that they can be used
- with ``python -m``
- serial port enumeration now included as ``serial.tools.list_ports``
- URL handers for ``serial_for_url`` are now imported dynamically. This allows to add protocols w/o editing files. The list ``serial.protocol_handler_packages`` can be used to add or remove user
- packages with protocol handlers (see docs for details).
- new URL type: hwgrep:// uses list_ports module to search for ports
- by their description
- serveral internal changes to improve Python 3.x compatibility (setup.py,
- use of absolute imports and more)
- Bugfixes:
- [Bug 3093882] calling open() on an already open port now raises an exception
- [Bug 3245627] connection-lost let rfc2217 hangs in closed loop
- [Patch 3147043] readlines() to support multi-character eol
New in pySerial 2.5 (Jul 10, 2012)
- New Features:
- [Bug 2976262] dsrdtr should default to False ``dsrdtr`` parameter default value changed from ``None`` (follow ``rtscts`` setting) to ``False``. This means ``rtscts=True`` enables hardware flow control on RTS/CTS but no longer also on DTR/DSR. This change mostly affects Win32 as on other platforms, that setting was ignored anyway.
- Improved xreadlines, it is now a generator function that yields lines as they are received (previously it called readlines which would only return all lines read after a read-timeout). However xreadlines is deprecated an not available when the io module is used. Use ``for line in Serial(...):``instead.
- Bugfixes:
- [Bug 2925854] test.py produces exception with python 3.1
- [Bug 3029812] 2.5rc2 readline(s) doesn't work