Joshua Oreman

Results 120 comments of Joshua Oreman

PyPy's inclusion of alpha support for 3.6 in their 7.0.0 release made me revisit this. I found a way to create native wrapped values with no memory hackery at all:...

> I can't think of any way that someone could do that without trying really hard, but it's definitely spiky. I guess I was being extremely unimaginative: if someone calls...

https://bitbucket.org/pypy/pypy/issues/2963/pypy36-asyncgenvaluewrapper-objects - we'll see what they say

I think cancelling `aclose` on any exception is a little aggressive, but I like your second proposal. I think it can be extended to support MultiErrors just fine -- if...

I recently added indev/outdev attributes using a different approach. Closing this since you didn't respond to my comments.

Unfortunately close() doesn't interrupt a read() on the same fd in another thread. I did some research and found https://github.com/python-trio/trio/issues/174#issuecomment-314939704 that describes a much more convoluted way to interrupt a...

Sorry for the long delay here. I had somehow gotten the message from the most recent comment here of "BDFL says we aren't going to do this", and got discouraged...

Well, asyncio guest mode turns out to be possible (https://github.com/oremanj/aioguest) so I guess it's a question of which approach is most palatable. `aioguest` has some fairly nasty monkeypatching, but I...

> I'd be happy to hear suggestions for applying the context in from_thread.run that could avoid two extra checkpoints! That's the only available way to change a task's context without...

> I think there may be another nondeterministic edge case: if the cancellation arrives while the task is busy in await message.run() AND that work happens to be shielded, AND...