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 serhiy.storchaka
Recipients eryksun, gvanrossum, mark.dickinson, rhettinger, serhiy.storchaka, tim.peters, tomerv
Date 2019-08-14.08:15:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565770514.3.0.157273908653.issue37831@roundup.psfhosted.org>
In-reply-to
Content
> Does anyone know what the rationale was for having & and | on bools return bools in the first place?

Besides the fact that they can be defined on bool in compatible way and these operators often are used for booleans?

It was in the initial version of PEP 285 and I have not found any questions or discussion about it.
History
Date User Action Args
2019-08-14 08:15:14serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, tim.peters, rhettinger, mark.dickinson, eryksun, tomerv
2019-08-14 08:15:14serhiy.storchakasetmessageid: <1565770514.3.0.157273908653.issue37831@roundup.psfhosted.org>
2019-08-14 08:15:14serhiy.storchakalinkissue37831 messages
2019-08-14 08:15:14serhiy.storchakacreate