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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue1872> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com