Results 984 comments of Nathaniel J. Smith

Oh cool! > I'm still polishing it, but I'm wondering if this is something that Trio might be interested in having in the core, or whether I should target an...

The `add_async_cleanup` thing is interesting. Does it run in all cases, or just if the operation is cancelled? I was looking at [this article](https://medium.com/@asolove/synchronizable-abstractions-for-understandable-concurrency-64ae57cd61d1) again, and its running example for...

@oremanj > One wrinkle is: how do you turn `partial(send_channel.send, value)` into an operation? If you expect to get something useful from calling it, it's tricky to also maintain the...

This article seems relevant here: https://medium.com/@elizarov/deadlocks-in-non-hierarchical-csp-e5910d137cc

Symlinks are tricky because they make it impossible to know whether you can safely remove an entry from the cache. Of course AFAIK pip doesn't actually have any policy for...

If I'm understanding correctly, this is solving a problem that Trio never has in the first place, because we don't have a concept of "awaitable objects". We do struggle with...

I don't *think* it does, but I could be wrong -- here's a concrete example to make sure we're on the same page :-) ```python async def parent1(): await parent2()...

I am summoned! Uh. What am I looking at, and why? On May 15, 2015 11:19 AM, "Stefan van der Walt" [email protected] wrote: > /cc @njsmith https://github.com/njsmith > > —...

This looks really weird to me. Aside from the part where you're writing a .pxi instead of a .pxd... you can't `free` the nditer object, it's a regular refcounted Python...

If you just remove the free() then you'll have a memory leak. You need to either call Py_D ECREF or (better) use the syntax that tells cython that these objects...