[issue2491] io.open() handles errors differently on different platforms

Amaury Forgeot d'Arc report at bugs.python.org
Wed Mar 26 10:43:25 CET 2008

Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

With python3.0, os.fdopen() is a simple call to io.open(), which has
these missing options.

Maybe os.fdopen should be deprecated or removed, and replaced by io.open.
Moreover, the comment in os.py is wrong: subprocess does not use fdopen
any more, but io.open instead.

nosy: +amaury.forgeotdarc

Tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list