Stop modifying classes and always create new ones by hynek · Pull Request #260 · python-attrs/attrs

added 2 commits

October 6, 2017 17:29
This allows us to harmonize class creation for dict and slots classes.

Ref #223 #202

@hynek hynek mentioned this pull request

Oct 6, 2017

@Tinche

Tinche

Tinche

Tinche previously approved these changes Oct 9, 2017

@hynek

@hynek

@hynek hynek changed the title Add replace_class argument to attr.s Stop modifying classes and always create new ones

Oct 13, 2017

wsanchez

wsanchez

@hynek

@hynek

@wsanchez

They may contain a unhashable default.

@hynek

DRMacIver

@hynek hynek mentioned this pull request

Oct 17, 2017
The test fails if we try to do a `hash is False and slots is True`.

@hynek

@hynek

@hynek

@Tinche @hynek

@hynek

@hynek hynek mentioned this pull request

Oct 19, 2017

@hynek hynek deleted the replace-class branch

October 19, 2017 12:59

@hynek hynek mentioned this pull request

Oct 19, 2017