Skip to content

Conversation

@mickp
Copy link
Collaborator

@mickp mickp commented Jan 13, 2020

Some fixes from #124 (which will be closed in favour of a different implementation) that are not specific to that feature.

mickp added 9 commits January 13, 2020 11:12
Leaving this unhandled could prevent other devices in the same process (e.g. on a controller) being shut down.
get_all_settings reports the values of problem settings as None.
Previously, we considered adding a new entry, __errors__, to the returned dict, but this is adding an item that is not a setting to a dict where everything else is a setting, and would require clients to handle this key as a special case.
Dict evaulation is not lazy: previously, this code evaluated all allowable transforms before picking the appropriate one. This is now fixed by breaking it down into the rotation transfrom, then passing the result to one function from a dict of flip transform functions.
@mickp mickp force-pushed the 2020-01-someFixes branch from 62d7655 to c2fc012 Compare January 13, 2020 11:39
@carandraug
Copy link
Collaborator

This is now merged after some history editing:

  1. the commit that changed style for pyling also renamed the _call_if_callable function to call_if_callable but didn't change it on the places where the function was being called. I kept the style changes but reverted the name change (which I think was the accidental part).

  2. I squashed the three commits about handling exceptions during shutdown (the last two were fixups anyway)

  3. changed commit message to include on first line the method or class being affected.

@carandraug carandraug closed this Jan 13, 2020
@mickp
Copy link
Collaborator Author

mickp commented Jan 13, 2020

Yep - that name change was an accident. Thanks for catching it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants