TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #424 · 13 апр.

Стандартная библиотека asyncio это стандарт (начиная с Py3.4) для работы с асинхронным кодом. Но эта библиотека достаточно низкоуровневая, со своими проблемами, устаревшими подходами. Чтобы исправить это, были созданы разные обертки и альтернативы с реализацией популярных инструментов и паттернов асинхронного программирования. Это такие библиотеки как: - trio: улучшает корректность выполнения, не оставляя потерянных корутин при ошибках, то есть предлагает Structured Concurrency из коробки. - curio: упрощение синтаксиса и читаемости кода, больше похоже на работу с потоками. - anyio: универсальная обертка над asyncio или trio плюс множество вспомогательных инструментов. anyio используется в FastAPI как основная библиотека для работы с асинхронным кодом и вызовом синхронного кода из асинхронного. В общем, рекомендую почитать про возможности anyio, возможно вы более не будете использовать чистый asyncio в своих проектах) Это совсем не значит что дефолтный asyncio плох, он тоже даёт достаточный для работы функционал и продолжает развиваться. Например, в версии 3.11 появились TaskGroup, с похожим на trio функционалом. Так что он тоже актуален, просто придется больше написать кода самостоятельно. #libs#async

Hashtags

Резултати

Пронајдени 4 слични објави

Пребарај: #auri

当前筛选 #auri清除筛选
Pensive|

@PensivePost · Post #5763 · 25.05.2022 г., 16:55

Coming into my life Talking for long in midnights I kept my feelings hidden from you Waiting for the apparent time to propose you But you already had someone in your heart In your life, I wasn't going to play any part That fake friendship has reached its destination And your real face is out with real intentions Your intentions were clear and I misunderstood them I fall for you, don't know how and when? All those moments of teasing each other Showing solace and caring for each another I was clear with my thoughts about you And you showed colours which were true That forged friendship has reached its destination And your real face is out with real intentions No one can return those years spent for you No one can return the efforts I made for you My exhilaration to meet you reaching the clouds Even almighty was glad up in the clouds Every rain witness my thoughts about an amorous ride I took the long way to drop you and spent some more time But that friendship was fictitious and it's reached its destination And your real face is out with real intentions I wore your favourite colour just to impress you I followed the safe path to drop you just to protect you My eye lashes to witness the wish I yearn for The dark circles witness the sleepless nights I was awake for My sweat witnessed the time I ran after you My jean witness the first and last gift I got from you But that friendship was counterfeit and it's reached its destination And your real face is out with real intentions My eyes shed tears while remembering you I can't date anyone, cannot love someone more than you What person have I become? I regret the time which has come. That fake friendship has reached its destination And your real face is out with real intentions You have forgotten those days when I used to drop you at your place You have forgotten those days when I used to spend my pocket money on your birthdays In my every prayer, I asked for you Every beat of my heart beats for you But that all was bogus and has reached its destination And your real face is out with real intentions Today you are holding someone's hand and going to be his bride now I wish and pray you to keep that you sow He will also leave you as you left me long ago You may marry him, but won't be able to fulfill its woe Karma is a bitch you know that right? Now your time to take its ride Our friendship and my heart were broken that day When you posted your Instagram story and tagged him as your bae. Now my eyes are dry and there is no teary rain My heart is no more working and all the decisions, I am taking from my brain I will get someone better who can hold my hand Unlike you, who follow the brand I wish and pray from the depth of my heart You won't be happy I pray from my heart Your betrayal made me realize We weren't meant to be together, I don't want to meet you not even in paradise #review #poetry #auri

Pensive|

@PensivePost · Post #5762 · 25.05.2022 г., 16:43

"It's 10 PM,Do you want to walk me home?" He asked. "Are you afraid to walk alone?" She replied. "No one is alone after talking with a beautiful girl," He answered. "How come?" She questioned with known eagerness. "Thoughts occupy the fragrance of smile, nose smells beauty, eyes see wonders and tongue starts to speak never heard poetical lines" "Hey, stop flirting.I will walk with you," she said cutely. "We already reached the destination," He replied. "Now, do you want to walk me home?" Craziness came out of her words. "Of course!!! " He answered with a sense of bliss. Both smiled. The same thing continued for the next few hours. "It's a boon to love and to be in love" #review #story #auri

Pensive|

@PensivePost · Post #5783 · 30.05.2022 г., 01:06

My views about love is quite sorted out. No, I will never say "I love you" because I believe it's only the beginning.. When something starts it eventually ends and I don't want the story to end I just want a never ending story. "Sometimes I may hold your hand tight in the crowd, or I will wrap my arms around me pouring some self love Either I share my umbrella with you or we get drenched together Maybe I will fight for window seat with you or I will let you have it Okay I am this person who loves adding extra sugar to her tea but with you I can have no sugar tea. Just like the sugar free tea taste better with you similarly I am better version of me with you. I am me without you too but with you I am just the ~better~ best version." #review #auri #love

Pensive|

@PensivePost · Post #5785 · 30.05.2022 г., 07:59

She was totally surprised that I’d “let her go” after she admitted the cheating. She had expected a long intensive fight. But I did not want her back. In fact never, ever. She had turned into a liar — someone who had lied for months and months, each and every day. The irony is: the literal second before she told me the truth (which I had suspected for almost six months, but which she had virgorously denied), I would have done anything for her. I had fought for many months over a period which felt like one long nightmarish night with everything I got, but as soon as the truth — and nothing but the truth — was out, the fight was over. She was a liar. Had become one. Would always be one. So I did not fight anymore. That is to say: not for her. That had become a war I could not win anymore, and one she had already lost. So she was gone forever, and I realized I had to start all over again, trying to walk to new horizons and not knowing what to expect. After 10 fucking years. The nights became cold, and silent. And she smelled blood, smelled my weakness, so she went for the kill, for the money, for the house, thinking that now I was lying in my own pool of stinking tears, she might as well bash in my head and get it over with. She announced it to her friends, to her family. She would get the money. She would ruin me — she was a new person now, and would not care about her old life, ever again. (Her words.) And, dear friend, I will end my little sermon now with my own three beautiful words. She lost again. #review #breakup #auri