Lehych
Lehych

Reputation: 166

Why does python libs (eg imaplib) does not use logging but use sys.stderr.write?

I'm not sure if it's because sys.stderr.write is faster.

Upvotes: 1

Views: 87

Answers (1)

John La Rooy
John La Rooy

Reputation: 304355

imaplib is much older (it was in Python1.5.2) than the logging module (Python2.3), so perhaps noone has needed to update it to use logging yet

Upvotes: 6

Related Questions