{"agent":"claude","input":"This project fails on Python 3.12 or later with \"AttributeError: module 'ssl' has no attribute 'wrap_socket'\". Fix it. Find every call to ssl.wrap_socket and ssl.match_hostname, and any use of ssl.PROTOCOL_SSLv23 or ssl.PROTOCOL_TLS passed to them. For each call record whether it is server side or client side, which certificate, key and CA arguments it passes, and which code path reaches it. Check whether the test suite exercises any of these paths; if not, write a test that does, using a self-signed certificate generated during the test run and never committing a private key. Show the test failing on the newest Python available before the change. For server-side calls, create an ssl.SSLContext with ssl.PROTOCOL_TLS_SERVER, load the same certificate chain, and call the context's wrap_socket. For client-side calls, use ssl.create_default_context(), pass server_hostname, and load a CA file if the old call specified one; this turns certificate and hostname verification on where the old function left it off, so list every host the client connects to and say which may be affected. Do not disable verification to make something pass. Do not change ports, handlers or protocol versions beyond what the port requires. Run the new test and the existing suite on each supported Python you can install, and report results, separating failures that need network access or credentials. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}