Closed webknjaz closed 2 months ago
The change looks generally OK. The linter doesn't like the line length and some of the test jobs are failing.
I don't think I'll have time to work on this, just wanted to put it out there so it's not lost in my brain and forgotten ;)
With https://github.com/sphinx-contrib/spelling/issues/227, it doesn't make sense to fix it. XML-RPC should instead be deleted.
Invoking
python -Werror -m sphinx -b spelling ...
surfaces a resource warning related to not releasing the TLS socket thatxmlrpc.client.ServerProxy()
opens. There's no explicit mention of a cleanup method in the stdlib docs but there's one example with a context manager. I inspected the source code and it seems like we should either use a CM or a rather weird callable interface (xmlrpc.client.ServerProxy()('close')()
). I opted for a CM.Disclaimer
This patch is coded in-browser on the GH UI w/ no testing. It might need some love and/or tests.