holger krekel
c1fcf9c4d8
* use py.builtin._getimself instead of getattr(..., '*self*') everywhere
...
* fix logging to work with 3k, implement buffering manually
* fix unicode capturing issue - re-introduce EncodedFile for <3K file writes
--HG--
branch : trunk
2009-09-01 16:10:21 +02:00
holger krekel
1dafcc6b37
fix py/io classes and tests to pass 3.1
...
introduce py.builtin._totext helper to make a 2k=unicode / 3k=str object, allow a string as data
--HG--
branch : trunk
2009-08-29 15:51:49 +02:00
holger krekel
783e6aeb4d
temporary checking towards 3.1 compatibility
...
introduced some helpers to py.builtin namespace which need some review
after things begin to work more nicely
--HG--
branch : trunk
2009-08-28 19:16:15 +02:00
holger krekel
58a9e71e81
add delattr/delenv/delitem methods and tests, enhance terminalwriter tests
...
--HG--
branch : trunk
2009-08-22 12:45:58 +02:00
holger krekel
1fcd373bd5
* introduce py.io.TextIO and py.io.StringIO to help with 3k transition and to clarify
...
intentions when doing "in-memory" files. Replace most usages of StringIO.
* consolidate py.io's files and tests into fewer files, make files 3k-importable
--HG--
branch : trunk
2009-08-20 20:47:39 +02:00
holger krekel
8fcdac9dd6
* fix capturing and unicode printing in tests
...
* introduce "_encoding" to py/io/terminalwriter writing
* beautify a few __repr__ for better internal debugging
--HG--
branch : 1.0.x
2009-08-06 14:34:19 +02:00
holger krekel
96c863b3c1
rename pocoo to "pastebin" plugin, write documentation, implement whole-session-pasting
...
--HG--
branch : 1.0.x
2009-08-03 11:56:56 +02:00
holger krekel
be949f4037
* reworked capturing to only capture once per runtest cycle
...
* added readouterr() method to py.io capturing helpers
--HG--
branch : 1.0.x
2009-07-31 14:21:02 +02:00
holger krekel
2b12f3f538
resolves issue 18 multiprocessing py.test co-existence
...
add fileno() method and test DontReadFromInput redirection some more
--HG--
branch : 1.0.x
2009-06-24 16:35:01 +02:00
holger krekel
74ba91dd50
resolve issue 23
...
--HG--
branch : 1.0.x
2009-06-24 16:24:20 +02:00
holger krekel
e61e7b1e26
* fix too-many-open files issue with fd based io-capturing
...
* workaround 2.6 issue with pickling of objects from global conftest.py files
--HG--
branch : trunk
2009-06-09 17:06:31 +02:00
holger krekel
045a135786
apply and generalize patch from Ronny regarding dumb terminals, add doc note
...
--HG--
branch : trunk
2009-05-13 13:06:32 +02:00
hpk
cca19f1183
[svn r63580] * removing usage of py.magic.patch
...
* removing obsolete greenlet.py
--HG--
branch : trunk
2009-04-03 19:45:25 +02:00
afa
cfd28db4a6
[svn r63110] Typo in a (unused) constant
...
--HG--
branch : trunk
2009-03-20 09:09:56 +01:00
hpk
5cd05c565c
[svn r63053] forbid too small windows width for now
...
--HG--
branch : trunk
2009-03-18 20:39:33 +01:00
hpk
6f93561002
[svn r63020] allow to specify python executable in gatewayspecs, fix a few tests
...
--HG--
branch : trunk
2009-03-18 02:13:07 +01:00
hpk
fcaefb841b
[svn r63019] some simple ssh tests, always transfer py lib as rsyncroot
...
--HG--
branch : trunk
2009-03-18 01:38:02 +01:00
afa
f56310d178
[svn r62857] Always substract the last column from the Win32 terminal console:
...
otherwise the last char wraps and the \n causes an empty line.
This allows more tests to pass.
--HG--
branch : trunk
2009-03-11 13:55:44 +01:00
afa
4be27f5078
[svn r62835] Add ANSI colouring to the Win32 console.
...
This gives a nice display for py.test,
and during pypy translation.
the "markup" function should not be used any more.
--HG--
branch : trunk
2009-03-11 02:40:08 +01:00
hpk
d7f4dd3794
[svn r57548] * introduce py.process.ForkedFunc object (previously lived at
...
py.io and before that py.test)
* avoid deprecated py/misc/terminal_helper.py
* starting changelog for 1.0
--HG--
branch : trunk
2008-08-21 14:12:20 +02:00
hpk
abc8cf09aa
[svn r57321] merging the event branch:
...
* moving in test, misc, code, io directories and
py/__init__.py
* py/bin/_find.py does not print to stderr anymore
* a few fixes to conftest files in other dirs
some more fixes and adjustments pending
--HG--
branch : trunk
2008-08-16 17:26:59 +02:00
hpk
7428eadf7d
[svn r57320] remove test, misc, doc, io, and code directories
...
that are to come from the event branch with the next commit.
--HG--
branch : trunk
2008-08-16 17:10:17 +02:00
ac
643289e013
[svn r45901] Do not use os.tmpfile() as it will fail on Windows unless You are Administrator.
...
--HG--
branch : trunk
2007-08-21 20:39:21 +02:00
hpk
50f9f1a410
[svn r38480] unneeded import
...
--HG--
branch : trunk
2007-02-11 17:56:46 +01:00
hpk
03dc73b195
[svn r37949] fix test for nocapturing output runs (and --pdb)
...
--HG--
branch : trunk
2007-02-05 01:47:43 +01:00
guido
7852ead1fe
[svn r37912] Made some small changes to the initpkg mechanism so docstrings are, if
...
provided in the exportdefs, copied to the namespaces (from whereever they
come), and added docstrings to all exposed namespaces (except for _thread for
now).
--HG--
branch : trunk
2007-02-04 15:27:10 +01:00
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
3ad6642a49
[svn r37745] fixing and adding to docstring
...
--HG--
branch : trunk
2007-02-01 16:35:29 +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
hpk
16fae5ed73
[svn r37736] cosmetic docstring change
...
--HG--
branch : trunk
2007-02-01 15:35:07 +01:00
guido
646d4f93e1
[svn r37733] Removed two rather useless methods that just delegated to methods on the
...
underlying object, in favour of calling the underlying object's methods
directly (py.io.OutErrCapture.writeorg*).
--HG--
branch : trunk
2007-02-01 15:13:59 +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
guido
6795b4d23c
[svn r37314] Added docstring.
...
--HG--
branch : trunk
2007-01-25 10:46:16 +01:00
hpk
5992a8ef21
[svn r37264] create the new development trunk
...
--HG--
branch : trunk
2007-01-24 15:24:01 +01:00