Tyler Jarvis, a faculty member at BYU who is using Sage in doing
research with students [1], sent me some emails asking about a function
that disappeared in Sage 4.6.2, which apparently caused some problems
with his code. Here are his examples:
In sage 4.6.1
sage: U = span([[1/2,1/3],[1/5,0]],ZZ)
sage: V = U.span([[1,0],[0,2]])
sage: M=U/V
sage: M.list()
[(0), (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12),
(13), (14), (15), (16), (17), (18), (19), (20), (21), (22), (23),
(24), (25), (26), (27), (28), (29)]
But, in sage 4.6.2
sage: U = span([[1/2,1/3],[1/5,0]],ZZ)
sage: V = U.span([[1,0],[0,2]])
sage: M=U/V
sage: M.list()
...
AttributeError: 'FGP_Module_class_with_category' object has no attribute
'list'
In this case, Tyler indicated that list(M) seemed to work. However,
isn't there supposed to be a deprecation warning for functions that
disappear, before they're actually gone? It seems like he should have
seen a deprecation message suggesting how he should change his code.
Thanks,
Jason
[1] http://cohomology.byu.edu/
--
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