[Patches] [ python-Patches-414948 ] Check dynload_next.c (see description)

noreply@sourceforge.net noreply@sourceforge.net
Wed, 11 Apr 2001 10:40:42 -0700


Patches item #414948, was updated on 2001-04-09 09:54
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=414948&group_id=5470

Category: library
Group: 2.0.1 bugfix
Status: Open
Priority: 5
Submitted By: Jonathan Wight (schwa)
Assigned to: Moshe Zadka (moshez)
Summary: Check dynload_next.c (see description)

Initial Comment:
Fixes dynload_next.c to check to see library isn't 
already loaded.

Fixes the NeXT dynloader (used on MacOS X 10.0) to check 
to see if a symbol has already been loaded before trying 
to load it again. Without this change running the 
following pseudocode more than once will cause the NeXT 
dyld loader to terminate the app. 

Py_Initialize(); 
PyRun_SimpleString("import string"); 
Py_Finalize(); 

So in effect Python isn't being returned into a 'good' 
state.

NOTE: This is a follow-up to Patch #413005. In that 
Patch my browser failed to upload & attach the patch 
file. Apologies.


----------------------------------------------------------------------

>Comment By: Jonathan Wight (schwa)
Date: 2001-04-11 10:40

Message:
Logged In: YES 
user_id=29309

> This is irrelevant for 2.1 -- it is a Py2.0.1 bugfix

I countered this bug in version 2.1b2a -- I then did a cvs 
checkout to get the latest version of the (buggy) code. 
Unless I'm missing something a fix isn't in 2.1

> (the author neglected to set the group up

There wasn't an option for 2.1b2a in the group popup. Just 
"2.0.1" and "None"


----------------------------------------------------------------------

Comment By: Moshe Zadka (moshez)
Date: 2001-04-11 00:26

Message:
Logged In: YES 
user_id=11645

This is irrelevant for 2.1 -- it is a Py2.0.1 bugfix
(the author neglected to set the group up, sadly, and
I didn't have SF time before today to set this up).
I'll check in some more patches to 201 this weekend, I think.

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-04-10 14:25

Message:
Logged In: YES 
user_id=6380

Assigned to Moshe since he assigned the other (failed)
submission to himself also (Moshe, do you have the resources
to test this before 2.1 goes out? If not, please unassign!)

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=414948&group_id=5470