[Docstring-develop] ast-mining version 0.3
Status: Pre-Alpha
Brought to you by:
goodger
From: Tony J I. (Tibs) <to...@ls...> - 2001-08-20 15:25:45
|
I've updated: http://www.tibsnjoan.co.uk/reST/ast-mining.py http://www.tibsnjoan.co.uk/reST/test.py A first approximation to finding (DPS required) attribute docstrings is in place (it's either very icky or very elegant - possibly both at once). Next is to make it aware of "hidden" globals - so the poor user can be warned that there is a usage like:: class A: def B(): def C(): def D(): global Z # 100 lines of code, not mentioning Z # and Z is not at the top level either Z = 100 (which I think would be a Useful Thing to do - and also it's an interesting thing to work out how to do). Tibs -- Tony J Ibbs (Tibs) http://www.tibsnjoan.co.uk/ "How fleeting are all human passions compared with the massive continuity of ducks." - Dorothy L. Sayers, "Gaudy Night" My views! Mine! Mine! (Unless Laser-Scan ask nicely to borrow them.) |