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 serhiy.storchaka
Recipients alexandre.vassalotti, arigo, kristjan.jonsson, python-dev, serhiy.storchaka
Date 2015-12-07.13:18:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1449494326.65.0.927208127168.issue25718@psf.upfronthosting.co.za>
In-reply-to
Content
Well, we can fix this without breaking the protocol. The accumulate() object with state is None can be reconstructed as islice(accumulate(chain([None], iterator)), 1, None).

Proposed patch implements this solution.
History
Date User Action Args
2015-12-07 13:18:46serhiy.storchakasetrecipients: + serhiy.storchaka, arigo, kristjan.jonsson, alexandre.vassalotti, python-dev
2015-12-07 13:18:46serhiy.storchakasetmessageid: <1449494326.65.0.927208127168.issue25718@psf.upfronthosting.co.za>
2015-12-07 13:18:46serhiy.storchakalinkissue25718 messages
2015-12-07 13:18:46serhiy.storchakacreate