[Python-ideas] having a "iterable" built-in

Tarek Ziadé ziade.tarek at gmail.com
Wed Apr 29 23:34:16 CEST 2009

On Wed, Apr 29, 2009 at 9:02 PM, Pascal Chambon
<chambon.pascal at wanadoo.fr> wrote:

> Well, I guess the new abilities of abstract base classes and stuffs, in 2.6,
> allow this : http://docs.python.org/library/collections.html
> You should call something like isinstance(ovj, Iterable), which is less cute
> than isiterable(obj), but far more flexible ^^

Right that's it, thanks :)

More information about the Python-ideas mailing list