Opened 12 years ago

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

Status badges


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

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

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

sage: w[24]


Attachments (1)

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

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by slabbe

comment:1 Changed 11 years ago by slabbe

  • Cc abmasse added
  • Status changed from new to needs_review

comment:2 Changed 11 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 11 years ago by jdemeyer

  • Milestone changed from sage-4.6.2 to sage-4.7

comment:4 Changed 11 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.