[Python-Dev] importlib.find_loader (original) (raw)

Brett Cannon brett at python.org
Fri Feb 1 14:46:15 CET 2013


Bugs #17098 and #17099 filed.

On Fri, Feb 1, 2013 at 1:56 AM, Thomas Heller <theller at ctypes.org> wrote:

Am 01.02.2013 01:42, schrieb Nick Coghlan:

Yep, looks like a bug in the bootstrapping, failing to set loader properly.

It also has the effect that reload does not work: Type "help", "copyright", "credits" or "license" for more information. >>> import imp >>> import math >>> imp.reload(math) <module 'math' (built-in)> >>> import signal >>> imp.reload(signal) Traceback (most recent call last): File "", line 1, in File "C:\Python33-64\lib\imp.py", line 252, in reload return module.loader.loadmodule(**name) AttributeError: 'module' object has no attribute 'loader' >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20130201/1b9c8546/attachment.html>



More information about the Python-Dev mailing list