[New-bugs-announce] [issue42431] Fix outdated bytes comments
Serhiy Storchaka
report at bugs.python.org
Sun Nov 22 04:38:12 EST 2020
New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:
Some comments in C code still refer to bytearray object as bytes object and to bytes object as string object.
The proposed PR fixes outdated comments.
It also moves the definition of macros F_LJUST etc from public header to private header. They are only used internally and never leaked to the user. They were defined in two places: in Include/bytesobject.h and Objects/bytesobject.c.
Is it true that headers in Include/internal are more private than headers in Include/cpython? It is not clear from names.
----------
components: Interpreter Core
messages: 381604
nosy: serhiy.storchaka, vstinner
priority: normal
severity: normal
status: open
title: Fix outdated bytes comments
versions: Python 3.10
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42431>
_______________________________________
More information about the New-bugs-announce
mailing list