This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author quentel
Recipients quentel, serhiy.storchaka, vstinner, yselivanov
Date 2017-07-25.07:21:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Maybe it's me who is doing things wrong, but when I run Lib/test/ I get this strange error :

Traceback (most recent call last):
  File "C:\cpython\Lib\test\", line 7, in <module>
    from http.server import BaseHTTPRequestHandler, HTTPServer, \
  File "c:\python36\lib\http\", line 92, in <module>
    import email.utils
  File "c:\python36\lib\email\", line 28, in <module>
    import random
  File "c:\python36\lib\", line 48, in <module>
    import bisect as _bisect
  File "C:\cpython\Lib\test\", line 27, in <module>
    import tempfile
  File "c:\python36\lib\", 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/ 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 ?
Date User Action Args
2017-07-25 07:21:50quentelsetrecipients: + quentel, vstinner, serhiy.storchaka, yselivanov
2017-07-25 07:21:50quentelsetmessageid: <>
2017-07-25 07:21:50quentellinkissue29512 messages
2017-07-25 07:21:50quentelcreate