1. 18 Dec, 2015 4 commits
  2. 17 Dec, 2015 17 commits
  3. 16 Dec, 2015 7 commits
  4. 15 Dec, 2015 1 commit
  5. 14 Dec, 2015 3 commits
    • stijn's avatar
    • Paul Sokolovsky's avatar
      unix/modos: Implement ilistdir(). · d874702f
      Paul Sokolovsky authored
      ilistdir() returns iterator which yields triples of (name, type, ino)
      where ino is inode number for entry's data, type of entry (file/dir/etc.),
      and name of file/dir. listdir() can be easily implemented in terms of this
      iterator (which is otherwise more efficient in terms of memory use and may
      save expensive call to stat() for each returned entry).
      CPython has os.scandir() which also returns an iterator, but it yields
      more complex objects of DirEntry type. scandir() can also be easily
      implemented in terms of ilistdir().
    • Paul Sokolovsky's avatar
      py/objpolyiter: Implement instance-polymorphic iterator type. · 1a1cceaf
      Paul Sokolovsky authored
      This allows to have single itertaor type for various internal iterator
      types (save rodata space by not having repeating almost-empty type
      structures). It works by looking "iternext" method stored in particular
      object instance (should be first object field after "base").
  6. 13 Dec, 2015 2 commits
  7. 12 Dec, 2015 6 commits