Author Simon Depiets
Recipients Simon Depiets
Date 2017-12-07.15:21:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
A couple of users have been having issues on console output since the Fall 2017 Creator Update on Windows 10

An OSError is triggered randomly when rewriting data on the console (typically with progress bars, for instance when you install a module with pip), this only happens with the Microsoft Console (within Powershell or cmd.exe).

It seems the windows stdout console stream returns a length double what python expects. I don't have the skills to go deeper than the bufferedio.c method _bufferedwriter_raw_write to diagnostic the issue, so I've made a very dirty fix (which I do not recommend)

Different unrelated use cases where an error is triggered :
Date User Action Args
2017-12-07 15:21:22Simon Depietssetrecipients: + Simon Depiets
2017-12-07 15:21:22Simon Depietssetmessageid: <>
2017-12-07 15:21:22Simon Depietslinkissue32245 messages
2017-12-07 15:21:21Simon Depietscreate