From 1f35a509005d2605a0564127339dff2b1c96a766 2013-01-13 18:54:46 From: Thomas Kluyver Date: 2013-01-13 18:54:46 Subject: [PATCH] Prefilter shouldn't touch execution_count --- diff --git a/IPython/core/prefilter.py b/IPython/core/prefilter.py index 30f8e03..2a46a23 100644 --- a/IPython/core/prefilter.py +++ b/IPython/core/prefilter.py @@ -323,9 +323,6 @@ class PrefilterManager(Configurable): normal_handler = self.get_handler_by_name('normal') if not stripped: - if not continue_prompt: - self.shell.displayhook.prompt_count -= 1 - return normal_handler.handle(line_info) # special handlers are only allowed for single line statements