I prefer not to. There's plenty of code out there that uses these. The style is also common in the stdlib, e.g. isinstance(), str.isalpha(), the entire inspect module -- these two are modeled after that.
I know about having to document them, will do that when I am officially back to work (Monday). Or you can just inert that change. :-) On Fri, Jan 3, 2014 at 4:56 AM, Victor Stinner <[email protected]> wrote: > Hi, > > Guido van Rossum modified Tulip to "Export iscoroutine[function]". > These names are not really PEP 8 compliant. Would it possible to > rename them to is_coroutine() and is_coroutine_function()? > > @Guido: you should also document these functions in > Doc/library/asyncio-tasks.rst of CPython ;-) I removed them from the > documentation because they were private: > http://hg.python.org/cpython/rev/1cecfc642333 > > Victor -- --Guido van Rossum (python.org/~guido)
