SIGN IN SIGN UP

gh-129813, PEP 782: Use Py_GetConstant(Py_CONSTANT_EMPTY_BYTES) (#138830)

Replace PyBytes_FromStringAndSize(NULL, 0) with
Py_GetConstant(Py_CONSTANT_EMPTY_BYTES). Py_GetConstant() cannot
fail.
V
Victor Stinner committed
06b7891f12b4b93dd78704cf3fbf520ae4685064
Parent: 8fc6ae6
Committed by GitHub <noreply@github.com> on 9/13/2025, 4:30:25 PM