Sebastian Rittau
Sebastian Rittau
> I'm moving this back to Draft state, and removing the Typing Council decision label for now, since I think there are a couple issues to work out here before...
@StellaHuang95 This seems to work around the problem, indeed.
(#4164 is also relevant to this discussion.)
Having namespaces would solve this problem very neatly, of course. Does pypi already support uploading packages containing a dot?
I will look into the namespace thing, hopefully in the next few months as I consider this a showstopper for typeshed going forward. No promises. Is #2589 and/or distutils-sig the...
I think this ultimately boils down to the definition of `SupportsDunderLT` etc: https://github.com/python/typeshed/blob/86e74163b9f4ddf2b36e8cac05da11d063ea636b/stdlib/_typeshed/__init__.pyi#L87-L97 These expect the dunders to return a real `bool`. I'm not sure how `np.bool` is implemented, so...
I don't think we'll get a consensus here. Closing this in favor of the status quo.
Primer hits: * django-stubs (both hits): `name` field is annotated as `str | None`. I think having an explicit override here makes sense, as this is usually not an expected...
Sorry for the delay!
See #3613 for why this was added. `csv.Dialect` looks to be a weird hack at runtime, probably back from a time when C classes couldn't be sub-classed by Python code.