Thursday, June 26, 2025 ¶ I was wondering… yes there is a pitfall when using Jinja. When your class defines a property, and when, while computing this property, it raises an AttributeError , then Jinja catches this exception and reports that your object doesn’t have the requested property instead of showing the full traceback. from jinja2 import Environment , DictLoader A = False B = True class…