Message117819
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. |
|
Date |
User |
Action |
Args |
2010-10-01 17:41:28 | marienz | set | recipients:
+ marienz, christoph |
2010-10-01 17:41:27 | marienz | set | messageid: <1285954887.97.0.0656059691652.issue9985@psf.upfronthosting.co.za> |
2010-10-01 17:41:26 | marienz | link | issue9985 messages |
2010-10-01 17:41:26 | marienz | create | |
|