How to find unused methods
Christos TZOTZIOY Georgiou
tzot at sil-tec.gr
Wed Dec 22 08:59:15 EST 2004
More information about the Python-list mailing list
Wed Dec 22 08:59:15 EST 2004
- Previous message (by thread): How to find unused methods
- Next message (by thread): Garbage collector strategy
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 22 Dec 2004 10:27:58 +0100, rumours say that Martin Drautzburg <martin.drautzburg at web.de> might have written: >Is there an elegant way for finding unsent methods as in Smalltalk ? > >I am aware of the fact that due to pythons dynamic typing, no tool in >the world can find ALL unsent methods (same in Smalltalk). But finding >the most obvious ones would already be of some help. If you don't mind *running* your program, profile it. Or wrap all your methods in call counting ones. I think you will find lots of recipes how to automagically do the latter, especially in the decorator section of your favourite site :) -- TZOTZIOY, I speak England very best. "Be strict when sending and tolerant when receiving." (from RFC1958) I really should keep that in mind when talking with people, actually...
- Previous message (by thread): How to find unused methods
- Next message (by thread): Garbage collector strategy
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list