vmware/pyvmomi

pyVmomi should never use 'print'

オープン

#68 opened on 2014/06/26

 (0 件のコメント) (0 件のリアクション) (1 人の担当者)Python (807 件のフォーク)batch import
enhancementhelp wantedwishlist

Repository metrics

Stars
 (2,141 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド