Opened 7 years ago

Closed 7 years ago

#16317 closed enhancement (fixed)

UniqueFactory for unhashable elements

Reported by: saraedum Owned by:
Priority: minor Milestone: sage-6.3
Component: misc Keywords:
Cc: Merged in:
Authors: Julian Rueth Reviewers: Peter Bruin
Report Upstream: N/A Work issues:
Branch: ba9befa (Commits, GitHub, GitLab) Commit: ba9befadb9ee1e26966c9eee9edbdfe86c85fd14
Dependencies: #16316 Stopgaps:

Status badges


Similar to #16316, caching does not work in factories if some of the parameters are not hashable. With this ticket, factories look at the _cache_key defined for cached functions/methods if a parameter is not hashable.

Change History (7)

comment:1 Changed 7 years ago by saraedum

  • Branch set to u/saraedum/ticket/16317
  • Created changed from 05/09/14 23:09:02 to 05/09/14 23:09:02
  • Modified changed from 05/09/14 23:09:02 to 05/09/14 23:09:02

comment:2 Changed 7 years ago by saraedum

  • Dependencies set to #16316

comment:3 Changed 7 years ago by saraedum

  • Modified changed from 05/09/14 23:16:48 to 05/09/14 23:16:48
  • Status changed from new to needs_review

comment:4 Changed 7 years ago by saraedum

  • Authors set to Julian Rueth
  • Commit set to ba9befadb9ee1e26966c9eee9edbdfe86c85fd14

New commits:

7a0f094Introduced _cache_key for sage objects
62c9681made polynomials with unhashable coefficients unhashable
fa16bc7Merge branch 'u/saraedum/ticket/16251' of git:// into ticket/16316
798aaf8Implemented _cache_key() for polynomials
877302eEnable caching for non-hashable objects
ba9befaEnabled caching for unhashable objects in factories

comment:5 Changed 7 years ago by leif

  • Milestone changed from sage-6.2 to sage-6.3

comment:6 Changed 7 years ago by pbruin

  • Reviewers set to Peter Bruin
  • Status changed from needs_review to positive_review

comment:7 Changed 7 years ago by vbraun

  • Branch changed from u/saraedum/ticket/16317 to ba9befadb9ee1e26966c9eee9edbdfe86c85fd14
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.