Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError while using the library on Python 3.10.4 #39

Open
sachingorade opened this issue Sep 3, 2023 · 1 comment
Open

SyntaxError while using the library on Python 3.10.4 #39

sachingorade opened this issue Sep 3, 2023 · 1 comment

Comments

@sachingorade
Copy link

sachingorade commented Sep 3, 2023

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?

@stevepiercy
Copy link
Member

You are welcome to submit a pull request to fulfill your requirements. The maintainers would be more likely to take action when a contributor does the work, than if they were to do it themselves.

Assuming your PR gets merged, then ping them and ask for a release to PyPI. You can see the list of maintainers here: https://pypi.org/project/pyramid_simpleform/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants