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 tim.peters
Recipients Guido.van.Rossum, jkloth, pablogsal, shreyanavigyan, tim.peters, vstinner
Date 2021-04-29.17:21:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619716876.72.0.566888543014.issue37387@roundup.psfhosted.org>
In-reply-to
Content
@Sheyvan, whether it's possible to delete (rename, etc) an open file is a property not of Python, but of the operating system. Windows doesn't allow it; Linux (for example) does.

It's generally considered to be "a bug" in CPython's implementation whenever it contains code that _assumes_ such things are safe (which is, alas, very easy for a Linux programmer to do by accident).

So that test_compileall fails in this way is inarguably "a bug". Guido's larger point is harder to address, though. In theory, we control everything our test suite does, but little of what arbitrary users do.
History
Date User Action Args
2021-04-29 17:21:16tim.peterssetrecipients: + tim.peters, vstinner, jkloth, Guido.van.Rossum, pablogsal, shreyanavigyan
2021-04-29 17:21:16tim.peterssetmessageid: <1619716876.72.0.566888543014.issue37387@roundup.psfhosted.org>
2021-04-29 17:21:16tim.peterslinkissue37387 messages
2021-04-29 17:21:16tim.peterscreate