Commit Graph

16 Commits

Author SHA1 Message Date
holger krekel c791610998 * simplify and refactor path tests to use funcargs instead of the layered xunit-setup mess
* port py/path to pass 3.11
* added py.builtin._totext, _tobytes, _isbytes, _istext helpers

--HG--
branch : trunk
2009-08-31 19:51:25 +02:00
Benjamin Peterson ee1747fcb4 make all syntax compatible with 3.1 and 2.5
--HG--
branch : trunk
2009-08-29 13:04:48 -05:00
holger krekel b930565d56 * fix some syntax and 3k issues for py/path and py/process, tests only partially working
* have py.process.cmdexec return unicode/text (for now)
* rename py.builtin.basestring to _basestring

--HG--
branch : trunk
2009-08-29 16:40:03 +02:00
holger krekel 681d344eac deprecate py.magic.autopath() and finally remove py/magic directory.
--HG--
branch : trunk
2009-08-27 18:46:42 +02:00
holger krekel e810e1774d simplify caching class
--HG--
branch : trunk
2009-08-25 16:14:20 +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 5118821c10 consolidate svn path implementations and tests into files named after the package namespaces.
--HG--
branch : trunk
2009-08-20 20:35:35 +02:00
holger krekel f3fcb5e6d3 - strike lots of basically unused code around local path implementation.
and tweak things a bit to make py.path.local at least importable on 3k

- also strike unused somewhat related code in initpkg.py

--HG--
branch : trunk
2009-08-20 19:43:13 +02:00
holger krekel 561fdca3a2 move localpath implementation to a single file, simplify unix/posix difference and fix a bit
--HG--
branch : trunk
2009-08-20 17:37:06 +02:00
hpk c17a09adaf [svn r62211] merge 60797:HEAD of pytestplugin branch:
this merge contains:

* a new plugin architecture
* a pluginized pytest core
* many pytest related refactorings
* refactorings/streamlining of pytest's own tests

--HG--
branch : trunk
2009-02-27 11:18:27 +01:00
hpk 499d60c8ab [svn r38203] rename getpymodule/getpycodeobj to "_" methods
(which can build C modules on the fly)
it's not clear they are still useful this way
and they are easy to confuse with pyimport()

--HG--
branch : trunk
2007-02-08 20:48:31 +01:00
hpk 6477b43d9b [svn r38119] avoid clashing the sample* prefix which is used by a listdir() test
--HG--
branch : trunk
2007-02-07 21:52:09 +01:00
hpk 3049c6bd2a [svn r38116] fixing svn tests for -d runs (which usually
is a dependency problem)

--HG--
branch : trunk
2007-02-07 21:40:37 +01:00
hpk 0fb86b2b90 [svn r38074] fix typo
--HG--
branch : trunk
2007-02-07 16:26:27 +01:00
hpk e721d85278 [svn r37641] removing py.path.extpy after all
--HG--
branch : trunk
2007-01-30 23:22:15 +01:00
hpk 5992a8ef21 [svn r37264] create the new development trunk
--HG--
branch : trunk
2007-01-24 15:24:01 +01:00