Barry A. Warsaw <ba...@python.org> added the comment: Note that this is in the case where a user is asking for the contents of a namespace package (which by definition, can't have resources).
+1 on fixing this API wart. Will you @brett.cannon will submit a PR? I'll do a quick review and then backport the change to the standalone library. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33254> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com