◐ Shell
clean mode source ↗

Fix test_bool test_subclass by minhrongcon2000 · Pull Request #4715 · RustPython/RustPython

@minhrongcon2000

Fix unsafe __new__ for int function

youknowone

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@minhrongcon2000

Sure! I will check it when I have time :D

@minhrongcon2000

@youknowone

Oh, i am sorry. I left wrong link

@Snowapril

@DimitrisJim

yeah and that PR goes about things in the approach CPython has by modifying type.__new__ to catch this.

@minhrongcon2000

Oh! So I will close this PR now :D

@DimitrisJim

we should just coordinate with garychia and see if they still want to work on it, I'll leave a comment there to check. If they don't have time, you can take inspiration from their approach 😄