Message406136
This is a bug dictviews_sub(). It that incorrectly calls difference_update() instead of set_isub() which would perform the requisite type check.
Note the KeysView ABC is correct and implements the type check.
This situation is unfortunate. Adding the type check will help prevent future bugs; however, it will likely also break some existing code that is currently working correctly.
My recommendation is to leave it as-is and live with it. That is what we did with list.iadd() which has the same problem. |
|
Date |
User |
Action |
Args |
2021-11-10 21:43:07 | rhettinger | set | recipients:
+ rhettinger, gregory.p.smith |
2021-11-10 21:43:07 | rhettinger | set | messageid: <1636580587.09.0.474557618004.issue45780@roundup.psfhosted.org> |
2021-11-10 21:43:07 | rhettinger | link | issue45780 messages |
2021-11-10 21:43:06 | rhettinger | create | |
|