Suppress/Catch warning and error messages in python

As an alternative, on this thread we suggested that perhaps TF_WARN should integrate with the warning module via PyError_Warn. That would surface OpenUSD warnings as native python warnings (similar to how OpenUSD errors are surfaced as pyton exceptions) without having to rely on delegates to do filtering.

Integrating USD Tf.Warn with Python logging.Logger - Community / USD - Alliance for OpenUSD (aousd.org)