Terry J. Reedy added the comment:

Describing generator functions as such is a great idea.  But how about
    <generator function f at 0x7f7dad9f7bf8>

Marking closure functions as such is a bit more subtle. However, there ia a 
real point that closure functions have a hidden input.  If it is mutated or 
rebound, the function will not be deterministic with respect to its overt input 
arguments.  Closure functions are similar to methods in this respect.

Await functions (Guido's name choice as of today), if the PEP is approved, will 
also need to be identified as such.  I propose a uniform format of no prefix, a 
single prefic or a (tuple) of prefixes.

----------
nosy: +terry.reedy

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24056>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to