Michele Simionato wrote:
> Georg Brandl <g.brandl <at> gmx.net> writes:
> 
>> I'd say, go ahead and write a patch including docs, and I think there's no
>> problem with accepting it (as long as it comes before beta1).
> 
> I was having a look at http://docs.python.org/dev/lib/inspect-types.html
> and it would seem that adding isgenerator would imply changing
> inspect.getmembers() and its documentation.

Yep.

> Also, should one add
> a GeneratorType, perhaps as a subclass of FunctionType?

Add GeneratorType where? There is already one in the types module.

Georg

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to