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 r.david.murray
Recipients Arfrever, Duke.Dougal, Illirgway, barry, jesstess, lpolzer, maciej.szulik, python-dev, r.david.murray, richard, serhiy.storchaka, sreepriya, vstinner, zvyn
Date 2016-05-29.20:45:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464554748.03.0.0286019093444.issue27033@psf.upfronthosting.co.za>
In-reply-to
Content
Python uses duck typing, though.  Maybe someone is depending on those public attributes not getting coerced to boolean.  Probably not, granted, since they are newish, but a python programmer might expect the value to get passed through.  I'm of two minds about the advisability of that, but given that someone *could* be depending on it, I think it would be better to not do the bool call, since there is no bug fixed by doing the bool call, making it an unnecessary change in behavior.
History
Date User Action Args
2016-05-29 20:45:48r.david.murraysetrecipients: + r.david.murray, barry, richard, vstinner, Arfrever, jesstess, python-dev, serhiy.storchaka, maciej.szulik, lpolzer, Illirgway, Duke.Dougal, zvyn, sreepriya
2016-05-29 20:45:48r.david.murraysetmessageid: <1464554748.03.0.0286019093444.issue27033@psf.upfronthosting.co.za>
2016-05-29 20:45:48r.david.murraylinkissue27033 messages
2016-05-29 20:45:47r.david.murraycreate