[pypy-dev] Functions `.__module__` attribute
cool-RR
cool-rr at cool-rr.com
Tue May 10 18:50:21 CEST 2011
Hey,
It seems that in CPython a function gets a `.__module__` attribute according
to the current value of `__name__` when the function is being defined. In
Pypy this seems not to be working, since I changed `__name__` in globals (as
part of a test) but it still didn't change the function's `.__module__`. Is
this a deficiency in Pypy?
--
Sincerely,
Ram Rachum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20110510/646f3396/attachment.html>
More information about the pypy-dev
mailing list