]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-140938: Raise ValueError for infinite inputs to stdev/pstdev (GH-141531)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Fri, 14 Nov 2025 23:25:45 +0000 (17:25 -0600)
committerGitHub <noreply@github.com>
Fri, 14 Nov 2025 23:25:45 +0000 (23:25 +0000)
commitf0a8bc737ab2f04d4196eee154cb1e17e26ad585
treececbefb6520b7dc1de8aacdf9200248b6f6883d2
parent1281be1caf9357ee2a68f7370a88b5cff0110e15
gh-140938: Raise ValueError for infinite inputs to stdev/pstdev (GH-141531)

Raise ValueError for infinite inputs to stdev/pstdev

---

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Lib/statistics.py
Lib/test/test_statistics.py
Misc/NEWS.d/next/Library/2025-11-13-14-51-30.gh-issue-140938.kXsHHv.rst [new file with mode: 0644]