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: 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 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: python-list 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 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!