vmware/pyvmomi

pyVmomi should never use 'print'

Open

#68 创建于 2014年6月26日

在 GitHub 查看
 (0 评论) (0 反应) (1 负责人)Python (2,141 star) (807 fork)batch import
enhancementhelp wantedwishlist

描述

https://docs.python.org/2/library/warnings.html

pyVmomi is a deep level library and it should avoid making use of logging or printing features directly which are application elements we should leave 100% in control of the end application developer.

To close this issue:

  • remove all use of 'print'
  • introduce use of warnings to replace 'print'
  • introduce verbose logging of SOAP messages

贡献者指南

pyVmomi should never use 'print' · vmware/pyvmomi#68 | Good First Issue