[python-tulip] Tkinter + asyncio?

2015-05-08 Thread Skip Montanaro
Are there examples of using asyncio to linearize the logic of GUI applications? One problem with the event loop+callback structure of many/most/all GUI applications is that the actual business logic can get torn into pieces. One form submission callback seems to operate independently of all

Re: [python-tulip] Re: Question on orderly shutdown of running tasks

2015-06-11 Thread Skip Montanaro
I wonder if something akin to daemon threads would be appropriate here (daemon tasks?). When the last non-daemon task completes, the program can exit. Skip