The official source reports this update: b10872: jinja: treat a null left operand of in as a plain lookup. jinja: treat a null left operand of in as a plain lookup ( #28620 ) Templates that default an optional variable to none and then test its membership in a map hit an error, while the same expression is a normal lookup returning false in Jinja. The undefined counterpart of this case was already handled just above.
Canonical AI event
Jinja updates null left operand handling in membership tests.
Jinja now treats null left operands in 'in' expressions as plain lookups, resolving prior errors in templates.
9 Sept 20261 verified claims1 sources2 observations
This official update documents a development concerning b10872: jinja: treat a null left operand of in as a plain lookup. Its practical significance depends on the scope and evidence stated by the source.
Read the official source update and verify its stated scope, evidence and timing before acting on it.
Connected knowledge
Entities affected by this event
Continue this topic
Related verified updates
Evidence trail
Sources behind the event
Editorial presentation
Open story