Message202290
We can't add __reversed__() to the Set or MappingView protocols without breaking third party code, but we can add it to concrete implementations of mapping views. In particular for views of OrderedDict which itself already have __reversed__().
Here is a patch which makes OrderedDict's views reversible. |
|
Date |
User |
Action |
Args |
2013-11-06 21:29:54 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, stutzbach, eric.snow, ThiefMaster |
2013-11-06 21:29:54 | serhiy.storchaka | set | messageid: <1383773394.52.0.713267867568.issue19505@psf.upfronthosting.co.za> |
2013-11-06 21:29:54 | serhiy.storchaka | link | issue19505 messages |
2013-11-06 21:29:54 | serhiy.storchaka | create | |
|