- update to 0.21.1:
* Allow to specify __match_args__.
* Add @as_record adapter for def-style decalarations of
dataclasses that are considered as just a struct.
* The option fast_new will be removed in 0.22. It will be
always as fast_new=True by creation.
* Fix issues with `_PyUnicodeWriter` for python 3.13.
* Add __match_args__ to support match protocol for dataobject-based subclasses.
Make to compile, to build and to test successfully for python 3.11.
OBS-URL: https://build.opensuse.org/request/show/1135612
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-recordclass?expand=0&rev=4
* Allow to specify __match_args__.
* Add @as_record adapter for def-style decalarations of
dataclasses that are considered as just a struct.
* The option fast_new will be removed in 0.22. It will be
always as fast_new=True by creation.
* Fix issues with `_PyUnicodeWriter` for python 3.13.
* Add __match_args__ to support match protocol for dataobject-based subclasses.
Make to compile, to build and to test successfully for python 3.11.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-recordclass?expand=0&rev=7
- Update to 0.18.0.1
* Exclude test_dataobject_match.py (for testing match statement) for python < 3.10.
- Update to 0.18
* Python 3.11 support.
* Adapt data object to take benefit from bytecode specialization in 3.11.
* Fix issue for argument with default value in __new__, which havn't __repr__ that can be interpreted as valid python expression for creation of the default value.
* Add support for typing.ClassVar.
* Add Py_TPFLAGS_SEQUENCE and Py_TPFLAGS_MAPPING.
* Add __match_args__ to support match protocol for dataobject-based subclasses.
OBS-URL: https://build.opensuse.org/request/show/1034921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-recordclass?expand=0&rev=5