On Sat, May 12, 2012 at 8:35 AM, Barry Warsaw <[email protected]> wrote:
> I'm okay with dropping immutability for sys.implementation, but I still think
> attribute access is a more useful model.  You can easily support both getattr
> and getitem with a class instance, so I think that's the way to go.
>
> (FWIW, immutability would also be easy to support with an instance.)

Agreed on both counts.  The precedent in sys and elsewhere favors
attribute access for a fixed namespace like sys.implementation.  Also,
item access (a la mappings) implies a more volatile namespace.

-eric
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to