This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: 'b' formatter is actually unsigned char
Type: Stage:
Components: Documentation Versions:
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, vt
Priority: normal Keywords:

Created on 2008-12-17 11:02 by vt, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg77964 - (view) Author: (vt) Date: 2008-12-17 11:02
The 'b' format unit to PyArg_ParseTuple, PyArg_ParseTupleAndKeywords, and PyArg_Parse is described in the documentation (in Parsing arguments and 
building values) as representing a signed char, but actually represents an 
unsigned char.

Personally, I would say that this is a problem with the interpreter core, 
but 'b' has been an unsigned char since 2000 and fixing it now would 
probably break backwards compatibility of extensions.
msg78379 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-12-27 19:03
Thanks, fixed the docs in r67958.
Date User Action Args
2022-04-11 14:56:42adminsetgithub: 48932
2008-12-27 19:03:07georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg78379
2008-12-17 11:02:18vtcreate