You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/01 07:21:27 UTC

[GitHub] [airflow] uranusjr opened a new pull request #22677: Reset warnings.showwarning on interpreter shutdown

uranusjr opened a new pull request #22677:
URL: https://github.com/apache/airflow/pull/22677


   First part of #22665.
   
   Since our custom showwarning hook lazy-imports Rich, it may not be able to execute correctly if a warning is emitted after the interpreter has already cleaned up the import system. This adds an atexit hook to restore the original showwarning hook, so that warnings emitted after the clean-up phase are logged plainly without using additional modules.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk merged pull request #22677: Reset warnings.showwarning on interpreter shutdown

Posted by GitBox <gi...@apache.org>.
potiuk merged pull request #22677:
URL: https://github.com/apache/airflow/pull/22677


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org