ColinDuquesnoy
f808dbbd28
Change sys.path for the test to succeed.
...
Tested locally with a python3 extension module (in
/extensions/compiled33).
Also tested that reverting a75773cf9f make
the test fail.
2014-02-18 22:14:43 +01:00
ColinDuquesnoy
7977d57169
Add test_compiled
...
Should pass on travis since there is no precompiled modules yet
2014-02-18 20:31:06 +01:00
ColinDuquesnoy
7aed62cb99
Add compiled modules sources + readme
2014-02-18 20:12:30 +01:00
ColinDuquesnoy
5a706265bc
Move dummy pyc to dummy package
2014-02-18 19:18:17 +01:00
ColinDuquesnoy
18a31dcbf1
Fix read mode for pyc files
...
Now all test should pass on travis.
2014-02-18 19:00:55 +01:00
ColinDuquesnoy
ea43efc9d8
Fix pyc test for python3
...
To import pyc modules, we must move them out of the __pycache__
directory and rename them to remove ".cpython-%s%d".
This should still faild with python3 (UnicodeDecodeError)
2014-02-18 19:00:55 +01:00
ColinDuquesnoy
d80caa7108
Add test pyc
...
Should succeed for python2 and faild for python3
2014-02-18 17:36:01 +01:00
ColinDuquesnoy
a75773cf9f
Fix import of compiled module with python3.
...
This at least fix #331
2014-02-17 09:08:30 +01:00
Dave Halter
2f3e4152b4
Merge branch 'get_code_fidelity' of git://github.com/ganwell/jedi into ganwell
2014-02-12 11:09:08 +01:00
Dave Halter
32ccec8447
precedence stuff is not working yet, but need to merge first because of potential parser changes
2014-02-12 11:08:48 +01:00
Dave Halter
cd1660dc53
first succeeding precedence tests
2014-01-31 11:12:28 +01:00
Dave Halter
62a74a6d2f
tests for understanding operations
2014-01-30 11:27:03 +01:00
Dave Halter
e904031400
start correcting the documentation
2014-01-29 21:34:57 +01:00
Dave Halter
8660555d7b
moved api, parser and evaluate test directories to test_api, test_parser...
2014-01-29 21:16:18 +01:00
Dave Halter
021aae365d
move more test files to specific directories
2014-01-29 20:50:09 +01:00
Dave Halter
78114b12e9
move some tests into specific directories
2014-01-29 20:43:42 +01:00
Dave Halter
36de8c427f
moved more functions from api to helpers
2014-01-29 00:28:31 +01:00
Dave Halter
7aef1f934d
simplified _prepare_goto
2014-01-29 00:03:03 +01:00
Dave Halter
13696018a2
removed some functions from classes
2014-01-28 23:51:34 +01:00
Dave Halter
9cfa8fead0
create a helpers module to push some api functions into it (make the api code easier to read.
2014-01-28 23:26:50 +01:00
Dave Halter
2175416684
removed keyword docstring functionality for goto_definitions - will be reintroduced with a Script.documentation function
2014-01-28 22:27:26 +01:00
Jean-Louis Fuchs
34e89fa1c5
Merge branch 'dev' into get_code_fidelity
...
Conflicts:
jedi/evaluate/docstrings.py
jedi/parser/representation.py
Resolving merge problems:
* Introducing docstring for compiled.fake
* Partly fixing poor decision in TokenDocstring __init__
2014-01-28 00:37:06 +01:00
Dave Halter
18f225200a
test for dynamic params/usages case
2014-01-26 23:13:46 +01:00
Dave Halter
f6b1e5635e
move usages to its own api module usages
2014-01-26 23:04:38 +01:00
Dave Halter
8193f0c2b6
fix an issue with invalid syntax
2014-01-26 20:22:51 +01:00
Dave Halter
ba6a65c477
user_stmt refactoring
2014-01-26 19:30:05 +01:00
Dave Halter
6a4f33f373
call signatures with whitespace seem to be working
2014-01-26 19:13:06 +01:00
Dave Halter
441c001bf9
test for not working call signatures with whitespace issues
2014-01-24 01:34:13 +01:00
Dave Halter
3d7522dff6
fixed None type appearances in CompiledObject
2014-01-24 00:57:53 +01:00
Dave Halter
e587b876b6
tests and improvements for __next__ and send generator methods
2014-01-23 20:02:36 +01:00
Dave Halter
162d794081
underscore_decorators now automatically convert generators to lists
2014-01-23 15:21:52 +01:00
Dave Halter
6f2c1397b0
autocompletion diggs now pretty deep for generator objects
2014-01-23 14:39:00 +01:00
Dave Halter
a1b68945ed
fix some generator parents
2014-01-23 14:27:20 +01:00
Dave Halter
c6b315aa2e
failing test for fucked up generator parents
2014-01-23 14:26:04 +01:00
Dave Halter
1884087e71
start writing the changelog for 0.8.0. Hopefully to be realeased soon
2014-01-22 18:24:15 +01:00
Dave Halter
c8fffbd7b6
fix python2.6 issues with completing colorama. this happened because of a missing object parent class
2014-01-22 17:14:28 +01:00
Dave Halter
c7cae7900b
remove old interpret.py
2014-01-22 16:34:05 +01:00
Dave Halter
7b1c35c3ed
fix python 3 issues with the new interpreter implementation
2014-01-22 16:33:00 +01:00
Dave Halter
e4aac3eb54
add colorama to tox config, because that improves the color output
2014-01-22 16:15:56 +01:00
Dave Halter
4a71f4beeb
fixes for the interpreter stuff, py27 works now fine
2014-01-22 15:42:11 +01:00
Dave Halter
7c105d27e0
some tests survive the new interpreter module already
2014-01-22 15:17:50 +01:00
Dave Halter
9e063b1248
started writing a new interpreter module that is heavily simplified and fits the current Jedi architecture way better.
2014-01-21 23:35:21 +01:00
Dave Halter
a29026c212
added Jedi debugging to pytest. Awesome.
2014-01-20 01:35:35 +01:00
Dave Halter
97ad1c6a29
moved get_names_for_scope to finder
2014-01-17 11:33:46 +01:00
Dave Halter
de6a6b5813
avoid more import recursion - moved assign_tuples and find_assignments to finder module
2014-01-17 11:12:41 +01:00
Dave Halter
a6abab4ef0
that test again...
2014-01-17 03:07:04 +01:00
Dave Halter
cd40e213ce
Remove UserContextParser again from docstring stuff, not really needed there. use a simpler solution
2014-01-17 03:06:07 +01:00
Dave Halter
aa59aee3dc
user_position removed from Parser. yikes!
2014-01-17 02:58:03 +01:00
Dave Halter
6063093151
test fixing
2014-01-17 02:53:30 +01:00
Dave Halter
19b0e1d5b6
reenable check_user_statement in parser, that did the whole user names calculation
2014-01-17 02:48:00 +01:00