Skip to content

Commit 098a36b

Browse files
committed
bump-ver: 0.9.3
1 parent d21361c commit 098a36b

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

changelogs/changelog_0_9_3.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
2+
# v0.9.3 - 2024-09-30
3+
4+
## Breaks
5+
- `PyComplex[T]` -> `PyTComplex[T]`; PyComplex is now non-generics (like CPython's `Py_complex`)
6+
7+
## Bug fixes
8+
- Lib/pathlib: argument order of Path.{sym,hard}link_to was reversed
9+
- os.utime not compile on x86_64 macos
10+
11+
### math
12+
- expm1, log1p was inaccurate for arg near 0
13+
- dist's signature was wrong ( used to be `func [F: SomeFloat](x, y: F): F` )
14+
- `degrees` was typed as `degress`
15+
- log1p, expm1 not accurate for arg near 0;
16+
17+
18+
## Fixes for inconsistence with Python
19+
- math.{floor,ceil,trunc} now return int over float
20+
- str for complex(N, nan) was "(Nnanj)" (shall be "nanj") and str(complex) returns something in form of `Complex(re: A, im: B)`
21+
- Lib/math's functions raises exception as Python does when math error occurs
22+
- Lib/math:
23+
- dist's signature wrongly used that of hypot
24+
- `degrees` was typed as degress
25+
26+
## Feature additions
27+
- pow for complex type
28+
29+
30+
### math
31+
- supports objc (not test yet)
32+
- supports compiletime (nimvm)
33+
- for JS:
34+
- math
35+
- gamma, lgamma, erf, erfc are supported
36+
- ldexp is more accurate
37+
38+
- math:
39+
- cbrt
40+
- sumprod, dist, hypot
41+
- nextafter, ulp
42+
- ... (all APIs in CPython's math)
43+
44+
- pathlib:
45+
- `/=` for Path
46+
47+
48+
## Patches for Nim-compatibility

src/pylib/version.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func asVersion*(v: (int, int, int)): string = asVersion(v[0], v[1], v[2])
1212
const
1313
Major* = 0
1414
Minor* = 9
15-
Patch* = 2
15+
Patch* = 3
1616
Version* = asVersion(Major, Minor, Patch)
1717

1818
ReleaseLevel* = "alpha"

0 commit comments

Comments
 (0)