A5rocks

Results 393 comments of A5rocks

Yeah I was thinking to just iterate the call stack -- we already do that for KI protection. (Does that include frames for context managers and is therefore not accurate?...

The only bad change in mypy primer is: ``` + homeassistant/components/homekit/accessories.py:656: error: Argument 2 to "async_dispatcher_send" has incompatible type "SignalType[tuple[str, ...]]"; expected "SignalType[tuple[str]]" [arg-type] ``` ... and I'm not quite...

@ilevkivskyi this is my best guess at a mechanism that would handle `TypeVarTuple` inference when there's also kwargs that need to be discarded. Does it seem reasonable?

I'm not so sure being introspectable is that important for figuring out why something was cancelled. Probably being more varied in what information we show (setting `__context__` for case 2?...

Alright, that makes sense as to why not to add more context for case 2, probably case 3 too. Too bad since a stack trace of the task that called...

On Gitter @oremanj and @arthur-tacca mentioned that they think cancellation reasons are incorrectly implemented here. Specifically what I get is that cancellation should print the innermost (? i.e. the first...

You can use `pstree` to debug what is a parent to what! Would it have been valuable to you to have any of the following?: - default to `process_group=0` for...

OK, so I actually ran into https://github.com/oconnor663/duct.py/blob/master/gotchas.md and it suggests that cgroups (shock! horror!) are a good default. Ie just make a cgroup for every spawned subprocess and then you...

This is actually a bit strange because I remember hitting this in 3.12: https://github.com/python-trio/trio/issues/2764#issuecomment-2635785862 How'd I manage to make this test work on 3.12 but not 3.15 if both have...

Looking at the docs, it sounds like we would want to use `clone(2)` to get a thread for sync stuff? > Not all of the attributes that can be shared...