Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium Core
New issue 3682 by [email protected]: .copy() does not work on Symbol
http://code.google.com/p/sympy/issues/detail?id=3682
When creating a new symbol, nothing is returned in the .args, making the
copy method fail.
In [1]: x = Symbol('x')
In [2]: x.copy()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-2-d00102fa154f> in <module>()
----> 1 x.copy()
c:\users\seanvig2\documents\sympy-git\sympy\core\basic.pyc in copy(self)
89
90 def copy(self):
---> 91 return self.func(*self.args)
92
93 def __reduce_ex__(self, proto):
TypeError: __new__() takes exactly 2 arguments (1 given)
In [3]: x.args
Out[3]: ()
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.