This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: bug in pyserial: serialposix.py
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.5
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: berker.peksag, rc
Priority: normal Keywords:

Created on 2017-01-24 09:56 by rc, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg286168 - (view) Author: Reto Cavelti (rc) Date: 2017-01-24 09:56
bug in pyserial: serialposix.py

line 50:
        # set custom divisor
        buf[6] = buf[7] / baudrate

TypeError: integer argument expected, got float

fix: do cast: buf[6] = int(buf[7] / baudrate)
msg286171 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2017-01-24 10:00
Thanks for the report, but pyserial is not part of the Python stdlib. Please open your bug report on https://github.com/pyserial/pyserial.
History
Date User Action Args
2022-04-11 14:58:42adminsetgithub: 73547
2017-01-24 10:00:50berker.peksagsetstatus: open -> closed

type: crash -> behavior

nosy: + berker.peksag
messages: + msg286171
resolution: third party
stage: resolved
2017-01-24 09:56:41rccreate