selectattr() returns everything when attribute is 'update'?

Hi

I'm seeing some weird behaviour trying to use selectattr() on a list
of dicts, when the attribute name I am using is the literal string
'update'.
Anything else works fine.

Example playbook:

I think this is because 'update' is a reserved word:

https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#creating-valid-variable-names

I'm seeing the same behavior with 'pop' for instance (though not with
many others).

Dick

I would consider this a bug, since returning data when query REST API could be anything and Ansible need to handle that.