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 Brian.Mearns, r.david.murray, simeon.visser
Date 2014-12-02.16:09:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1417536579.12.0.824183331096.issue22979@psf.upfronthosting.co.za>
In-reply-to
Content
Just select your initial value as something that works with the sequence you are iterating.  If necessary, you can define custom 'always maximum' and 'always minimum' objects.  (You could try proposing builtin objects with that feature on the python-ideas mailing list, if you want to pursue this, but since this is a specialized need and usually you don't even need custom objects, I suspect you won't get much enthusiasm.  But I could be wrong, especially if you can some up with additional use cases.
History
Date User Action Args
2014-12-02 16:09:39r.david.murraysetrecipients: + r.david.murray, simeon.visser, Brian.Mearns
2014-12-02 16:09:39r.david.murraysetmessageid: <1417536579.12.0.824183331096.issue22979@psf.upfronthosting.co.za>
2014-12-02 16:09:39r.david.murraylinkissue22979 messages
2014-12-02 16:09:38r.david.murraycreate