New submission from vt <v...@foilhead.net>:

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.

----------
assignee: georg.brandl
components: Documentation
messages: 77964
nosy: georg.brandl, vt
severity: normal
status: open
title: 'b' formatter is actually unsigned char

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4682>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to