holger krekel
734a40eb28
seems like compile is way slower than just parser.suite so
...
we try to see if it's available (only jython doesn't have it)
--HG--
branch : trunk
2009-09-06 12:35:52 +02:00
holger krekel
783c714a2c
get py.test to run at least basically on top of jython
...
* allow and document calling of monkeypatch.undo() from a test
* default to 'sys' on platforms there no 'os.dup' is available
* use "compile" to perform "tryparsing" checks
--HG--
branch : trunk
2009-09-05 16:54:52 +02:00
Benjamin Peterson
99af33b26d
I think this is supposed to be immutable
...
--HG--
branch : trunk
2009-09-03 17:14:12 -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
Benjamin Peterson
3bdbb29c6f
make the patched compile() work with AST
...
--HG--
branch : trunk
2009-08-28 18:39:51 -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
8ee7bef638
consolidate py/code files into code.py, simplify SafeRepr code and docs.
...
--HG--
branch : trunk
2009-08-25 20:24:43 +02:00
Samuele Pedroni
1e5ece07e8
- implement a general getfslineno helper in code/source.py with tests
...
- not exposed yey
--HG--
branch : trunk
2009-05-12 12:36:43 +02:00
pedronis
1a150e9050
[svn r60141] refactor things such that all fallbacks to inspect.get/findsource happen in helpers in source.py
...
--HG--
branch : trunk
2008-11-25 19:34:47 +01:00
hpk
94f1abbbb0
[svn r58225] remove outdated comment.
...
--HG--
branch : trunk
2008-09-18 18:12:18 +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
fijal
37073e11f9
[svn r50755] Port from reporter-merge branch.
...
--HG--
branch : trunk
2008-01-18 17:35:33 +01:00
hpk
5992a8ef21
[svn r37264] create the new development trunk
...
--HG--
branch : trunk
2007-01-24 15:24:01 +01:00