Israel Fruchter added the comment: Some real use cases is needed, like testing a code that behave differently on case of package availability.
I think something like patch for modules can be useful here, so you could have some control on what would be returned. ---------- nosy: +fruch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27376> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com