[issue22479] strange behavior of importing random module
STINNER Victor
report at bugs.python.org
Wed Sep 24 11:42:00 CEST 2014
STINNER Victor added the comment:
It's not a bug in Python. The problem is that your project contains a file called "random.py" which is used instead of the random from the standard library. Rename the file (and remove random.pyc).
----------
nosy: +haypo
resolution: -> not a bug
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22479>
_______________________________________
More information about the Python-bugs-list
mailing list