Message192066
I don't see anything wrong in current code. In first alternation data is an array of sampwidth-sized items and the number of written bytes is len(data) * self._sampwidth. In second alternation data is raw bytes object and the number of written bytes is just len(data).
Could you please provide a sample script which exposes the wrong behavior? |
|
Date |
User |
Action |
Args |
2013-06-30 11:30:10 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, jtidman |
2013-06-30 11:30:10 | serhiy.storchaka | set | messageid: <1372591810.26.0.505144756159.issue11126@psf.upfronthosting.co.za> |
2013-06-30 11:30:10 | serhiy.storchaka | link | issue11126 messages |
2013-06-30 11:30:10 | serhiy.storchaka | create | |
|