Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Conversation

@nolar
Copy link
Owner

@nolar nolar commented Nov 13, 2022

In preparation for further refactoring for proper time handling — so that this single change would be tested in all Python versions.

Besides, attrs produces the slotted classes by default, which is good for memory footprint, especially on the frequently used classes like HandlerState, Outcome, etc.

In all other aspects, it is essentially a drop-in replacement with some minor changes.

The attrs dependency is already installed for one of the sub-dependencies, so nothing new is essentially added to the deployment.

@nolar nolar added the refactoring Code cleanup without new features added label Nov 13, 2022
@nolar nolar force-pushed the dataclasses-to-attrs branch 2 times, most recently from df3a655 to 71820f9 Compare November 13, 2022 21:59
@nolar nolar force-pushed the dataclasses-to-attrs branch from 71820f9 to f21c018 Compare November 13, 2022 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring Code cleanup without new features added

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants