Re: [Python-Dev] [Python-checkins] r88526 - in python/branches/release32-maint/Lib: collections.py test/test_collections.py
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
On Sun, Feb 27, 2011 at 12:40 AM, Éric Araujo
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.)
collections._ChainMap itself is private, so changes can be made to its API even in a maintenance branch. Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia
participants (2)
-
Nick Coghlan
-
Éric Araujo