John Machin wrote: >> > So all he needs is a boolean result: u.willitfit(encoding, width) >> >> at what point in the program would that method be used ? > > Never, I hope. Were you taking that as a serious suggestion? Fredrik, > perhaps your irony detector needs a little preventative maintenance :-)
well, Willie did ask for something like that, didn't he ? I'm just gathering requirements... >> how large are the strings, for typical cases ? > > He did mention it several posts ago -- I recall varchar(50) or > something like that. ok. wake me up when he's dealing with columns defined as varchar(50000000) or so... </F> -- http://mail.python.org/mailman/listinfo/python-list