commit | 6179c02c91800d220de03006117afa5e6d60f0f6 | [log] [tgz] |
---|---|---|
author | Peter Harris <pete.alex.harris@gmail.com> | Fri Jan 23 10:12:10 2015 +0000 |
committer | Peter Harris <pete.alex.harris@gmail.com> | Fri Jan 23 10:12:10 2015 +0000 |
tree | 8595d501b4d46bd5b98a1fb1f1df4e367ee02f7e | |
parent | 85820fceb83569df62fa5e6b9b0f2f76b7c6a3cf [diff] |
Replace lambda for 'dict' in with dict itself lambda **kw: kw is not equivalent to the dict constructor. It is much less useful. In particular it doesn't accept a sequence of pairs. Why not put dict itself into the DEFAULT_NAMESPACE? Principle of least surprise, etc.