Opened 11 months ago

Last modified 11 months ago

#20833 new enhancement

Improve _sage_src_lines_()

Reported by: jdemeyer Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: documentation Keywords:
Cc: nthiery Merged in:
Authors: Jeroen Demeyer Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by jdemeyer)

Currently, _sage_src_lines_() is used both to get the source lines of a class (e.g. dynamic classes) and an instance (e.g. cached functions). We change this to always mean the source lines of an instance. This makes things clearer and removes a hack involving getattr_from_other_class() (see #20686).

Change History (3)

comment:1 Changed 11 months ago by jdemeyer

  • Description modified (diff)

comment:2 Changed 11 months ago by jdemeyer


comment:3 Changed 11 months ago by jdemeyer

  • Milestone changed from sage-7.3 to sage-duplicate/invalid/wontfix
Note: See TracTickets for help on using tickets.