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: change the bool struct format code from 't' to '?'
Type: Stage:
Components: Documentation, Extension Modules Versions: Python 3.0, Python 2.6
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: theller Nosy List: facundobatista, orivej, theller
Priority: critical Keywords: patch

Created on 2008-01-19 16:15 by theller, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit
struct-bool.patch theller, 2008-01-19 16:15 struct-bool.patch
Messages (3)
msg60187 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2008-01-19 16:15
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 '?'.
msg61516 - (view) Author: Facundo Batista (facundobatista) * (Python committer) Date: 2008-01-22 17:33
Boosted priority: if changed, we should do it *before* 2.6 hits the street.
msg63283 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2008-03-05 15:36
Commited as rev 61253 (trunk); will be ported to py3k with the next
Date User Action Args
2022-04-11 14:56:29adminsetgithub: 46180
2008-03-05 15:36:06thellersetstatus: open -> closed
assignee: theller
resolution: fixed
messages: + msg63283
2008-01-26 13:04:49orivejsetnosy: + orivej
2008-01-22 17:33:10facundobatistasetpriority: critical
nosy: + facundobatista
messages: + msg61516
2008-01-19 16:17:33thellersetcomponents: + Documentation
2008-01-19 16:15:38thellercreate