[Python-Dev] Support for PyGetSetDefs in pydoc
barry at python.org
Tue Jul 11 03:52:34 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Patch #1520294 adds support for attributes defined with PyGetSetDef
in extension modules to pydoc, specifically so things like help
(array.array.typecode) gives something useful, like the attribute's
docstring for instance.
Along the way, I added types.GetSetterType and inspect.isgetsetter(),
along with tests and docs. Now I definitely think that the pydoc
change should go into Python 2.5 and be backported to Python 2.4, but
it's a bit of a question whether the types.py and inspect.py changes
should go into Python 2.5 now that we're in beta.
I personal think they're worthwhile changes to go it, but I won't
argue too hard for them since the pydoc fixes can be implemented with
local changes to pydoc.py alone.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
-----END PGP SIGNATURE-----
More information about the Python-Dev