A5rocks

Results 393 comments of A5rocks

Don't forget intersections with `Self`: ```py from typing import Self class H: def __init__(self: Self): return reveal_type(H()) ``` and old-`Self`: ```py from typing import TypeVar Self = TypeVar("Self") class H:...

I was the one who made the mypy issue that led to this; our motivation is proper typing for an exception group-friendly pytest.raises API. See https://github.com/python/mypy/issues/16752 which has a code...

I don't think the markers are propagated either, though I haven't checked against pip-compile. We use `pip install -r ` so missing dependencies are fine (we don't have hashes because...

There's some concerning logs: https://github.com/python-trio/trustme/actions/runs/8009092102/job/21877002961?pr=638#step:4:356 But at least it passes CI now

I mean `CertificateBuilder` doesn't have new methods that require timezone aware datetimes. However, I think it would be a good idea to add a deprecation warning if `not_after` or `not_before`...

> However, I think it would be a good idea to add a deprecation warning if `not_after` or `not_before` are naive in `_cert_builder_common`. To clarify, this should probably be another...

Given `mypy_primer` now is used as a pyright primer (ish) too, I suspect this issue could probably be closed? Or maybe pushed off to, like, pyright's maintainer at least! They...

Yeah I was originally thinking "this should be a script" but realized it would be probably be more useful in mypy-primer (no need to tell false-positive vs false-negative for an...

I've done this (through a local) program with https://github.com/A5rocks/mypy-issues This doesn't belong in `mypy_primer` because it takes quite a while even when running on 16 cores. This isn't due to...

I would love a readme section about conventions, please! I would very much appreciate being more precise. For instance (I'm going to raise a seperate issue about this), `/users/@me/guilds`'s `before`...