-
Notifications
You must be signed in to change notification settings - Fork 2
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
ASTERIA breaks when running with python 3.11 #107
Comments
I have an extremely patchy suggestion for fixing this, which is adding a few lines to if interaction.name=="requests":
continue
if not self.interactions.requests.value[interaction.name]:
continue it should work as expected with Python 3.11. I have not thought about nor tested how this interacts with other Python versions so I think this is a patch idea at best. |
I realized I completely forgot to provide traceback. Here it is:
|
Thanks for pointing this out, I'm sorry that this issue has become somewhat stale; I should be able to get to it this week. @jakob2508 has run into a similar problem. The design principle behind using the Enum object was to have an easy-to-use, immutable iterable whose elements could be custom classes ( I propose re-implementing the |
Something has changed with how Python 3.11 handles the
EnumMeta
, and this breaks an internal iteration with ASTERIA. I attach a working example based on this example that demonstrates thisThe text was updated successfully, but these errors were encountered: