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


Groups > comp.lang.python > #52480

Pair of filenos read/write each other?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <tdhfwh@nottheoilrig.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.185
X-Spam-Level *
X-Spam-Evidence '*H*': 0.65; '*S*': 0.02; 'suggest': 0.14; 'descriptor': 0.16; 'received:192.168.0.11': 0.16; 'written': 0.21; 'header:User-Agent:1': 0.23; 'subject:/': 0.26; 'subject:other': 0.31; 'anyone': 0.31; 'file': 0.32; 'thanks!': 0.32; 'to:name:python-list': 0.33; 'there': 0.35; 'vice': 0.36; 'subject:?': 0.36; 'to:addr:python-list': 0.38; 'anything': 0.39; 'to:addr:python.org': 0.39; 'read': 0.60; 'numbers': 0.61; 'such': 0.63; 'subject:read': 0.84; 'subject:Pair': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=simple/simple; d=nottheoilrig.com; s=mail; t=1376435442; bh=BvXjUEtf09R6eH9xyQrnqJeX6peKSmcVqhN0ipRWkI4=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=sGvWb+TVGmun5vfFpzP2aGnzhB98AMZ3R3GMurggfNB7pmNV3MguelJTcyvoXZdbi 4JlwtFgT9k6hV9I4mKhHYaw+GX+An8SBeTifLNNGY1cAy2tVm4KtUtFGtdR+4rcOAV oc/1iXcvI52YGUPr+NYJtuz/JzK/VXg6w9xMkaI4=
Date Tue, 13 Aug 2013 16:10:41 -0700
From Jack Bates <tdhfwh@nottheoilrig.com>
User-Agent Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version 1.0
To python-list <python-list@python.org>
Subject Pair of filenos read/write each other?
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.552.1376435986.1251.python-list@python.org> (permalink)
Lines 6
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1376435986 news.xs4all.nl 15877 [2001:888:2000:d::a6]:60559
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:52480

Show key headers only | View raw


Can anyone suggest a way to get a pair of file descriptor numbers such 
that data written to one can be read from the other and vice versa?

Is there anything like os.pipe() where you can read/write both ends?

Thanks!

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


Thread

Pair of filenos read/write each other? Jack Bates <tdhfwh@nottheoilrig.com> - 2013-08-13 16:10 -0700
  Re: Pair of filenos read/write each other? "Rhodri James" <rhodri@wildebst.demon.co.uk> - 2013-08-14 01:17 +0100
    Re: Pair of filenos read/write each other? Chris Angelico <rosuav@gmail.com> - 2013-08-14 01:55 +0100
    Re: Pair of filenos read/write each other? Jack Bates <tdhfwh@nottheoilrig.com> - 2013-08-15 08:56 -0700
    Re: Pair of filenos read/write each other? Jack Bates <tdhfwh@nottheoilrig.com> - 2013-08-15 08:59 -0700
  Re: Pair of filenos read/write each other? Roy Smith <roy@panix.com> - 2013-08-13 21:37 -0400
  Re: Pair of filenos read/write each other? Nobody <nobody@nowhere.com> - 2013-08-14 08:21 +0100
    Re: Pair of filenos read/write each other? Antoine Pitrou <solipsis@pitrou.net> - 2013-08-14 08:34 +0000
    Re: Pair of filenos read/write each other? Jack Bates <tdhfwh@nottheoilrig.com> - 2013-08-15 09:19 -0700
    Re: Pair of filenos read/write each other? Antoine Pitrou <solipsis@pitrou.net> - 2013-08-15 18:24 +0000

csiph-web