Issue #28203: Fix incorrect type in error message from complex(1.0, {… · pythoncapi/cpython@613f8e5 · GitHub
Skip to content

Commit 613f8e5

Browse files
committed
Issue python#28203: Fix incorrect type in error message from complex(1.0, {2:3}). Patch by Soumya Sharma.
1 parent 8609cda commit 613f8e5

4 files changed

Lines changed: 29 additions & 6 deletions

File tree

Lib/test/test_complex.py

Lines changed: 8 additions & 0 deletions

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,6 +1349,7 @@ Daniel Shahaf
13491349
Mark Shannon
13501350
Ha Shao
13511351
Richard Shapiro
1352+
Soumya Sharma
13521353
Varun Sharma
13531354
Daniel Shaulov
13541355
Vlad Shcherbina

Misc/NEWS

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

13+
- Issue #28203: Fix incorrect type in error message from
14+
``complex(1.0, {2:3})``. Patch by Soumya Sharma.
15+
1316
- Issue #27955: Fallback on reading /dev/urandom device when the getrandom()
1417
syscall fails with EPERM, for example when blocked by SECCOMP.
1518

Objects/complexobject.c

Lines changed: 17 additions & 6 deletions

0 commit comments

Comments
 (0)