Currently plain print is used to print any PMI warnings, often (but not always) with a WARNING> prefix. Replace all such uses with use of the Python warnings module and define custom warning types. This should make it easier to ignore certain warning types, or to promote them to errors.
Currently plain
print
is used to print any PMI warnings, often (but not always) with aWARNING>
prefix. Replace all such uses with use of the Python warnings module and define custom warning types. This should make it easier to ignore certain warning types, or to promote them to errors.