[IPython-User] Building current IPython with Python 3.2 on Windows

klo uo klonuo@gmail....
Thu Jun 28 09:14:23 CDT 2012


I tried to build current to date ipython with Python 3.2:

  c:\python32\python.exe setup.py build

After some processing I get this error:
  ...
  Skipping implicit fixer: buffer
  Skipping implicit fixer: idioms
  Skipping implicit fixer: set_literal
  Skipping implicit fixer: ws_comma
  Can't parse docstring in build\lib\IPython\utils\tests\test_text.py
line 163: TokenError: ('EOF in multi-line string', (1, 11))

Line 163 doesn't show anything unusual to me in editor:

  def test_strip_email():
      src = """\
          >> >>> def f(x):
          >> ...   return x+1
          >> ...
          >> >>> zz = f(2.5)"""
      cln = """\
  >>> def f(x):
  ...   return x+1
  ...
  >>> zz = f(2.5)"""	<-- this is line 163
  nt.assert_equals(text.strip_email_quotes(src), cln)

Should I comment this function or?


More information about the IPython-User mailing list