Skip to content

Conversation

alanmcruickshank
Copy link
Member

@alanmcruickshank alanmcruickshank commented Oct 23, 2024

I think this resolves #5463. Arguably that issue wasn't a bug per-se but it was a very opaque behaviour. This adds a wrapper around functions so that if we try and do non-function like things to them, they throw up a more useful error.

In doing that I've pulled the definitions for builtin classes out into a different module. There was a comment in the old code saying that the old location wasn't great, and I think this is an improvement.

@alanmcruickshank alanmcruickshank marked this pull request as draft October 23, 2024 15:16
Copy link
Contributor

github-actions bot commented Oct 23, 2024

Coverage Results ✅

Name    Stmts   Miss  Cover   Missing
-------------------------------------
TOTAL   18652      0   100%

239 files skipped due to complete coverage.

@alanmcruickshank alanmcruickshank marked this pull request as ready for review October 24, 2024 15:56
@alanmcruickshank alanmcruickshank merged commit 1db7620 into main Oct 29, 2024
30 checks passed
@alanmcruickshank alanmcruickshank deleted the ac/jinja branch October 29, 2024 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Unparsable section" on undefined jinja variable
1 participant