is "_io.py" missing from 2.7.4 ?

Dylan Evans dylan at dje.me
Mon Apr 8 09:29:07 EDT 2013


On Mon, Apr 8, 2013 at 11:12 PM, dbv <dineshbvadhia at hotmail.com> wrote:

> In 2.7.4, io.py shows:
>
> import _io
> import abc
>
> from _io import (DEFAULT_BUFFER_SIZE, BlockingIOError,
> UnsupportedOperation,
>                  open, FileIO, BytesIO, StringIO, BufferedReader,
>                  BufferedWriter, BufferedRWPair, BufferedRandom,
>                  IncrementalNewlineDecoder, TextIOWrapper)
>
> but, cannot find _io.py, though there is the old _pyio.py in the
> //Python27//Lib folder.
>
> >>> _io.__file__
'/usr/lib/python2.7/lib-dynload/_io.so'

Looks like it's implemented in C.



> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
"The UNIX system has a command, nice ... in order to be nice to the other
users. Nobody ever uses it." - Andrew S. Tanenbaum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130408/eea8157e/attachment.html>


More information about the Python-list mailing list