summaryrefslogtreecommitdiffstats
path: root/Tools/world
Commit message (Collapse)AuthorAgeFilesLines
* Added the 7 new top level domains, and reworded the nameorgs output.Barry Warsaw2002-06-071-113/+110
| | | | | | | | | | | | | | | | | | | | | | | | Not sure this is better in all cases. parse(): Fixed a bug in the output; the dict is referred to in the code as `countries' not `country'. Also added no-case-fold for the string "U.S." since the Virgin Islands name no longer wraps those in parentheses. main(): Fixed the argument parsing to agree with the docstring, i.e. --outputdict instead of --output. In the module docstring: - updated my email address - we don't need to explain about Python 1.5 regexps <wink> We also don't need to wrap the import of re with a try/except. Other style fixes: - untabification - revert back to <> style everywhere (and consistently)
* Apply diff2.txt from SF patch http://www.python.org/sf/565471Walter Dörwald2002-06-071-35/+31
| | | | | | | | | | | | | This patch replaces string module functions with string methods in the Tools/world/world scripts. It also updates two outdated URLs and the countrycodes dictionary. It fixes a bug where result of string.find() was checked for truth instead of compared with -1. It also replaces <> with != in two spots.
* Eugene Dvurechenski <jno@glas.net> says:Barry Warsaw1999-05-261-0/+1
| | | | | there is "su" top level domain still maintained in ex-USSR. at least "*.msk.su" zone (Moscow, USSR) is still in use.
* D.M. Pick gives me a more accurate distillation of his `uk' explanation :-)Barry Warsaw1998-12-291-4/+7
|
* Update on history of `uk' top level, greatly condensed from DavidBarry Warsaw1998-12-271-6/+6
| | | | Pick's emailed account.
* "Author" -> "Contact"Barry Warsaw1998-12-142-2/+2
|
* intermediateBarry Warsaw1998-12-051-0/+85
|
* Fixed some bugsBarry Warsaw1998-12-051-23/+32
|
* Fixed typos in --dumpBarry Warsaw1998-12-051-4/+4
|
* resolve(): Improved use of a/an, suggested by Tino WildenhainBarry Warsaw1998-10-021-1/+5
| | | | <cdtv@amigager.de>.
* example output is differentBarry Warsaw1998-03-131-6/+7
|
* Typos in the docstring fixed by Detlef LannertBarry Warsaw1998-03-131-3/+3
| | | | <lannert@uni-duesseldorf.de>
* Added URL for UKBarry Warsaw1998-03-121-0/+2
|
* Added a hack to deal with common practice 'uk' for United KingdomBarry Warsaw1998-03-121-0/+7
|
* Use RCS revisionsBarry Warsaw1998-03-111-3/+3
|
* Updated the docstringBarry Warsaw1998-03-111-6/+17
|
* Added reverse lookupBarry Warsaw1998-03-111-33/+94
|
* Only parsing requires Python 1.5Barry Warsaw1997-12-041-6/+7
|
* Updated world codes with latest iso3166 codesBarry Warsaw1997-12-041-8/+7
|
* Added parsing of ISO 3166 filesBarry Warsaw1997-12-041-7/+104
|
* Removed the USA'isms that aren't really trueBarry Warsaw1996-11-201-2/+4
|
* /usr/bin/env is slightly more portableBarry Warsaw1996-11-201-1/+1
|
* Added a few meta infoBarry Warsaw1996-11-201-0/+4
|
* Output original addressBarry Warsaw1996-11-191-4/+4
|
* Updated country codes as per ISO3166 10-Feb-1994Barry Warsaw1996-11-181-36/+183
|
* implementation complete. need to update country codesBarry Warsaw1996-11-181-22/+64
|
* Added `ru' --> RussiaBarry Warsaw1996-11-181-0/+1
|
* A rewrite for better Python-ish styleBarry Warsaw1996-11-181-24/+35
|
* updated commentsBarry Warsaw1995-06-151-5/+3
|
* converted to pythonBarry Warsaw1995-06-151-124/+123
|
* Use /depot/gnu/plat/bin/perlBarry Warsaw1994-12-051-1/+1
|
* changed script interpreterBarry Warsaw1994-10-061-1/+1
|
* point perl to ~/bin/perlBarry Warsaw1994-09-231-1/+1
|
* small usage note changeBarry Warsaw1994-07-251-1/+1
|
* small change in messageBarry Warsaw1994-07-251-1/+1
|
* Initial revisionBarry Warsaw1994-07-251-0/+146