I may be remembering vaguely, but the conversion to @classmethod was only done so that we are able to raise the exception in case of Python 2 as well.