> +1 OverflowErrors should probably by reserved for numeric overflows. In a sense, passing sys.maxsize as a string size *is* a numeric overflow - the size can't be represented in the available variable. Regards, Martin