v0.9.10 - 2025-04-27
Full Changelog: v0.9.9...v0.9.10
This version is tested against Windows. And:
- PyOSError is added over Nim's OSError
- sys.audit is introduced
- more os api...
Bug Fixes
- py:
- io.flush raises OSError on SIGXFSZ. (5f26625)
- audit funcs; .... (1ad6d96)
with
for os.ScandirIterator; addfollow_symlinks
for DirEntry.stat. (85ee4ec)- OSError([arg]): works. (ac0d459)
stat_result
lacksst_file_attributes
,st_reparse_tag
on Windows. (42acad3)- os.makedirs
exist_ok
wasexists_ok
. (e48a60a)
- bool:
- pyconfig:
- windows:
Lib
- unittest:
- resource:
- signal:
- stat:
stat.S_IMODE
not compile for Mode. (4625dcc)
- stat,os.chmod,os.symlink:
- not compile on Windows. (c626c08)
- os:
- shutils:
- SameFileError not of PyOSError. (e8d93be)
- time:
- sleep: add audit; fix 1 ms offset. (4531bb9)
JS
- Lib/os:
- oserr/errmap: not compile. (48d0fc3)
- os: just import causes not compile. (7fc1a2e)
- bypass(NIM-BUG): nim 2.2.4/2.3.1 disallows NonVarDestructor when js. (b3c8121)
- denoAttrs:deno detect was reverted, import* not support str as arg. (3153a57)
Feature additions
builtins
Lib
- os:
- chmod. (8b96d95)
- getppid. (ac405b0)
- umask. (84c218f)
- lstat, stat with
dir_fd
,follow_symlinks
& fstat. (01b6095) - exp
supports_*
. (fa4d969) - unlink,remove supports
dir_fd
. (8af12d9) - rmdir supports
dir_fd
. (4b14bbf) - scandir supports fd as path. (af5991a)
- DirEntry.
is_junction
. (1b1653d) - walk supports
followlinks=walk_symlinks_as_files
. (2b58ce2) - supports_*.issupperset. (fa0e500)
- uname. (50156e6)
- os.path:
- samestat. (e979be2)
- unittest:
- sys:
- shutil:
- rmtree. (8110d1a)
- EXT:
- stat.S_I*(Mode): bool. (86698e4)
inner
- pyconfig:
builtin_available
,check_func_runtime
. (ac14e44) - version: wrapPySince, templWrapExportSincePy. (d040f7a)
Python/config_read_env
. (5d0659d)- sugar:
impr
- Lib/signal: use
AC_CHECK_FUNCS
. (8e69446)
refine
- Lib: use wrapExportSincePy if possible. (a0011fa)
- win: dedup
IO_REPARSE_TAG_SYMLINK
,IO_REPARSE_TAG_MOUNT_POINT
. (2b26c30)
refactor
- Lib/shutil: split to
shutil_impl
; addn_shutil
. (2544eea)