bpo-33254: do not return an empty list when asking for the contents of a namespace package (GH-6467)

(cherry picked from commit 3ab9365dca8438f89b2060cd3eebe00606133dc4)

Co-authored-by: Brett Cannon <brettcannon@users.noreply.github.com>
5 files changed