[Python-checkins] python/dist/src/Objects longobject.c,1.148,1.149

Neal Norwitz neal@metaslash.com
Sat, 01 Feb 2003 18:01:32 -0500


> + _PyLong_Sign(PyObject *vv)
> + {
> + 	PyLongObject *v = (PyLongObject *)vv;
> + 	const int ndigits = v->ob_size;
> + 
> + 	assert(v != NULL);

Not sure how useful this assert is since v was already 
dereferenced on the line above (v->ob_size).

Neal