Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #43072

Re: is "_io.py" missing from 2.7.4 ?

References <f38eaec4-3367-40c6-b4ca-b929dfd4ddac@googlegroups.com>
Date 2013-04-08 23:29 +1000
Subject Re: is "_io.py" missing from 2.7.4 ?
From Dylan Evans <dylan@dje.me>
Newsgroups comp.lang.python
Message-ID <mailman.289.1365427756.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, Apr 8, 2013 at 11:12 PM, dbv <dineshbvadhia@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

is "_io.py" missing from 2.7.4 ? dbv <dineshbvadhia@hotmail.com> - 2013-04-08 06:12 -0700
  Re: is "_io.py" missing from 2.7.4 ? Dylan Evans <dylan@dje.me> - 2013-04-08 23:29 +1000
    Re: is "_io.py" missing from 2.7.4 ? dbv <dineshbvadhia@hotmail.com> - 2013-04-08 06:42 -0700
      Re: is "_io.py" missing from 2.7.4 ? dbv <dineshbvadhia@hotmail.com> - 2013-04-08 06:59 -0700
      Re: is "_io.py" missing from 2.7.4 ? dbv <dineshbvadhia@hotmail.com> - 2013-04-08 06:59 -0700
      Re: is "_io.py" missing from 2.7.4 ? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2013-04-08 17:02 +0200
    Re: is "_io.py" missing from 2.7.4 ? dbv <dineshbvadhia@hotmail.com> - 2013-04-08 06:42 -0700
  Re: is "_io.py" missing from 2.7.4 ? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-09 00:20 +0000

csiph-web