typic.iterate doesn't recognize generators as iterable, so iterates over its public attributes instead.
What I Did
>>> import typic
>>> typic.transmute(list, (x for x in range(10)))
[<code object <genexpr> at 0x105180660, file "<input>", line 1>, <frame at 0x7f804bef20f0, file '<input>', line 1, code <genexpr>>, False, None]
Description
typic.iterate
doesn't recognize generators as iterable, so iterates over its public attributes instead.What I Did