[Twisted-Python] Pydoc and Zope Interfaces
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi All,
Sorry if this is slightly off-topic but Zope doesn't use pydoc so its
not an issue for their users. Has anyone found an easy to apply patch
for pydoc that will list the documentation for classes that use
implements(). At the moment, it throws an AttributeError and reverts
to what looks like __repr__.
I found a patch here:
http://simpleparse.sourceforge.net/pydoc/pydoc2.py
Which purports to be able to cope with implements() in classes but
its beyond my simple python brain to implement right now.
Thanks,
Matt
m a t t h e w g l u b b
________________________________________________________________________
Z Group PLC
Tel: +44 (0) 8700 111 173
Fax: +44 (0) 8707 051 393
Txt: +44 (0) 7800 140 877
Web: http://www.zgroupplc.com/
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. The opinions expressed in this mail are those of the author
and do not necessarily represent the views of the company. If you have
received this email in error please notify
On 6/26/07, Matthew Glubb
Hi All,
Sorry if this is slightly off-topic but Zope doesn't use pydoc so its not an issue for their users. Has anyone found an easy to apply patch for pydoc that will list the documentation for classes that use implements(). At the moment, it throws an AttributeError and reverts to what looks like __repr__.
Twisted also doesn't use pydoc. We use pydoctor, which supports zope.interface pretty well. http://codespeak.net/~mwh/pydoctor/ -- Christopher Armstrong International Man of Twistery http://radix.twistedmatrix.com/ http://twistedmatrix.com/ http://canonical.com/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Aha! Thanks you very much Christopher :) On 26 Jun 2007, at 17:13, Christopher Armstrong wrote:
On 6/26/07, Matthew Glubb
wrote: Hi All,
Sorry if this is slightly off-topic but Zope doesn't use pydoc so its not an issue for their users. Has anyone found an easy to apply patch for pydoc that will list the documentation for classes that use implements(). At the moment, it throws an AttributeError and reverts to what looks like __repr__.
Twisted also doesn't use pydoc. We use pydoctor, which supports zope.interface pretty well.
http://codespeak.net/~mwh/pydoctor/
-- Christopher Armstrong International Man of Twistery http://radix.twistedmatrix.com/ http://twistedmatrix.com/ http://canonical.com/
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
m a t t h e w g l u b b
________________________________________________________________________
Z Group PLC
Tel: +44 (0) 8700 111 173
Fax: +44 (0) 8707 051 393
Txt: +44 (0) 7800 140 877
Web: http://www.zgroupplc.com/
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. The opinions expressed in this mail are those of the author
and do not necessarily represent the views of the company. If you have
received this email in error please notify
participants (2)
-
Christopher Armstrong
-
Matthew Glubb