Bugfix: Properly test for errors from PyLong_AsLong() in itertools.cycle.
ti can raise an exception even if PyLong_Check() has succeeded.
K
Kristjan Valur Jonsson committed
35722a93768e942be31270fe60acff138d878b26
Parent: ad45bfe