[Python-Dev] __module__ of newly-created extension classes

Guido van Rossum guido@python.org
Thu, 30 May 2002 17:54:37 -0400

> 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/)