Antoine Pitrou <pit...@free.fr> added the comment:

Le dimanche 28 décembre 2008 à 12:19 +0000, STINNER Victor a écrit :
> STINNER Victor <victor.stin...@haypocalc.com> added the comment:
> 
> > > Why changing PyFile_FromFd() and not io.open() directly?
> >
> > I must admit I'm a bit lazy, and changing io.open() means changing 
> > a fundamental public API, as Guido said on python-dev, so 
> > more discussion and some parts of the patches delayed to 3.1.
> 
> You're right, and PyFile_FromFd() is also a fundamental "public" API. 

Well, open() is fundamental as in part of the built-ins and used
pervasively. PyFile_FromFd(), on the other hand, is a relic of the 2.x C
file handling API. Let's see what others have to say about this.

> Should we also change stdin?

I don't know, but "python -h" only talks about stderr/stdout.

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4705>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to