Mercurial > cpython-lru_cache-weakref
comparison Python/thread_pthread.h @ 64838:dd3080b80dda
PyImport_Import was using the old import hack of sticking a dummy value into
fromlist to get __import__ to return the module desired. Now it uses the proper
approach of fetching the module from sys.modules.
Closes issue #9252. Thanks to Alexander Belopolsky for the bug report.
| author | Brett Cannon <bcannon@gmail.com> |
|---|---|
| date | Sun, 19 Sep 2010 21:39:02 +0000 |
| parents | cab14be0ada1 |
| children | 8e428b8e7d81 |
comparison
equal
deleted
inserted
replaced
| 64837:8dfbf66f369c | 64838:dd3080b80dda |
|---|
