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 barneygale
Recipients Antony.Lee, barneygale, brett.cannon, pitrou
Date 2020-03-03.14:35:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583246133.72.0.514956956113.issue39682@roundup.psfhosted.org>
In-reply-to
Content
Can I ask what sort of backwards-compatibility guarantees Python provides for these cases? In the case of using a Path object as a context manager, I think we can say:

- It's easy to do - there's no need to call any underscore-prefixed methods for example
- It's undocumented
- It's pretty hard to determine existing usage statically - grepping for `with p:` is years of work.
History
Date User Action Args
2020-03-03 14:35:33barneygalesetrecipients: + barneygale, brett.cannon, pitrou, Antony.Lee
2020-03-03 14:35:33barneygalesetmessageid: <1583246133.72.0.514956956113.issue39682@roundup.psfhosted.org>
2020-03-03 14:35:33barneygalelinkissue39682 messages
2020-03-03 14:35:33barneygalecreate