[issue31995] Set operations documentation error

2017-11-10 Thread Raymond Hettinger
Raymond Hettinger added the comment: I did understand your report. IMO your "declaration of incorrectness" is due to an overly strict misreading of what the docs are trying to say and it does not reflect an understanding of what the in-place operators do in-general. We could write an extra

[issue31995] Set operations documentation error

2017-11-10 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> rhettinger priority: normal -> low resolution: -> wont fix ___ Python tracker ___ ___

[issue31995] Set operations documentation error

2017-11-10 Thread Raymond Hettinger
Change by Raymond Hettinger : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue31995] Set operations documentation error

2017-11-10 Thread Alexander Mentis
Alexander Mentis added the comment: I don't think you understood my bug. That the augmented assignment operators work differently for set and frozenset is not the issue. The issue is that the documentation says that the |=, &=, -=, ^= operators do not apply to immutable instances of frozense

[issue31995] Set operations documentation error

2017-11-10 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is an artifact of how in-place operators work (which is a topic covered in the Library Reference). It doesn't really have anything to do with frozensets specifically. For example, you see the same effect with tuples which like frozensets are immutab

[issue31995] Set operations documentation error

2017-11-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +rhettinger, serhiy.storchaka versions: -Python 3.4, Python 3.5 ___ Python tracker ___ ___ Pyt

[issue31995] Set operations documentation error

2017-11-09 Thread Alexander Mentis
New submission from Alexander Mentis : Documentation for set/frozenset says |=, &=, -=, ^= operators do not apply to immutable instances of frozenset. This is incorrect. These operators can be used on frozenset; however, they behave differently on frozenset than on set. When used with set, the