> greg wrote: > > We don't care about anything except for %d, %s, possibly %c and %x. > > how about: I would suggest to build this into PyErr_Format, which is what everybody already uses. Instant safety. Need some more analysis of what format codes are actually used, and support for %.200s which is currently used often. --Guido van Rossum (home page: http://dinsdale.python.org/~guido/)