Łukasz Langa <luk...@langa.pl> added the comment:

> I still find the remark about the parser-level `get` being maintained for 
> backwards compatibility strange (and it is eight years old), could this be 
> improved?

How? Parser-level `.get()` predates mapping protocol access and has an 
incompatible API. Thus, we need to leave it as is, otherwise we'd break 
existing code.

Use mapping protocol everywhere in new code and you won't see those issues 
anymore.

----------
resolution:  -> wont fix
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34242>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to