On Mon, May 25, 2020 at 11:11:14AM -0000, redrad...@gmail.com wrote:

> We just need to provide two APIs:
> 1) Synchronized: `run`, `run_string`, that will wait until thread 
> notify with setting `atomic variable` in true that it finished
> 2) Asynchronized (based on async): `run_async`, `run_string_async`, 
> event_loop will wait on `atomic variable` reading it periodically 

Whenever somebody says "we just need", the word "just" can hide a huge 
amount of work.

In this case, it's not enough to provide two APIs. We need to provide 
the infrastructure and implementation to make the APIs actually 
possible. If it was as easy as just stating the interface, it would have 
been done years ago. But the implementation needs to exist as well.

If you still think that this is a small job that justifies the word 
"just", why don't you implement it and show us how simple it is? An hour 
or two, and it's done... *wink*



-- 
Steven
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/HJ7XN3KJOHI3GQYZ2CQOWZZBH42D2DZW/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to