> Now I'm wondering if there isn't a better way for Python to get > ahold of the current module's __name__ in this case, if you don't > want to change what PyEval_GetGlobals() does. If you can rigorously define "current module" I can propose an API. --Guido van Rossum (home page: http://www.python.org/~guido/)