]:
self.assertRaises(ValueError, lambda: self.dumps(item))
+ def test_wchar(self):
+ pickle.dumps(c_char("x"))
+ # Issue 5049
+ pickle.dumps(c_wchar(u"x"))
+
class PickleTest_1(PickleTest):
def dumps(self, item):
return pickle.dumps(item, 1)
Library
-------
+- Issue #5041: ctypes does now allow pickling wide character.
+
- Issue #5812: For the two-argument form of the Fraction constructor,
Fraction(m, n), m and n are permitted to be arbitrary Rational
instances.
ml = &c_void_p_method;
stgdict->flags |= TYPEFLAG_ISPOINTER;
break;
- case 'u':
+ case 's':
case 'X':
case 'O':
ml = NULL;