This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients ronaldoussoren
Date 2013-03-15.12:59:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363352362.97.0.936529199717.issue17053@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch appears to work correctly and includes a test for pydoc (text output). There could be more testing (HTML output, annotations, positional-only arguments).

With this patch I can get usable documentation for Cocoa classes with a patched version of PyObjC that includes an __signature__ property on ObjC method objects.

As mentioned before I'm not sure about the 'render' method added to inspect.Signature and inspect.Parameter. These methods were needed to generate output that's compatible with the current pydoc output, in particular to emit better HTML output.
History
Date User Action Args
2013-03-15 12:59:23ronaldoussorensetrecipients: + ronaldoussoren
2013-03-15 12:59:22ronaldoussorensetmessageid: <1363352362.97.0.936529199717.issue17053@psf.upfronthosting.co.za>
2013-03-15 12:59:22ronaldoussorenlinkissue17053 messages
2013-03-15 12:59:22ronaldoussorencreate