Fix test_bool test_subclass#4715
Conversation
2b03849 to
9ede5fd
Compare
youknowone
left a comment
There was a problem hiding this comment.
Thank you for contributing, but this fix doesn't seem to correct implementation.
Could you check corresponding cpython implementation?
https://github.com/python/cpython/blob/main/Objects/typeobject.c#L7694-L7701
|
Sure! I will check it when I have time :D |
|
@youknowone The block of code that you show me in the previous comment is to check whether I will fix it in the next commit |
|
Oh, i am sorry. I left wrong link |
|
Oh .... It seems duplicate PR exist here #4455 😭 (cc. @youknowone ) |
|
yeah and that PR goes about things in the approach CPython has by modifying |
|
Oh! So I will close this PR now :D |
|
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 😄 |
Fix unsafe
__new__for int function