[Patches] [ python-Patches-600152 ] IDLE [Open module]: import submodules
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 26 Aug 2002 05:28:13 -0700
Patches item #600152, was opened at 2002-08-26 14:51
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=600152&group_id=5470
Category: IDLE
Group: Python 2.3
Status: Open
Resolution: None
Priority: 3
Submitted By: Christos Georgiou (tzot)
Assigned to: Nobody/Anonymous (nobody)
Summary: IDLE [Open module]: import submodules
Initial Comment:
Since imp module's find_module can't find submodules,
we can use the __import__ builtin to get the path to the
submodule, and then call the imp.find_module function.
----------------------------------------------------------------------
>Comment By: Christos Georgiou (tzot)
Date: 2002-08-26 15:28
Message:
Logged In: YES
user_id=539787
Added code to correctly handle the case of trying to open
submodules like 'os.path'
----------------------------------------------------------------------
Comment By: Christos Georgiou (tzot)
Date: 2002-08-26 15:26
Message:
Logged In: YES
user_id=539787
Added some code to handle correctly trying to open modules
such as os.path
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=600152&group_id=5470