Opened 8 years ago

Closed 7 years ago

#8673 closed defect (fixed)

No KeyErrror raised when it should for FiniteWord_callable

Reported by: slabbe Owned by: slabbe
Priority: major Milestone: sage-4.7
Component: combinatorics Keywords:
Cc: abmasse Merged in: sage-4.7.alpha3
Authors: Sébastien Labbé Reviewers: Alexandre Blondin Massé
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

Le 10-02-23, Paul Zimmermann a écrit :

sage: def f(n):
   return n^2

sage: w = Word(f,length=23)

sage: w[24]
576

Paul

Attachments (1)

trac_8673_out_of_range_index-sl.patch (1.3 KB) - added by slabbe 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by slabbe

comment:1 Changed 7 years ago by slabbe

  • Cc abmasse added
  • Status changed from new to needs_review

comment:2 Changed 7 years ago by abmasse

  • Authors set to Sébastien Labbé
  • Reviewers set to Alexandre Blondin Massé
  • Status changed from needs_review to positive_review

Pretty straight-forward. All tests pass! Positive review.

comment:3 Changed 7 years ago by jdemeyer

  • Milestone changed from sage-4.6.2 to sage-4.7

comment:4 Changed 7 years ago by jdemeyer

  • Merged in set to sage-4.7.alpha3
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.