when the locale is (None, None) you can't use the indexes [0][0:2]. That's really the essence of the bug. and while my patch works around the issue it may not be the best way to address the problem.