Harald Schilly wrote:
> 
> 
> On Sep 4, 10:54 pm, Jason Grout <[EMAIL PROTECTED]> wrote:
>> Inhttp://trac.sagemath.org/sage_trac/ticket/3704, the diagonal matrix
>> constructor is modified (and simplified/enhanced) to let someone do:
>>
>> sage: diagonal_matrix(1,2,3)
> 
> hi, i didn't read the patch and don't want to comment much, but just
> want to point out that the (.,.,.) arguments in python are limited to
> 255 - at least i think so. this is a nice syntax, but problematic if
> you use *args. So, my personal bias would be to avoid this syntax, use
> lists, and rather introduce things like an upper and lower offset off
> the diagonal ... just my 2 cents ;)


Thanks, I didn't know that *args was limited to 255.

Jason


--~--~---------~--~----~------------~-------~--~----~
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-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to