New submission from Ammar Askar <am...@ammaraskar.com>:
Looks like checkpyc.py has been broken since PEP 552 was implemented https://github.com/python/cpython/blob/0e80b561d442769631d66f1cc8813ac30f97378e/Tools/scripts/checkpyc.py#L44-L46 It fails to read the 4 bytes for the `flags` field nor does it handle hash based files. Considering it's been broken since 2017 and no one has complained, it might be safe to remove this particular script. ---------- components: Demos and Tools messages: 367250 nosy: ammar2 priority: normal severity: normal status: open title: Tools/checkpyc.py has been broken since PEP 552 type: behavior versions: Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40385> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com