Hi,

Does anyone know if there is a good reason why PyUnicode_FromFormatV()
does not fail on invalid format string, but copies the format string
as-if into the result?

I would like to change this to raise a ValueError instead.
PyUnicode_FromFormatV() is used by PyErr_Format(), so PyErr_Format()
may now fail with a ValueError if the format string is invalid.

Victor
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to