Claudiu.Popa added the comment: Eric, thank you for your comment! I modified the patch to check for __path__ instead, is this a safe enough check for this use case? Since ModuleSpec isn't landed yet, I didn't use your __spec__ example.
---------- Added file: http://bugs.python.org/file32697/unittest-17457-3.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17457> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com