bpo-44698: Fix undefined behaviour in complex exponentiation. (GH-272… · python/cpython@85ac814 · GitHub
Skip to content

Commit 85ac814

Browse files
bpo-44698: Fix undefined behaviour in complex exponentiation. (GH-27278) (GH-27367)
(cherry picked from commit 1d582bb) Co-authored-by: T. Wouters <thomas@python.org>
1 parent 7b2185b commit 85ac814

3 files changed

Lines changed: 37 additions & 8 deletions

File tree

Lib/test/test_complex.py

Lines changed: 21 additions & 0 deletions
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix undefined behaviour in complex object exponentiation.

Objects/complexobject.c

Lines changed: 15 additions & 8 deletions

0 commit comments

Comments
 (0)