[Python-bugs-list] [ python-Bugs-475325 ] Frozen packages broken on the Mac
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 31 Oct 2001 04:16:53 -0800
Bugs item #475325, was opened at 2001-10-26 08:08
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=475325&group_id=5470
Category: Macintosh
Group: None
>Status: Closed
Resolution: None
Priority: 8
Submitted By: Jack Jansen (jackjansen)
Assigned to: Jack Jansen (jackjansen)
Summary: Frozen packages broken on the Mac
Initial Comment:
Patch #416704 broke the freezing of packages on the
Mac.
The patch requires that submodules of frozen packages
are also frozen,
but disregards the fact that freezing is done
completely different on the Mac.
The code in import.c:find_module() now takes an early
exit if we're importing
from a package and find_frozen() returns false, so the
code that locates
MacPython PYC and PYD resource modules never gets
executed.
I need to investigate whether the correct solution is
to duplicate that code
after find_module() returns (but it's rather a big
lump) or not take the exit in
MacPython (but that would leave MacPython open to the
problems the patch
tries to address).
----------------------------------------------------------------------
>Comment By: Jack Jansen (jackjansen)
Date: 2001-10-31 04:16
Message:
Logged In: YES
user_id=45365
Fixed in the repository, by using the old code flow on the
Mac.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=475325&group_id=5470