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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=195958
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?