Re: [Python-ideas] Dictionary destructing and unpacking.

2017-06-08 Thread Nick Badger
this syntax as well: it's pretty easily confused with dictionary creation. Maybe the same thing but without the brackets? Just a thought I had this morning. Nick Nick Badger https://www.nickbadger.com 2017-06-08 7:00 GMT-07:00 Nick Coghlan <ncogh...@gmail.com>: > On 8 June 2017 at 1

Re: [Python-ideas] Null coalescing operator

2016-10-27 Thread Nick Badger
. You lose that with something like attrgetter('b.x.z', coalesce=True) -- it would behave identically, regardless of whether b, x, or z were missing, which is (oftentimes) not what you want. Nick Badger https://www.muterra.io https://www.nickbadger.com 2016-10-27 15:28 GMT-07:00 Barry Warsaw <