Message360016
> Am I seriously suggesting this for Python? Sure. It's fun to advance the practical state of the art :-)
I think this API looks very interesting! I have some questions before start implementing it to play a bit with it:
- I am slightly confused about what .prepare() should do. Why is this step necessary?
- Why we need the .done() method here? Why not instead make get_ready() simply a generator so you can just write
for node in self.get_ready():
It seems that the .done() is very tight to use this API as a "task scheduler" but maybe I am doing something here in
my understanding of the API. |
|
Date |
User |
Action |
Args |
2020-01-15 01:24:20 | pablogsal | set | recipients:
+ pablogsal, tim.peters, rhettinger, terry.reedy, belopolsky, orsenthil, eric.smith, christian.heimes, lukasz.langa, tshepang, gdr@garethrees.org, martin.panter, remi.lapeyre |
2020-01-15 01:24:19 | pablogsal | set | messageid: <1579051459.94.0.350624914779.issue17005@roundup.psfhosted.org> |
2020-01-15 01:24:19 | pablogsal | link | issue17005 messages |
2020-01-15 01:24:19 | pablogsal | create | |
|