sympy/sympy — pull request #1917 by cheatiiit (2013-03-21 04:02:20+00:00)
Title: Implemented risch_integrate for trigonometric, inverse trigonometric and hyperbolic functions

Earlier:
>>risch_integrate(sin(x),x)
NotImplementedError

Now:
>>risch_integrate(sin(x),x)
-cos(x)
>>integrate(sin(x),x,risch=True)
-cos(x)

Added flag "rewrite_complex" to prevent calculation of every integral in terms of complex numbers (as we can get better results from other algorithms).
Conversions of trigonometric , inverse trigno , hyperbolic is implemented a s a fall back measure(if no algorithm gives anti-derivative then all the above functions would be converted into exponential or logarithmic components)