0.14.0 - helpers, bugfix, and ancestor-first option in init makers
API
-
new helper methods
get_field,yield_fields,has_fieldsandget_fields(new name ofcollect_all_fields) so that other libraries such asautoclasscan easily access the various information.fix_fieldsremoved. Fixed #48 -
New
ancestor_fields_firstoption in all the__init__makers (make_initand@init_fields). Fixed #50
Bugfixes
-
Bugfixes in all the
__init__makers (make_initand@init_fields):-
bugfix in case of inheritance with override: #49
-
the argument order used for fields initialization (inside the generated init method body) was sometimes incorrect. This would trigger a bug when one field was requiring another one to initialize.
-
when the list of fields received by
InitDescriptorwas an empty tuple and notNone, the constructor was not created properly
-
See documentation page for details.