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 petr.viktorin
Recipients ammar2, benjamin.peterson, cstratak, gregory.p.smith, mark.dickinson, meador.inge, miss-islington, petr.viktorin, skrah, vstinner
Date 2020-03-17.15:17:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584458273.14.0.378681392654.issue39689@roundup.psfhosted.org>
In-reply-to
Content
> You are the one who wanted to *introduce* a hack by dereferencing
as char and then cast to _Bool. :-)

Yes, I did change my mind after reading the documentation.

The docs say two contradicting things:
1. The '?' conversion code corresponds to the _Bool type defined by C99
2. ... any non-zero value will be True when unpacking.

So it's clear that something has to change. IMO, preserving (2) and relaxing (1) is the more useful choice.
History
Date User Action Args
2020-03-17 15:17:53petr.viktorinsetrecipients: + petr.viktorin, gregory.p.smith, mark.dickinson, vstinner, benjamin.peterson, skrah, meador.inge, cstratak, ammar2, miss-islington
2020-03-17 15:17:53petr.viktorinsetmessageid: <1584458273.14.0.378681392654.issue39689@roundup.psfhosted.org>
2020-03-17 15:17:53petr.viktorinlinkissue39689 messages
2020-03-17 15:17:53petr.viktorincreate