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: |

### Description (last modified by )

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

Description: | modified (diff) |
---|

### comment:2 Changed 4 years ago by

Branch: | → u/jdemeyer/autodoc__use___qualname___on_python_3 |
---|

### comment:3 Changed 4 years ago by

Commit: | → b628d1ca4ad2874fae748457a5129012f21b6831 |
---|

### comment:4 Changed 4 years ago by

Report Upstream: | N/A → Fixed upstream, but not in a stable release. |
---|

### comment:5 Changed 4 years ago by

Reviewers: | → Jeroen Demeyer |
---|---|

Status: | new → needs_review |

### comment:6 Changed 4 years ago by

Status: | needs_review → positive_review |
---|

### comment:7 Changed 4 years ago by

Milestone: | sage-8.6 → 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 4 years ago by

Branch: | u/jdemeyer/autodoc__use___qualname___on_python_3 → b628d1ca4ad2874fae748457a5129012f21b6831 |
---|---|

Resolution: | → fixed |

Status: | positive_review → closed |

**Note:**See TracTickets for help on using tickets.

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

`Makes sage autodoc work for both py2 and py3`