| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
📝 Walkthrough
WalkthroughModified the type constructor argument validation in object.rs to replace direct slot-based comparison of __new__ methods with dynamic attribute retrieval and function identity checking. The code now uses get_attr() to retrieve __new__ attributes and is() to compare function identity, while maintaining equivalent error-handling behavior for __init__ argument validation. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem🚥 Pre-merge checks | ✅ 2 | ❌ 2 ❌ Failed checks (2 warnings)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick commentscrates/vm/src/builtins/object.rs (1) Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. ❤️ ShareComment @coderabbitai help to get the list of available commands and usage tips. |
Sorry, something went wrong.
|
Code has been automatically formatted The code in this PR has been formatted using:
git pull origin object-init |
Sorry, something went wrong.
📦 Library DependenciesThe following Lib/ modules were modified. Here are their dependencies: [ ] lib: cpython/Lib/fnmatch.py dependencies:
dependent tests: (72 tests)
[ ] lib: cpython/Lib/glob.py dependencies:
dependent tests: (7 tests)
[ ] lib: cpython/Lib/pathlib dependencies:
dependent tests: (68 tests)
[ ] lib: cpython/Lib/posixpath.py dependencies:
dependent tests: (40 tests)
[ ] lib: cpython/Lib/stat.py dependencies:
dependent tests: (81 tests)
[x] lib: cpython/Lib/abc.py dependencies:
dependent tests: (8 tests)
[ ] test: cpython/Lib/test/test_bool.py dependencies: dependent tests: (no tests depend on bool) [ ] test: cpython/Lib/test/test_buffer.py dependencies: dependent tests: (no tests depend on buffer) [ ] test: cpython/Lib/test/test_class.py (TODO: 15) dependencies: dependent tests: (no tests depend on class) [ ] lib: cpython/Lib/concurrent dependencies:
dependent tests: (11 tests)
[ ] test: cpython/Lib/test/test_descr.py (TODO: 48) dependencies: dependent tests: (no tests depend on descr) [x] test: cpython/Lib/test/test_dict.py (TODO: 6) dependencies: dependent tests: (no tests depend on dict) [x] test: cpython/Lib/test/test_float.py (TODO: 8) dependencies: dependent tests: (no tests depend on float) [x] test: cpython/Lib/test/test_flufl.py (TODO: 4) dependencies: dependent tests: (no tests depend on flufl) [x] lib: cpython/Lib/operator.py dependencies:
dependent tests: (33 tests)
[ ] test: cpython/Lib/test/test_print.py (TODO: 7) dependencies: dependent tests: (no tests depend on print) [ ] test: cpython/Lib/test/test_time.py (TODO: 24) dependencies: dependent tests: (134 tests)
[x] lib: cpython/Lib/typing.py dependencies:
dependent tests: (14 tests)
Legend:
|
Sorry, something went wrong.
There was a problem hiding this comment.
Great!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary by CodeRabbit