[New-bugs-announce] [issue27642] import and __import__() fails silently without a ImportError and does not add the module to the file's namespace.

Decorater report at bugs.python.org
Thu Jul 28 07:58:25 EDT 2016


New submission from Decorater:

So, I have some code. I tried to make a 'plugin' for my bot I made in python. However it seems to not be able to import it which it should be able to.

The code I used is here: https://bpaste.net/show/e4445c47490d

I dont even know why it is not addign it to the file's namespace or even adding it to sys.modules either.

----------
messages: 271533
nosy: Decorater
priority: normal
severity: normal
status: open
title: import and __import__() fails silently without a ImportError and does not add the module to the file's namespace.
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27642>
_______________________________________


More information about the New-bugs-announce mailing list