Opened 4 years ago

Closed 4 years ago

#27002 closed enhancement (fixed)

autodoc: use __qualname__ on Python 3

Reported by: Jeroen Demeyer Owned by:
Priority: major Milestone: sage-8.7
Component: documentation Keywords:
Cc: Kwankyu Lee Merged in:
Authors: Kwankyu Lee Reviewers: Jeroen Demeyer
Report Upstream: Fixed upstream, but not in a stable release. Work issues:
Branch: b628d1c (Commits, GitHub, GitLab) Commit: b628d1ca4ad2874fae748457a5129012f21b6831
Dependencies: Stopgaps:

Status badges

Description (last modified by Jeroen Demeyer)

This takes one change from upstream Sphinx autodoc: using __qualname__ to document aliases.

To work around https://github.com/cython/cython/pull/2773 we use this only on Python 3.

Change History (8)

comment:1 Changed 4 years ago by Jeroen Demeyer

Description: modified (diff)

comment:2 Changed 4 years ago by Jeroen Demeyer

Branch: u/jdemeyer/autodoc__use___qualname___on_python_3

comment:3 Changed 4 years ago by git

Commit: b628d1ca4ad2874fae748457a5129012f21b6831

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

b628d1cMakes sage autodoc work for both py2 and py3

comment:4 Changed 4 years ago by Jeroen Demeyer

Report Upstream: N/AFixed upstream, but not in a stable release.

comment:5 Changed 4 years ago by Jeroen Demeyer

Reviewers: Jeroen Demeyer
Status: newneeds_review

comment:6 Changed 4 years ago by Jeroen Demeyer

Status: needs_reviewpositive_review

comment:7 Changed 4 years ago by Erik Bray

Milestone: sage-8.6sage-8.7

Retarging tickets optimistically to the next milestone. If you are responsible for this ticket (either its reporter or owner) and don't believe you are likely to complete this ticket before the next release (8.7) please retarget this ticket's milestone to sage-pending or sage-wishlist.

comment:8 Changed 4 years ago by Volker Braun

Branch: u/jdemeyer/autodoc__use___qualname___on_python_3b628d1ca4ad2874fae748457a5129012f21b6831
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.