Index: jython/src/org/python/core/Py.java =================================================================== --- jython/src/org/python/core/Py.java (revisiĆ³n: 3454) +++ jython/src/org/python/core/Py.java (copia de trabajo) @@ -1624,6 +1624,10 @@ if (doc != null) dict.__setitem__("__doc__", doc); + PyObject module = globals.__finditem__("__name__"); + if (module != null) + dict.__setitem__("__module__", module); + PyObject metaclass; metaclass = dict.__finditem__("__metaclass__");