On Aug 14, 2006, at 10:01 PM, Nick Coghlan wrote: > Guido van Rossum wrote: >> Methinks that as long as PyIntObject uses long (see intobject.h) >> there's no point in changing this to long. > > Those fields are going to have to change to Py_Object* eventually > if xrange() is going to become the range() replacement in Py3k. . . >
In this case it will become indistinguishable from typedef struct { PyObject_HEAD PyObject *start, *stop, *step; /* not NULL */ } PySliceObject; See sliceobject.h . Would it make sense to unify rangeobject with PySliceObject? _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com