STINNER Victor <vstin...@python.org> added the comment:
Attached pep674_regex.py generated a regex to search for code incompatible with the PEP 674. To download PyPI top 5000, you can use my script: https://github.com/vstinner/misc/blob/main/cpython/download_pypi_top.py To grep a regex in tarball and ZIP archives, you can use the rg command: $ rg -zl REGEX DIRECTORY/*.{zip,gz,bz2,tgz} Or you can try my script: https://github.com/vstinner/misc/blob/main/cpython/search_pypi_top.py ---------- Added file: https://bugs.python.org/file50462/pep674_regex.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45476> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com