[issue29361] bug in pyserial: serialposix.py

2017-01-24 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report, but pyserial is not part of the Python stdlib. Please open your bug report on https://github.com/pyserial/pyserial. -- nosy: +berker.peksag resolution: -> third party stage: -> resolved status: open -> closed type: crash ->

[issue29361] bug in pyserial: serialposix.py

2017-01-24 Thread Reto Cavelti
New submission from Reto Cavelti: 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) -- components: Library (Lib) messages: 286168 nosy: