Since the code above has just checked it is a bytes() object, is there anything else that could make this one return an exception?