jinja icon indicating copy to clipboard operation
jinja copied to clipboard

[Fix] The int filter throws OverflowError for scientific notation

Open flpm opened this issue 1 year ago • 1 comments

What was done:

  • handle the case where a string passed to the int filter would cause an OverflowError when float() is called. E.g. '1e100000.
  • add a new test case to test_int()
  • add entry in CHANGES.rst

fixes #1921

flpm avatar May 20 '24 15:05 flpm

git rebase --onto origin/3.1.x origin/main then git push -f

davidism avatar May 20 '24 15:05 davidism