[Python-bugs-list] [ python-Bugs-625725 ] Reorganize MacPython resources on OSX

SourceForge.net noreply@sourceforge.net
Sun, 05 Jan 2003 14:08:40 -0800


Bugs item #625725, was opened at 2002-10-19 23:13
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=625725&group_id=5470

Category: Macintosh
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jack Jansen (jackjansen)
Assigned to: Jack Jansen (jackjansen)
Summary: Reorganize MacPython resources on OSX

Initial Comment:
The resource file for Python on OSX should be reorganized. Some of the resources are only used by specific modules such as EasyDialogs, these should go into private resource files. Some are used by the interpreter itself (The "Estr" resource that maps error numbers to strings comes to mind). The most obvious place for these would be the resource file of the framework, but these may also be useful in non-framework builds (where you now get the uninformative 'MacOS.Error: Error -1234').

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

>Comment By: Just van Rossum (jvr)
Date: 2003-01-05 23:08

Message:
Logged In: YES 
user_id=92689

The Estr resource: is this resource generated, and if so
how? Would it be  an idea to generate a Python module instead?

The macresource module also has issues: eg. for EasyDialogs
it looks for "dialogs.rsrc" in
os.path.dirname(EasyDialogs.__file__), which doesn't work
when EasyDialogs is loaded from a zip file. If it would
(additionally) look on sys.path it could work for standalone
apps created by bundlebuilder: it should simply be included
in <appname>.app/Contents/Resources/ then.

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

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