[New-bugs-announce] [issue28425] Python3 ignores __init__.py that are links to /dev/null
Douglas Greiman
report at bugs.python.org
Wed Oct 12 20:18:52 EDT 2016
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 <report at bugs.python.org>
<http://bugs.python.org/issue28425>
_______________________________________
More information about the New-bugs-announce
mailing list