Antoine Pitrou added the comment:

> Please at least crash with an exception instead: add
> one easy check to py_compile.compile() and complain if cfile points
> to an existing non-regular file.

That's a good point (except that symlinks should probably be allowed too).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17222>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to