Closed aeshthetic closed 7 years ago
this shouldn't be an issue in python3? can you describe the problem in more detail?
It shouldn't interfere, since the two imports are different.
import math # built-in library
from .math import a, b, c # math.py
An issue occurred where the requests module attempted to import math
and failed to do so within the directory, until I renamed math.py
to mmath.py
in order to test whether it was interfering with the import, and that's what seemed to be causing the issue.
Oh well. Can you rename math.py
to calc.py
(and adjust the header comment and stuff appropriately)?
Thanks Abhijay.
alright; thanks
I don't see requests in the traceback (nor do I think it's compatible with asyncio anyway). can you paste the relevant code and traceback instead of screenshots?
Fixed in 0f183a1
the file mawabot/mawabot/cogs/general/math.py interferes with modules that depend on the
math
module found in the python standard library