Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53649
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.006 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'occurrences': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'runs': 0.10; '(within': 0.16; 'classes)': 0.16; "package's": 0.16; 'program?': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'subject:class': 0.16; 'subject:where': 0.16; 'tracing': 0.16; 'header:User-Agent:1': 0.23; 'source': 0.25; 'skip:" 20': 0.27; 'header:X-Complaints- To:1': 0.27; 'announcement': 0.30; 'forgot': 0.30; 'gives': 0.31; '(on': 0.31; 'name;': 0.31; 'writes:': 0.31; 'allows': 0.31; 'class': 0.32; '(e.g.': 0.33; 'tool': 0.35; 'objects': 0.35; 'there': 0.35; 'charset:us-ascii': 0.36; 'throughout': 0.37; 'operating': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'simple': 0.61; 'received:217': 0.63; 'name': 0.63; 'such': 0.63; 'face': 0.64; 'results': 0.69; 'maybe,': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | dieter <dieter@handshake.de> |
| Subject | Re: Find out where a class is used throughout a program. |
| Date | Wed, 04 Sep 2013 22:08:10 +0200 |
| References | <9d290db6-b9cb-41af-8107-e7f27d2da6d0@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Gmane-NNTP-Posting-Host | pd9e08f9a.dip0.t-ipconnect.de |
| User-Agent | Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) |
| Cancel-Lock | sha1:Rq7MJUbasJayvHRI7f6oEu/Gz+Y= |
| 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.58.1378325308.5461.python-list@python.org> (permalink) |
| Lines | 18 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1378325308 news.xs4all.nl 15866 [2001:888:2000:d::a6]:52020 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:53649 |
Show key headers only | View raw
Azureaus <lo0446@my.bristol.ac.uk> writes: > ... > is there a way of finding out / visualising where a particular class is called/used throughout a program? I do not know a simple and reliable way. When I face such a situation, I use standard operating system utilities (e.g. "grep -r" under *nix) to search for occurrences of the class name in the source tree. This often gives good results when the class name has been well chosen. Recently (within the last 2 months), I have seen the announcement (on "...python.announce") of a tracing tool (I forgot the package's name; maybe, it has been "CodeInspector"). When I have understood the announcement correctly, then it traces concrete runs and allows you to explore where objects (e.g. classes) have been used *in these runs*.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Find out where a class is used throughout a program. Azureaus <lo0446@my.bristol.ac.uk> - 2013-09-04 09:32 -0700
Re: Find out where a class is used throughout a program. dieter <dieter@handshake.de> - 2013-09-04 22:08 +0200
Re: Find out where a class is used throughout a program. Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2013-09-04 22:40 +0200
Re: Find out where a class is used throughout a program. Terry Reedy <tjreedy@udel.edu> - 2013-09-04 17:36 -0400
Re: Find out where a class is used throughout a program. alex23 <wuwei23@gmail.com> - 2013-09-05 10:11 +1000
Re: Find out where a class is used throughout a program. Roy Smith <roy@panix.com> - 2013-09-04 21:48 -0400
Re: Find out where a class is used throughout a program. Steven D'Aprano <steve@pearwood.info> - 2013-09-05 02:16 +0000
Re: Find out where a class is used throughout a program. Dave Angel <davea@davea.name> - 2013-09-05 09:08 +0000
Re: Find out where a class is used throughout a program. Azureaus <lo0446@my.bristol.ac.uk> - 2013-09-05 05:42 -0700
Re: Find out where a class is used throughout a program. Chris Angelico <rosuav@gmail.com> - 2013-09-05 22:53 +1000
csiph-web