This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients fabioz, pitrou, vstinner
Date 2008-12-28.13:54:03
SpamBayes Score 1.0624261e-09
Marked as misclassified No
Message-id <1230472445.6361.33.camel@localhost>
In-reply-to <1230466759.43.0.978356783426.issue4705@psf.upfronthosting.co.za>
Content
Le dimanche 28 décembre 2008 à 12:19 +0000, STINNER Victor a écrit :
> STINNER Victor <victor.stinner@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.
History
Date User Action Args
2008-12-28 13:54:04pitrousetrecipients: + pitrou, vstinner, fabioz
2008-12-28 13:54:03pitroulinkissue4705 messages
2008-12-28 13:54:03pitroucreate