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
:attr: links to intersphinx-reachable properties are still broken #7183
Describe the bug #7061 contained a workaround to unbreak the bug where :attr: wasn’t able to refer to properties.
unfortunately the workaround doesn’t address intersphinx links, as intersphinx relies on the missing-reference hook to resolve references. The resolve_xref function containing the workaround always returns None for intersphinx links, and intersphinx’ missing-reference hook doesn’t contain a workaround.
#7068 is the correct fix for this problem that makes further workarounds unnecessary.
I would prefer if we just merge #7068 and forget that the whole thing happened. It’s already confusing enough that #7061 was merged and people can refer to properties using :meth: now and it’ll look completely nonsensical:
iloc and loc aren’t callable, those parentheses should not be there.
I understand, I do however want to point out that e32a610 was a breaking change that went into 2.1.0. Merging #7068 (hopefully) won’t break anything, only deprecate things.
Activity
flying-sheep commentedon Feb 19, 2020
I would prefer if we just merge #7068 and forget that the whole thing happened. It’s already confusing enough that #7061 was merged and people can refer to properties using
:meth:now and it’ll look completely nonsensical:ilocandlocaren’t callable, those parentheses should not be there.Fix sphinx-doc#7183: intersphinx: ``:attr:`` reference to property is…
tk0miya commentedon Feb 20, 2020
I'd not like to merge big changes into 2.4.x release. So I just made a small fix to patch intersphinx for
:attr:role. I know this way is ugly, but...flying-sheep commentedon Feb 20, 2020
I understand, I do however want to point out that e32a610 was a breaking change that went into 2.1.0. Merging #7068 (hopefully) won’t break anything, only deprecate things.
Fix sphinx-doc#7183: intersphinx: ``:attr:`` reference to property is…
Fix sphinx-doc#7183: intersphinx: ``:attr:`` reference to property is…
Merge pull request #7187 from tk0miya/7183_attr_ref_over_intersphinx
tk0miya commentedon Feb 22, 2020
Fixed by #7187
Thank you for reporting.
I'll start to review and consider design of #7068 later.