v0.9.13 - 2025-08-08
Full Changelog: v0.9.12...v0.9.13
Bug Fixes
-
py:
-
type:
- TypeError if using float for x, X, o specifier. (53368bc)
- flags are now considered. (f56ae5c)
- add range check and error message as Python's;
s % vwhere v is SomeNumber now works on JS. (323e6fa) %s,%r,%a,%braised AssertDefect for non-string. (fb15970)- translateEscape: allow error message as Python's. (37a6cdd)
- translateEscape: support bytes mode; disallow Nim's special escape unless
-d:nimpylibTranslateEscapeAllowNimExt. (c0a6f74)
-
tuple:
-
bytes:
@: "Error: cannot instantiate: 'newSeqUninitialized[T]'". (5c17434)
-
builtins:
$andreprfor list, set, dict, etc., just usedsystem's. (d658f78)
-
sugar:
-
str:
-
TemporaryDirectory:
with TemporaryDirectory(..) as ngavennot as string. (a99eb0e)
-
print:
- did not compile when
-d:deno. (80e5a06)
- did not compile when
-
-
nimpatch:
newUninit:system.setLenUninitonly declared ondefined(nimHasSetLengthSeqUninitMagic). (899052c)
Feature Additions
Improvements
-
py:
-
str:
format: no longeradd charfor string snippets between interpolators. (4de10d4)
-
percent_format:
- merged common code; fixed overflow checks missed 's'. (da5cb5e)
Breaking Changes
-
py:
Py_FormatEx's arguments acceptGetitem-able overopenArray[(string, string)]. (8bf7407)
Refactor
-
py: