Author marienz
Recipients christoph, marienz
Date 2010-10-01.17:41:26
SpamBayes Score 0.00564968
Marked as misclassified No
Message-id <1285954887.97.0.0656059691652.issue9985@psf.upfronthosting.co.za>
In-reply-to
Content
That fixes the first problem in python 2. It should do:

self.matching_blocks = [Match._make(t) for t in non_adjacent]

in python 3 though, or it will return an already-exhausted map object if it is called again.

This leaves the problem of other code mutating the cached list (not realizing it is cached). I think it would make sense for these functions to just return a shallow copy of their cached list, but I have not thought that through much.
History
Date User Action Args
2010-10-01 17:41:28marienzsetrecipients: + marienz, christoph
2010-10-01 17:41:27marienzsetmessageid: <1285954887.97.0.0656059691652.issue9985@psf.upfronthosting.co.za>
2010-10-01 17:41:26marienzlinkissue9985 messages
2010-10-01 17:41:26marienzcreate