Closed parly closed 1 year ago
Do you know if this is backward compatible with other python versions?
Thank you for your contribution.
I ran the edited line in Python 3.6.15 and 3.9.16 (on REPL) and got no errors, so I assume it is at least backwards compatible with that versions.
Due to a change in the Enum specification in Python 3.11, the following code will cause an error:
This patch fixes the problem by first casting the value of AMF0 to int.