[issue23161] collections.abc.MutableSet missing methods

2015-01-04 Thread Martin Panter
Martin Panter added the comment: For what it’s worth, every now and then I have to stop and remember that I can’t do this sort of thing: unsupported_keys = config_dict.keys().difference(supported_list) though it is not a big problem to rewrite it as unsupported_keys = config_dict.keys() - set

[issue23161] collections.abc.MutableSet missing methods

2015-01-04 Thread Devin Jeanpierre
Devin Jeanpierre added the comment: copy() should not be implemented magically, no. I understand the argument in favor of not implementing redundant methods, but if the redundancy was this big a concern, they should not have been added to sets in the first place. The current ABCs are inconsist

[issue23161] collections.abc.MutableSet missing methods

2015-01-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: The r-methods have already been implemented. Here's the difference as of Python 3.4.2: >>> set(dir(set)) - set(dir(collections.abc.MutableSet)) {'update', 'difference_update', 'symmetric_difference', 'intersection_update', 'intersection', 'issubset', 'issu

[issue23161] collections.abc.MutableSet missing methods

2015-01-04 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue23161] collections.abc.MutableSet missing methods

2015-01-03 Thread Devin Jeanpierre
Changes by Devin Jeanpierre : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue23161] collections.abc.MutableSet missing methods

2015-01-03 Thread Devin Jeanpierre
New submission from Devin Jeanpierre: >>> set(dir(set)) - set(dir(collections.abc.MutableSet)) {'copy', 'update', '__rsub__', 'union', 'issubset', 'intersection', 'issuperset', '__rxor__', 'difference', 'symmetric_difference', 'difference_update', '__rand__', 'intersection_update', 'symmetric_