use SYS_fileno
NOTES section
SYS__setattr/SYS__getattr prepration
SYS_fileno, SYS_setattr/SYS_getattr prepration