Comment #10 on issue 2032 by asmeurer: Ability to work with K[x, 1/x] in
Polys
http://code.google.com/p/sympy/issues/detail?id=2032
Well, it turns out that there are two bugs with the code I gave in the last
comment. The first is actually a bug in Poly.slice (see
Comment #42 on issue 2084 by nicolas.pourcelot: limit(1+1/x, x, 0, dir='-')
fails
http://code.google.com/p/sympy/issues/detail?id=2084
The point is, commits content itself as displayed in Github has not change
since November, despite smichr/2084 having change at least twice since...
Btw,
Comment #43 on issue 2084 by smichr: limit(1+1/x, x, 0, dir='-') fails
http://code.google.com/p/sympy/issues/detail?id=2084
Maybe a new pull request is generated when the code is rebased?
--
You received this message because you are subscribed to the Google Groups
sympy-issues group.
To post
Comment #4 on issue 1947 by nicolas.pourcelot: @property methods are not
doctested
http://code.google.com/p/sympy/issues/detail?id=1947
Concerning doctests, I noticed the following (see issue 1923, comment 30).
Such a docstring will not be tested by ./bin/doctest:
def my_func(*args, **kw):
Status: Accepted
Owner: nicolas.pourcelot
CC: Vinzent.Steinberg, asmeurer, smichr
Labels: Type-Defect Priority-Medium
New issue 2125 by nicolas.pourcelot: Using Integers as python slices.
http://code.google.com/p/sympy/issues/detail?id=2125
I'd like to be able to use sympy Integers everywhere
Comment #2 on issue 2125 by asmeurer: Using Integers as python slices.
http://code.google.com/p/sympy/issues/detail?id=2125
Similar is issue 1838.
Regarding S(2)*'1', this definitely should not return S(2). See the
discussion at
Comment #3 on issue 2125 by nicolas.pourcelot: Using Integers as python
slices.
http://code.google.com/p/sympy/issues/detail?id=2125
(though you might have to implement it manually, like in issue 1838, if
the Python object doesn't handle rmul on its own)
Once __index__() method is added,
Comment #4 on issue 2125 by asmeurer: Using Integers as python slices.
http://code.google.com/p/sympy/issues/detail?id=2125
Interesting. What exactly does this __index__() method do? Does it just
return int(self)?
--
You received this message because you are subscribed to the Google
Updates:
Blockedon: 2125
Comment #8 on issue 1838 by asmeurer: Add support for [0]*S(5), etc.
http://code.google.com/p/sympy/issues/detail?id=1838
(No comment was entered for this change.)
--
You received this message because you are subscribed to the Google Groups
sympy-issues group.
Issue 2125: Using Integers as python slices.
http://code.google.com/p/sympy/issues/detail?id=2125
This issue is now blocking issue 1838.
See http://code.google.com/p/sympy/issues/detail?id=1838
--
You received this message because you are listed in the owner
or CC fields of this issue, or
Updates:
Labels: NeedsReview
Comment #5 on issue 2125 by nicolas.pourcelot: Using Integers as python
slices.
http://code.google.com/p/sympy/issues/detail?id=2125
Yes. :)
Here is a tiny patch for review.
It implements this functionality for Python 2.5+.
(Since it isn't a core
Comment #6 on issue 2125 by asmeurer: Using Integers as python slices.
http://code.google.com/p/sympy/issues/detail?id=2125
There's no point in testing it five times in Python 2.5+, so I would move
the for loop into the else block.
As long as sympy still runs and test still pass in Python
Comment #7 on issue 2125 by smichr: Using Integers as python slices.
http://code.google.com/p/sympy/issues/detail?id=2125
I'm -1 on this. If this is allowed it means that we will lose the ability
to do sympy things with the Integers, like vector multiplication (should
that ever gain a
Comment #8 on issue 2125 by asmeurer: Using Integers as python slices.
http://code.google.com/p/sympy/issues/detail?id=2125
I agree with Nicolas in the OP. I think if we want to allow something like
vector multiplication, we should create our own Vector class. There is
much more benefit
Status: Accepted
Owner: smichr
Labels: Type-Defect Priority-Medium
New issue 2126 by smichr: fix doctest or quality testing to recognize
doctests
http://code.google.com/p/sympy/issues/detail?id=2126
In recent work it was found that tests that appeared as
A comment and then the example:
Updates:
Labels: -NeedsReview
Comment #1 on issue 2122 by smichr: misplaced lseries code
http://code.google.com/p/sympy/issues/detail?id=2122
this is now part of branch 2124
--
You received this message because you are subscribed to the Google Groups
sympy-issues group.
To post to
Updates:
Labels: NeedsReview
Comment #1 on issue 2124 by smichr: cos(x).series(x) gives same result as
cos(x).series(x, 1)
http://code.google.com/p/sympy/issues/detail?id=2124
A pull request has been made:
https://github.com/sympy/sympy/pull/48
--
You received this message because
Comment #9 on issue 2125 by smichr: Using Integers as python slices.
http://code.google.com/p/sympy/issues/detail?id=2125
I see that it must have some smarts about when to and when not to return an
int because a=S(1); b = S(2); a/b gives 1/2, not 0. Are we ever going to be
bitten by a
Updates:
Labels: -Priority-Medium Priority-Critical Milestone-Release0.7.0
Comment #1 on issue 2126 by asmeurer: fix doctest or quality testing to
recognize doctests
http://code.google.com/p/sympy/issues/detail?id=2126
There's no reason that the doctester shouldn't be able to
Updates:
Cc: ondrej.certik Ronan.Lamy
Comment #10 on issue 2125 by asmeurer: Using Integers as python slices.
http://code.google.com/p/sympy/issues/detail?id=2125
I think the whole point of using SymPy Integers instead of Python ints is
that you *can* do something like 1/2 and get a
Comment #11 on issue 2125 by nicolas.pourcelot: Using Integers as python
slices.
http://code.google.com/p/sympy/issues/detail?id=2125
a=S(1); b = S(2); a/b gives 1/2, not 0.
In Python 3.x, 1/2 will return 0.5, and in Python 2.x, from future import
__truediv__ is already widely used imo.
Comment #12 on issue 2125 by nicolas.pourcelot: Using Integers as python
slices.
http://code.google.com/p/sympy/issues/detail?id=2125
a=S(1); b = S(2); a/b gives 1/2, not 0.
In Python 3.x, 1/2 will return 0.5, and in Python 2.x, from future import
__truediv__ is already widely used imo.
Comment #13 on issue 2125 by nicolas.pourcelot: Using Integers as python
slices.
http://code.google.com/p/sympy/issues/detail?id=2125
Note that you can implement __index__ method, and still keep a special case
concerning lists:
class Two(object):
def __int__(self):
23 matches
Mail list logo