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 Claudiu.Popa
Recipients Claudiu.Popa, oscarbenjamin, rhettinger
Date 2013-09-07.15:30:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378567848.51.0.770316865038.issue18821@psf.upfronthosting.co.za>
In-reply-to
Content
Hello. Here's a basic patch with tests which accomplishes your request. Currently, it defaults to None if no item failed, but probably it can be set only when something fails the predicate (and the user will check using hasattr(t, 'last') ).
History
Date User Action Args
2013-09-07 15:30:48Claudiu.Popasetrecipients: + Claudiu.Popa, rhettinger, oscarbenjamin
2013-09-07 15:30:48Claudiu.Popasetmessageid: <1378567848.51.0.770316865038.issue18821@psf.upfronthosting.co.za>
2013-09-07 15:30:48Claudiu.Popalinkissue18821 messages
2013-09-07 15:30:48Claudiu.Popacreate