On Wed, Dec 30, 2015 at 10:51 PM, Charles T. Smith
<cts.private.ya...@gmail.com> wrote:
> 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")

Does vars() help here? It works on old-style and new-style classes,
and it's doing broadly the same sort of thing as you're talking about.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to