Edward Loper - 2008-02-26

Logged In: YES
Originator: NO

Given the very dynamic nature of python, it's very difficult to figure out which variables are actually referenced by a given piece of code -- if a function accesses foo.x, how can we tell what type foo has? However, it's true that we could make a best-effort guess in the restricted domain of instance & class variables, by looking for "self.<name>" -- is that what you had in mind? If not, then please elaborate on exactly how you think epydoc could determine these "referenced by" lists?