Hi all, is it on purpose that the method LazyFamily does not check membership when calling __getitem__?
sage: a = Family( range(10), lambda i:i+2) sage: a[4] 6 sage: a[100] KeyError: 100 sage: b = Family( range(10), lambda i:i+2, lazy=True) sage: b[4] 6 sage: b[100] 102 Do you also think that the b[100] should return a KeyError as well? Or having an additional parameter check_key_membership=True as standard input for LazyFamily? If you agree I would open a ticket and fix that. Best, Christian -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org