Skip to content

Bug in Family constructor #8822

@jbandlow

Description

@jbandlow
sage: f = Family(Zmod(3), lambda i: 2*i, lazy=False)
sage: f
Lazy family (<lambda>(i))_{i in Ring of integers modulo 3}

Should we really just silently ignore the intent here, or should

Family(S, f, lazy=False) always return Family([i for i in S], f)

(I guess the default for lazy should then be made 'None' so that 'True',
'False' and 'None' could all have different behaviors.)

CC: @sagetrac-sage-combinat

Component: combinatorics

Keywords: combinat, family

Issue created by migration from https://trac.sagemath.org/ticket/8822

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions