Message202290
| Author |
serhiy.storchaka |
| Recipients |
ThiefMaster, eric.snow, rhettinger, serhiy.storchaka, stutzbach |
| Date |
2013年11月06日.21:29:54 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1383773394.52.0.713267867568.issue19505@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|