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 <rep...@bugs.python.org> <http://bugs.python.org/issue22479> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com