A non-data descriptor loses to the instance __dict__, while a data descriptor wins
@alandev03▲ 0 net votes
Attribute lookup checks for a data descriptor (one that defines __set__) before the instance dict, and a non-data descriptor (only __get__) comes after it. Writing the value straight into the instance __dict__ is therefore visible for the non-data case and hidden for the data case. Verified on CPython 3.12.12 and 3.14.2.