You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PySequence_In is part of the limited C-API, and has no document. PEP 3100 ( https://peps.python.org/pep-3100/ ) says this function is "To be removed," but it has not been removed in the latest version, so documentation seems to be needed.
Activity
ZeroIntensity commentedon Dec 13, 2024
New applications shouldn't use it, we just keep it for the limited API. I'm not sure we need to encourage more usage by documenting it.
encukou commentedon Dec 13, 2024
It's exactly equivalent to
PySequence_Contains.The docs should mention that it's deprecated, and show the preferred spelling.
ZeroIntensity commentedon Dec 15, 2024
No idea what the precedent is here, but I suspect that it should be soft deprecated for compatibility reasons.
skirpichev commentedon Dec 16, 2024
Formally, it's not deprecated yet;)
Maybe not. Search on the Github shows only few projects, which use this. On another hand, support this has 0 maintenance burden.
gh-127896: Add missing documentation of `PySequence_In` (GH-127979)
pythongh-127896: Add missing documentation of `PySequence_In` (python…