s in the `types` namespace generally have the `Type` suffix, so
> the lack thereof stands out a bit here.
>
I see it as more akin to the classes in collections.abc, which don't have a
Type suffix. I don't feel strongly about this though; I may change it if
more people bring up this fee
I just posted https://peps.python.org/pep-0688/, which proposes adding a
types.Buffer type that will make it possible to check in Python code
whether a type implements the buffer protocol.
I'm reaching out to the numpy community because numpy was an important
driver for creating the buffer protoco
2017-11-26 6:00 GMT-05:00 Kirill Balunov :
> Hi!
>
> 2017-11-26 4:31 GMT+03:00 Juan Nunez-Iglesias :
>
>>
>> On 26 Nov 2017, 12:27 PM +1100, Nathaniel Smith , wrote:
>>
>> It turns out that the PEP 484 type system is *mostly* not useful for
>> this. They're really designed for checking consistency