summaryrefslogtreecommitdiffstats
path: root/Tools/world
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-07-15 19:53:28 (GMT)
committerBarry Warsaw <barry@python.org>2002-07-15 19:53:28 (GMT)
commit0756a5e97affde3bd6f8a87b1e5594393fafc114 (patch)
tree8b9f7a74d63723ed6226cfdcbec569d05ebb1864 /Tools/world
parente561dc231e31a304b69e66979fc9cc773b7668de (diff)
downloadcpython-0756a5e97affde3bd6f8a87b1e5594393fafc114.zip
cpython-0756a5e97affde3bd6f8a87b1e5594393fafc114.tar.gz
cpython-0756a5e97affde3bd6f8a87b1e5594393fafc114.tar.bz2
Added the "weird" ccTLDs ac, gg, im, and je. These are not recognized
by ISO 3166 as country codes, but the are reserved by IANA nonetheless. The commonly used uk ccTLD is part of this group, near as I can tell.
Diffstat (limited to 'Tools/world')
-rwxr-xr-xTools/world/world22
1 files changed, 17 insertions, 5 deletions
diff --git a/Tools/world/world b/Tools/world/world
index 1c2d980..e45a077 100755
--- a/Tools/world/world
+++ b/Tools/world/world
@@ -44,8 +44,8 @@ The latest known change to this information was:
Friday, 5 April 2002, 12.00 CET 2002
-This script also knows about non-geographic top-level domains.
-
+This script also knows about non-geographic top-level domains, and the
+additional ccTLDs reserved by IANA.
Usage: %(PROGRAM)s [-d] [-p file] [-o] [-h] addr [addr ...]
@@ -272,9 +272,15 @@ nameorgs = {
"net": "networking",
"org": "non-commercial",
"pro": "professionals",
- # This isn't in the same class as those above, but is included here
- # because `uk' is the common practice country code for the United Kingdom.
- # AFAICT, the official `gb' code is routinely ignored!
+ # These additional ccTLDs are included here even though they are not part
+ # of ISO 3166. IANA has 5 reserved ccTLDs as described here:
+ #
+ # http://www.iso.org/iso/en/prods-services/iso3166ma/04background-on-iso-3166/iso3166-1-and-ccTLDs.html
+ #
+ # but I can't find an official list anywhere.
+ #
+ # Note that `uk' is the common practice country code for the United
+ # Kingdom. AFAICT, the official `gb' code is routinely ignored!
#
# <D.M.Pick@qmw.ac.uk> tells me that `uk' was long in use before ISO3166
# was adopted for top-level DNS zone names (although in the reverse order
@@ -283,6 +289,12 @@ nameorgs = {
# Book' protocols over X.25 to Internet protocols over IP.
#
# See <url:ftp://ftp.ripe.net/ripe/docs/ripe-159.txt>
+ #
+ # Also, `su', while obsolete is still in limited use.
+ "ac": "Ascension Island",
+ "gg": "Guernsey",
+ "im": "Isle of Man",
+ "je": "Jersey",
"uk": "United Kingdom (common practice)",
"su": "Soviet Union (still in limited use)",
}