]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-140938: Raise ValueError for infinite inputs to stdev/pstdev (GH-141531...
authorGregory P. Smith <68491+gpshead@users.noreply.github.com>
Sat, 15 Nov 2025 04:45:28 +0000 (20:45 -0800)
committerGitHub <noreply@github.com>
Sat, 15 Nov 2025 04:45:28 +0000 (04:45 +0000)
commitb693037040f8611e06434e6ef917ad6a62f97051
treeb7746046b807c7ae6a8c3b61c2f92a1b151ad890
parent7e1a0dbc07ba4df916334a69ca2d41c7a5b00fe3
[3.13] gh-140938: Raise ValueError for infinite inputs to stdev/pstdev (GH-141531) (#141584)

gh-140938: Raise ValueError for infinite inputs to stdev/pstdev (GH-141531)

Raise ValueError for infinite inputs to stdev/pstdev

---

(cherry picked from commit f0a8bc737ab2f04d4196eee154cb1e17e26ad585)

Co-authored-by: Raymond Hettinger <rhettinger@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]