Joshua Oreman

Results 120 comments of Joshua Oreman

Thanks, that's useful feedback and makes sense when put that way. I suspect similar magic can be performed from the decorator, since the decorator gets evaluated before the class definition,...

I brainstormed some more about where we could insert the magic to make this work. I think the most promising options involve taking advantage of the fact that if you...

Looks like `Attribute` is generic in the stubs but not in the runtime code. This isn't an issue that's unique to attrs, and there's an entry about it in the...

Trio developer here -- please feel free to file issues on our tracker when you run into something we're doing that's confusing, as I didn't learn about the Nuitka integration...

Sorry for the delay, thanks for the ping! (a-c) are correct. (d): We set the state in the root function of every new task. In general, user tasks are interruptible...

Any updates on this? I'm using sortedcontainers in a typed project and it would be great to have the type hints available.

From #37, moved here to consolidate: "Use trio's instrumentation to add some callbacks related to trio_asyncio. Specifically, queuing and executing asyncio handles should be more tractable." I think instead of...

@bluetech As the person who filed #244, I do see this PR as a fix for #244. :-) AFAICT, the reason why hooks use this _Result object, instead of following...

> However, are you aware of any plugins which try to change the exception raised, or even suppress it? I've written one -- it was for an internal project at...

> Frankly speaking, I completely missed that hook wrappers could be used for setup and tear down. In practice, I suspect most wrappers that want setup/teardown behavior just don't look...