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 rhettinger
Recipients Richard Neumann, berker.peksag, conqp, rhettinger, sayanchowdhury, serhiy.storchaka, vstinner
Date 2017-02-27.09:47:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488188869.73.0.990097465049.issue25452@psf.upfronthosting.co.za>
In-reply-to
Content
> The change can break existing code that uses boolean testing 
> instead of checking for None.

For this reason, I think Guido would oppose this proposal.  In the past he has objected to iterators having a True boolean value to indicate that there were more values available for iteration.  I think similar reasoning applies here.
History
Date User Action Args
2017-02-27 09:47:49rhettingersetrecipients: + rhettinger, vstinner, berker.peksag, serhiy.storchaka, sayanchowdhury, conqp, Richard Neumann
2017-02-27 09:47:49rhettingersetmessageid: <1488188869.73.0.990097465049.issue25452@psf.upfronthosting.co.za>
2017-02-27 09:47:49rhettingerlinkissue25452 messages
2017-02-27 09:47:49rhettingercreate