Author mtomczak
Recipients mtomczak
Date 2007-12-11.17:12:03
SpamBayes Score 0.00646302
Marked as misclassified No
Message-id <>
The help documentation for the popen2.Popen3 class includes the
following information:

    class Popen3
     |  Class representing a child process.  Normally instances are created
     |  by the factory functions popen2() and popen3().

This information is misleading because the function popen2.popen3
actually returns a tuple of file objects (child_stdout, child_stdin,
child_stderr), not an instance of class Popen3. Additionally, some of
the properties of class Popen3 are monkey-patched into the instance when
it is created and so do not appear in a dir(popen2.Popen3) call on the
class itself. This means that some automatic documentation generators
seem to fail to list these properties of the runtime Popen3 instance, as
they are not apparent in the class definition.

I suggest adding a note in the documentation of popen2.Popen3 to refer
users to the manual page
An example of usage that takes into account the monkey-patched
properties would also be helpful.
Date User Action Args
2007-12-11 17:12:04mtomczaksetspambayes_score: 0.00646302 -> 0.00646302
recipients: + mtomczak
2007-12-11 17:12:04mtomczaksetspambayes_score: 0.00646302 -> 0.00646302
messageid: <>
2007-12-11 17:12:04mtomczaklinkissue1591 messages
2007-12-11 17:12:03mtomczakcreate