[Python-bugs-list] [ python-Bugs-475325 ] Frozen packages broken on the Mac (original) (raw)
noreply@sourceforge.net noreply@sourceforge.net
Fri, 26 Oct 2001 08:08:39 -0700
- Previous message: [Python-bugs-list] [ python-Bugs-473753 ] Plug sys.exc_info() leaks
- Next message: [Python-bugs-list] [ python-Bugs-475327 ] type() produces incorrect error msg
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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: Open 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).
You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=475325&group_id=5470
- Previous message: [Python-bugs-list] [ python-Bugs-473753 ] Plug sys.exc_info() leaks
- Next message: [Python-bugs-list] [ python-Bugs-475327 ] type() produces incorrect error msg
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]