New submission from Douglas Greiman:

This manifests in the following way: A package directory containing an that is a symlink to /dev/null is treated as a namespace package 
instead of a regular package.

The Bazel build tool creates many files in this way, which is how I 
even ran into this.

Symlinks to regular files seem fine.

components: Interpreter Core
messages: 278544
nosy: dgreiman
priority: normal
severity: normal
status: open
title: Python3 ignores that are links to /dev/null
type: behavior
versions: Python 3.4, Python 3.5
Added file:

Python tracker <>
Python-bugs-list mailing list

Reply via email to