Repository navigation
Commit 9c98a2e
committed
gh-155836: Build IPv6Address.reverse_pointer from the integer
Derive the name from the address's integer value instead of stripping the
scope ID out of the exploded string. This also drops the special case for
IPv4-mapped addresses. Add tests for a numeric scope ID and for an
IPv4-mapped address with a scope ID.1 parent 9eb0afc commit 9c98a2e
3 files changed
Lines changed: 21 additions & 17 deletions
File tree
- Lib
- test
- Misc/NEWS.d/next/Library
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1978 | 1978 | | |
1979 | 1979 | | |
1980 | 1980 | | |
1981 | | - | |
1982 | | - | |
1983 | | - | |
1984 | | - | |
1985 | | - | |
| 1981 | + | |
1986 | 1982 | | |
1987 | 1983 | | |
1988 | 1984 | | |
| |||
2060 | 2056 | | |
2061 | 2057 | | |
2062 | 2058 | | |
2063 | | - | |
2064 | | - | |
2065 | | - | |
2066 | | - | |
2067 | | - | |
2068 | | - | |
2069 | | - | |
2070 | | - | |
2071 | | - | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
2072 | 2062 | | |
2073 | 2063 | | |
2074 | 2064 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2858 | 2858 | | |
2859 | 2859 | | |
2860 | 2860 | | |
2861 | | - | |
| 2861 | + | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
| 2865 | + | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
2862 | 2876 | | |
2863 | 2877 | | |
2864 | 2878 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
0 commit comments