[James William Pye] > Can access to the generator type(gentype in ceval.c) and associated > data/structures be made available in a public > interface/header(genobject.h)? Possibly, if someone wants it enough to make a patch (including doc changes). There are many types that aren't exposed at the C level, BTW. Advertising their internals has an inhibiting effect on evolution. The generator type has been around long enough w/o change that the value in keeping it private has diminished. > I know I can get the type by compiling a little generator and fetching its > type, but that seems to be a bit redundant as each project that needs it, > needs to make its own, nonstandardized version of access. Anyone who wants it can do from types import GeneratorType today (types is a standard Python module).
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4