how to get names of attributes

Mark Lawrence breamoreboy at yahoo.co.uk
Wed Dec 30 09:10:14 EST 2015


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

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list