On Wed, 30 Dec 2015 14:10:14 +0000, Mark Lawrence wrote: > On 30/12/2015 11:51, Charles T. Smith wrote: >> Hi, >> >> Does anyone know *why* the __members__ method was deprecated, to be >> replaced by dir(), which doesn't tell the truth (if only it took an >> optional parameter to say: "be truthful") > > https://bugs.python.org/issue456420 > https://bugs.python.org/issue449989
Thank you, that was what I asked for, kinda. According to the experts, the reason that the __members__() method was deprecated is that it was an "ugly hack". *Why* it was an ugly hack wasn't made clear (to me), unfortunately. My other postings to this topic show, I think, why the ability to know what's available (in the way of attributes) is a good thing, as I try to figure out how to get at my attributes without triggering __getattr__(), which I'm implementing. -- https://mail.python.org/mailman/listinfo/python-list