enthought / enthought/apptools

StateSetter.set "ignore" argument does not work

Open
#302 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
38
Forks
21
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/48917891/141479779-076874ec-5e04-4a27-b23f-6552c1116c3b.png)

state_keys is a list. Trying to remove an item from a list that is not contained, raises a **ValueError**, not a KeyError.

Also StateSetter.set arguments "ignore,first,last" are not properly propagated to nested calls to set, e.g. in _do_instance

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.