Commit Graph

12 Commits

Author SHA1 Message Date
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 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 045a135786 apply and generalize patch from Ronny regarding dumb terminals, add doc note
--HG--
branch : trunk
2009-05-13 13:06:32 +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 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 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