[Patches] [ python-Patches-794826 ] __file__ attribute missing from dynamicly loaded module

SourceForge.net noreply at sourceforge.net
Thu Sep 4 12:48:18 EDT 2003


Patches item #794826, was opened at 2003-08-25 20:16
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=794826&group_id=5470

Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Shack Toms (shacktoms)
Assigned to: Martin v. Löwis (loewis)
Summary: __file__ attribute missing from dynamicly loaded module

Initial Comment:
This a patch that corresponds to Bug report [ 698282 ] 

__file__ attribute missing from dynamicly loaded module, 

submitted by dsweeton.



As he reports, if a single application embeds multiple 

interpreters, only the one with the first instance of a 

dynamically loaded module gets the __file__ attribute. It 

is missing from all later instances.

 

I have attached a cdiff patch, based on his comments.



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

>Comment By: Martin v. Löwis (loewis)
Date: 2003-09-04 20:48

Message:
Logged In: YES 
user_id=21627

Thanks for the patch. Applied as importdl.c  2.71 and

2.70.14.1, NEWS 1.831.4.31.

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

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



More information about the Patches mailing list