Petr Viktorin <encu...@gmail.com> added the comment:
> 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39689> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com