[issue1872] change the bool struct format code from 't' to '?'
Thomas Heller
report at bugs.python.org
Sat Jan 19 17:15:52 CET 2008
New submission from Thomas Heller:
Currently the struct module uses the format code 't' for the bool
datatype (this was added in python 2.6, in revision 53508). This
conflicts with the specification in PEP 3118, which proposes the '?'
format character for the bool type, 't' is proposed in the patch for a
bit type.
This patch changes the struct module format code for 'bool' from 't' to '?'.
----------
components: Extension Modules
files: struct-bool.patch
keywords: patch
messages: 60187
nosy: theller
severity: normal
status: open
title: change the bool struct format code from 't' to '?'
versions: Python 2.6, Python 3.0
Added file: http://bugs.python.org/file9218/struct-bool.patch
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1872>
__________________________________
More information about the Python-bugs-list
mailing list