Commit 16d4968
authored
pythongh-105375: Harden _datetime initialisation (python#105604)
Improve error handling so init bails on the first exception.1 parent 35cff54 commit 16d4968
2 files changed
Lines changed: 32 additions & 5 deletions
File tree
- Misc/NEWS.d/next/Library
- Modules
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6862 | 6862 | | |
6863 | 6863 | | |
6864 | 6864 | | |
| 6865 | + | |
| 6866 | + | |
| 6867 | + | |
6865 | 6868 | | |
| 6869 | + | |
| 6870 | + | |
| 6871 | + | |
6866 | 6872 | | |
| 6873 | + | |
| 6874 | + | |
| 6875 | + | |
6867 | 6876 | | |
6868 | | - | |
6869 | | - | |
6870 | | - | |
| 6877 | + | |
| 6878 | + | |
6871 | 6879 | | |
6872 | 6880 | | |
6873 | 6881 | | |
6874 | 6882 | | |
6875 | 6883 | | |
6876 | 6884 | | |
| 6885 | + | |
| 6886 | + | |
| 6887 | + | |
6877 | 6888 | | |
| 6889 | + | |
| 6890 | + | |
| 6891 | + | |
6878 | 6892 | | |
6879 | | - | |
6880 | | - | |
| 6893 | + | |
| 6894 | + | |
6881 | 6895 | | |
| 6896 | + | |
6882 | 6897 | | |
| 6898 | + | |
| 6899 | + | |
| 6900 | + | |
| 6901 | + | |
| 6902 | + | |
| 6903 | + | |
| 6904 | + | |
| 6905 | + | |
| 6906 | + | |
| 6907 | + | |
6883 | 6908 | | |
6884 | 6909 | | |
6885 | 6910 | | |
| |||
0 commit comments