1. Ben Bangert
  2. WebHelpers
Issue #72 new

SyntaxError when import webhelpers.paginate in py3.2

Taras Drapalyuk
created an issue

import webhelpers

import webhelpers.paginate

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

File "/Users/kulapard/Projects/test/test_env/lib/python3.2/site-packages/webhelpers/paginate.py", line 250

raise Exception, "getitem without slicing not supported"

SyntaxError: invalid syntax

Comments (2)

  1. Mike Orr

    Thank you for your report. WebHelpers is not yet certified for Python 3. I'll leave this ticket open to address during the conversion. However, it is likely that paginate will be spun off to a separate distribution in the next version.

  2. xpahos

    You can try b492a4ca93f5.I fixed most part of bugs which occurs in unit testing, but I doesn't mean what my fork is fully functionally. I will be very thankful to you if you help me testing code.

  3. Log in to comment