Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.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.054 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'exec': 0.07; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'function?': 0.16; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'command': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; 'see,': 0.27; "doesn't": 0.28; 'received:209.85.212': 0.28; 'function': 0.30; 'received:google.com': 0.34; 'received:209.85': 0.35; 'subject:" ': 0.36; 'received:209': 0.37; 'far': 0.37; 'subject:: ': 0.38; 'called': 0.39; 'subject:get': 0.81; 'anywhere.': 0.84; 'received:209.85.212.56': 0.91 Newsgroups: comp.lang.python Date: Thu, 30 Aug 2012 15:25:17 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=98.231.57.103; posting-account=8j8NxgoAAABK-JzsxnXiug-kduNcusfe References: <5c488ca5-d730-40c4-b860-7a53201f21ae@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 98.231.57.103 MIME-Version: 1.0 Subject: Re: get return or locals from "exec" str in "environment" From: lucas To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org 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: , Message-ID: Lines: 4 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1346365520 news.xs4all.nl 6919 [2001:888:2000:d::a6]:39708 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:28144 > Far as I can see, you never actually called that function anywhere. > ChrisA doesn't the exec command call the function?