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


Groups > comp.lang.python > #35135

context aware execution

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 <feedbackflow@gmail.com>
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 <feedbackflow@gmail.com>
To Python <python-list@python.org>
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 <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.1058.1355932660.29569.python-list@python.org> (permalink)
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

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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

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


Thread

context aware execution Bart Thate <feedbackflow@gmail.com> - 2012-12-19 16:57 +0100

csiph-web