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.

Author wayedt
Recipients ronaldoussoren, wayedt
Date 2014-07-19.18:30:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405794628.01.0.592426531891.issue22012@psf.upfronthosting.co.za>
In-reply-to
Content
On Mac OSX, struct.unpack incorrectly handles bools.

Python 3.4.1 (default, May 19 2014, 13:10:29)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import struct
>>> struct.unpack('????', b'\x00\x01\x02\x03')
(False, True, False, True)
History
Date User Action Args
2014-07-19 18:30:28wayedtsetrecipients: + wayedt, ronaldoussoren
2014-07-19 18:30:28wayedtsetmessageid: <1405794628.01.0.592426531891.issue22012@psf.upfronthosting.co.za>
2014-07-19 18:30:27wayedtlinkissue22012 messages
2014-07-19 18:30:27wayedtcreate