Overview

Request 927624 accepted

- Update to 6.3.1:
* Make PrefixMap._map available again, for compatibility with Mayavi. (#1578)
* Support for Python 3.10 has been added.
* The observe mini-language now supports use of "*" for listening to all
traits on a HasTraits object. Currently this support is limited to
cases where the "*" appears in a terminal position. For example,
observe("foo:*") is supported, but observe("*:foo") is not. (#1496, #1525)
* The Any trait type now supports a factory argument (with accompanying
args and kw arguments). This can be used to specify a per-instance
default, for example with Any(factory=dict). (#1557, #1558)
* When a method is decorated with an observe decorator, the method
signature is now checked, and a warning issued if it doesn't match the
expected signature. (#1529)
* The Date, Datetime and Time trait types have a new argument allow_none.
(#1432)
* The Date trait type has a new argument allow_datetime .(#1429)
* The ObserverGraph instances that result from compiling ObserverExpression
objects and observe mini-language strings are now cached.
* The equality definition on ObserverExpression has been simplified. (#1517)
* A failure to parse an observe mini-language string now raises ValueError
rather than LarkError. (#1507)
* Invalid assignments to PrefixList and PrefixMap traits produced an
unnecessarily nested exception. This has been fixed. (#1564)
* An observe-decorated listener method whose name has the special form
"_traitname_changed" will no longer be triggered both as as result of the
observe decorator and the special naming: it will only be triggered via
the observe decorator. (#1560)
* The delegate parameter was mistyped in the typing stubs for the Delegate
trait type. This has been fixed. (#1556)
* The Function and Method trait types will no longer fail when arguments are

Request History
Steve Kowalik's avatar

StevenK created request

- Update to 6.3.1:
* Make PrefixMap._map available again, for compatibility with Mayavi. (#1578)
* Support for Python 3.10 has been added.
* The observe mini-language now supports use of "*" for listening to all
traits on a HasTraits object. Currently this support is limited to
cases where the "*" appears in a terminal position. For example,
observe("foo:*") is supported, but observe("*:foo") is not. (#1496, #1525)
* The Any trait type now supports a factory argument (with accompanying
args and kw arguments). This can be used to specify a per-instance
default, for example with Any(factory=dict). (#1557, #1558)
* When a method is decorated with an observe decorator, the method
signature is now checked, and a warning issued if it doesn't match the
expected signature. (#1529)
* The Date, Datetime and Time trait types have a new argument allow_none.
(#1432)
* The Date trait type has a new argument allow_datetime .(#1429)
* The ObserverGraph instances that result from compiling ObserverExpression
objects and observe mini-language strings are now cached.
* The equality definition on ObserverExpression has been simplified. (#1517)
* A failure to parse an observe mini-language string now raises ValueError
rather than LarkError. (#1507)
* Invalid assignments to PrefixList and PrefixMap traits produced an
unnecessarily nested exception. This has been fixed. (#1564)
* An observe-decorated listener method whose name has the special form
"_traitname_changed" will no longer be triggered both as as result of the
observe decorator and the special naming: it will only be triggered via
the observe decorator. (#1560)
* The delegate parameter was mistyped in the typing stubs for the Delegate
trait type. This has been fixed. (#1556)
* The Function and Method trait types will no longer fail when arguments are


Dominique Leuenberger's avatar

dimstar_suse added openSUSE:Factory:Staging:adi:12 as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:12"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:adi:12"


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar accepted review


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:adi:12 got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:adi:12 got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:adi:12 got accepted.

openSUSE Build Service is sponsored by