Could you explain in the commit message what exactly this no longer allows?
Aaron Meurer On Apr 26, 2010, at 6:49 AM, Vinzent Steinberg wrote: > Signed-off-by: Vinzent Steinberg <vinzent.steinb...@gmail.com> > --- > sympy/matrices/matrices.py | 15 +-------------- > 1 files changed, 1 insertions(+), 14 deletions(-) > > diff --git a/sympy/matrices/matrices.py b/sympy/matrices/matrices.py > index b665b8f..e33a58f 100644 > --- a/sympy/matrices/matrices.py > +++ b/sympy/matrices/matrices.py > @@ -145,20 +145,7 @@ def __init__(self, *args): > self.rows = self.cols = 0 > self.mat = [] > else: > - # TODO: on 0.7.0 delete this and uncomment the last line > - mat = args > - if not isinstance(mat[0], (list, tuple)): > - # make each element a singleton > - mat = [ [element] for element in mat ] > - warnings.warn("Deprecated constructor, use brackets: Matrix(%s)" > % str(mat)) > - self.rows=len(mat) > - self.cols=len(mat[0]) > - self.mat=[] > - for j in xrange(self.rows): > - assert len(mat[j])==self.cols > - for i in xrange(self.cols): > - self.mat.append(sympify(mat[j][i])) > - #raise TypeError("Data type not understood") > + raise TypeError("Data type not understood") > > def key2ij(self,key): > """Converts key=(4,6) to 4,6 and ensures the key is correct.""" > -- > 1.7.1 > > -- > You received this message because you are subscribed to the Google Groups > "sympy-patches" group. > To post to this group, send email to sympy-patc...@googlegroups.com. > To unsubscribe from this group, send email to > sympy-patches+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sympy-patches?hl=en. > -- You received this message because you are subscribed to the Google Groups "sympy-patches" group. To post to this group, send email to sympy-patc...@googlegroups.com. To unsubscribe from this group, send email to sympy-patches+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-patches?hl=en.