commit | 3c61c3525f4cf23acae95c5229abd10fe0998d28 | [log] [tgz] |
---|---|---|
author | Marc-André Lemburg <mal@egenix.com> | Fri Feb 09 19:40:15 2001 +0000 |
committer | Marc-André Lemburg <mal@egenix.com> | Fri Feb 09 19:40:15 2001 +0000 |
tree | 216162b106115635a7c16353a2de5de76b0e67c4 | |
parent | dbbbaf26969547b3cdd1b0eabc922e7d3f37cf99 [diff] |
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.