Pierre Quentel added the comment:

Maybe it's me who is doing things wrong, but when I run 
Lib/test/test_httpservers.py I get this strange error :

Traceback (most recent call last):
  File "C:\cpython\Lib\test\test_httpservers.py", line 7, in <module>
    from http.server import BaseHTTPRequestHandler, HTTPServer, \
  File "c:\python36\lib\http\server.py", line 92, in <module>
    import email.utils
  File "c:\python36\lib\email\utils.py", line 28, in <module>
    import random
  File "c:\python36\lib\random.py", line 48, in <module>
    import bisect as _bisect
  File "C:\cpython\Lib\test\bisect.py", line 27, in <module>
    import tempfile
  File "c:\python36\lib\tempfile.py", line 45, in <module>
    from random import Random as _Random
ImportError: cannot import name 'Random'

I see that the bisect module is loaded from location /test/bisect.py because of 
the script introduced in the resolution of this issue. Is it intentional to 
give it the same name as a module of the standard library ?

----------
nosy: +quentel

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29512>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to