Yuri Khrustalev
82e1e2fd84
jinja : write nan and inf in tojson as json.dumps does ( #30483 )
...
tojson wrote nan, inf and -inf for these floats, as values and as dict
keys; json.dumps writes NaN, Infinity and -Infinity. The string and safe
filters of a float keep nan and inf, as Python's str() does, so they no
longer use the tojson function. float_to_json is renamed float_repr, as
it now gives str(); float_json gives the json.dumps text.
Also say in a comment why a last digit 9 is not bumped at a power of 2.
2026-10-15 10:49:40 +02:00
..
2026-10-15 10:49:40 +02:00
2026-10-14 01:03:56 +02:00
2026-10-15 06:30:17 +02:00
2026-09-19 15:37:13 +03:00
2023-11-07 00:36:23 +03:00
2026-09-04 09:13:20 +03:00
2026-09-04 09:13:20 +03:00
2026-10-14 01:03:56 +02:00
2026-10-14 01:03:56 +02:00
2026-04-03 09:07:59 +03:00
2026-08-22 16:28:28 +02:00
2026-08-22 16:28:28 +02:00
2026-10-07 22:37:51 +02:00
2026-08-22 16:28:28 +02:00
2026-10-14 01:03:56 +02:00
2026-10-14 01:03:56 +02:00
2026-09-14 16:07:28 +02:00
2026-10-12 15:01:52 +02:00
2026-10-15 06:30:17 +02:00
2026-09-30 16:24:46 +02:00
2026-03-05 10:47:28 +01:00
2026-04-27 08:06:39 +03:00
2026-04-27 08:06:39 +03:00
2026-10-03 15:48:24 +02:00
2026-08-19 11:04:26 +02:00
2026-09-26 07:59:15 -07:00
2026-08-22 16:16:06 +02:00
2026-09-29 13:46:53 +02:00
2026-09-19 15:37:13 +03:00
2026-07-08 14:52:43 +02:00
2026-10-04 11:24:53 +02:00
2026-10-04 11:24:53 +02:00
2026-09-19 14:11:13 +02:00
2026-09-12 16:14:50 -05:00
2026-09-12 16:14:50 -05:00
2026-09-12 16:14:50 -05:00
2026-08-23 01:11:10 +02:00
2026-09-21 10:32:07 +02:00
2026-08-10 16:58:56 +03:00
2026-10-13 16:21:55 +03:00
2026-10-13 16:21:55 +03:00
2026-01-28 19:42:42 +02:00
2026-01-28 19:42:42 +02:00
2026-07-07 10:25:04 +03:00
2026-03-31 13:50:51 +02:00
2026-05-29 09:21:37 +03:00
2026-01-30 21:27:27 +02:00
2026-10-09 10:06:22 -05:00
2026-10-09 10:06:22 -05:00
2026-10-04 11:35:33 +03:00
2026-09-29 17:22:49 +02:00
2026-08-10 16:58:56 +03:00
2026-07-25 11:58:09 +02:00
2026-10-12 11:53:58 +03:00
2026-10-09 10:06:22 -05:00
2026-10-15 05:49:25 +02:00
2026-10-04 11:24:53 +02:00
2026-07-26 20:54:25 +02:00
2026-07-26 20:54:25 +02:00
2026-07-25 11:58:09 +02:00
2026-07-25 11:58:09 +02:00
2026-09-20 06:51:40 -05:00
2026-09-20 06:51:40 -05:00