Bug 777 - using threaded libraries with the stock python distribution
Summary: using threaded libraries with the stock python distribution
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: python
Version: 5.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-01-11 08:37 UTC by James Henstridge
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-03-18 22:08:02 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.