← Back to team overview

dolfin team mailing list archive

Re: itercell and consistency in Python interface of DOLFIN

 

> Compare the values and itervalues method in a dict. I would expect cell(mesh)
> to return a list of cells or somthing.

Note that this changes in py3, where most of the APIs are changed to
return iterators (or views) instead of lists, and iter* are removed.

http://docs.python.org/release/3.0.1/whatsnew/3.0.html#views-and-iterators-instead-of-lists

-j.



Follow ups

References