我不确定是不是因为 sys.stderr.write 更快。
最佳答案
imaplib 比日志记录模块 (Python2.3) 老得多(它在 Python1.5.2 中),所以也许还没有人需要更新它来使用日志记录
关于python - 为什么 python 库(例如 imaplib)不使用日志记录而是使用 sys.stderr.write?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3510747/
我不确定是不是因为 sys.stderr.write 更快。
最佳答案
imaplib 比日志记录模块 (Python2.3) 老得多(它在 Python1.5.2 中),所以也许还没有人需要更新它来使用日志记录
关于python - 为什么 python 库(例如 imaplib)不使用日志记录而是使用 sys.stderr.write?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3510747/