Issue #22604: Fix assertion error in debug mode when dividing a compl… · pythoncapi/cpython@9086f92 · GitHub
Skip to content

Commit 9086f92

Browse files
committed
Issue python#22604: Fix assertion error in debug mode when dividing a complex number by (nan+0j).
1 parent a13dab4 commit 9086f92

3 files changed

Lines changed: 16 additions & 4 deletions

File tree

Lib/test/test_complex.py

Lines changed: 7 additions & 2 deletions

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ Release date: TBA
1111
Core and Builtins
1212
-----------------
1313

14+
- Issue #22604: Fix assertion error in debug mode when dividing a complex
15+
number by (nan+0j).
16+
1417
- Issue #22470: Fixed integer overflow issues in "backslashreplace",
1518
"xmlcharrefreplace", and "surrogatepass" error handlers.
1619

Objects/complexobject.c

Lines changed: 6 additions & 2 deletions

0 commit comments

Comments
 (0)