ashb opened a new pull request #18798:
URL: https://github.com/apache/airflow/pull/18798


   When sending objects around via multiprocessing (on Python 3.6 or lower)
   it would fail if that object contained a Logger object.
   
   To fix that we have "backported" the change in Python 3.7 to make Logger
   objects be pickled "by name". (In Python 3.7 the change adds
   `__reduce__` methods on to the Logger and RootLogger objects, but here
   we achieve it `copyreg` stdlib module so we don't monkeypatch
   anything.)
   
   This mainly applies to using Kubernetes client >12 (which is not
   currently possible as we restrict that version) but this adds support
   for it anywhere it might happen inside Python 3.6.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to