Message83087
> Shouldn't popitem() allow the caller to choose which end from
> which to pop?
Thinking it through a bit more, and LRU cache would actually need to
access the oldest item without necessarily removing it. Besides,
popitem() should probably retain the signature of dict.popitem(). I
think I'll take this matter to python-dev. |
|
Date |
User |
Action |
Args |
2009-03-03 19:39:44 | forest | set | recipients:
+ forest, georg.brandl, rhettinger, jimjjewett, pitrou, aronacher |
2009-03-03 19:39:44 | forest | set | messageid: <1236109184.42.0.605542561472.issue5397@psf.upfronthosting.co.za> |
2009-03-03 19:39:43 | forest | link | issue5397 messages |
2009-03-03 19:39:42 | forest | create | |
|