◐ Shell
clean mode source ↗

`sys.getsizeof` and `sys.set_asyncgen_hooks` are not converted to AC

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