Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!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; 'subject:file': 0.07; 'python': 0.09; 'objects.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'aug': 0.13; 'passing': 0.15; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:send': 0.16; 'mon,': 0.16; 'restrictions': 0.17; 'windows': 0.19; 'machine': 0.24; 'header:X-Complaints-To:1': 0.28; 'run': 0.28; 'pickle': 0.29; 'file': 0.32; 'idle': 0.33; 'url:home': 0.33; 'to:addr:python-list': 0.33; 'likely': 0.33; 'version': 0.34; 'received:org': 0.36; 'method': 0.36; 'charset :us-ascii': 0.36; 'enough': 0.36; 'uses': 0.37; 'subject:: ': 0.38; 'possible.': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; '(that': 0.62; 'different': 0.63; 'manner': 0.74; 'pickled': 0.84; 'subject:via': 0.84; 'dennis': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Pickle file and send via socket Date: Mon, 06 Aug 2012 15:26:07 -0400 Organization: > Bestiaria Support Staff < References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-76-249-23-211.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 3.3/32.846 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1344281415 news.xs4all.nl 6976 [2001:888:2000:d::a6]:59927 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:26650 On Mon, 6 Aug 2012 19:17:47 +0530, Ramchandra Apte declaimed the following in gmane.comp.python.general: > This is *absolutely* possible. > Did you know that IDLE uses this very method when run in sub-process mode! > It must be emphasized that this is likely to only work on the local machine... Passing a pickled file-object across the net to different machine will likely fail. It also will be impacted by the normal pickle restrictions (that a different version of Python may not be able to unpickle the data). I don't know enough to know if M$ Windows operates in the same manner with regards to file objects. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/