|
| 1 | + |
| 2 | +# v0.9.7 - 2025-03-02 |
| 3 | + |
| 4 | +## break |
| 5 | +- nitertools -> `n_itertools`; use openArray over seq |
| 6 | + |
| 7 | +## Bug Fixes |
| 8 | +- sorted not compile for ptr list, etc and for generics seq |
| 9 | +- complex(int,int) not compile |
| 10 | +- datetime.timedelta not compile |
| 11 | + |
| 12 | +## Fixes for inconsistence with Python |
| 13 | +- zip: not compile `Iterable[T]` (T differs each other) |
| 14 | +- builtins.round(float[, n]) not to-even |
| 15 | +- str(Inf) -> Infinity when JS (#44) |
| 16 | +- int(char) err msg differs py's |
| 17 | + |
| 18 | +## Feature additions |
| 19 | +### Lib |
| 20 | +- collections.abc: include iters, collections, asyncs, generators |
| 21 | +- bisect and `n_bisect` |
| 22 | +- random (all func besides randint,seed,choice,Random) |
| 23 | +- itertools.accumulate |
| 24 | +- os.urandom, os.getrandom |
| 25 | +- builtins |
| 26 | + |
| 27 | +### builtins |
| 28 | +- allow items(tuple) |
| 29 | +- max/min supports iterable & keywords |
| 30 | +- format |
| 31 | +- dir |
| 32 | + |
| 33 | +### in `def` (func body) |
| 34 | +- support equal sign minus like `x=-1`/`x==-1` |
| 35 | + |
| 36 | +### EXT |
| 37 | +- `@` for Sequence |
| 38 | +- bytes: init from openArray[uint8] or Iterable[SomeInteger] |
| 39 | + |
| 40 | +### inner |
| 41 | +- Objects/obmalloc.nim: pyalloc pyfree |
| 42 | +- /pyconfig: |
| 43 | + - pycore/pymath |
| 44 | + - `c_defined`, `py_getrandom` |
| 45 | +- `os_impl.platformAvailWhen` |
| 46 | + |
| 47 | +## Patches for Nim-compatibility |
| 48 | +- newUninit for nim before 2.1.1 |
| 49 | + |
| 50 | +## CI |
| 51 | +- update actions/cache@v2 to @v4 |
| 52 | +- mv tfloat.nim tests tests/testament |
| 53 | + |
| 54 | +## impr |
| 55 | +- faster int(char) |
| 56 | +- numTypes.floats: use faster isfinite from isX |
| 57 | + |
0 commit comments