sympy/sympy — pull request #1352 by catchmrbharath (2012-06-13 18:16:14+00:00)
Title: Fix for issue 3031

Added an new argument isympy to init_session which is true if init_session
is called by isympy. It creates a new ipython session if isympy is True.

Fixes:
sympy session can be created in ipython and ipython qtconsole by calling init_session()