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

Update cookies.py to work with python 3.11 #1044

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tartasprint
Copy link

Since python 3.11 regex flags cannot be used in the middle of a regex. This avoids nengo-gui to crash.
this fixes #1042.

There should be no additional problems since the changed variable EXPIRES_AV is local and only used in the definition of ATTR which already has the (?ix) flags.

Some escape sequences were changed to avoid SyntaxWarnings.

I don't know if the rest of nengo-gui will work with python 3.11, but at least now it can start (I'm following the tutorial to get started).

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

Successfully merging this pull request may close these issues.

nengo-gui not compatible with global inline flags in python 3.11
1 participant