saxbophone / basest-python

Arbitrary base binary-to-text encoder (any base to any base), in Python.
https://pypi.org/project/basest/
Mozilla Public License 2.0
6 stars 0 forks source link

Add error-handling for non-unique encoding alphabets #26

Closed saxbophone closed 6 years ago

saxbophone commented 6 years ago

When using encode() and decode(), ValueError should be raised if either the input or output alphabets are not unique (or if the output alphabet contains the output padding character).