diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2020-09-15 12:02:57 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-09-16 09:15:41 -0700 |
commit | 7a19eeae41fa5eabc4413448db047064f5d20aaf (patch) | |
tree | c9b3acbfc72f9e9d98ef55024acbaad87cb3f372 /meta-python/recipes-devtools/python/python-pyrex/pyrex-fix-optimized-mode.patch | |
parent | 415cf6bdecd46b117807c5612a42e0f720a22009 (diff) | |
download | meta-openembedded-7a19eeae41fa5eabc4413448db047064f5d20aaf.tar.gz |
python3-attrs: Upgrade 20.1.0 -> 20.2.0
Upgrade to release 20.2.0:
- Backward-incompatible: attr.define(), attr.frozen(),
attr.mutable(), and attr.field() remain provisional.
- attr.define() et al now correct detect __eq__ and __ne__.
- attr.define() et al's hybrid behavior now also works correctly
when arguments are passed.
- It's possible to define custom __setattr__ methods on slotted
classes again.
- In 20.1.0 we introduced the inherited attribute on the
attr.Attribute class to differentiate attributes that have been
inherited and those that have been defined directly on the
class.It has shown to be problematic to involve that attribute
when comparing instances of attr.Attribute though, because when
sub-classing, attributes from base classes are suddenly not
equal to themselves in a super class.
Therefore the inherited attribute will now be ignored when
hashing and comparing instances of attr.Attribute.
- zope.interface is now a "soft dependency" when running the test
suite; if zope.interface is not installed when running the test
suite, the interface-related tests will be automatically skipped.
- The ergonomics of creating frozen classes using
@define(frozen=True) and sub-classing frozen classes has been
improved: you don't have to set on_setattr=None anymore. #687
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-pyrex/pyrex-fix-optimized-mode.patch')
0 files changed, 0 insertions, 0 deletions