sympy/sympy — pull request #7743 by debugger22 (2014-07-16 17:29:06+00:00)
Title: Fix infinite recursion for NegativeInfinity when doing mod with a number

Fixes https://github.com/sympy/sympy/issues/7742