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 eric.araujo
Recipients docs@python, eric.araujo
Date 2010-06-14.15:09:08
SpamBayes Score 0.04735141
Marked as misclassified No
Message-id <1276528152.92.0.60611534239.issue8996@psf.upfronthosting.co.za>
In-reply-to
Content
Following a discussion on IRC:

<birkenfeld> I would even prefer having more of just `object` instead of :func:`object` or :class:`object`

I think it would be feasible to write a reST role that would use inspect or pydoc to find the type. It would not violate “In the face of ambiguity, refuse the temptation to guess” if it only resolves `somebuiltin` and `some.fully.qualified.name`.

Cons: People unfamiliar with reST might confuse ``code`` with `name`; interpreting the role may prove non-trivial (either requiring importing Python module to introspect them, or keeping a mapping of names→types in some file).

Thoughts?
History
Date User Action Args
2010-06-14 15:09:13eric.araujosetrecipients: + eric.araujo, docs@python
2010-06-14 15:09:12eric.araujosetmessageid: <1276528152.92.0.60611534239.issue8996@psf.upfronthosting.co.za>
2010-06-14 15:09:10eric.araujolinkissue8996 messages
2010-06-14 15:09:08eric.araujocreate