Remove old comment about null values
Ignore flake8 warnings about dupe imports
Raise TypeError for non-string BOP tokens
Error on negative max_attempts argument