homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Pavel.Aslanov
Recipients Pavel.Aslanov
Date 2012年05月03日.10:45:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1336041941.32.0.315196686397.issue14710@psf.upfronthosting.co.za>
In-reply-to
Content
if module was marked as not existing by setting sys.modules [fullname] to None, then pkgutil.get_loader (fullname) will throw AttributeError.
Example:
#! /usr/bin/evn python
import unittest
import pkgutil
def main ():
 pkgutil.get_loader ('unittest.functools')
if __name__ == '__main__':
 main ()
Patch is attached
History
Date User Action Args
2012年05月03日 10:45:41Pavel.Aslanovsetrecipients: + Pavel.Aslanov
2012年05月03日 10:45:41Pavel.Aslanovsetmessageid: <1336041941.32.0.315196686397.issue14710@psf.upfronthosting.co.za>
2012年05月03日 10:45:40Pavel.Aslanovlinkissue14710 messages
2012年05月03日 10:45:40Pavel.Aslanovcreate

AltStyle によって変換されたページ (->オリジナル) /