This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Patch for [ 1163563 ] Sub threads execute in restricted mode
Type: Stage:
Components: Interpreter Core Versions: Python 2.4
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: sf-robot, yetanothermax
Priority: normal Keywords: patch

Created on 2005-05-17 08:39 by yetanothermax, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
threadmodulediff yetanothermax, 2005-05-17 08:39 Diff between threadmodule.c version 2.60 and patched version
Messages (2)
msg48362 - (view) Author: anothermax (yetanothermax) Date: 2005-05-17 08:39
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
msg48363 - (view) Author: SourceForge Robot (sf-robot) Date: 2005-10-07 02:20
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
History
Date User Action Args
2022-04-11 14:56:11adminsetgithub: 41992
2005-05-17 08:39:51yetanothermaxcreate