On 8/10/07, Justin C. Walker <[EMAIL PROTECTED]> wrote: > Hi, all, > > I'm poking at a chunk of python code that includes expressions like > "8*[0]" ([0,,,]). SAGE barfs when it sees it. The error is > "TypeError": > unsupported operand parent(s) for '*': 'Integer Ring' and > '<type 'list'>' > > Is this a bug or feature?
It's a bug. I didn't realize Python allows that (I know about [0]*8 though). Report it on trac :-). [... ok ....] that was easy to fix. Apply attached patch or wait for sage-2.8. ... and I'm finally caught up with sage-* for a moment! william --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---
5633.patch
Description: Binary data
