◐ Shell
clean mode source ↗

gh-68443: Replace debug level-related logic in http client with logging by CuriousLearner · Pull Request #8633 · python/cpython

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran into the problem (logging with print, which gives no timestamps etc.) this PR is fixing, and I hope it gets merged.

But, this patch has several style-related changes, which should be put into a separate commit. It also looks to me that there is some print usage left and some debug output which this patch removes, see my comments.