[Python-3000] More PEP 3101 changes incoming

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Aug 7 02:57:13 CEST 2007


Ron Adam wrote:
> What should happen in various situations of mismatched or invalid type 
> specifiers?

I think that a format string that is not understood
by any part of the system should raise an exception
(rather than, e.g. falling back on str()). Refuse the
temptation to guess.

--
Greg


More information about the Python-3000 mailing list