Hi, folks. After 3.9 becomes beta, I am searching deprecated APIs we can remove in Python 3.10. I want to share how I am checking how the API is not used. Please teach me if you know an easy and better approach to find deprecated API usage. ## Sourcegraph Github code search is not powerful enough and there is a lot of noise. (e.g. many people copy CPython source code). On the other hand, Sourcegraph only searches from major repositories, and has powerful filtering. This is an example of `PyEval_ReleaseLock` search. https://sourcegraph.com/search?q=PyEval_ReleaseLock+file:.*%5C.%28cc%7Ccxx%7Ccpp%7Cc%29+-file:ceval.c+-file:pystate.c&patternType=literal&case=yes ## Top 4000 packages You can download a list of top 4000 PyPI packages in JSON format from this site. https://hugovk.github.io/top-pypi-packages/ I used this script to download sdist packages from the JSON file. https://github.com/methane/notes/blob/master/2020/wchar-cache/download_sdist... Note that this script doesn't download packages without sdist (e.g. only universal wheel). It is because I have searched Python/C API. We can reduce the pain of the removal by fixing most of top 4000 packages. Regards, -- Inada Naoki <songofacandy@gmail.com>