New submission from Douglas Greiman: This manifests in the following way: A package directory containing an __init__.py that is a symlink to /dev/null is treated as a namespace package instead of a regular package.
The Bazel build tool creates many __init__.py files in this way, which is how I even ran into this. Symlinks to regular files seem fine. ---------- components: Interpreter Core files: namespace_package_dev_null.sh messages: 278544 nosy: dgreiman priority: normal severity: normal status: open title: Python3 ignores __init__.py that are links to /dev/null type: behavior versions: Python 3.4, Python 3.5 Added file: http://bugs.python.org/file45069/namespace_package_dev_null.sh _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28425> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com