Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update to the world tool for Python 3. Provided by quentin.gallet-gilles via | Barry Warsaw | 2007-12-20 | 1 | -45/+62 |
| | | | | | | | | | | | tracker issue 1671: http://bugs.python.org/issue1671 In addition to updating the code for Py3k, this updates ccTLDs to their 10-Oct-2006 revision. (Minor stylistic additions and whitespace normalization by Barry.) | ||||
* | Added the "weird" ccTLDs ac, gg, im, and je. These are not recognized | Barry Warsaw | 2002-07-15 | 1 | -5/+17 |
| | | | | | | 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. | ||||
* | Added the 7 new top level domains, and reworded the nameorgs output. | Barry Warsaw | 2002-06-07 | 1 | -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/565471 | Walter Dörwald | 2002-06-07 | 1 | -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 Warsaw | 1999-05-26 | 1 | -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 Warsaw | 1998-12-29 | 1 | -4/+7 |
| | |||||
* | Update on history of `uk' top level, greatly condensed from David | Barry Warsaw | 1998-12-27 | 1 | -6/+6 |
| | | | | Pick's emailed account. | ||||
* | "Author" -> "Contact" | Barry Warsaw | 1998-12-14 | 2 | -2/+2 |
| | |||||
* | intermediate | Barry Warsaw | 1998-12-05 | 1 | -0/+85 |
| | |||||
* | Fixed some bugs | Barry Warsaw | 1998-12-05 | 1 | -23/+32 |
| | |||||
* | Fixed typos in --dump | Barry Warsaw | 1998-12-05 | 1 | -4/+4 |
| | |||||
* | resolve(): Improved use of a/an, suggested by Tino Wildenhain | Barry Warsaw | 1998-10-02 | 1 | -1/+5 |
| | | | | <cdtv@amigager.de>. | ||||
* | example output is different | Barry Warsaw | 1998-03-13 | 1 | -6/+7 |
| | |||||
* | Typos in the docstring fixed by Detlef Lannert | Barry Warsaw | 1998-03-13 | 1 | -3/+3 |
| | | | | <lannert@uni-duesseldorf.de> | ||||
* | Added URL for UK | Barry Warsaw | 1998-03-12 | 1 | -0/+2 |
| | |||||
* | Added a hack to deal with common practice 'uk' for United Kingdom | Barry Warsaw | 1998-03-12 | 1 | -0/+7 |
| | |||||
* | Use RCS revisions | Barry Warsaw | 1998-03-11 | 1 | -3/+3 |
| | |||||
* | Updated the docstring | Barry Warsaw | 1998-03-11 | 1 | -6/+17 |
| | |||||
* | Added reverse lookup | Barry Warsaw | 1998-03-11 | 1 | -33/+94 |
| | |||||
* | Only parsing requires Python 1.5 | Barry Warsaw | 1997-12-04 | 1 | -6/+7 |
| | |||||
* | Updated world codes with latest iso3166 codes | Barry Warsaw | 1997-12-04 | 1 | -8/+7 |
| | |||||
* | Added parsing of ISO 3166 files | Barry Warsaw | 1997-12-04 | 1 | -7/+104 |
| | |||||
* | Removed the USA'isms that aren't really true | Barry Warsaw | 1996-11-20 | 1 | -2/+4 |
| | |||||
* | /usr/bin/env is slightly more portable | Barry Warsaw | 1996-11-20 | 1 | -1/+1 |
| | |||||
* | Added a few meta info | Barry Warsaw | 1996-11-20 | 1 | -0/+4 |
| | |||||
* | Output original address | Barry Warsaw | 1996-11-19 | 1 | -4/+4 |
| | |||||
* | Updated country codes as per ISO3166 10-Feb-1994 | Barry Warsaw | 1996-11-18 | 1 | -36/+183 |
| | |||||
* | implementation complete. need to update country codes | Barry Warsaw | 1996-11-18 | 1 | -22/+64 |
| | |||||
* | Added `ru' --> Russia | Barry Warsaw | 1996-11-18 | 1 | -0/+1 |
| | |||||
* | A rewrite for better Python-ish style | Barry Warsaw | 1996-11-18 | 1 | -24/+35 |
| | |||||
* | updated comments | Barry Warsaw | 1995-06-15 | 1 | -5/+3 |
| | |||||
* | converted to python | Barry Warsaw | 1995-06-15 | 1 | -124/+123 |
| | |||||
* | Use /depot/gnu/plat/bin/perl | Barry Warsaw | 1994-12-05 | 1 | -1/+1 |
| | |||||
* | changed script interpreter | Barry Warsaw | 1994-10-06 | 1 | -1/+1 |
| | |||||
* | point perl to ~/bin/perl | Barry Warsaw | 1994-09-23 | 1 | -1/+1 |
| | |||||
* | small usage note change | Barry Warsaw | 1994-07-25 | 1 | -1/+1 |
| | |||||
* | small change in message | Barry Warsaw | 1994-07-25 | 1 | -1/+1 |
| | |||||
* | Initial revision | Barry Warsaw | 1994-07-25 | 1 | -0/+146 |