Skip to content

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