title: Simple input function gives spyder an internal problem
body: <p>This is the code I am trying to run.</p>
  <pre><code>x = int(input(&quot;Please enter and integer: &quot;))
  
  for n in range(2, x+1):
      for t in range(2, n):
          if n%t == 0:
              print(n, 'equals', t, '*', n/t)
              break
      else:
          print(n, 'is a prime number')
  </code></pre>
  <p>This is the error code I keep on getting. Worth noting that the code works if <code>x</code> has a predetermined variable.</p>
  <pre class="lang-none prettyprint-override"><code>Traceback (most recent call last):
    File &quot;C:\Users\ausam\anaconda3\lib\site-packages\qtconsole\base_frontend_mixin.py&quot;, line 138, in _dispatch
      handler(msg)
    File &quot;C:\Users\ausam\anaconda3\lib\site-packages\spyder\plugins\ipythonconsole\widgets\debugging.py&quot;, line 278, in _handle_input_request
      return super(DebuggingWidget, self)._handle_input_request(msg)
    File &quot;C:\Users\ausam\anaconda3\lib\site-packages\qtconsole\frontend_widget.py&quot;, line 512, in _handle_input_request
      self._readline(msg['content']['prompt'], callback=callback, password=msg['content']['password'])
    File &quot;C:\Users\ausam\anaconda3\lib\site-packages\qtconsole\console_widget.py&quot;, line 2422, in _readline
      self._show_prompt(prompt, newline=False, separator=False)
  TypeError: _show_prompt() got an unexpected keyword argument 'separator'
  </code></pre>