-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
Description
During the first experiments, I identified the following necessary work steps:
- Import e.g.
Hashablefromabc.collectionsinstead oftyping, especially those mentioned in the deprecation timeline of major features. - Stop Python from appending hints to "attribute not ready" errors as in
AttributeError: The actual HydPy instance does not handle any elements at the moment.. Did you mean: '_elements'?. The solution is to always raiseAttributeNotReady(which is a subtype ofRuntimeError, not ofAttributeError) when an existing property is currently not accessible. - Fix (the doctest of)
make_abc_testable.
Not strictly necessary, but nice to have when dropping Python 3.8:
- Switch to all "generic types" introduced by PEP 585.