diff options
author | Andrew Leech <andrew.leech@planetinnovation.com.au> | 2018-09-12 16:42:06 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-09-21 11:57:24 +1000 |
commit | a2703649ea4455fe11388e24fad68a66441daf68 (patch) | |
tree | 7119f8a1f8bc58fd79d3393822f41311adc29d36 /py/formatfloat.c | |
parent | cb3c66e79358f03367d0b4e5d2b6ec649ac29733 (diff) |
tools/pydfu: Workaround stdio flush error on Windows with Python 3.6.
There appears to be an issue on Windows with CPython >= 3.6,
sys.stdout.flush() raises an exception:
OSError: [WinError 87] The parameter is incorrect
It works fine to just catch and ignore the error on the flush line. Tested
on Windows 10 x64 1803 (Build 17134.228), Python 3.6.4 amd64.
Diffstat (limited to 'py/formatfloat.c')
0 files changed, 0 insertions, 0 deletions