This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brett.cannon
Recipients Arfrever, arigo, barry, brett.cannon, eric.snow, ncoghlan, pitrou, python-dev
Date 2013-06-05.14:46:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370443563.15.0.213100821208.issue17222@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2013-06-05 14:46:03brett.cannonsetrecipients: + brett.cannon, barry, arigo, ncoghlan, pitrou, Arfrever, python-dev, eric.snow
2013-06-05 14:46:03brett.cannonsetmessageid: <1370443563.15.0.213100821208.issue17222@psf.upfronthosting.co.za>
2013-06-05 14:46:03brett.cannonlinkissue17222 messages
2013-06-05 14:46:02brett.cannoncreate