You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/dataclasses.py", line 1210, in wrap
return _process_class(cls, init, repr, eq, order, unsafe_hash,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/dataclasses.py", line 958, in _process_class
cls_fields.append(_get_field(cls, name, type, kw_only))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/dataclasses.py", line 815, in _get_field
raise ValueError(f'mutable default {type(f.default)} for field '
ValueError: mutable default <class 'vtc._framerate.Framerate'> for field F23_98 is not allowed: use default_factory
Works fine in Python 3.10. Looks like something may have broken in 3.11.
The text was updated successfully, but these errors were encountered:
russellaugust
changed the title
Framerate error: for field F23_98 is not allowed: use default_factory
Python 3.11 incompatability Framerate error: for field F23_98 is not allowed: use default_factory
Apr 5, 2023
Receiving this error in Python3.11.
Works fine in Python 3.10. Looks like something may have broken in 3.11.
The text was updated successfully, but these errors were encountered: