Releases: emcd/python-classcore
Releases · emcd/python-classcore
v1.10
v1.9
classcore v1.9 (2025-09-24)
Repairs
- Fix PyPy compatibility with super() calls in slotted dataclasses.
v1.8
Classcore v1.8 (2025-07-23)
Enhancements
- Standard: Modules: Allow certain modules to be excluded from reclassification.
Also, implement cycle detection.
Repairs
- Standard: Modules: Reclassify modules with proper depth-first traversal.
v1.7
Classcore v1.7 (2025-07-08)
Enhancements
- Standard: Add
ignore_init_argumentsdecorator argument and
instances_ignore_init_argumentsclass argument to support cases, such as
inheritance fromurllib.parse.ParseResultwhich inherits fromtupleand
overrides__new__instead of__init__. In such cases,__new__
processes the instance production arguments rather than__init__. However,
the standard Python behavior is to present the arguments to both__new__
and__init__, which is problematic since we always provide an__init__
head.
v1.6.1
Classcore v1.6.1 (2025-07-02)
Repairs
- Fix deprecation warnings from finalize_module by refactoring to use private _reclassify_module implementation.
v1.6
Classcore v1.6 (2025-07-01)
Enhancements
- Add
finalize_modulefunction to combine Dynadoc docstring generation with module reclassification for immutability and concealment.
Notices
- Deprecate
reclassify_modulesfunction. Usefinalize_moduleinstead.
v1.5.3
Classcore v1.5.3 (2025-07-01)
Repairs
- Standard: Do not create duplicate slots for behaviors tracking.
- Standard: Ensure that behaviors tracking attribute is not part of comparisons,
hashes, orreprcalculations for dataclasses. Attributes with "private"
names which resemble the CPython scheme for class-local (non-inheritable)
attributes can create confusion for the internal machinery ofdataclasses.
v1.5.2
Classcore v1.5.2 (2025-06-30)
Repairs
- Standard Classes: Ensure that Dynadoc decorator applies last, after any
decorators which may potentially replace classes (e.g.,dataclass( slots = True )), so that the Dynadoc visitees weak set captures the correct reference
to prevent multiple decoration.
v1.5.1
Classcore v1.5.1 (2025-06-26)
Repairs
- Ensure the inheritance of replacement functions works via metaclasses and not
just decorators.
v1.5
Classcore v1.5 (2025-06-25)
Enhancements
- Improve docstrings for various public type aliases. Also, drop
Fname
references from public type aliases, such asDecoratorsso that they can be
reused in downstream packages.
Repairs
- Ensure that replacement implementations (
assigner_core,deleter_core,
andsurveyor_core) are inherited so that behaviors do not regress to
standard baseline behaviors in descendant classes.