Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!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.049 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'received:209.85.223': 0.03; 'context': 0.05; 'caller': 0.07; 'accordingly.': 0.13; 'variable': 0.20; 'message-id:@mail.gmail.com': 0.27; 'function': 0.30; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'whatever': 0.35; 'received:209.85': 0.35; 'method': 0.36; 'possible': 0.37; 'received:209': 0.37; 'object': 0.38; 'to:addr:python.org': 0.39; 'easily': 0.39; 'header:Received:5': 0.40; 'more': 0.63; 'interest.': 0.78; 'to:name:python': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=cY5Sc41oHhRL+4vsgArP4XSYrj/gEBLb4g3YPtk1NR0=; b=B8/zvf0NznbTrbKBqIDLcaL492w1waPvwONqnpfqY9r+HCyGtrGB2Z5JDlfV1YPSX0 A8C+bDW/PdyDmLKSRlHuuOI7qK/1YETjkEggb76IhiUE+gjGq/nAPaLKqgzPJ7b71mFu fMCgWehzT2+V5PwxbbqfNjPEL0clfLIj9iH9sA7J8Ht+H+h23cH0oumEkSbT6Ep8BE1f zxybHSc8sujRpwocZb82Gj6t6f/XAnqpr5zJs4Om6ks0h7Y8Py2cahaNMsw6RXXlYeW/ a3jrMxSg5fHnXvhrk5txpBfGCokOHvHvtgjM1MgaKO1aRd4Cl0PnO5/D0dqesatBjloD qGkQ== MIME-Version: 1.0 Date: Wed, 19 Dec 2012 16:57:36 +0100 Subject: context aware execution From: Bart Thate To: Python Content-Type: multipart/alternative; boundary=e89a8f646717594cbe04d136ac01 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: 35 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1355932660 news.xs4all.nl 6844 [2001:888:2000:d::a6]:56757 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35135 --e89a8f646717594cbe04d136ac01 Content-Type: text/plain; charset=ISO-8859-1 Hi All ! Is is possible and if yes, is it more easily possible (i am thinking f_back maybe) to get the context of the caller when in a function ? Like to which variable name is this object assigned ? Or whatever of the callers context that might be of interest. I want in a function or method determine the context of my caller and adapt the functionality accordingly. thnx, Bart --e89a8f646717594cbe04d136ac01 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi All !

Is is possible and= if yes, is it more easily possible (i am thinking f_back maybe) to get the= context of the caller when in a function ?=A0

Like to w= hich variable name is this object assigned ?

Or whatever of the callers context that might be of in= terest.

I want in a function or method= determine the context of my caller and adapt the functionality accordingly= .

thnx,

Bart
--e89a8f646717594cbe04d136ac01--