bdk <[email protected]> added the comment: Surely one can use it as a file stream and then afterwards as a fd? And then have some expectations about the interactions?
Cpython docs explicitly state "File objects are implemented using C’s stdio package" and other things like "This function is simply a wrapper for the underlying fread() C function, and will behave the same in corner cases, such as whether the EOF value is cached." Surely someone might depend on these behaviors, that file objects behave as stdio streams with regards to interactions with low level file descriptor calls? I don't see any note in pypy's 'differences from cpython' doc either. ________________________________________ PyPy bug tracker <[email protected]> <https://bugs.pypy.org/issue1397> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-issue
