Repository navigation
Commit 9f8f8d9
The C parser treated the timezone designator as leftover input, then ignored that leftover whenever an offset was present. Strings such as '12:30x+05:00' were accepted even though the pure-Python implementation rejects them.
---------
Co-authored-by: Gregory P. Smith <greg@krypto.org>
1 parent aff7a2e commit 9f8f8d9
3 files changed
Lines changed: 23 additions & 12 deletions
File tree
- Lib/test
- Misc/NEWS.d/next/Library
- Modules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3770 | 3770 | | |
3771 | 3771 | | |
3772 | 3772 | | |
| 3773 | + | |
| 3774 | + | |
| 3775 | + | |
| 3776 | + | |
3773 | 3777 | | |
3774 | 3778 | | |
3775 | 3779 | | |
| |||
5094 | 5098 | | |
5095 | 5099 | | |
5096 | 5100 | | |
| 5101 | + | |
| 5102 | + | |
| 5103 | + | |
| 5104 | + | |
5097 | 5105 | | |
5098 | 5106 | | |
5099 | 5107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1046 | 1046 | | |
1047 | 1047 | | |
1048 | 1048 | | |
1049 | | - | |
1050 | | - | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
1051 | 1054 | | |
1052 | 1055 | | |
1053 | 1056 | | |
| |||
1087 | 1090 | | |
1088 | 1091 | | |
1089 | 1092 | | |
1090 | | - | |
1091 | | - | |
| 1093 | + | |
| 1094 | + | |
1092 | 1095 | | |
1093 | 1096 | | |
1094 | 1097 | | |
| |||
1122 | 1125 | | |
1123 | 1126 | | |
1124 | 1127 | | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
1125 | 1131 | | |
1126 | | - | |
1127 | | - | |
1128 | | - | |
1129 | | - | |
1130 | | - | |
1131 | | - | |
1132 | | - | |
1133 | | - | |
| 1132 | + | |
1134 | 1133 | | |
1135 | 1134 | | |
1136 | 1135 | | |
| |||
0 commit comments