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
Fix for issue 8743 not available in python MacOS 3.5.1 #74325
Comments
Hi all, I was having issues while testing a custom Set implementation using the _collections_abc base MutableSet and found that my issue was apparently resolved with bpo-8743. My test is simple: ms = MySetImpl()
ms & 'testword' which should fail with TypeError, given that in the 8743 fix the __and__ incorporated a test for isinstance(other, Set). Looking at the _collections_abc.py in my installation (/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/_collections_abc.py) I can not see the changes in the patches submitted for bpo-8743. |
Then you have a broken copy of 3.5.1. There is nothing OS-specific about that file. |
Yes. You don't say from where you installed Python 3.5.1 but I just took a quick look at _collections_abc.py in both the versions installed by the python.org 3.5.1 macOS installer and by the current 3.5.3 version (which you should update to, or, better, 3.6.1) and the bpo-8743 changes appear to be there. If you still believe there is a problem with Python here, please reopen and provide a complete test case. |
Hmm. They seem to have been properly preserved in the current 3.6 and master branch versions of Misc/HISTORY. Perhaps the 3.5 Misc/NEWS was corrupted in a merge along the way? In any case, this is not relevant to the OP's problem. Once the auto-generation of Misc/NEWS is implemented, we're going to have to go back and redo Misc/NEWS and Misc/HISTORY in active branches. I don't think there is a need for a separate issue to track that but, if you want to open one, Serhiy, feel free to do so. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: