[issue28425] Python3 ignores __init__.py that are links to /dev/null
Brett Cannon
report at bugs.python.org
Fri Oct 14 17:36:25 EDT 2016
Brett Cannon added the comment:
Since /dev/null is not a file according to os.path.isfile(), I'm going to close this as not a bug.
And to answer Antti's question, it's because the semantics come from the original C code where EAFP is not pleasant.
----------
nosy: +brett.cannon
resolution: -> not a bug
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28425>
_______________________________________
More information about the Python-bugs-list
mailing list