[Patches] [ python-Patches-443337 ] incompatibilities in imputil's behavior

noreply@sourceforge.net noreply@sourceforge.net
Sat, 28 Jul 2001 13:34:44 -0700


Patches item #443337, was opened at 2001-07-21 07:01
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=443337&group_id=5470

Category: library
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Gordon B. McMillan (gmcm)
Assigned to: Nobody/Anonymous (nobody)
Summary: incompatibilities in imputil's behavior

Initial Comment:
1) xml/__init__.py may swap itself for 
_xmlplus/__init__.py. Under regular mechanism, imports 
below xml will come from _xmlplus but have xml names 
in sys.modules and internally. In current imputil, 
they have _xmlplus names.

2) current imputil does not allow "import os.path". 
While it's bad practice, the normal import does allow 
this.

"From" file in attached diff is current CVS imputil 
(1.19).

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

Comment By: Martin v. Löwis (loewis)
Date: 2001-07-28 13:34

Message:
Logged In: YES 
user_id=21627

Thanks for the patch, I've committed it as imputil.py 1.21.


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

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