Commit Graph

1475 Commits

Author SHA1 Message Date
holger krekel fc3178a394 fixing builtin tests and print_ builtin
--HG--
branch : trunk
2009-08-29 13:47:10 +02:00
Benjamin Peterson ac934bb2b6 only test View on 2.x
--HG--
branch : trunk
2009-08-28 20:28:09 -05:00
Benjamin Peterson 695c8038e0 new except syntax
--HG--
branch : trunk
2009-08-28 20:17:46 -05:00
Benjamin Peterson e596d9df13 move the old assertion reinterpreting implementation to _assertionold.py
Also, seperate out some common code from the two.

--HG--
branch : trunk
2009-08-28 20:13:49 -05:00
Benjamin Peterson 130046d245 remove magic directories from install
--HG--
branch : trunk
2009-08-28 18:51:14 -05:00
Benjamin Peterson e0e9953be2 implement assert debugging with builtin AST
--HG--
branch : trunk
2009-08-28 18:44:20 -05:00
Benjamin Peterson 3bdbb29c6f make the patched compile() work with AST
--HG--
branch : trunk
2009-08-28 18:39:51 -05:00
Benjamin Peterson c23cc3656c fix location of magic AssertionError
--HG--
branch : trunk
2009-08-28 18:07:28 -05: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 91f90d27ee simplify broken-repr test for python2.4
--HG--
branch : trunk
2009-08-28 13:00:36 +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 13932b7f4b * deprecate py.magic.invoke/revoke in favour of
the new py.code.patch_builtins, py.code.unpatch_builtins

* deprecate py.magic.patch/revert

* deprecate py.magic.AssertionError in favour of py.code._AssertionError

* introduced pytest_assertion plugin.

--HG--
branch : trunk
2009-08-27 17:26:02 +02:00
holger krekel e391662cff merge 1.0.x branch to trunk, fix doc link
--HG--
branch : trunk
2009-08-27 12:10:42 +02:00
holger krekel 47d56e41ba fix tests to not fail if pyc-file-writing is disabled
--HG--
branch : 1.0.x
2009-08-27 12:05:12 +02:00
holger krekel c981ead40e switching release branch back to 1.0.x versioning
--HG--
branch : 1.0.x
2009-08-27 11:50:17 +02:00
holger krekel e7b86d808f Added tag 1.0.2 for changeset 4816e8b80602
--HG--
branch : 1.0.x
2009-08-27 11:43:52 +02:00
holger krekel f522838c77 finalizing doc bits for 1.0.2
--HG--
branch : 1.0.x
2009-08-27 11:43:46 +02:00
holger krekel 81f7891539 merging 1.0.x branch
--HG--
branch : trunk
2009-08-26 22:57:06 +02:00
holger krekel 3be875bfd2 some fixes and small doc updates, aiming to finalize 1.0.2
--HG--
branch : 1.0.x
2009-08-26 19:09:52 +02:00
holger krekel c024dc6417 * using a MANIFEST.in file instead of our own generated MANIFEST file
* port the test_install refactoring from trunk, move to bin-for-dist

--HG--
branch : 1.0.x
2009-08-26 11:09:55 +02:00
holger krekel 8ee7bef638 consolidate py/code files into code.py, simplify SafeRepr code and docs.
--HG--
branch : trunk
2009-08-25 20:24:43 +02:00
holger krekel 94aef0b771 move and rename html rest helper to rest directory - finally remove py/misc completely
--HG--
branch : trunk
2009-08-25 16:15:17 +02:00
holger krekel e810e1774d simplify caching class
--HG--
branch : trunk
2009-08-25 16:14:20 +02:00
holger krekel d43d69e3db death to "misc" directories. moved most files out of py/misc, either to a
private attic or to other places in the lib.

--HG--
branch : trunk
2009-08-25 16:14:15 +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 58a9e71e81 add delattr/delenv/delitem methods and tests, enhance terminalwriter tests
--HG--
branch : trunk
2009-08-22 12:45:58 +02:00
holger krekel 27c08ac235 consolidate py/log into fewer files, remove one old approach, sketch simplified API
--HG--
branch : trunk
2009-08-22 09:42:12 +02:00
holger krekel 2b8f489d60 moved laura's utestconvert script to a more visible place
--HG--
branch : trunk
2009-08-21 12:56:43 +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 046ac957ab fix autopath bug introduced with path refactoring
--HG--
branch : trunk
2009-08-21 12:09:23 +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 079a2327ec kill/replace some execnet debug code
bump version to "trunk" on trunk
add "py" to rsyncdirs

--HG--
branch : trunk
2009-08-20 16:41:44 +02:00
holger krekel e051c9a4b8 remerge from 1.0.x after changelog addition change
--HG--
branch : trunk
2009-08-19 21:07:37 +02:00
holger krekel ab83c4e05c adding a link to changelog, hope that mercurial versions links correctly
--HG--
branch : 1.0.x
2009-08-19 21:02:41 +02:00
holger krekel 9c6d5080e3 also merging the tag from 1.0.x branch
--HG--
branch : trunk
2009-08-19 19:42:33 +02:00
holger krekel 523380432a merging 1.0.1 branch
--HG--
branch : trunk
2009-08-19 18:25:46 +02:00
holger krekel 4b710010a6 Added tag 1.0.1 for changeset 6bd221981ac9
--HG--
branch : 1.0.x
2009-08-19 18:25:20 +02:00
holger krekel 4f50ae1336 finalize release announcement
--HG--
branch : 1.0.x
2009-08-19 18:25:11 +02:00
holger krekel d668acfd99 enable nose by default
--HG--
branch : 1.0.x
2009-08-19 17:53:08 +02:00
holger krekel 36288223b4 [mq]: 101-prep
--HG--
branch : 1.0.x
2009-08-19 17:12:02 +02:00
holger krekel b1feb81b8a simplify approach to encoding of sys.stdout/stderr files, encode unicode strings and pass-through non-unicode strings
--HG--
branch : 1.0.x
2009-08-19 16:42:29 +02:00
holger krekel 5e4fcdd14e added a pytest_helpconfig plugin which groups --version and the new "--help-config" option. rename options and configuration names. streamlines docs.
--HG--
branch : 1.0.x
2009-08-19 15:45:01 +02:00
holger krekel 30e87e887d shift install test, fix example test, add 1.0.1 release announce
--HG--
branch : 1.0.x
2009-08-18 20:02:52 +02:00
holger krekel 36189a7aa7 [mq]: 101doc
--HG--
branch : 1.0.x
2009-08-18 19:04:57 +02:00
holger krekel 38180ffa5f fix --version test, set version to 1.0.x rather than 1.0.1 for now, regen setup.py/MANIFEST
--HG--
branch : 1.0.x
2009-08-17 16:46:19 +02:00
holger krekel 822b69a4e8 use item's own fspath when doing progress reporting, fixes #31
--HG--
branch : 1.0.x
2009-08-17 16:45:52 +02:00