A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-April/014251.html below:

[Python-Dev] test_fcntl on Solaris 8

[Python-Dev] test_fcntl on Solaris 8 [Python-Dev] test_fcntl on Solaris 8Guido van Rossum guido@digicool.com
Sat, 14 Apr 2001 21:17:27 -0500
While testing Python 2.1 on SF's Solaris 8 box, I noticed that it
hangs forever in test_fcntl, on this line:

  rv = fcntl.fcntl(f.fileno(), FCNTL.F_SETLKW, lockdata)

Why could this be?  Could it be that the NFS lock server is stuck?

But I could also note that this test is pretty silly.  It has all this
platform-specific cruft to do a locking operation the hard way, while
the fcntl module supplies two operations (flock() and lockf()) that
could be used instead!

(Unfortunately, using lockf() I get the same behavior -- not
surprising, since the C code does the same thing that the Python code
was doing. :-( )

Should I update the test, or declare the machine broken?  (I *think* I
recall that the tests succeeded yesterday.)

--Guido van Rossum (home page: http://www.python.org/~guido/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4