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 jaraco
Recipients The Compiler, alanmcintyre, brett.cannon, jaraco, lukasz.langa, serhiy.storchaka, twouters
Date 2021-01-29.22:32:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611959575.8.0.762336766001.issue43063@roundup.psfhosted.org>
In-reply-to
Content
The change to error handling for zipp.Path was added in https://github.com/jaraco/zipp/issues/46 and released as [3.1.0](https://zipp.readthedocs.io/en/latest/history.html#v3-1-0). Probably that change was incorporated into CPython shortly thereafter with bpo-40564, as you observed.

I agree with you, backporting these as bugfixes doesn't feel appropriate. It is a change in behavior. On the other hand, it's a change within the documented scope of the API (that is, it was never stipulated what the behavior would be). My slight preference is to leave the CPython version alone and to recommend the use of the backports to get Python 3.10 compatibility.

It really comes down to the judgment of the release manager. Łukasz, how do you feel about changing the exception that's raised when a directory or file doesn't exist from a KeyError to a more-appropriate OSError for future compatibility?
History
Date User Action Args
2021-01-29 22:32:55jaracosetrecipients: + jaraco, twouters, brett.cannon, alanmcintyre, lukasz.langa, serhiy.storchaka, The Compiler
2021-01-29 22:32:55jaracosetmessageid: <1611959575.8.0.762336766001.issue43063@roundup.psfhosted.org>
2021-01-29 22:32:55jaracolinkissue43063 messages
2021-01-29 22:32:55jaracocreate