[Python-checkins] CVS: python/dist/src/Modules cPickle.c,2.76,2.77

Martin v. L?wis loewis@users.sourceforge.net
Mon, 01 Apr 2002 04:34:36 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv28762

Modified Files:
	cPickle.c 
Log Message:
Remove UNLESS.


Index: cPickle.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/cPickle.c,v
retrieving revision 2.76
retrieving revision 2.77
diff -C2 -d -r2.76 -r2.77
*** cPickle.c	31 Mar 2002 14:44:22 -0000	2.76
--- cPickle.c	1 Apr 2002 12:34:33 -0000	2.77
***************
*** 64,68 ****
  #include <errno.h>
  
! #define UNLESS(E) if (!(E))
  
  #define DEL_LIST_SLICE(list, from, to) (PyList_SetSlice(list, from, to, NULL))
--- 64,68 ----
  #include <errno.h>
  
! 
  
[...1519 lines suppressed...]
  
      Py_DECREF(t);
  
!     if (!( UnpicklingError = PyErr_NewException("cPickle.UnpicklingError",
!    					         PickleError, NULL))) 
        return -1;
  
***************
*** 4651,4655 ****
          return -1;
  
!     UNLESS (BadPickleGet = PyString_FromString("cPickle.BadPickleGet"))
          return -1;
  
--- 4651,4655 ----
          return -1;
  
!     if (!( BadPickleGet = PyString_FromString("cPickle.BadPickleGet"))) 
          return -1;