osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] PEP 575 (Unifying function/method classes) update


On 2018-05-14 22:38, Petr Viktorin wrote:
> Why are these flags added?
> They aren't free ? the space of available flags is not infinite. If
> something (Cython?) needs eight of them, it would be nice to mention the
> use case, at least as an example.
>
> What should Python do with a m_methods entry that has METH_CUSTOM set?
> Again it would be nice to have an example or use case.

They have no specific use case. I just added this because it made sense 
abstractly. I can remove this from my PEP to simplify it.