Matthew Cowles added the comment:
> Do you have access to IDLE on any system other than Windows?
I don't have a Windows machine at all.
For what it's worth, here's the behavior I'm talking about, albeit with an old
version of Python:
$ mkdir testidle
$ cd testidle
$ /usr/local/bin/python
/Library/Frameworks/Python.framework/Versions/Current/lib/python2.7/idlelib/idle.py
# Works
$ >random.py
$ /usr/local/bin/python
/Library/Frameworks/Python.framework/Versions/Current/lib/python2.7/idlelib/idle.py
[. . .]
Unhandled server exception!
Thread: SockThread
[. . .]
import tempfile
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tempfile.py",
line 34, in <module>
from random import Random as _Random
ImportError: cannot import name Random
*** Unrecoverable, server exiting!
Of course no one starts IDLE from a command line in real life and so a beginner
gets send down a blind alley with a misleading error message about firewall
software.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue26143>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com