Opened 5 years ago

Closed 5 years ago

#19596 closed defect (fixed)

Missing functions in the rest index of function

Reported by: ncohen Owned by:
Priority: major Milestone: sage-6.10
Component: documentation Keywords:
Cc: chapoton, nvcleemp Merged in:
Authors: Nathann Cohen Reviewers: Nico Van Cleemput
Report Upstream: N/A Work issues:
Branch: 4f8a1d1 (Commits, GitHub, GitLab) Commit: 4f8a1d1031981d2913af8c8f133c7c12be240397
Dependencies: Stopgaps:

Status badges


This happened for 'staticmethod' imported from another module. Before

sage: from sage.misc.rest_index_of_methods import list_of_subfunctions
sage: class A:
....:     x = staticmethod(Graph.order)
sage: list_of_subfunctions(A)
([], {})


sage: list_of_subfunctions(A)
([<unbound method Graph.order>], {<unbound method Graph.order>: 'x'})

Change History (4)

comment:1 Changed 5 years ago by ncohen

  • Branch set to public/19596
  • Commit set to 4f8a1d1031981d2913af8c8f133c7c12be240397
  • Status changed from new to needs_review

New commits:

4f8a1d1trac #19596: Missing functions in the rest index of functions

comment:2 Changed 5 years ago by nvcleemp

  • Reviewers set to Nico Van Cleemput
  • Status changed from needs_review to positive_review

Sorry for the delay, but finally got round to checking out this ticket. Everything appears to work, and the code looks very clean. Thanks.

comment:3 Changed 5 years ago by ncohen

Thank you ! :-)


comment:4 Changed 5 years ago by vbraun

  • Branch changed from public/19596 to 4f8a1d1031981d2913af8c8f133c7c12be240397
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.