Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Marcelo Trylesinski

@marcelotryle@fosstodon.org
mastodon 4.7.3
  • Open on fosstodon.org

Software Engineer 🧑🏻‍💻🇧🇷🇺🇾🇮🇹🇺🇦
Uvicorn & Starlette maintainer 🦄🌟
FastAPI Expert ⚡

230 Followers
58 Following
13 Posts
Joined November 16, 2022
GitHub:
http://github.com/Kludex
Open post
Marcelo Trylesinski @marcelotryle@fosstodon.org
· 45mo ago

Tomorrow is my birthday. 😁

5
6
0
0
Open post
Marcelo Trylesinski @marcelotryle@fosstodon.org
· 45mo ago
Replying to
@yakky@mastodon.social Grazie!
1
0
0
0
Open post
Marcelo Trylesinski @marcelotryle@fosstodon.org
· 45mo ago
Replying to
@carlton@fosstodon.org gracias 😁🙏
1
0
0
0
Open post
Marcelo Trylesinski @marcelotryle@fosstodon.org
· 45mo ago
Replying to
@tintvrtkovic@mastodon.social Ah, got it 👍
0
0
0
0
Open post
Marcelo Trylesinski @marcelotryle@fosstodon.org
· 45mo ago

How would you build a package to detect blocking IO running on coroutines?

I need ideas.

0
15
0
0
Open post
Marcelo Trylesinski @marcelotryle@fosstodon.org
· 45mo ago
Replying to
@MeAndMyKeyboard@fosstodon.org Thanks!
0
0
0
0
Open post
Marcelo Trylesinski @marcelotryle@fosstodon.org
· 45mo ago
Replying to

@carlton@fosstodon.org

import asyncio

async def fun():
    with open("main.py", "r") as f:
        print(f.read())

asyncio.run(fun(), debug=True)

I want with open to raise a warning to the user. Either being a linter or at runtime.

0
12
0
0
Open post
Marcelo Trylesinski @marcelotryle@fosstodon.org
· 45mo ago
Replying to
@carlton@fosstodon.org I'm not following how that is suppose to help me. 🤔 I want a big warning: "On line x, you are running blocking IO, please use the loop.run_in_executor".
0
1
0
0
Open post
Marcelo Trylesinski @marcelotryle@fosstodon.org
· 45mo ago
Replying to
@carlton@fosstodon.org but that log entry just says that you run the fun coroutine in x seconds, it doesn't tell me that I open a file, does it? 🧐
0
4
0
0
Open post
Marcelo Trylesinski @marcelotryle@fosstodon.org
· 45mo ago
Replying to
@carlton@fosstodon.org it tells that the coroutine fun is blocking yeah, but it doesn't tell that opening a file shouldn't be done there (you should have used loop.run_in_executor).
0
2
0
0
Open post
Marcelo Trylesinski @marcelotryle@fosstodon.org
· 45mo ago
Replying to
@carlton@fosstodon.org I don't think it's in the scope, because it's not even an error yet (nor I think it will ever be, because it's just a callable). But well, if this can be logged on debug mode, it would be amazing 👀
0
0
0
0
Open post
Marcelo Trylesinski @marcelotryle@fosstodon.org
· 45mo ago
Replying to
@tintvrtkovic@mastodon.social How exactly can I blow it up?
0
2
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 04:54:38 UTC