#27002 closed enhancement (fixed)

autodoc: use __qualname__ on Python 3

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

Description (last modified by jdemeyer)

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 12 months ago by jdemeyer

  • Description modified (diff)

comment:2 Changed 12 months ago by jdemeyer

  • Branch set to u/jdemeyer/autodoc__use___qualname___on_python_3

comment:3 Changed 12 months ago by git

  • Commit set to 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 12 months ago by jdemeyer

  • Report Upstream changed from N/A to Fixed upstream, but not in a stable release.

comment:5 Changed 12 months ago by jdemeyer

  • Reviewers set to Jeroen Demeyer
  • Status changed from new to needs_review

comment:6 Changed 12 months ago by jdemeyer

  • Status changed from needs_review to positive_review

comment:7 Changed 11 months ago by embray

  • Milestone changed from sage-8.6 to sage-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 11 months ago by vbraun

  • Branch changed from u/jdemeyer/autodoc__use___qualname___on_python_3 to b628d1ca4ad2874fae748457a5129012f21b6831
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.