Brett Cannon added the comment: OK, so here was what a patch will need:
* Change py_compile to raise an exception when ``not os.path.isfile(cfile) or os.path.islink(cfile)``; probably raise ValueError and mention that import itself would replace the file w/o raising an exception * Add tests * Update the docs for py_compile * Update What's New for 3.4 since this is not backwards-compatible ---------- components: +Library (Lib) -Documentation resolution: fixed -> _______________________________________ 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