Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ClassBuilder: eval only once (#1407)
* ClassBuilder: eval only once * avoid Attribute.evolve * speed up `_make_attr_tuple_class` * speed up `_add_method_dunders` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * optimize _CountingAttrs more * Fix up `_add_method_dunders` * avoid a hot splitlines * restore old type_hash * fix scriptlines handling * restore contextlib.suppress * Revert "fix scriptlines handling" This reverts commit 4e0af4b. * Revert "avoid a hot splitlines" This reverts commit 532faed. * add some hints * fix tests * Refactor `_Attributes` * Reflow * Reflow docs * Microoptimization * Rework type hints a little * Fix arg name * Add changelog entry --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information