[Patches] [ python-Patches-1520294 ] Support for PyGetSetDefs in pydoc, inspect, and types
SourceForge.net
noreply at sourceforge.net
Tue Jul 11 03:45:07 CEST 2006
Patches item #1520294, was opened at 2006-07-10 21:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1520294&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Barry A. Warsaw (bwarsaw)
Assigned to: Georg Brandl (gbrandl)
Summary: Support for PyGetSetDefs in pydoc, inspect, and types
Initial Comment:
Attributes defined in extension modules via PyGetSetDef
aren't instances of property and aren't really handled
correctly in the above three modules.
This patch adds a types.GetSetterType an
inspect.isgetsetter() function, and support for
getsetters in pydoc, along with test cases and doc changes.
This patch should go into Python 2.5 and part of it
should get backported to Python 2.4. Specifically the
support for PyGetSetDef in pydoc should be backported,
but it should be done in such a way as to not add
isgetsetter() or GetSetterType (fairly easy to do as
module globals in pydoc.py).
Mostly I'm looking for another set of eyes to proof my
changes.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1520294&group_id=5470
More information about the Patches
mailing list