A5rocks

Results 393 comments of A5rocks

Since `trio.Event` is marked as a final class, mypy (at least) supports `--enable-error-code=truthy-bool` that will warn on `if event`. (actually I'm not even sure if that requires being marked as...

I think we should have a warning at first for deprecation reasons, but it should imitate the current behavior and return `True`. But I suspect that having a proper traceback...

I don't like this change (because I install the dependencies using `pip install -r test-requirements.txt`!), so I'm a -1 here. My opinion might shift if there's ever a standardized lockfile...

Potentially this is fixed by https://github.com/python/mypy/pull/19233?

Yeah we could have a list for typeshed and go with "if it's from a `.pyi` file then it's native" as a heuristic for everything else. I'm not sure it's...

I think that error is fine. It's not clear whether we should error or not, but e.g. I can imagine a world where the returned Enum has to match a...

I assume this no longer needs to be marked as a draft?

@grihabor and @Melebius your issues were fixed by https://github.com/python/mypy/pull/18433, though the initial example was not.

For the record GitHub Actions makes uploading an artifact from a specific folder quite simple. You don't even have to upload the whole folder! I think this kind of makes...

I was just thinking of, when a new nursery is made: - get call stack size (because the task is floating) - add the parent nursery's call stack size -...