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

SourceForge.net noreply at sourceforge.net
Wed Aug 8 09:39:55 CEST 2007


Patches item #1752175, was opened at 2007-07-11 12:40
Message generated for change (Comment added) made by nnorwitz
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.


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

>Comment By: Neal Norwitz (nnorwitz)
Date: 2007-08-08 00:39

Message:
Logged In: YES 
user_id=33168
Originator: NO

No, hopefully someone will get to this soon.  These files aren't likely to
have changed between 2.5 and trunk.  Although it is generally preferable to
provide a patch against trunk in case things have changed.  Georg may have
fixed one or both of these recently.

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

Comment By: Alexander Neundorf (neundorf)
Date: 2007-08-03 09:14

Message:
Logged In: YES 
user_id=93933
Originator: YES

Any chance this could be committed to the 2.5 branch ?
Or should I post a patch against curren trunk ?

Alex


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

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


More information about the Patches mailing list