[IPython-user] Autocall behaviour

Ville Vainio vivainio at gmail.com
Thu Feb 16 03:14:33 CST 2006

On 2/16/06, Frédéric Mantegazza <mantegazza at ill.fr> wrote:

> PyMAD at sunceng>>> autocall
> Automatic calling is: OFF        <<<<<<<<<<<<<<<<<<<<<<<

Note that autocall is a toggle, so it was probably switched it from 1 to 0 here.

> But I do have 'autocall 2' in my ~/ipython/ipythonrc file (I removed the
> entire dir. before running the new version). The problem is that the
> 'autocall' param is not loaded. Changing 'confirm_exit', for example, do
> the job.

Something somewhere may be overriding your ipythonrc setting. Try
setting autocall in another config file, e.g. ipy_user_conf.py:

import IPython.ipapi
ip = IPython.ipapi.get()

o = ip.options()
o.autocall = 2

Ville Vainio - http://tinyurl.com/2prnb
http://vainio.blogspot.com - g[mail | talk]='vivainio'

More information about the IPython-user mailing list