On Fri, Apr 24, 2015 at 9:15 PM, Robert Collins email@example.com wrote:
On 25 April 2015 at 16:02, Nick Coghlan firstname.lastname@example.org wrote:
While it's a less significant behavioural difference than being a generator function, a non-empty closure could conceivably also be reported in the repr():
<function foo at 0x7f7dad9f7bf8 (closure)> <function foo at 0x7f7dad9f7bf8 (closure,generator)>
I like this suggestion. Doing it for the await changes as well would be great.
-- Robert Collins email@example.com Distinguished Technologist HP Converged Cloud _______________________________________________ Python-ideas mailing list Pythonfirstname.lastname@example.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/