> What's a good document to read in order to > understand some of python's introspective functions? Read http://diveintopython.org Also see 'Python in a nutshell'. Understand the python type system, metaclassess ... Looking at the source code, helped me.