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 vinay.sajip
Recipients Riccardo Coccioli, docs@python, vinay.sajip
Date 2020-10-12.14:47:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602514034.17.0.932629084127.issue42011@roundup.psfhosted.org>
In-reply-to
Content
I agree that the documentation now should use Booleans rather than ints for the return type. It's a hangover from the pre-bool days of Python 1.5.2 ...

> P.S. As a side note, the API for filter() is quite counter-intuitive

That depends on if you consider the "filter" operation as "filter in" or "filter out", but the documentation is clear on what needs to be returned for a particular outcome.
History
Date User Action Args
2020-10-12 14:47:14vinay.sajipsetrecipients: + vinay.sajip, docs@python, Riccardo Coccioli
2020-10-12 14:47:14vinay.sajipsetmessageid: <1602514034.17.0.932629084127.issue42011@roundup.psfhosted.org>
2020-10-12 14:47:14vinay.sajiplinkissue42011 messages
2020-10-12 14:47:14vinay.sajipcreate