2013/2/14 bdk <[email protected]>

>
> bdk <[email protected]> added the comment:
>
> Sure, but given that the CPython docs explicitly state a file object is a
> wrapper on top of FILE*/to expect FILE* behavior in corner cases, and the
> PyPy
> ones "Differences that are not listed here should be considered bugs of
> PyPy.",
> I think this is worth mentioning in PyPy docs.
>
> Now the real question is why doesn't PyPy simply use FILE* objects? PyPy
> should
> either do this or fix the remaining deficiencies in the streamio.py code
> (but
> this seems like a waste of time vs plugging into FILE* to me).


It's an ooold story, but I remember that streamio.py started as a "gitft
from Guido" -- something you cannot refuse.

At the time, one of PyPy directions was to rewrite every low-level library
in Python,
so something that bypasses libc was welcome.

-- 
Amaury Forgeot d'Arc
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to