[Patches] [ python-Patches-1519796 ] Fix for #1513611 and #1511497; xml.sax imports
SourceForge.net
noreply at sourceforge.net
Mon Jul 10 15:32:18 CEST 2006
Patches item #1519796, was opened at 2006-07-10 07:32
Message generated for change (Settings changed) made by gbrandl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1519796&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: XML
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: iga Seilnacht (zseil)
>Assigned to: Martin v. Löwis (loewis)
Summary: Fix for #1513611 and #1511497; xml.sax imports
Initial Comment:
Package xmlcore.sax currently uses a mix of realtive
and absolute imports. This caused the following bugs:
http://python.org/sf/1513611
http://python.org/sf/1511497
This patch fixes it, by using relative imports.
I tried using absolute imports, but then some of
the tests in the attached test_xml_importing
module fail.
The tests are separate because I don't know how
to include setUp() and tearDown() methods into
non unittest based tests.
----------------------------------------------------------------------
Comment By: iga Seilnacht (zseil)
Date: 2006-07-10 07:59
Message:
Logged In: YES
user_id=1326842
Attaching a new patch and updated tests, since I missed
that make_parser() uses __import__().
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1519796&group_id=5470
More information about the Patches
mailing list