Skip to content
Snippets Groups Projects
  1. Oct 24, 2016
  2. Oct 23, 2016
  3. Oct 17, 2016
  4. Oct 10, 2016
  5. Sep 22, 2016
  6. Sep 20, 2016
  7. Aug 23, 2016
    • Dan Michael O. Heggø's avatar
      Refactor List.__next__ · 273d9620
      Dan Michael O. Heggø authored
      To avoid stuff like #135 from happening, make it more transparent what's
      going on in `List.__next__` by
      - replacing the check for `full=True` with
        `isinstance(self, GeneratorList)`
      - replacing the recursive call to `List.__next__` with
        `item = six.next(self._iter)`. This means one line of code is
        duplicated, but I think it's pays of in term of readability.
      273d9620
    • Dan Michael O. Heggø's avatar
      c4de7069
    • Dan Michael O. Heggø's avatar
      Quickfix for #135 · 503dd65e
      Dan Michael O. Heggø authored
      Putting back an explicit reference to `List` to avoid
      `GeneratorList.__next__` being called.
      503dd65e
  8. Aug 21, 2016
Loading