Accept input strings ending with '?' in the IPython shell.