Message72026
Well, this is obviously caused by renaming "__builtin__" to "builtins"
and the fact that set (as well as frozenset) doesn't have its own opcode
and therefore gets looked up in "builtins". The problem therefore
extends to all builtin objects without opcode special casing (e.g.
object, slice, property, ...) I'm afraid that means we have to pickle
"builtins" as "__builtin__" for backwards compatibility in protocols <= 2.
But aside from that, wouldn't it be more consistent to have opcodes for
set/frozenset in protocol 3? |
|
Date |
User |
Action |
Args |
2008-08-27 13:03:25 | hagen | set | recipients:
+ hagen, alexandre.vassalotti |
2008-08-27 13:03:24 | hagen | set | messageid: <1219842204.65.0.944672305882.issue3675@psf.upfronthosting.co.za> |
2008-08-27 13:03:24 | hagen | link | issue3675 messages |
2008-08-27 13:03:23 | hagen | create | |
|