DEV Community

Discussion on: Writing descriptors in Python 3.6+

Collapse
sethmlarson profile image
Seth Michael Larson

Have you examined how well auto-complete and type-inference works when using descriptors for various IDEs? This is always the problem that I run into when working with new language features unfortunately.

Collapse
dawranliou profile image
Daw-Ran Liou Author

Hey Seth, no I haven't, although I feel most IDSs should have good support on descriptors since it's a well established feature from Python 2.2. The only new feature here is the __set_name__ protocol that's been added since Python 3.6.