[Python-Dev] feature request: inspect.isgenerator
Georg Brandl
g.brandl at gmx.net
Thu Jun 1 14:20:45 CEST 2006
More information about the Python-Dev mailing list
Thu Jun 1 14:20:45 CEST 2006
- Previous message: [Python-Dev] feature request: inspect.isgenerator
- Next message: [Python-Dev] feature request: inspect.isgenerator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] feature request: inspect.isgenerator
- Next message: [Python-Dev] feature request: inspect.isgenerator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list