[issue19239] add inspect functions to retrieve attributes from both old dir() and overridden dir()

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19239
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19239] add inspect functions to retrieve attributes from both old dir() and overridden dir()

2014-01-28 Thread Yury Selivanov

Changes by Yury Selivanov yselivanov...@gmail.com:


--
nosy: +yselivanov
versions: +Python 3.5 -Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19239
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19239] add inspect functions to retrieve attributes from both old dir() and overridden dir()

2013-10-13 Thread Nick Coghlan

Changes by Nick Coghlan ncogh...@gmail.com:


--
nosy: +ncoghlan

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19239
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19239] add inspect functions to retrieve attributes from both old dir() and overridden dir()

2013-10-13 Thread Nick Coghlan

Nick Coghlan added the comment:

Should we go further and also consider attributes provided through the 
metaclass?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19239
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19239] add inspect functions to retrieve attributes from both old dir() and overridden dir()

2013-10-13 Thread Ethan Furman

Ethan Furman added the comment:

It would certainly be nice.  We could do a dir() on the metaclass, discarding 
anything either not in dir(type) or not dundered, or both.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19239
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19239] add inspect functions to retrieve attributes from both old dir() and overridden dir()

2013-10-12 Thread Ethan Furman

New submission from Ethan Furman:

Currently we have

  - inspect.getmembers
  - inspect.classify_class_attrs

But they only return what dir() returns.

It is proposed that we add

  - inspect.get_all_members
  - inspect.classify_all_class_attrs

which will look at all the attributes returned by both the original dir() and 
the overridden dir().

--
title: add inspect functions to - add inspect functions to retrieve attributes 
from both old dir() and overridden dir()
type:  - enhancement
versions: +Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19239
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com