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

Pascal Chambon chambon.pascal at gmail.com
Fri Sep 18 21:17:29 CEST 2009


Hello everyone

I'm currently working on a reimplementation of io.FileIO, which would allow cross-platform file range locking and all kinds of other safety features ; however I'm slightly stuck due to some specification fuzziness in the IO docs. CF http://bugs.python.org/issue6939

The main points that annoy me at the moment :

Are there some arguments that I don't know, which lead to this or that particular implementation choice ? I'd strongly advocate very detailled specifications, letting no room for cross-platform subtilities (that's also a strong goal of my reimplemntation), since that new IO system (which saved me a lot of coding time, by the way) should become the base of many programs.

So wouldn't it be a godo idea to write some kind of mini-pep, just to fix the corner cases of the current IO documentation ? I might handle it, if no more-knowledgeable people feels like it.

Regards, Pascal



More information about the Python-Dev mailing list