170 Commits (14f7b6068417ae249cd48e543a70ae807e113eef)
 

Author SHA1 Message Date
Sam Stavinoha 14f7b60684 default kwargs are evaluated at definition time
This stackoverflow question covers the topic pretty well:

    http://stackoverflow.com/q/1132941/1547030

From docs.python.org:

    Default parameter values are evaluated when the function definition is
    executed. This means that the expression is evaluated once, when the
    function is defined, and that the same “pre-computed” value is used for
    each call. This is especially important to understand when a default
    parameter is a mutable object, such as a list or a dictionary: if the
    function modifies the object (e.g. by appending an item to a list), the
    default value is in effect modified. This is generally not what was
    intended. A way around this is to use None as the default, and
    explicitly test for it in the body of the function
10 years ago
Sven Slootweg dfc8fa0e97 Release 2.4.1 10 years ago
Sven Slootweg f9186f931c Version bump. 10 years ago
Sven Slootweg 842e9d17a3 Test case for .buzz. 10 years ago
Sven Slootweg 561225ba10 Add .buzz WHOIS server. Fixes #25. 10 years ago
Sven Slootweg 992839d9fb 2.4.0 release 10 years ago
Sven Slootweg 0521e0395d Update readme for 2.4.0 release 10 years ago
Sven Slootweg 9203d83c03 Benchmarking and optimizations 10 years ago
Sven Slootweg 672f64975c Update readme 10 years ago
Sven Slootweg 1f419ab7e6 `pwhois` display bugfix, and massively improved normalization: removal of empty-like values (-, n/a, etc.), mapping of abbreviations for countries, US/CA/AU states and airport codes to full locality names. 10 years ago
Sven Slootweg 7504b224b1 Release 2.3.0 10 years ago
Sven Slootweg a417f60b1b Docs update and version bump 10 years ago
Sven Slootweg c09068f0a2 Unicode fixes for `net` and `pwhois`. Fixes #26. 10 years ago
Sven Slootweg b53bad8272 There's no point in redefining all the regular expressions on every call. 10 years ago
Sven Slootweg 47e9c85a07 Improve normalization for registrar names, and implement .com.tw (TWNIC) parsing. Fixes #22. 10 years ago
Sven Slootweg d5cd18aea1 Update testing data to reflect creationdate parsing bugfix in d86e4ba916. 10 years ago
Sven Slootweg 0465810b75 Unbreak .dk parsing bug introduced by 1b60bde575. 10 years ago
Sven Slootweg a4f29a379e Implement HKDNR (.hk) parsing. Fixes #24. 10 years ago
Sven Slootweg 1b60bde575 Implement Akky/.com.mx parsing. Fixes #23. 10 years ago
Sven Slootweg ae547d0970 Implement .co.th parsing (oh man, what a mess...) 10 years ago
Sven Slootweg 84ab775649 Implement nic.ir parsing, including their horrid address format. Partially fixes #23. 10 years ago
Sven Slootweg d9474ce1b3 Change nic.pw/PIR regex to support No-IP.com by making the handle optional. Fixes #23 partially. 10 years ago
Sven Slootweg d86e4ba916 Fix bug in creation date parsing for contacts. Implement .co.jp with recursive handle lookups, fixes #22 partially. Skip WHOIS referals with a protocol specification, fixes #25. 10 years ago
Sven Slootweg 8fe54fa66b Add support for nic.it. Fixes #21. 11 years ago
Sven Slootweg 7bc5949e07 Release 2.2.2 11 years ago
Sven Slootweg e646a351fd Bump version 11 years ago
Sven Slootweg 1c05408847 Implement CNNIC (.cn). Fixes #19. 11 years ago
Sven Slootweg d601179a31 Release 2.2.1 11 years ago
Sven Slootweg 3b505e7096 Version bump 11 years ago
Sven Slootweg c5f63363d2 Fix NeuStar regex to make State/Province optional since these are apparently not always present, and explicitly remove variable-width whitespace matching. 11 years ago
Sven Slootweg 5f660bfa96 Remove likely unnecessary variable-width whitespace matching during preprocessing, to avoid an insane permutation count for partially matching regexes, thereby hanging the parser. Fixes #18. 11 years ago
Sven Slootweg 50ace6f99d Release 2.2.0. 11 years ago
Sven Slootweg 69034f2ac5 Add an explicit exception for example.com, as it is not handled correctly by IANA. Fix multi-response processing, adding a `never_cut` argument. Documentation updates and version bump to 2.2. Fixes #17. 11 years ago
Sven Slootweg e028fa6c0e 2.1.4 release 11 years ago
Sven Slootweg 917520f62e Version bump (also belatedly closes #16). 11 years ago
Sven Slootweg 6ecf4efa98 Hardcoded nic.ps root WHOIS server, and added nic.ps parsing, plus misc. fixes. Fixes #15. 11 years ago
Sven Slootweg 5d32a3c883 Fix Nominet parsing for registrants that do not have a state/region listed 11 years ago
Sven Slootweg 43a62c5828 janet (.ac.uk) parsing and hardcoded root server exception, misc. fixes 11 years ago
Sven Slootweg 407cd74b59 Support for LCN.com 11 years ago
Sven Slootweg 8f7e8c4084 Release 2.1.3 11 years ago
Sven Slootweg 614fcd15a4 Version bump 11 years ago
Sven Slootweg 34f9736529 DotAsia test case 11 years ago
Sven Slootweg 7f689d1734 DotAsia support 11 years ago
Sven Slootweg 256454b82f Another EuroDNS testcase 11 years ago
Sven Slootweg 148791606f Add more EuroDNS testcases 11 years ago
Sven Slootweg 3e43dcbcef Add support for EuroDNS. Fixes #10. 11 years ago
Sven Slootweg 8a1e44a35f Test cases for EURid 11 years ago
Sven Slootweg 9b6416af3f Correctly parse EURid data, fixes #9 11 years ago
Sven Slootweg 163ed9d75c Fixes globaltravelgroup.com for #8 11 years ago
Sven Slootweg 35fe637eb9 Nominet regex patch to allow extra fields. Fixes #8... again. 11 years ago