Skip to content
This repository was archived by the owner on Oct 1, 2022. It is now read-only.

Conversation

@stephenwade
Copy link
Contributor

Also, prevents an infinite loop when trying to encode with a base 1 BaseConverter.

Example code that infinitely loops:

from baseconv import BaseConverter
base1 = BaseConverter('0')
base1.encode(5)

also prevents an infinite loop when trying to encode with a base 1 BaseConverter
@coveralls
Copy link

Coverage Status

Coverage decreased (-1.5%) to 98.529% when pulling 6e927f0 on stephenwade:patch-1 into 1c4fdf1 on semente:master.

@coveralls
Copy link

coveralls commented Apr 8, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling c8b7782 on stephenwade:patch-1 into 1c4fdf1 on semente:master.

@semente
Copy link
Owner

semente commented Apr 11, 2018

Thanks @stephenwade, it looks great!

@semente semente merged commit 25d6c21 into semente:master Apr 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants