(original) (raw)

On 06/22/2012 11:21 AM, MRAB wrote:
On 22/06/2012 17:39, Terry Reedy wrote:
You sensibly only test printable ascii chars, which are in the
contiguous range 32 to 127 inclusive. So it makes no sense to claim
otherwise and then deny the wrong claim, or to enlarge the range and
then shrink it again.
ASCII character 127 is a control character, not a printable character.

+        This function brute-force tests all\*\* ASCII characters (1 to 127
+        inclusive) as format units, checking to see that

There are 128 ASCII characters (0 to 127 inclusive).

Okay, message received.  I'll test from 32 to 126 inclusive.  I'm going to be obnoxious and code those values straight in--which I concede will be a maintenance nightmare should the ASCII standard change.


/arry