Benjamin Peterson added the comment: So, this is supposed to be a kludge for 3rd-party libraries that don't support using file objects? Immediately calling open() isn't necessarily what such a library will do. It could process the path somehow. Anyway, it's not clear what the semantics of the wrapper open() would return would be.
I'm going to close this. If you want to push it, you can bring it up on the python-ideas mailing list. ---------- nosy: +benjamin.peterson resolution: -> rejected status: open -> closed versions: +Python 3.4 -Python 2.7, Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16122> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com