Message156473
| Author |
eric.snow |
| Recipients |
Arfrever, brett.cannon, eric.araujo, eric.snow, meador.inge |
| Date |
2012年03月21日.05:42:31 |
| SpamBayes Score |
1.2447917e-08 |
| Marked as misclassified |
No |
| Message-id |
<1332308560.69.0.0409106438275.issue13959@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here's an incomplete (though essentially test-passing) patch that flips more of imp into importlib. It builds on Brett's patch. The gist is that imp.py is a minimal wrapper around importlib, which uses _imp directly.
Ultimately the things implemented in Lib/importlib/_bootstrap.py should be yanked out of Python/import.c (and Python/dynload_*.c). I expect that this will wait for the bootstrap merge (#2377) to land. |
|