[py-svn] r34884 - py/dist/py/documentation

fijal at codespeak.net fijal at codespeak.net
Thu Nov 23 10:48:11 CET 2006


Author: fijal
Date: Thu Nov 23 10:48:06 2006
New Revision: 34884

Modified:
   py/dist/py/documentation/source-viewer.txt
Log:
Added note about introspection.


Modified: py/dist/py/documentation/source-viewer.txt
==============================================================================
--- py/dist/py/documentation/source-viewer.txt	(original)
+++ py/dist/py/documentation/source-viewer.txt	Thu Nov 23 10:48:06 2006
@@ -35,3 +35,11 @@
 like pypy's compiler package we'll move. We create out of AST stuff which
 can be accessed by dot. Like module.function.firstlineno, with interface
 to py.code.Source as well.
+
+We can use introspection for some aspects. Right now only top-level functions
+and classes (not laying inside if and such) are exposed. We can use
+introspection to check which functions are exposed at a module level
+(all the ifs and such are executed ususally during initialisation of
+module, so we'll have all of necessary informations). Also we can check
+if elements was not overwritten, or has changed name by compiling code
+and checking.



More information about the pytest-commit mailing list