home.social

#anyio — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #anyio, aggregated by home.social.

  1. today in Python:

    Trying to implement parallel file write in #AnyIO

    Anyone have a pattern for this?

    #Python #asyncio #trio

  2. @itamarst Thank you! 😄 Right now I'm experimenting with it for some nanoservice I been setting up.

    I do have one question. is what I use for concurrency. I haven't yet tested if works with it, but maybe? It is asyncio compatible. So my question is, how does Eliot treat async calls? Or am I thinking this wrong I should only log sync to play safe?

  3. #AnyIO może wydawać się dobrym rozwiązaniem -- obsługa wielu wariantów asyncio za jedną biblioteką. Niestety, z perspektywy dystrybucji Linuksa sprowadza się to do "ta paczka jest (pośrednio) zależna od #trio", a trio nie jest rozwijane szczególnie aktywnie, nie nadąża za nowymi wersjami #Python, a do tego czasem zmienia API i paczki oczekują starych wersji.

    To jak promocja "dwa w cenie jednego", kiedy potrzebujesz tylko jednej sztuki, a okres przydatności do spożycia jest krótki.

    #Gentoo

  4. may sound like a good idea at first -- supporting multiple backends with no extra effort. However, from Linux distribution perspective it means "this package is now blocked on ", and well, trio's not very actively developed, it's not handling new versions well, and it tends to get pinned to old releases, on top of everything.

    it's like that "two at the price of one" sale when you need only one and the expiration date is short.