[Patches] [ python-Patches-1203393 ] Patch for [ 1163563 ] Sub threads execute in restricted mode
SourceForge.net
noreply at sourceforge.net
Tue May 17 10:39:51 CEST 2005
Patches item #1203393, was opened at 2005-05-17 10:39
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1203393&group_id=5470
Category: Core (C code)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: anothermax (yetanothermax)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch for [ 1163563 ] Sub threads execute in restricted mode
Initial Comment:
The thread module delivered with versions of python
greater than 2.3.4 is not compatible with the use of sub
interpreters, this causes problems with the jep product
and seems also to be a problem for mod_python.
This has been raised as a bug "[ 1163563 ] Sub threads
execute in restricted mode"
(http://sourceforge.net/tracker/index.php?
func=detail&aid=1163563&group_id=5470&atid=105470)
please see this bug report for further details.
The problem seems to be the with use of
PyGIL_StateXXX functions in the module.
This patch replaces these calls with those used in pre-
2.3.5 threadmodule.c.
A file called threadtest.c is attached to the bug report
which demonstrates the problem.
I'm using Python version 2.4.1 on Windows XP SP1
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1203393&group_id=5470
More information about the Patches
mailing list