News for hackers. Stuff that matters.
Re:How Hy backported “yield from” to Python 2 by plq on Friday November 21, 2014 @09:51AM (#8641470)
inspect module offers isgenerator and isgeneratorfunction. the author should have used that.

https://docs.python.org/2/library/inspect.html#inspect.isgen...

Re:How Hy backported “yield from” to Python 2 by the_mitsuhiko on Friday November 21, 2014 @03:04PM (#8643107)
Which does exactly the same as what the code in the example does.