New submission from Thomas Antony:

When inspect.isgeneratorfunction is called on the output of functools.partial, 
it returns False even if the original function was a generator function. Test 
case is attached. 

Tested in fresh conda environment running Python 3.6.1

----------
files: testcode.py
messages: 291147
nosy: Thomas Antony
priority: normal
severity: normal
status: open
title: inspect.isgeneratorfunction not working with partial functions
versions: Python 3.5
Added file: http://bugs.python.org/file46776/testcode.py

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

Reply via email to