id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
10470 Listing an infinite vector space just hangs rbeezer jason was "Asking for a list of elements in an infinite vector space does not raise an error, but requires a Ctrl-C to get back the command-line.
{{{
sage: V=QQ^2
sage: V
Vector space of dimension 2 over Rational Field
sage: V.list()
}}}
Of course, finite examples work properly:
{{{
sage: V=GF(3)^2
sage: V.list()
[(0, 0), (1, 0), (2, 0), (0, 1), (1, 1), (2, 1), (0, 2), (1, 2), (2, 2)]
}}}
Maybe this should be addressed in the module code, I have not looked into the cause much. Perhaps a fix could be as simple as having a non-zero dimension with an infinite base ring throwing an error?
-----
Apply both patches, [attachment:trac_10470-listing-infinite-sets.patch] and [attachment:trac_10470-referee-doc.patch]." defect closed minor sage-4.7 linear algebra fixed sage-4.7.alpha4 Rob Beezer John Palmieri N/A