Re:Ask YC:Python and Dual core Processors
by Erwin on Friday June 13, 2008 @05:30AM
(#216643)
What error message?
[ Parent
| on HN ]
Re:Ask YC:Python and Dual core Processors
by aitoehigie on Friday June 13, 2008 @05:35AM
(#216645)
The error is "IDLE's subprocess didn't make connection. Either IDLE can't start a subprocess or personal firewall software is blocking the connection"
I always ensure that the Python interpreter is part of my firewalls exceptions so it is never blocked.
It's an IDLE IDE problem as lilspikey mentioned rather than Python itself. From what I can tell, IDLE listens on a fixed port on localhost in order to communicate with the actual Python interpreter, so starting multiple IDLEs may not work.
If you run multiple instances of just "python" from the shell (assuming UNIX), there is no problem.
GIL is not involved here, it only comes into play when you have multiple threads in a single process.
I don't use IDLE, but http://mail.python.org/pipermail/patches/2006-July/020329.ht... suggests there's some "-n" switch you can IDLE with that alleviates the problem somehow.
Ah, so that sounds more like a problem with IDLE than with Python itself.
You shouldn't have any issues running Python interpretors normally.