FAQ
Michael,
On Fri, Dec 07, 2001 at 03:12:48PM +0000, Michael Hudson wrote:
Michael Hudson <Michael.Hudson at bristol.ac.uk> writes:
Your patch helps by the way. I tried building without threads -- that
didn't.
OTOH, some tests crash:

3 tests failed:
test_popen2 test_pty test_socket
I know, I know.

In fact, the following demonstrates the problem:

$ cat test2.py
import os
import _socket

pid = os.fork()

$ ./python test2.py
C:\home\jtishler\src\PythonCvs\nothreads\python.exe: *** unable to remap C:\cygwin\bin\cygssl.dll to same address as parent -- 0x1A2F0000
0 [main] python 852 sync_with_child: child 2772(0x158) died before initialization with status code 0x1
996 [main] python 852 sync_with_child: *** child state child loading dlls
Traceback (most recent call last):
File "test2.py", line 4, in ?
pid = os.fork()
OSError: [Errno 11] Resource temporarily unavailable

I guess that commenting out "import _socket" is not an acceptable
solution... :,)

Jason

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedDec 7, '01 at 3:35p
activeDec 7, '01 at 3:35p
posts1
users1
websitepython.org

1 user in discussion

Jason Tishler: 1 post

People

Translate

site design / logo © 2022 Grokbase