Message299043
| 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 |
<1500967310.82.0.567676646762.issue29512@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 ? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年07月25日 07:21:50 | quentel | set | recipients:
+ quentel, vstinner, serhiy.storchaka, yselivanov |
| 2017年07月25日 07:21:50 | quentel | set | messageid: <1500967310.82.0.567676646762.issue29512@psf.upfronthosting.co.za> |
| 2017年07月25日 07:21:50 | quentel | link | issue29512 messages |
| 2017年07月25日 07:21:50 | quentel | create |
|