[Python-Dev] Support for PyGetSetDefs in pydoc
Barry Warsaw
barry at python.org
Tue Jul 11 03:52:34 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
Thoughts?
- -Barry
https://sourceforge.net/tracker/?
func=detail&atid=305470&aid=1520294&group_id=5470
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iQCVAwUBRLMEYnEjvBPtnXfVAQKB8gQAmkk0V0B0xdRD/Xgko4vD0JmvFiXZL3EO
bEzE9Wtn8u54JB/EXLdocjeFLjlOzlSzalLKGvxgQHyKGP0F8CSBN6mIreTsztct
wl58FyPro3mkwsamUrkPzf/xSZk/4tO81oXPkuzqANbv+0WEnD5MmdSpVqz7jQIo
qqbAqah2ha4=
=kxSp
-----END PGP SIGNATURE-----
More information about the Python-Dev
mailing list