You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(stdlib): address review feedback on Os bindings
- Change os.path.getsize return type from int to int64 to handle files >= 2 GiB
- Reorder getpid/getppid next to getenv; move walk near rmdir for grouping
- Improve walk test to assert dirpath="." and that subdirs+files match listdir
- Add getppid test
- Add walk(topdown=false) test using a controlled temp dir
- Use unique /tmp paths and clean up after makedirs/walk tests
- Revert CHANGELOG.md addition (AGENTS.md forbids modifying CHANGELOG)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,10 +46,6 @@ All notable changes to this project will be documented in this file.
46
46
47
47
## Unreleased
48
48
49
-
### 🚀 Features
50
-
51
-
**(stdlib)* Add `os.makedirs(path, exist_ok)` overload, `os.walk`, `os.getpid`, `os.getppid`, `os.path.isabs`, `os.path.islink`, `os.path.realpath`, `os.path.getsize` to Os module
52
-
53
49
### 🐞 Bug Fixes
54
50
55
51
* Fix `math.factorial` binding: changed signature from `float -> float` to `int -> int` to match Python 3.12+ where float arguments raise `TypeError`. Fixes test to use integer literals.
0 commit comments