Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '"the': 0.07; 'subject:missing': 0.07; 'received:209.85.219': 0.09; 'skip:/ 10': 0.09; 'cc:addr:python-list': 0.11; 'command,': 0.16; 'email addr:hotmail.com>': 0.16; 'folder.': 0.16; 'it."': 0.16; 'it."': 0.16; 'subject: ?': 0.16; 'wrote:': 0.18; 'users.': 0.18; "skip:' 30": 0.19; '>>>': 0.22; 'import': 0.22; 'cc:addr:python.org': 0.22; '>>>': 0.24; 'skip:\xa0 20': 0.24; 'mon,': 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'header:In- Reply-To:1': 0.27; 'unix': 0.29; 'andrew': 0.30; 'message- id:@mail.gmail.com': 0.30; 'skip:( 20': 0.30; 'url:mailman': 0.30; 'url:python': 0.33; 'implemented': 0.33; '"the': 0.34; 'subject:from': 0.34; 'received:209.85': 0.35; 'skip:u 20': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'received:209': 0.37; '8bit%:4': 0.38; 'pm,': 0.38; 'subject:" ': 0.39; '8bit%:6': 0.40; 'url:mail': 0.40; 'nobody': 0.68; 'skip:_ 50': 0.83; 'abc': 0.84; 'to:none': 0.92; '2013': 0.98 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:cc:content-type:x-gm-message-state; bh=uRB9iGu/ikPp+a8YmOJfgUOODl78+ezrC1aHD+OSNwo=; b=Phh5DWbHPmjn9ErG04oX257DNkVcOCyafOyqmq8c152qIGQriKrdb/nuHutDUezKw3 fNhLTeNsH3MQdpmliowQCABfse6A5bE59+aZ/0iEJr+tktYmmBaiLyOuFgbdKr4hqWX4 SK+/r8zuDVZOI8i4fmgw1pCE4JTsppz+lYNPEdg9scb89Tp/yyQFGxqP/fGzI8Sml1VB ZXHb9KFufuTWQg42N4YAWdzl+wGUe6ZVbHZppGpbLolsDUGp+z7ARdbWFii1vowLAHN4 n3I+euA6K+HysgipkSzj/Yc98Ab1WtkkQE8GlP7acddCNMq0F8LKDO4bLeszs78M9WvO siqw== MIME-Version: 1.0 X-Received: by 10.182.144.42 with SMTP id sj10mr15378465obb.66.1365427747191; Mon, 08 Apr 2013 06:29:07 -0700 (PDT) X-Originating-IP: [220.245.216.139] In-Reply-To: References: Date: Mon, 8 Apr 2013 23:29:07 +1000 Subject: Re: is "_io.py" missing from 2.7.4 ? From: Dylan Evans Cc: python-list Content-Type: multipart/alternative; boundary=14dae9399163d692e404d9d96bb5 X-Gm-Message-State: ALoCoQkGuQDYikHOThszlPXPyyGMBh3nM+B3IFYk8X0S+Yy5XReV5PEVICAOAnA2RLHPOVEA5AcS X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 80 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365427756 news.xs4all.nl 6867 [2001:888:2000:d::a6]:48351 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:43072 --14dae9399163d692e404d9d96bb5 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Apr 8, 2013 at 11:12 PM, dbv 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 --14dae9399163d692e404d9d96bb5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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= ,
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0open, FileIO, BytesIO, StringIO, Buffere= dReader,
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BufferedWriter, BufferedRWPair, Buffered= Random,
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0IncrementalNewlineDecoder, 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-dynl= oad/_io.so'

Looks like it's im= plemented in C.

=A0
--
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
--14dae9399163d692e404d9d96bb5--