On Sun, Jul 02, 2017 at 11:18:04PM -0400, Alex Walters wrote: > Before async/await it made sense that iscoroutine and iscoroutinefunction > live in asyncio. But now that coroutines are a built in type, supported by > its own syntax, wouldn't it make sense to make those functions builtins?
Generators and generator functions are built-in, supported by their own syntax, but 'isgenerator' and 'isgeneratorfunction' still live in the inspect module. So I think the answer to your question is no. -- Steve _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/