-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-38878: Fix os.PathLike __subclasshook__ #17336
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please provide tests so that this functionality isn't accidentally removed in the future.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
I have made the requested changes; please review again |
Thanks for making the requested changes! @brettcannon: please review the changes made to this pull request. |
Alright, ready for merge. I have made the requested changes; please review again |
Thanks for making the requested changes! @brettcannon: please review the changes made to this pull request. |
Ready for merge? |
I will get back to this on the weekend. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, LGTM now.
Also since this is technically a bug, I am going to backport this to 3.7 and 3.8. |
Thanks @bharel for the PR, and @ilevkivskyi for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
Sorry, @bharel and @ilevkivskyi, I could not cleanly backport this to |
Sorry @bharel and @ilevkivskyi, I had trouble checking out the |
@bharel Oops, there are conflicts, you can however do this manually. |
Quick subclasshook fix using the same method is being used in collections.abc (up to a certain degree).. (cherry picked from commit eae87e3) Co-authored-by: Bar Harel <[email protected]>
GH-17684 is a backport of this pull request to the 3.8 branch. |
GH-17685 is a backport of this pull request to the 3.7 branch. |
Quick subclasshook fix using the same method is being used in collections.abc (up to a certain degree).
Quick subclasshook fix. No need for tests, regression bugs cannot happen and the same method is being used in collections.abc (up to a certain degree).
https://bugs.python.org/issue38878