Commit Graph

11 Commits

Author SHA1 Message Date
ShaharNaveh
e4eb0a7116 Update fractions from 3.14.2 2026-01-30 07:48:29 +09:00
Terry Tianlin Luan
5ae75a679b Update the fractions and ftplib libraries + associated tests - v.3.13.10 (#6607)
* Updated ftplib + test library

* Updated fractions + test library
2026-01-03 08:28:25 +09:00
Jeong, YunWon
1b17587585 __slots__ xor __dict__ , name mangling (#6392)
* __slots__ xor __dict__

* mangle_name for `__` prefixed members
2025-12-10 23:30:10 +09:00
CPython Developers
09d74336fa Update fraction,test_numeric_tower from CPython 3.12.4 2024-07-29 19:53:44 +09:00
dvermd
fd98ab2084 Update fractions to CPython 3.11.5 2023-10-01 07:06:11 +02:00
Noah
f38d8af12b Fix __reduce_ex__ and unskip tests 2021-02-08 12:36:54 -06:00
Noah
15984fca6f Remove leftover comment 2020-11-14 22:06:29 -06:00
carbotaniuman
ace2cb8f2f Fix edge cases in mod and complex division 2020-11-11 14:33:07 -06:00
Minho Heo
6032b54666 Fix negative ** fraction to returns complex value
Fix #1986 which (-2) ** 0.5 yields NaN.

Result:

RustPython gives
`float.__rpow__(0.5, -2)
(0.00000000000000008659560562354934+1.4142135623730951j)`

CPython 3.85 gives
`>>> float.__rpow__(0.5, -2)
(8.659560562354934e-17+1.4142135623730951j)`
2020-07-30 02:27:38 +09:00
Ben Lewis
1e0152d309 Mark failing test_fractions.py tests as expected failures. 2020-07-14 20:25:01 +12:00
Ben Lewis
5dc2ebc556 Add fractions.py and test_fractions.py from CPython 3.8.3. 2020-07-14 19:05:21 +12:00