On Sat, May 12, 2012 at 8:35 AM, Barry Warsaw <barry at python.org> 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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4