Bug 777

Summary: using threaded libraries with the stock python distribution
Product: [Retired] Red Hat Linux Reporter: James Henstridge <james>
Component: pythonAssignee: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-03-18 22:08:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description James Henstridge 1999-01-11 08:37:53 UTC
If you use an extension module that links with libpthread,
problems related to errno occur (this is because some of the
code will use the normal single threaded errno variable, and
code loaded after pthread uses (*__errno_location()).

These problems can be fixed by LD_PRELOADing libpthread or
by building thread support into python.  The second option
is easier for users, and also allows threaded python
programs to run out of the box on redhat systems.

I have only just started to see these problems while
developing pygtk and gnome-python packages (since GTK
recently became threaded).  If you intend to include
gnome-python with the GNOME distribution, this change will
be needed to make gnome-python usable.

Comment 1 Bill Nottingham 1999-03-18 22:08:59 UTC
fixed in a later python release