Mercurial > cpython-lru_cache-weakref
diff Python/thread.c @ 16534:b59f3a1eb123 legacy-trunk
This modified version of a patch by Thomas Heller allows __import__
hooks to take over the Python import machinery at a very early stage
in the Python startup phase.
If there are still places in the Python interpreter which need to
bypass the __import__ hook, these places must now use
PyImport_ImportModuleEx() instead. So far no other places than in
the import mechanism itself have been identified.
| author | Marc-André Lemburg <mal@egenix.com> |
|---|---|
| date | Fri, 09 Feb 2001 19:40:15 +0000 |
| parents | 457f0df46dd9 |
| children | 2dea40e40d9d |
