Message78400
| Author |
vstinner |
| Recipients |
fabioz, pitrou, vstinner |
| Date |
2008年12月28日.12:19:14 |
| SpamBayes Score |
1.8872126e-12 |
| Marked as misclassified |
No |
| Message-id |
<1230466759.43.0.978356783426.issue4705@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> > 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.
Since TextIOWrapper doesn't support real unbuffered buffer (only
pseudo line buffer: unbuffered raw buffer and line buffering for
TextIOWrapper), I prefer to change only stdout/stderr instead of
PyFile_FromFd().
My new patch only changes initstdio() using pitrou's code.
Should we also change stdin? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年12月28日 12:19:19 | vstinner | set | recipients:
+ vstinner, pitrou, fabioz |
| 2008年12月28日 12:19:19 | vstinner | set | messageid: <1230466759.43.0.978356783426.issue4705@psf.upfronthosting.co.za> |
| 2008年12月28日 12:19:18 | vstinner | link | issue4705 messages |
| 2008年12月28日 12:19:18 | vstinner | create |
|