Index: rect.c
===================================================================
--- rect.c	(revision 1036)
+++ rect.c	(working copy)
@@ -1384,7 +1384,7 @@
 static PyObject*
 rect_getsafepickle (PyRectObject *self, void *closure)
 {
-    Py_RETURN_TRUE;
+    PyBool_FromLong(-1);
 }
 
 static PyGetSetDef rect_getsets[] = {
