]> granicus.if.org Git - python/commitdiff
Added the "weird" ccTLDs ac, gg, im, and je. These are not recognized
authorBarry Warsaw <barry@python.org>
Mon, 15 Jul 2002 19:53:28 +0000 (19:53 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 15 Jul 2002 19:53:28 +0000 (19:53 +0000)
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.

Tools/world/world

index 1c2d980663f8dbd815e5b6c95eadc09b62ecb728..e45a0778720899d791e1d072fda924d154f28a67 100755 (executable)
@@ -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)",
     }