[Python-Dev] PEP 550 v4 (original) (raw)
Sven R. Kunze srkunze at mail.de
Sat Aug 26 14:30:36 EDT 2017
- Previous message (by thread): [Python-Dev] PEP 550 v4
- Next message (by thread): [Python-Dev] PEP 550 v4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 26.08.2017 19:23, Yury Selivanov wrote:
ChainMap is constrained to be a Mapping-like object, but I get your point. Let's see what others say about the "lookup()". It is kind of an experiment to try a name and see if it fits.
I like "get" more. ;-)
Best, Sven
PS: This might be a result of still leaning towards attribute access despite the discussion you referenced. I still don't think complicating and reinventing terminology (which basically results in API names) buys us much.
And I am still with Ethan, a context stack is just a ChainMap. Renaming basic methods won't hide that fact. That's my only criticism of the PEP. The rest is fine and useful.
-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20170826/ec58ffa3/attachment.html>
- Previous message (by thread): [Python-Dev] PEP 550 v4
- Next message (by thread): [Python-Dev] PEP 550 v4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]