pySerial v2.6 Release Notes

Release Date: 2011-11-02 // over 12 years ago
  • ๐Ÿ†• 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 handlers 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
    • several 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

    ๐Ÿ›  Bugfixes (posix):

    • [Patch 3316943] Avoid unneeded termios.tcsetattr calls in serialposix.py
    • ๐Ÿ‘ [Patch 2912349] Serial Scan as a Module with Mac Support

    ๐Ÿ›  Bugfixes (win32):

    • โฑ [Bug 3057499] writeTimeoutError when write Timeout is 0
    • [Bug 3414327] Character out of range in list_ports_windows
    • ๐Ÿ [Patch 3036175] Windows 98 Support fix
    • [Patch 3054352] RTS automatic toggle, for RS485 functionality.
    • ๐Ÿ›  Fix type definitions for 64 bit Windows compatibility