[Python-Dev] str object going in Py3K (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Fri Feb 17 00:27:16 CET 2006


Greg Ewing wrote:

Another thought -- what is going to happen to os.open? Will it change to return bytes, or will there be a new os.openbytes?

Nit-pickingly: os.open will continue to return integers.

I think it should return OS handles on Windows, instead of C library handles. (also notice that this has nothing to do with stdio: os.open does not use stdio; this is POSIX open).

Regards, Martin



More information about the Python-Dev mailing list