Skip to content

SyntaxError while using the library on Python 3.10.4 #39

@sachingorade

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?

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