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 meersuri
Recipients AlexWaygood, Dutcho, JelleZijlstra, docs@python, eric.araujo, ethan.furman, mdk, meersuri, python-dev, zach.ware
Date 2022-02-13.14:05:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644761148.07.0.687131805843.issue46586@roundup.psfhosted.org>
In-reply-to
Content
Thanks Jelle for the cool idea of the script to look for more instances of this problem. I've been working on this script and am still refining it, but one of the candidates that my program returned is in zipfile.rst - https://docs.python.org/3.11/library/zipfile.html?highlight=zipfile#zipfile.ZipFile.open 

Changed in version 3.6: open() can now be used to write files into the archive with the mode='w' option.
Changed in version 3.6: Calling open() on a closed ZipFile will raise a ValueError. Previously, a RuntimeError was raised.

Here the first instance of open() points to the builtins function rather than ZipFile.open(), whereas the second instance points to ZipFile.open(). Seems like a true positive to me, what do you think?
History
Date User Action Args
2022-02-13 14:05:48meersurisetrecipients: + meersuri, eric.araujo, docs@python, ethan.furman, python-dev, zach.ware, JelleZijlstra, mdk, Dutcho, AlexWaygood
2022-02-13 14:05:48meersurisetmessageid: <1644761148.07.0.687131805843.issue46586@roundup.psfhosted.org>
2022-02-13 14:05:48meersurilinkissue46586 messages
2022-02-13 14:05:47meersuricreate