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 byrnes
Recipients byrnes
Date 2015-12-28.22:39:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451342366.02.0.359815374422.issue25970@psf.upfronthosting.co.za>
In-reply-to
Content
In Python/import.c, open_exclusive unlinks any existing bytecode file before opening to create a new one.

However, py_compile.compile doesn't unlink before opening, and therefore fails if an existing bytecode file is unwritable.  It would be nice to unlink first in this case too.
History
Date User Action Args
2015-12-28 22:39:26byrnessetrecipients: + byrnes
2015-12-28 22:39:26byrnessetmessageid: <1451342366.02.0.359815374422.issue25970@psf.upfronthosting.co.za>
2015-12-28 22:39:25byrneslinkissue25970 messages
2015-12-28 22:39:25byrnescreate