Closed GoogleCodeExporter closed 9 years ago
also, I further figured out it was the cache b/c if I deleted ssdt.pickle
between runs it ran fine
Original comment by atc...@gmail.com
on 26 Aug 2010 at 3:06
Ok, I'll look into this problem when I get some spare time. Could you please
try the ssdt caching against an XPSP2 image and see if the problem is present
there as well?
Original comment by mike.auty@gmail.com
on 27 Aug 2010 at 9:16
So it turned out that when the cache was called flatten_generators() was used
to convert the generators into lists. The way it determined if something needed
to be flattened was to call iter(item).
Dicts however also have a iterator so it was flattening the dict into a list
(of the dict keys). When trying to use the cache it then tried to index it as a
list but the keys were longs. We would have got an index error in any case.
I just committed to experimental - Mike can you merge to rc1 please.
Original comment by scude...@gmail.com
on 27 Aug 2010 at 12:04
Ok, thanks for the fix scudette! 5:)
It's now checked in to rc1 with some tweaks, so that the contents (and keys) of
the dicts are also flattened. I also changed the type calls to isinstance
calls, so that dict-descended objects will be flattened correctly (just in case
people ever decide to pass those through).
Original comment by mike.auty@gmail.com
on 27 Aug 2010 at 2:31
Original issue reported on code.google.com by
atc...@gmail.com
on 26 Aug 2010 at 3:05