[ python-Patches-1752175 ] fixing 2.5.1 build with unicode and dynamic loading disabled

"SourceForge.net" <[email protected]> Wed, 11 Jul 2007 12:40:10 -0700
Newsgroups gmane.comp.python.patches
Message-ID <[email protected]>
Patches item #1752175, was opened at 2007-07-11 21:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1752175&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alexander Neundorf (neundorf)
Assigned to: Nobody/Anonymous (nobody)
Summary: fixing 2.5.1 build with unicode and dynamic loading disabled

Initial Comment:
I'm currently porting python to some 
platforms with limited capabilities and so I thought it would be a good idea 
to subscribe here.
While doing the porting, I found two small problems in Python 2.5.1:

If Py_USING_UNICODE is disabled, in Python/ast.c decode_unicode() still calls 
unicode-related functions, which leads to undefined references when linking.

If HAVE_DYNAMIC_LOADING is disabled, in Python/import.c 
_PyImport_DynLoadFiletab is still initialized, which also leads to undefined 
references when linking, since then no source file which defines this 
variable is used.


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

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