jayvdb added a comment. After a bit of playing around, it seems that `pkgutil.walk_packages` cant be used to find namespace packages within a namespace package.
the following returns 'wikia' and 'wikia.lyricwiki_family' ./pywikibot/__init__.py ./pywikibot/families/wikia/__init__.py ./pywikibot/families/wikia/lyricwiki_family.py however the following returns nothing ./pywikibot/__init__.py ./pywikibot/families/wikia/lyricwiki_family.py I cant find a bug for this in http://bugs.python.org/ , and maybe this is even expected behaviour, but I found it to be inconsistent with the intent of PEP 420. TASK DETAIL https://phabricator.wikimedia.org/T104130 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: gerritbot, pywikibot-bugs-list, jayvdb, Gallaecio, Aklapper, XZise, Malyacko, P.Copp _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
