[issue45476] [C API] PEP 674: Disallow using macros as l-value

STINNER Victor report at bugs.python.org
Tue Nov 30 19:25:37 EST 2021


STINNER Victor <vstinner at 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 <report at bugs.python.org>
<https://bugs.python.org/issue45476>
_______________________________________


More information about the Python-bugs-list mailing list