Sebastian Rittau

Results 518 comments of Sebastian Rittau

* [x] atheris doesn't compile (last release 2023-08) * [x] boto fails to import boto.vendored.six (last release 2018-07!) (#12848) * [x] openpyxl needs a stubtest allowlist update * [x] playsound...

I'm honestly stumped why gdb fails. Locally (also using Ubuntu 2024.04), this works.

We usually tend to add sometimes-defined attributes (with a comment) on the policy that false negatives are preferable to false positives. That said, maybe it's time to turn python/typing#601 into...

> The proposed change seems good, but maybe it's worth keeping the full run at a reduced frequency? Say every two weeks instead of daily? The problem with that is...

I'm not a fan of replacing protocols with ABCs, especially if they're as broad as `Mapping`. Can't we use broader protocols?

My main beef with `Mapping` (and `Sequence`) is that it's not a protocol. Maybe it would make sense to add a `MappingLike` protocol to `_typeshed` that includes commonly used methods...

As far as I can see, this class was only added in 3.14 "for real". So we need to distinguish between those cases.

I think it's best to have to complete separate `_CField` classes, one for 3.14+ and one for < 3.14. This way we can keep the `@type_check_only` decorator and it could...

Considering that it must be a `dict`, typing it as `dict[str, str]` sounds safer. In this case, there are no variance issues like we often have with dicts in argument...

The problem is that `Mailbox` is generic over the message type (`_MessageT`), which is invariant and defaults to `Message[str, str]`. Easy workaround is to use `mailbox.Mailbox[Any]`, although we should probably...