On Thu, May 31, 2012 at 9:06 AM, Barry Warsaw barry@python.org wrote:
On May 31, 2012, at 10:31 PM, Nick Coghlan wrote:
Personally, I suggest we just expose the new type as types.SimpleNamespace (implemented in Lib/types.py as "SimpleNamespace = type(sys.implementation)" and call it done.
Great idea, +1.
Eric, if you want to remove the special case for _names in the repr, and update your patch to include types.SimpleNamespace, I'd happily review it again and support its inclusion.
Will do.
-eric