Commit 494a4f4
luckyPipewrench
feat: add logo + social preview + fix nanosecond RFC 3339 parsing on Python 3.9/3.10
Repo pimpery pass:
- Added centered Pipelock logo to the top of README.
- Added social-preview.png for sharing on link previews. Must be
uploaded via GitHub repo Settings → Social preview (no REST API
support for that field).
Correctness fix:
- Python 3.9/3.10 `datetime.fromisoformat` only accepts microsecond
precision. Go emits nanosecond precision (time.RFC3339Nano).
`_is_valid_rfc3339` now truncates fractional seconds to 6 digits
before calling fromisoformat, so Go-emitted timestamps with 7-9
fractional digits verify correctly on every supported Python
version. Regex shape-check still covers 1-9 digits, semantic check
still catches bad dates. Fixes `test_valid_rfc3339_timestamps_accepted[2026-04-09T12:00:00.123456789Z]`.1 parent f045c9c commit 494a4f4
4 files changed
Lines changed: 89 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
76 | 93 | | |
77 | | - | |
| 94 | + | |
78 | 95 | | |
79 | 96 | | |
80 | 97 | | |
| |||
0 commit comments