Message 375519 - Python tracker
I have experienced both ״TypeError: can't concat NoneType to bytes״, and the fact BufferedIO returns None. @pitrou @izbyshev contrary to your belief, I think there is at least some interest in this issue. Every few months another ticket is opened about a different aspect of the same underlying problem.