-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 12.02.2010 13:56, schrieb Václav Šmilauer: > Hi, > > I am not sure whether this is intentional or it is a bug, but (at > least here, with current hg rev 1800); functions imported from > boost::python modules (and probably all c functions) don't get their > signatures via inspect, which generates warning: > > /home/vaclav/yade/ydoc/yade.wrapper.rst:80: (WARNING/2) error while > formatting signature for yade.wrapper.Material.newAssocState: arg is > not a Python function > > but doesn't emit autodoc-process-signature, so that the signature can > be build from the object's docstring (by parsing what boost::python > inserted at its beginning: > https://www.yade-dem.org/sphinx/yade.wrapper.html#yade.wrapper.Material.newAssocState > ) > > Can I ask for this to be changed? I should have no impact as signature > generation will be still failing for anyone who doesn't hook to > autodoc-process-signature.
Agreed. I've fixed this in changeset ee86e8563c6f -- please try it out. (This did not occur for ordinary C functions, which are already special-cased; boost probably has its own type of "builtin" function.) thanks, Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAkuBrXQACgkQN9GcIYhpnLASlwCbBhAseszgofl2rhKH7gUfM5fR 57AAn0aeytzQV5v6bEilWVVlmnpK7rxo =vtrA -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
