Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/fi/associationid.py
Commit message (Collapse)AuthorAgeFilesLines
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-291-2/+2
| | | | | | | | | | | The problem with the latter is that it will also accept all kinds of unicode digits that are not the ASCII 0-9 digits causing all kinds of problems in check digit calculations. Some of these unicode characters are also considered digits by int() but some are not (such as the SUPERSCRIPT TWO unicode character). Closes https://github.com/arthurdejong/python-stdnum/issues/96
* Docstring improvementsArthur de Jong2017-09-111-9/+4
|
* Add Python 2.6 supportArthur de Jong2016-11-141-2/+2
| | | | | This also brings the list of Python versions in setup.py in line with tox.ini.
* Add a whitelist for short numbers and fix APIArthur de Jong2015-07-121-23/+41
| | | | | | This implements separate functions compact() and format() and fixes the doctests. This also implements a whitelist of registered short numbers to avoid accidentally validating just any number.
* Validation for Finnish association identifierLari Haataja2015-07-121-0/+76