I found this while working on python/typeshed#9987 I've noticed that most of the functions inside sys do have __text_signature__. While sys.getsizeof doesn't.
>>> import sys
>>> sys.addaudithook.__text_signature__
'($module, /, hook)'
>>> sys.getsizeof.__text_signature__
I think this is not a planned feature. This is the artifact of times when NULL was not supported as a default value by AC. See original review comment #11328 (comment)
I think that this should be fixed. I will send a PR with this function converted, it take a very minimal diff to do that.
Linked PRs
I found this while working on python/typeshed#9987 I've noticed that most of the functions inside
sysdo have__text_signature__. Whilesys.getsizeofdoesn't.I think this is not a planned feature. This is the artifact of times when
NULLwas not supported as a default value by AC. See original review comment #11328 (comment)I think that this should be fixed. I will send a PR with this function converted, it take a very minimal diff to do that.
Linked PRs
sys.set_asyncgen_hooksto AC #103132