<div dir="ltr">Hey,<div><br></div><div>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&#39;t change the function&#39;s `.__module__`. Is this a deficiency in Pypy?<br clear="all">
<br>-- <br>Sincerely,<br>Ram Rachum<br>
</div></div>