Guido van Rossum
950dce6f01
save(): Fix for SF bug #494904 : Cannot pickle a class with a
...
metaclass, reported by Dan Parisien.
Objects that are instances of custom metaclasses, i.e. whose ob_type
is a subclass of PyType_Type, should be pickled the same as new-style
classes (objects whose ob_type is PyType_Type). This can't be done
through the existing dispatch switches, and the __reduce__ trick
doesn't work for these, since it finds the unbound __reduce__ for
instances of the class (inherited from PyBaseObject_Type). So check
explicitly using PyType_IsSubtype().
2001-12-19 16:56:54 +00:00
..
2001-09-20 10:35:46 +00:00
2001-12-08 18:02:58 +00:00
2001-12-08 18:02:58 +00:00
2001-12-04 21:40:53 +00:00
2001-11-28 20:27:42 +00:00
2001-12-09 16:13:15 +00:00
2001-11-28 20:27:42 +00:00
2001-12-09 23:15:56 +00:00
2001-10-23 21:12:47 +00:00
2001-12-06 19:04:35 +00:00
2001-12-08 18:02:58 +00:00
2001-12-08 18:02:58 +00:00
2001-12-07 00:37:39 +00:00
2001-12-19 04:41:35 +00:00
2001-12-08 18:02:58 +00:00
2001-12-08 18:02:58 +00:00
2001-12-08 18:02:58 +00:00
2001-09-06 08:16:17 +00:00
2001-08-30 00:12:32 +00:00
2001-12-19 16:56:54 +00:00
2001-12-08 18:02:58 +00:00
2001-12-08 18:02:58 +00:00
2001-12-08 18:02:58 +00:00
2001-05-14 21:02:36 +00:00
2001-12-08 18:02:58 +00:00
2001-12-08 18:02:58 +00:00
2001-12-02 18:31:02 +00:00
2001-12-08 18:02:58 +00:00
2001-12-02 10:15:37 +00:00
2001-12-04 01:11:32 +00:00
2001-12-02 10:15:37 +00:00
2001-12-02 23:56:28 +00:00
2001-12-08 18:02:58 +00:00
2001-12-06 06:23:26 +00:00
2001-06-02 06:16:02 +00:00
2001-09-06 08:16:17 +00:00
2001-09-24 17:14:40 +00:00
2001-12-08 18:02:58 +00:00
2001-12-08 18:02:58 +00:00
2001-12-08 18:02:58 +00:00
2001-11-13 20:11:55 +00:00
2001-08-09 20:14:34 +00:00
2001-12-08 18:02:58 +00:00
2001-12-08 18:02:58 +00:00
2001-12-08 18:02:58 +00:00
2001-12-08 18:02:58 +00:00
2001-11-28 20:27:42 +00:00
2001-12-08 18:02:58 +00:00
2001-07-15 18:38:47 +00:00
2001-09-17 16:19:16 +00:00
2001-12-08 18:02:58 +00:00
2001-12-08 18:02:58 +00:00
2001-08-30 00:13:38 +00:00
2001-10-17 13:46:44 +00:00
2001-12-08 18:02:58 +00:00
2001-10-01 17:58:40 +00:00
2001-12-02 10:15:37 +00:00
2001-07-02 16:58:38 +00:00
2001-07-02 16:42:49 +00:00
2001-11-28 22:07:30 +00:00
2001-10-24 20:42:55 +00:00
2001-12-08 18:02:58 +00:00
2001-12-08 18:02:58 +00:00
2001-12-06 14:34:58 +00:00
2001-06-15 12:05:44 +00:00
2001-06-16 08:10:13 +00:00
2001-12-08 18:02:58 +00:00
2001-12-08 18:02:58 +00:00
2001-12-09 23:15:56 +00:00
2001-11-30 07:23:05 +00:00
2001-12-08 18:02:58 +00:00
2001-12-08 18:02:58 +00:00
2001-12-17 18:26:19 +00:00
2001-12-08 18:02:58 +00:00