Commit Graph

7 Commits

Author SHA1 Message Date
hpk 9f8035656e [svn r37872] StdCaptureFD and StdCapture now try
to take care of stdin in a mostly uniform way.

--HG--
branch : trunk
2007-02-03 14:57:25 +01:00
hpk 1ab92ac3be [svn r37859] separating tests into two files
--HG--
branch : trunk
2007-02-03 12:32:45 +01:00
hpk 7fd122a4c1 [svn r37772] have both capturings have the same done/reset semantics
(should also fix a buildcmodule related problem, e.g. for
greenlets)

--HG--
branch : trunk
2007-02-01 22:52:42 +01:00
hpk 17754c6fd9 [svn r37766] unifying non-FD and FD capturing some more
(could be more, but at least the APIs start
to feel the same)

--HG--
branch : trunk
2007-02-01 21:26:27 +01:00
hpk b706ec2f95 [svn r37741] monster checking for
* unifying IO capturing methods
* py.io.StdCapture and py.io.StdCaptureFD
  (and both have a classmethod 'call' that is
  a shortcut for capturing output while
  executing a function)
* removing lots of duplicate code
* providing some examples in py/doc/io.txt

at least tests on win32 and linux seem
to pass all for me.

--HG--
branch : trunk
2007-02-01 16:20:39 +01:00
guido 9f491f2058 [svn r37729] Added some code to py.io.FDCapture and py.io.OutErrCapture to allow writing
to the original (patched) file descriptor. Also made that the capturing object
is passed to apigen.py's build() function (from rsession.py), which uses the
new methods to print progress information.

--HG--
branch : trunk
2007-02-01 14:56:31 +01:00
hpk 5992a8ef21 [svn r37264] create the new development trunk
--HG--
branch : trunk
2007-01-24 15:24:01 +01:00