From: Antoine Pitrou Date: Fri, 20 Sep 2013 20:19:22 +0000 (+0200) Subject: Add a comment making it explicit that itertools.tee() is already 64bit-safe (issue... X-Git-Tag: v3.4.0a3~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b4a46cb428428ac4fe6fc18257459d8a460ebd9d;p=thirdparty%2FPython%2Fcpython.git Add a comment making it explicit that itertools.tee() is already 64bit-safe (issue #19049) --- diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c index 01231816123b..8be62ce94c04 100644 --- a/Modules/itertoolsmodule.c +++ b/Modules/itertoolsmodule.c @@ -401,7 +401,7 @@ static PyTypeObject _grouper_type = { typedef struct { PyObject_HEAD PyObject *it; - int numread; + int numread; /* 0 <= numread <= LINKCELLS */ PyObject *nextlink; PyObject *(values[LINKCELLS]); } teedataobject; @@ -409,7 +409,7 @@ typedef struct { typedef struct { PyObject_HEAD teedataobject *dataobj; - int index; + int index; /* 0 <= index <= LINKCELLS */ PyObject *weakreflist; } teeobject;