-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Release Notes for 1.7.1
These are the release notes for SymPy 1.7.1. You can also find release notes for previous versions.
SymPy 1.7.1 was released on 12th December 2020.
This version of SymPy has been tested on Python 3.6, 3.7, 3.8, 3.9 and PyPy. See our Python version support policy for more information on when we plan to drop support for older Python versions.
Install SymPy with
pip install -U sympy
or if you use Anaconda
conda install sympy
There are not many changes in 1.7.1 (see below).
There are no known backward compatibility breaks or deprecations in this release.
-
core
- There was a regression in 1.7 that meant that
__slots__
would not work correctly for Basic instances and they would end up having__dict__
. This also made it possible to set arbitrary attributes onBasic
instances such as symbols which breaks immutability. This was fixed in 1.7.1 to ensure thatBasic
instances do not have__dict__
and it is not possible to set attributes on them. (#20590 by @oscarbenjamin)
- There was a regression in 1.7 that meant that
-
series
- Fixed lazy iteration of series with
expr.series(x, n=None)
which was broken in the 1.7 release. (#20589 by @oscarbenjamin and @sachin-4099)
- Fixed lazy iteration of series with
-
stats
-
Updated documentation for
sympy.stats.sample
forseed
argument. (#20555 by @czgdp1807) -
sympy.stats.sample
now has an optionalseed
argument. (#20528 by @czgdp1807) -
Random failures with
sympy.stats.sample
have now been fixed. (#20527 by @czgdp1807)
-
The following people contributed at least one patch to this release (names are given in alphabetical order by last name). A total of 3 people contributed to this release. People with a * by their names contributed a patch for the first time for this release; 0 people contributed for the first time for this release.
Thanks to everyone who contributed to this release!
- Sachin Agarwal
- Oscar Benjamin
- Gagandeep Singh