vmware/pyvmomi

pyVmomi should never use 'print'

Open

#68 aberto em 26 de jun. de 2014

Ver no GitHub
 (0 comments) (0 reactions) (1 assignee)Python (807 forks)batch import
enhancementhelp wantedwishlist

Métricas do repositório

Stars
 (2.141 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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

Guia do colaborador