You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
@properties are suddenly filed as std:doc instead of std:attribute #7060
Describe the bug
I can’t link to my properties as :attr:`thing` anymore.
Inspecting the objects.inv, they now falsely appear under std:doc (/edit: also as std:meth, which is the real problem)
To Reproduce
Create an autosummary for a property:
I could but why was it changed? Properties are a transparent way to attach behavior to getting/setting attributes, that their whole point.
If it would stay that way, everyone would change all references whenever someone decides to go from attribute to property, where previously this was a transparent change for code and docs.
/edit: now that I know it’s :meth:, I found #6785. This one can be closed as #6785’s duplicate, but I agree with @zzzeek: please make it possible to refer to properties using :attr: again.
Activity
tk0miya commentedon Jan 24, 2020
Now
:py:meth:is used to refer properties. Could you try it please?flying-sheep commentedon Jan 24, 2020
I could but why was it changed? Properties are a transparent way to attach behavior to getting/setting attributes, that their whole point.
If it would stay that way, everyone would change all references whenever someone decides to go from attribute to property, where previously this was a transparent change for code and docs.
/edit: now that I know it’s
:meth:, I found #6785. This one can be closed as #6785’s duplicate, but I agree with @zzzeek: please make it possible to refer to properties using:attr:again.