Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#8367 closed defect (duplicate)

element_class of Subsets is broken

Reported by: giraudo Owned by: giraudo
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: combinatorics Keywords: Subsets element_class
Cc: Merged in:
Authors: Samuele Giraudo Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

element_class of Subsets is broken

sage: s = Subsets(Set([1]))
sage: e = s.first()
sage: isinstance(e, s.element_class)
False

Note: this should be caught by setting good categories

sage: s.category()
Category of objects

Attachments (1)

trac_8367_subsets_element_class_fix-sg.patch (1.8 KB) - added by giraudo 11 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 follow-up: Changed 11 years ago by giraudo

  • Authors set to Samuele Giraudo
  • Status changed from new to needs_review

comment:2 in reply to: ↑ 1 Changed 11 years ago by hivert

  • Resolution set to duplicate
  • Status changed from needs_review to closed

Replying to giraudo:

Hi Samuele,

I think you made a mistake in opening new ticket #8396 for this problem. This ticket should be closed as duplicate.

comment:3 Changed 11 years ago by mvngu

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