Updates:
Labels: -NeedsReview
Comment #8 on issue 1902 by Vinzent.Steinberg: 'has' method fails when
argument is 'Symbol' or 'Wild'
http://code.google.com/p/sympy/issues/detail?id=1902
(No comment was entered for this change.)
--
You received this message because you are listed in th
Updates:
Status: Fixed
Comment #7 on issue 1902 by Vinzent.Steinberg: 'has' method fails when
argument is 'Symbol' or 'Wild'
http://code.google.com/p/sympy/issues/detail?id=1902
I pushed it in, thanks.
--
You received this message because you are listed in the owner
or CC fields of t
Comment #6 on issue 1902 by smichr: 'has' method fails when argument
is 'Symbol' or 'Wild'
http://code.google.com/p/sympy/issues/detail?id=1902
Sorry, Raffaele, you are right. I've never worked with that aspect of has
(or with
the option to look for a pattern).
Regarding the efficiency, y
Comment #5 on issue 1902 by Vinzent.Steinberg: 'has' method fails when
argument is 'Symbol' or 'Wild'
http://code.google.com/p/sympy/issues/detail?id=1902
I think this should work with Symbol() and Wild() too, for consistency's
sake.
--
You received this message because you are listed in
Comment #4 on issue 1902 by alberthilbert: 'has' method fails when argument
is 'Symbol' or 'Wild'
http://code.google.com/p/sympy/issues/detail?id=1902
From what I can see from source code, 'has' method accepts 'BasicType'
object as
parameter and return 'True' if 'self' contains some instanc
Comment #3 on issue 1902 by smichr: 'has' method fails when argument
is 'Symbol' or 'Wild'
http://code.google.com/p/sympy/issues/detail?id=1902
Perhaps you are confusing atoms() with has(). has() is suppose to look for
patterns
while atoms() will give sub-expressions of a given type (and it
Updates:
Labels: NeedsReview
Comment #2 on issue 1902 by asmeurer: 'has' method fails when argument
is 'Symbol' or 'Wild'
http://code.google.com/p/sympy/issues/detail?id=1902
(No comment was entered for this change.)
--
You received this message because you are listed in the owner
or
Comment #1 on issue 1902 by alberthilbert: 'has' method fails when argument
is 'Symbol' or 'Wild'
http://code.google.com/p/sympy/issues/detail?id=1902
The attached patch should solve that problem.
...at least I hope so! ;)
Raffaele
Attachments:
has_method.patch 2.2 KB
--
You recei
Status: New
Owner:
Labels: Type-Defect Priority-Medium
New issue 1902 by alberthilbert: 'has' method fails when argument
is 'Symbol' or 'Wild'
http://code.google.com/p/sympy/issues/detail?id=1902
'has' method fails when argument is 'Symbol' or 'Wild'.
For example the following code:
x =