David Halter
8d2b3a0f7c
Executable.decorated should be protected
2013-12-23 22:52:17 +01:00
Jean-Louis Fuchs
3204a39f6c
* made Token readonly like a tuple by using @property
...
* end_pos calculation didn't respect multiline tokens
* replaced all index access to Token
* wrapped all code that injects token tuples with
Token.from_tuple()
* repr of Token is still its tuple form!?
* PEP8 where I read or wrote code
2013-12-08 01:32:58 +01:00
Jean-Louis Fuchs
989e12e8a7
* Replaced token tuple with token class
...
* Fixed PEP8 where I read code
2013-12-05 23:34:20 +01:00
David Halter
099fe4eeb3
test a little bit more with the not in sys path packages
2013-10-11 23:41:38 +04:30
David Halter
f8f2194db3
imports that are not in sys.path - as a second option to those in sys.path
2013-10-11 23:18:29 +04:30
David Halter
b357c099bc
test for imports that are not in the sys.path.
2013-10-07 21:43:23 +04:30
David Halter
92237b5598
test fix in python 3.2
2013-09-14 23:13:35 +04:30
David Halter
0025a8c61e
added failing test for import problems in py33
2013-09-14 23:11:47 +04:30
David Halter
5ad12bc8aa
fix mro usage and all the type stuff (see also my blog post about why dir is wrong). fixes #314 , fixes #86
2013-09-13 22:47:00 +04:30
David Halter
39a5c8501b
fixed file in python 2.7 with test, fixes #309
2013-09-06 16:00:12 +04:30
David Halter
9bbd73bf86
fix problems with set_vars that were no set_vars
2013-09-06 15:24:14 +04:30
David Halter
6f16aaaa19
corrected an old comment
2013-09-06 15:12:54 +04:30
David Halter
d216ab331a
also add a test for class execution, which still fails due to another bug, that has been (almost) fixed lately, fixes #305
2013-09-06 15:09:12 +04:30
David Halter
fcc6c4d811
goto before assignments should still work, 305
2013-09-06 14:56:35 +04:30
David Halter
95bac43840
before assignment goto test, #305
2013-09-06 14:35:56 +04:30
David Halter
648095ad52
sorted builtin should now be working, fixes #312
2013-09-06 14:08:54 +04:30
David Halter
b18cafa8f8
test for #312 , sorted/reversed builtins
2013-09-06 13:27:15 +04:30
David Halter
9eca33f55c
final import renamings for the new parser package
2013-09-06 01:27:07 +04:30
David Halter
13f0c2b91f
all the import changes
2013-09-06 01:19:19 +04:30
David Halter
33711ba966
fix problems with literals, finally
2013-09-06 00:40:08 +04:30
David Halter
78f3199b03
fix some tests, that have been broken by literals
2013-09-05 23:51:25 +04:30
David Halter
2b88640c3a
statements should care for its own docstrings, not the parser
2013-09-02 23:12:10 +04:30
David Halter
9c6dae1df8
temporarily disable old tests to refactor set_vars
2013-09-01 23:54:15 +04:30
David Halter
2ee7ee4473
regression test for #205
2013-08-31 19:59:39 +04:30
David Halter
1ebf68999a
make source parameter in Script optional
2013-08-31 14:41:37 +04:30
David Halter
b8a909d352
fix a wrong usage of column in absolute import tests
2013-08-31 13:39:08 +04:30
David Halter
0d221ffebc
line/column ValueError are now being raised if they are not valid in Script
2013-08-31 11:51:52 +04:30
David Halter
23ece5e4c8
Script needs valid ranges, otherwise ValueError should be raised (test)
2013-08-31 11:47:10 +04:30
David Halter
5267e13e0a
fixed a problem with classes in docstrings
2013-08-31 11:32:35 +04:30
David Halter
b68e3cc8de
problems with class in docstring
2013-08-31 00:03:02 +04:30
David Halter
8cefc8d49b
provide test for #298
2013-08-26 20:16:55 +04:30
David Halter
2f3304b9f1
test for multiple call_signatures
2013-08-21 15:47:25 +04:30
David Halter
eca786bf0e
fix a problem with empty scripts
2013-08-21 13:42:18 +04:30
David Halter
a6b6b6cbe8
parsing representation get_code tests
2013-08-18 00:06:08 +04:30
David Halter
f0b25d5451
simple debug test, if they work
2013-08-17 23:40:00 +04:30
David Halter
230bf724a2
empty asserts should not lead to broken parsers
2013-08-17 23:04:01 +04:30
David Halter
af7089b8ca
use cwd_at to avoid test failures if called from different places
2013-08-17 23:03:32 +04:30
David Halter
a1e232bcbf
fix local imports in repl completion
2013-08-17 22:43:20 +04:30
David Halter
a8e259763e
fix problem with variables in from clauses, #268
2013-08-17 22:04:55 +04:30
David Halter
a1d61e4855
after 'from namespace ', only import completion is allowed, as well as a lot of related fixes to context/user_stmt stuff, fixes #291
2013-08-17 21:28:53 +04:30
David Halter
1ce4babe36
fix a problem in readline completion with upper/lower cases
2013-08-17 19:19:47 +04:30
David Halter
e46d33be90
move completion to interpreter, which improves shell completion
2013-08-17 10:49:23 +04:30
David Halter
2612963f58
fix many position problems
2013-08-17 00:34:20 +04:30
David Halter
8beeb71f84
parsing import names position tests
2013-08-16 22:51:35 +04:30
David Halter
7485802149
tests for class/func name positions
2013-08-16 22:38:56 +04:30
David Halter
d4f605d213
fix name end_pos problems
2013-08-16 22:31:51 +04:30
David Halter
098397aa79
tests for module name/position
2013-08-16 22:25:35 +04:30
David Halter
3d698ffad6
call type tests
2013-08-16 22:00:27 +04:30
David Halter
cb21de45f1
add parsing tests for name/call positions
2013-08-16 21:34:58 +04:30
David Halter
0268109d1d
fast parser test improvements
2013-08-16 21:33:43 +04:30