Skip to content

SyntaxError while using the library on Python 3.10.4 #39

Description

@sachingorade

Hi there,
I am getting following error with Python 3.10.4 version -

  File "D:\Projects\Github\proj\pyramid-101\venv\lib\site-packages\pyramid_simpleform\__init__.py", line 175
    except Invalid, e:
           ^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized

From this post, I think this is because this syntax in pyramid_simpleform\__init__.py is no longer supported by newer version of Python -

except Invalid, e:

Is there any plan to upgrade the package to support newer version of Python?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions