Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #59066
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.020 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'subject:not': 0.03; 'subject:Getting': 0.07; 'subject:module': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'trace.': 0.16; 'wrote:': 0.18; 'possible,': 0.19; 'stack': 0.19; 'mon,': 0.24; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'that.': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'supposed': 0.32; 'subject:the': 0.34; "i'd": 0.34; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'nov': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; "you're": 0.61; 'information': 0.63; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=QxGLEodJrFDopbOGNY3oIhPd1xRuuFaD4i/imqMJV+w=; b=rEsbVvmU4F8H1f8LXCpj3UFZPc51AeQ4XdVRYBkLGvPLb8cq9DfxTEU3m47L2ft3jE oHe0c/k9JOt7KonVkKNu2X5N3K6f+qZecLzWVoXkJyT8eOXuQ5sCNlNYEeDodb4X7Uxb +U8J102ZAogYAwcl7ue6K+NHvrsDgr64yl1Pqac1Eq8HnxcQgZYh8/IN2vo7bLiRX+5L QMhhypF/U35mfIo73T3yCDTKVS8pGu6o02cf8me8BQe1tgUDdAXPU9CwGbFi7M0pCAuz 66q3O5yxGIQCNeVfvajX4FKE6As4XyzJE6wq6Tyifz3i2pr4zlRnq5pajyNh2oSqY5+L FcSw== |
| MIME-Version | 1.0 |
| X-Received | by 10.68.234.165 with SMTP id uf5mr29894611pbc.41.1384169691081; Mon, 11 Nov 2013 03:34:51 -0800 (PST) |
| In-Reply-To | <5280beb6$0$29976$c3e8da3$5496439d@news.astraweb.com> |
| References | <5280beb6$0$29976$c3e8da3$5496439d@news.astraweb.com> |
| Date | Mon, 11 Nov 2013 22:34:50 +1100 |
| Subject | Re: Getting globals of the caller, not the defining module |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2369.1384169700.18130.python-list@python.org> (permalink) |
| Lines | 10 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1384169700 news.xs4all.nl 15904 [2001:888:2000:d::a6]:53720 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:59066 |
Show key headers only | View raw
On Mon, Nov 11, 2013 at 10:25 PM, Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote: > But since spam is supposed to introspect as much information as possible, > I don't really want to do that. What (if anything) are my other options? You're playing with introspection, so I'd look at poking around in the stack trace. It'll be esoteric, but I think this is the right place to use it. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Getting globals of the caller, not the defining module Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-11-11 11:25 +0000
Re: Getting globals of the caller, not the defining module Chris Angelico <rosuav@gmail.com> - 2013-11-11 22:34 +1100
Re: Getting globals of the caller, not the defining module sg552@hotmail.co.uk - 2013-11-11 04:02 -0800
Re: Getting globals of the caller, not the defining module Terry Reedy <tjreedy@udel.edu> - 2013-11-11 20:57 -0500
Re: Getting globals of the caller, not the defining module Rotwang <sg552@hotmail.co.uk> - 2013-11-12 08:29 +0000
Re: Getting globals of the caller, not the defining module Rotwang <sg552@hotmail.co.uk> - 2013-11-14 20:56 +0000
Re: Getting globals of the caller, not the defining module Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-11-15 08:23 +0000
csiph-web