Brett Cannon added the comment:

In order to have exceptions that have messages like "bad magic number in 
module" there would need to be a technically unneeded fullname parameter. 
People cool with that? I personally dislike having info passed in just for 
error reporting, but in this case import exceptions typically try to clarify 
what actually caused the issue by naming the module since you can end up with 
deep implicit module chains.

The other stuff related to bytecode paths are just for verbose logging or for 
setting path on ImportError, both of which can be worked around.


Python tracker <>
Python-bugs-list mailing list

Reply via email to