[Python-3000] [Python-Dev] Type of range object members (original) (raw)
Alexander Belopolsky alexander.belopolsky at gmail.com
Tue Aug 15 04:15:36 CEST 2006
- Previous message: [Python-3000] Draft pre-PEP: function annotations
- Next message: [Python-3000] [Python-Dev] Type of range object members
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 PyObject* 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?
- Previous message: [Python-3000] Draft pre-PEP: function annotations
- Next message: [Python-3000] [Python-Dev] Type of range object members
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]