Sxderp
Sxderp
It all depends on /what/ you're using it for I suppose. Might be a good idea to sample code and see how many instances use the default and how many...
I'd do it like this. The file is still opened / created synchronously but writes are done async. ```python import tempfile import trio async def temp_file(): my_file = tempfile.TemporaryFile() async...
I think by Nathaniel's comment the docs should be changed to represent that lack of an upper bound. I'm not really sure how the number of checkpoints really affects a...
From the docs on checkpoints. 1. s a point where Trio checks for cancellation. 2. It’s a point where the Trio scheduler checks its scheduling policy to see if it’s...
> Why would a task have to care about how many checkpoints it's hitting, so long as it's hitting at least one without consuming a lot of CPU time first?...
nit: I think that comma is unnecessary.
I don't like the idea of adding another argument to `.start_soon` (it annoys me that they already exist and that they're pretty much the reason keyword arguments can't / aren't...
> For instance what if you're wanting to store in a specific index, or into a dict? `asyncio.gather` doesn't really let you do this while the tasks are running either....
> One thing in particular I'm not a big fan of is that way everything is centered around the "current file position". This means every file object has some global...
We've run into this as well. There is some case in which the Pillar class is instantiated with a `None` for the `saltenv` and `pillarenv` arguments, however the values passed...