--- src/org/python/modules/cPickle.java (revision 3403) +++ src/org/python/modules/cPickle.java Sat Aug 11 14:27:25 MSD 2007 @@ -1893,15 +1893,6 @@ final private void load_reduce() { PyObject arg_tup = pop(); PyObject callable = pop(); - if (!((callable instanceof PyClass) || (callable instanceof PyType))) { - if (safe_constructors.__finditem__(callable) == null) { - if (callable.__findattr__("__safe_for_unpickling__") - == null) - throw new PyException(UnpicklingError, - callable + " is not safe for unpickling"); - } - } - PyObject value = null; if (arg_tup == Py.None) { // XXX __basicnew__ ?