Raymond Hettinger 4514369f27 Improvements to coding for itertools.tee():
* Add error checking code to PyList_Append() call.

* Replace PyObject_CallMethod(to->outbasket, "pop", NULL) with equivalent
  in-line code.  Inlining is important here because the search for the
  pop method will occur for every element returned by the iterator.

* Make tee's dealloc() a little smarter.  If the trailing iterator is
  being deallocated, then the queue data is no longer needed and can
  be freed.
2003-10-25 06:37:47 +00:00
..
2003-10-18 20:54:44 +00:00
2002-07-17 16:30:39 +00:00
2003-07-08 21:17:25 +00:00
2002-08-07 16:21:51 +00:00
2002-10-30 21:08:34 +00:00
2003-10-17 22:13:16 +00:00
2002-07-17 16:30:39 +00:00
2003-05-23 14:35:24 +00:00
2003-06-16 18:51:28 +00:00
2003-02-13 18:44:57 +00:00