-
Notifications
You must be signed in to change notification settings - Fork 1.3k
None.__ne__(None) behavior is changed in 3.12 #5103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Feel free to assign this one to me |
Just want to check - is there a way to run this test outside of installing Python 3.12 on my system and running |
You can use That |
Even though the test is working under pytest, you sill need to install Python 3.12 to test with it. Steps:
|
So I've been looking at this for a while now - I think that it ends up requiring a change here, but I'm not sure how to get the cc @youknowone |
PyNone is here: RustPython/vm/src/builtins/singletons.rs Line 12 in 8fc2c39
You can implement RustPython/vm/src/builtins/range.rs Lines 441 to 468 in 8fc2c39
|
Ah got it, thanks for the pointer. Hadn't seen the |
Related test: https://github.com/youknowone/RustPython/blob/6e699d93fe9ed1f16921ef3ab4a83fc0a72c5473/extra_tests/snippets/builtin_none.py#L25
The text was updated successfully, but these errors were encountered: