26 Feb
2011
26 Feb
'11
2:40 p.m.
Hi,
Author: raymond.hettinger New Revision: 88526 Log: Add tests for the collections helper class and sync-up with py3k branch.
Modified: python/branches/release32-maint/Lib/collections.py + def new_child(self): # like Django's Context.push() + 'New ChainMap with a new dict followed by all previous maps.' + return self.__class__({}, *self.maps) + + @property + def parents(self): # like Django's Context.pop() + 'New ChainMap from maps[1:].' + return self.__class__(*self.maps[1:])
Isn’t this considered a new feature, unsuitable for 3.2? (I mean no disrespect, I just want to understand better what kind of changes can go in each type of branch.) Regards