Commit dc783d4
Pin ISO 8601 decoder accepts fractional-second variants
dqlite emits canonical space-separated 6-digit microseconds, but the
decoder uses datetime.fromisoformat which is lenient on input shape:
0 / 3 / 6 fractional digits, T or space separator, Z or explicit
offset all parse cleanly. A peer client written in Go or C may emit
any of those shapes.
Pin the accept matrix so a future parser tightening (custom regex,
strict validation) can't silently break the no-microsecond case
(the canonical whole-second wall-clock form) or the 3-digit
millisecond form.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent c017d58 commit dc783d4
1 file changed
Lines changed: 47 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
0 commit comments