-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace dynamic use of "on_trait_change" handlers with "observe" (#373)
* DEV : Replace dynamic on_trait_change handlers with observe This commit replaces the use of dynamic on_trait_change handlers e.g. (object.on_trait_change(...)) with the use of observe (object.observe(...)). With these changes, the transition of traits-futures from on_trait_change to observe is complete. fixes #356 modified: traits_futures/asyncio/event_loop_helper.py modified: traits_futures/qt/event_loop_helper.py modified: traits_futures/tests/common_future_tests.py modified: traits_futures/tests/traits_executor_tests.py modified: traits_futures/wx/event_loop_helper.py * DOC : Document the dependence on traits>= 6.2.0 modified: docs/source/changes.rst modified: setup.py
- Loading branch information
Poruri Sai Rahul
committed
Jul 6, 2021
1 parent
d7b2e4d
commit 1bde590
Showing
7 changed files
with
21 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ def get_long_description(): | |
|
||
install_requires = [ | ||
"pyface", | ||
"traits", | ||
"traits>=6.2.0", | ||
] | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters