New submission from Serhiy Storchaka <storchaka+cpyt...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue42431>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to