Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
luoyusang2007
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
luoyusang2007
7y ago
Actually we failed to do that. the "with" statement relies on "__exit__" method. It is useful but too "Python" to emulate "defer" for us. Thanks for your opinion!
2.
▲
by
luoyusang2007
7y ago
Your opinion is great. Actually we want to combine "threading", "gevent" and "multiprocessing" together in this package. We can offer a unified API to handle different types of concurrency in your application i
3.
▲
by
luoyusang2007
7y ago
That is true, and you are right.
4.
▲
by
luoyusang2007
7y ago
Thanks for your opinion. This project is so tiny, and it is based on package `threading`. We used the 'wild ways' as you mentioned before, but we just don't want to copy the same code into every project or to pass the origina