Marc Mueller

Results 381 comments of Marc Mueller

Thanks @nitzmahone 👍🏻 I went ahead and opened #9454 to include the `sys.unraisablehook` overwrite in the pylint code base. It's scoped just for the affected Python versions.

`asyncio` is a somewhat strange module. As I understand it from the docs, it's designed to always be imported as ```py import asyncio ``` Thus, the correct usage in this...

/CC @Fatal1ty

Any updates @Fatal1ty?

> * In `setup.py` we have explicit `package_data` parameter with `py.typed` and `mixins/orjson.pyi`. The setuptools attempts to include them by default but it's an experimental feature and this behavior may...

> I thought about it before but is there a particular reason why `StateType` isn't including `date | datetime | Decimal` as well? Seems we now know the reason: It...

> We want to get rid of this one; not extend it. If the use of `StateType` should be discouraged, I'm closing this then.

I tried this flag for Home Assistant today. Unfortunately, mypy couldn't even do a full run and failed instantly. Haven't narrowed it down completely yet, just a first reproducer (tested...

> @cdce8p thanks for reporting, but that seems unrelated to this change. I just cloned the aprs-python repo and ran the latest mypy release (i.e. before I added this flag)...

> @cdce8p Are you interested in implementing this part of PEP 696 too -- allowing TypeVar to default to another TypeVar? I've already started working on it. See #16878. That...