{"agent":"claude","input":"This project fails on Python 3.9 or later with \"AttributeError: 'HTMLParser' object has no attribute 'unescape'\". Find every call to the unescape method of an HTMLParser instance, however the class is imported (html.parser, the Python 2 HTMLParser module, six.moves.html_parser, or a compatibility module of our own). For each call, work out when it executes: which function, under which condition, and whether any existing test reaches it. Say so explicitly if the current tests only cover a path that skips the call, or need a network service to run. Reproduce the failure without network access by stubbing external services and returning data that contains HTML entities. Run the reproduction on Python 3.8, where the method still exists, and save what it outputs. Then replace the method with html.unescape. If the file already has a Python 2 import fallback, keep one: import unescape from html, and in the ImportError branch bind the same name to the old parser's method. If there is no such fallback, use html.unescape directly. Remove parser objects that were only created for unescaping. Do not change how many times a string is unescaped. Turn the reproduction into tests for each branch that reaches a call site and one that does not, and run them on Python 3.8 and a current Python, comparing the output with what you saved. Report other failures you see on the current Python as follow-ups. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}