Benjamin Peterson
59892b8532
remove usage of the new module
...
--HG--
branch : trunk
2009-08-29 15:14:18 -05: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
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
5e95feaf90
* add print_, exec_ and _reraise helpers for 2-3 compatible code
...
* consolidate builtins implementation to be compatible with >=2.3
--HG--
branch : trunk
2009-08-28 16:25:29 +02:00
holger krekel
d1932a30ed
deprecate py.compat.doctest|subprocess|textwrap|...
...
(and for now pass through Python stdlib provided modules).
--HG--
branch : trunk
2009-08-27 21:12:55 +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
739edc26b4
simplifying errno error class creation and introduce a py.error.checked_call helper
...
that creates a proper errno-specific exception instead of OSErrors. use it from
py.path.local.
--HG--
branch : trunk
2009-08-25 09:38:19 +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
holger krekel
d2f497084e
fixing svn status on incomplete files issue #32
...
--HG--
branch : 1.0.x
2009-08-14 18:01:16 +02:00
holger krekel
67c4503d1b
fix bestrelpath related tests and docstrings
...
--HG--
branch : 1.0.x
2009-08-04 09:32:05 +02:00
holger krekel
2514b8faaf
fix a svn-1.6 issue
...
--HG--
branch : 1.0.x
2009-07-30 21:31:31 +02:00
holger krekel
1e84a3c451
fixing a windows issues
...
--HG--
branch : trunk
2009-05-07 21:04:56 +02:00
hpk
b3e22554d7
[svn r64259] porting afa's 64232 and 64253 to trunk
...
--HG--
branch : trunk
2009-04-17 13:30:55 +02:00
hpk
58cc8c29d3
[svn r63914] py.log._apiwarn is fine enough because it's something
...
of an py lib internal api deprecation mechanism atm.
--HG--
branch : trunk
2009-04-09 22:34:28 +02:00
hpk
2ffb68c177
[svn r63913] make py.log.APIWARN available
...
--HG--
branch : trunk
2009-04-09 22:32:04 +02:00
hpk
877a7a32d8
[svn r63103] samefile is only available on posix
...
--HG--
branch : trunk
2009-03-20 01:30:32 +01:00
hpk
f7a23716b5
[svn r63102] add a "samefile" method to local path objects.
...
--HG--
branch : trunk
2009-03-20 00:57:10 +01:00
hpk
4aac96fa13
[svn r63000] * do an as lightweight config.mktemp() as possible
...
* avoid writing lock files if lock_timeout is 0 or None
--HG--
branch : trunk
2009-03-17 15:12:10 +01: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
6863f54951
[svn r60277] triggered by https://codespeak.net/issue/py-dev/issue66
...
* check for 1.5 messages for non-versioned resources
* modify non-recursive commit test to account for subversion
behaviour changes (non-recursive commit on directory
will now commit modified files in it, but will not recurse
or add subdirs)
--HG--
branch : trunk
2008-12-02 11:08:51 +01:00
hpk
a55332091d
[svn r58385] * move cross-platform process kill functionality and move it to
...
py.process.kill(pid)
* simplify test_auth.py
* use new functionality from some tests
--HG--
branch : trunk
2008-09-23 16:28:13 +02:00
hpk
863fff7042
[svn r58360] factor import of xml into one method to deal more gracefully
...
with implementations that don't have expat.
--HG--
branch : trunk
2008-09-23 08:29:17 +02:00
hpk
cc10d84088
[svn r58308] * de-generalize conditional skips and only care
...
nicely for common tedious causes of skipping:
import a module and checking it has a certain
version. usage example:
docutils = py.test.importorskip(docutils, minversion="0.4")
* used new helper and cleanup skipping logic in py lib
--HG--
branch : trunk
2008-09-21 17:15:28 +02:00
hpk
37eea51f59
[svn r58034] introduce APIWARN helper
...
allow for subscriptions to produced warnings
use it from some places
--HG--
branch : trunk
2008-09-10 11:47:37 +02:00
hpk
a978e606c3
[svn r57833] simplify test setup
...
--HG--
branch : trunk
2008-09-05 11:28:25 +02:00
hpk
621f925985
[svn r57831] small test cleanups while prepping for pycon uk slides
...
--HG--
branch : trunk
2008-09-05 11:02:58 +02:00
hpk
c0d524139e
[svn r57538] re-apply few fixes to make experimental gateway path basically work again.
...
--HG--
branch : trunk
2008-08-21 12:05:04 +02:00
hpk
37a41ed0b7
[svn r57536] get the py.path fixes of 0.9.x release branch back to trunk
...
--HG--
branch : trunk
2008-08-21 12:00:33 +02:00
hpk
a8571daac8
[svn r57481] fix a few things, seems to work again.
...
--HG--
branch : trunk
2008-08-19 23:47:09 +02:00
hpk
353ce8d0ce
[svn r57480] fix changed namespace
...
--HG--
branch : trunk
2008-08-19 23:42:13 +02:00
guido
c32fa7b4f3
[svn r57474] Fixed bug reported by Martijn Faassen - when the XML output of 'svn st --xml'
...
didn't contain author information, the code raised an exception.
--HG--
branch : trunk
2008-08-19 21:50:06 +02:00
hpk
c1ce0c7357
[svn r57464] removing print statement
...
(there is something to be said about doctests :)
--HG--
branch : trunk
2008-08-19 14:23:30 +02:00
guido
623ad564ed
[svn r57449] Merging https://codespeak.net/svn/py/branch/guido-svnwc-xml-status with trunk
...
(revisions 56843:57448).
--HG--
branch : trunk
2008-08-18 22:37:39 +02:00
hpk
a20731b111
[svn r57440] various fixes for python2.6
...
--HG--
branch : trunk
2008-08-18 19:33:31 +02:00
hpk
88a534e9b0
[svn r57323] port 57174 from branch: ignore errors when removing dirs in teardowns
...
--HG--
branch : trunk
2008-08-16 17:38:54 +02:00
guido
4549e188da
[svn r56835] Refactored the wcpath.status() method, moved the parsing of the regexp to the
...
WCStatus class.
--HG--
branch : trunk
2008-07-29 12:07:41 +02:00
hpk
ee61967f75
[svn r56513] extend doc string
...
--HG--
branch : trunk
2008-07-13 16:09:38 +02:00
hpk
cdc3f3e9fc
[svn r56512] avoid infinite recursion issue with svn 1.5, thanks chris lamb
...
--HG--
branch : trunk
2008-07-13 16:02:26 +02:00
hpk
3158564e7f
[svn r56510] svn 1.3 is in common use these days and seems to pass the test.
...
--HG--
branch : trunk
2008-07-13 15:36:50 +02:00
guido
14bdc16dd5
[svn r52001] Removed (outdated, and perhaps a bit too verbose) document about svn auth, in
...
favour of a short note and code example in the existing path.txt doc in docs.
--HG--
branch : trunk
2008-03-01 15:14:11 +01:00
guido
17530e8ccd
[svn r52000] Merging the 'guido-auth-svn' branch back into the trunk. This means there's
...
a new class py.path.SvnAuth of which instances store user credentials and
auth config, and can be passed to py.path.svnurl and py.path.svnwc objects
to control SVN authentication behaviour.
--HG--
branch : trunk
2008-03-01 14:43:33 +01:00
hpk
f3f84fa36c
[svn r51329] rename special __package__ to __pkg__ because python 2.6 needs the former
...
(thanks to Ralf Schmitt)
--HG--
branch : trunk
2008-02-08 09:43:05 +01:00
fijal
150a396f66
[svn r49423] (naro) Fix for list.append() obviously, has no single test.
...
--HG--
branch : trunk
2007-12-05 22:08:23 +01:00
cfbolz
de0879d46d
[svn r48347] make status on working copy objects deal with replaced files
...
--HG--
branch : trunk
2007-11-06 23:11:30 +01:00