[Python-Dev] POSIX [Fuzziness in io module specs] (original) (raw)

R. David Murray rdmurray at bitdance.com
Sat Sep 19 14:47:57 CEST 2009


On Sat, 19 Sep 2009 at 12:31, Pascal Chambon wrote:

stream operations into IOErrors. Error codes are not the same as unix ones indeed, but I don't know if it's really important (imo, most people just want to know if the operation was successful, I don't know if many developers scan error codes to act accordingly). For IOError types that really matter (eg.

Doesn't matter if it isn't very many, I think, just that it can be done. But I suspect it is fairly common. I know I have inspected OSError codes (though I can't remember if I've done it for file operations).

--David



More information about the Python-Dev mailing list