sympy/sympy — pull request #1915 by cheatiiit (2013-03-20 23:25:34+00:00)
Title: Implemented risch_integrate for trigonometric, inverse trigonometric and hyperbolic functions

Added flag rewrite_complex to avoid risch to calculate every integral in terms of complex numbers (as we can get better results from other algorithms).