Ethan Furman <et...@stoneleaf.us> added the comment:
Ram asked: --------- > Also, aren't you excluding a lot of important magic methods from that `dir`? Ethan replied: ------------- > We decided the dunder methods were not interesting, so declined to include > them in the listing. And no, we are not changing our minds on that. ;) ------------------------------------------------------------------------------ UPDATE: We have changed our minds, but only for enums that have a data type, such as `int` or `str`, mixed in. This behavior should be in 3.11. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue22506> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com