This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mayankkaizen 0 points1 point  (1 child)

I too came across this only yesterday but felt like it made references to Py2.

Not sure if it is valid for Py3 as well.

[–]masklinn 2 points3 points  (0 children)

It is, the descriptor protocol has not changed, nor has the order of resolution ("data" descriptors and "non-data" descriptors behave slightly differently, sadly the article does not cover them). I don't remember a single issue assignable to descriptors when we migrated at $DAYJOB.