Dave Halter
da657fb132
Merge pull request #711 from WoLpH/python35
...
Enabled python 3.5 support
2016-03-31 10:47:31 +02:00
Rick van Hattem
4afc74f1c7
fixing python 3.2 and 3.5 issues
2016-03-31 04:56:17 +02:00
Rick van Hattem
97178dd92b
enabled python 3.5 support
2016-03-31 03:27:43 +02:00
Dave Halter
ea099e514b
Merge pull request #709 from davidhalter/debug-docs
...
Enhance docs about debugging
2016-03-21 11:30:05 +01:00
Danilo Bargen
f5e594970a
Enhance docs about debugging
2016-03-21 10:40:58 +01:00
Dave Halter
c50fc7a044
Merge pull request #636 from immerrr/add-sys-path-customization
...
Improve virtualenv support & egg-link resolution
2015-10-26 22:07:18 +01:00
immerrr
45642cc16c
.coveragerc: exclude imported site.py
2015-10-26 14:23:24 +03:00
immerrr
f634db7a20
jedi.api.Script: document sys_path parameter and VIRTUAL_ENV variable
2015-10-26 13:37:18 +03:00
immerrr
cc139e8f70
evaluate.site: copy/adapt site-packages related functionality from stdlib
2015-10-26 13:03:42 +03:00
immerrr
fb592ad028
test_imports: add test to ensure caching works with sys_path
2015-10-26 13:03:42 +03:00
immerrr
90a08794ba
test_imports: use sys_path
2015-10-26 13:03:42 +03:00
immerrr
da4dbe81a9
sys_path: order egg-link files for reproducible test results
2015-10-26 13:03:42 +03:00
immerrr
f500457100
sample_venvs: exclude venvs dir from py.test discovery
2015-10-26 13:03:42 +03:00
immerrr
4eb3cf7921
Improve virtualenv support & egg-link resolution
...
- add sys_path= kwarg to Script & Evaluator constructors
- store sys_path for each evaluator instance
- replace get_sys_path with get_venv_path
- get_venv_path: use addsitedir to load .pth extension files
- get_venv_path: look for egg-link files in all directories in path
2015-10-26 13:03:42 +03:00
Dave Halter
3eaa3b954a
Merge pull request #641 from kelleyk/dev
...
Fix issues with the way lambdas are handled
2015-10-25 11:07:29 +01:00
Kevin Kelley
2fc962bc3a
Add myself to AUTHORS.txt.
2015-10-24 23:34:46 +00:00
Kevin Kelley
e13224bf50
Fix issue with lambda parsing; new test cases now pass.
2015-10-24 23:34:10 +00:00
Kevin Kelley
9ff7f99bac
Add test cases demonstrating the issues with parser.tree.Lambda.
2015-10-24 23:34:06 +00:00
Kevin Kelley
8d8dcc2b6e
Fix bug in branch condition causing lambdas to be treated like scopes and not like functions.
2015-10-24 23:33:53 +00:00
Dave Halter
e0753da6f1
Merge pull request #637 from immerrr/set-sudo-false
...
Couple build system improvements
2015-10-22 11:21:15 +02:00
immerrr
a6512f7702
Move clean_jedi_cache fixture to top-level conftest.py
...
Otherwise doctest module running in jedi/ subdirectory will not find it.
2015-10-21 18:04:32 +03:00
immerrr
c88f251206
travis.yml: run on new infrastructure
2015-10-21 18:04:32 +03:00
Dave Halter
9b69f3a20f
Merge pull request #584 from blueyed/find_module_py33-valueerror-as-string
...
AttributeError with ValueError in _compatibility.py:find_module_py33
2015-05-10 03:25:54 +02:00
Daniel Hahler
4469e654ae
find_module_py33: use str(e) with ValueError
...
ValueError has no message attribute.
Fixes https://github.com/davidhalter/jedi/issues/584
2015-05-09 23:05:30 +02:00
Dave Halter
2221f12de9
Make refactoring clause clearer.
2015-05-01 10:49:26 +02:00
Dave Halter
df8a0d89ce
Forgot to mention the import logic changes in the Changelog for 0.9.0.
2015-04-28 19:05:36 +02:00
Dave Halter
66557903ae
\\\r\n is as possible as \\\n.
v0.9.0
2015-04-28 18:53:14 +02:00
Dave Halter
712ae01ac0
Classes should always evaluate to true when asked for py__bool__()
2015-04-28 18:32:19 +02:00
Dave Halter
607f43290f
The backwards tokenizer sometimes parsed not only string literals but also normal names.
2015-04-28 18:10:08 +02:00
Dave Halter
c2a287c25a
Usages on syntax should not return anything.
2015-04-28 17:35:26 +02:00
Dave Halter
126f490f1e
Modules have now the name __main__ if they contain dots.
2015-04-28 17:29:42 +02:00
Dave Halter
bb02f99de3
Dynamically created trailers need a parent, otherwise it can lead to crashes.
2015-04-28 16:40:58 +02:00
Dave Halter
b59fc04432
Remove crate.io badges. Thy are not working anymore, see crateio/crate.io#18
2015-04-28 12:38:53 +02:00
Dave Halter
cbd3a8a59a
Restructured loading of compiled __init__ files.
2015-04-28 02:30:32 +02:00
Dave Halter
836fcd6ea0
Small api.Script.goto cleanup.
2015-04-28 02:07:53 +02:00
Dave Halter
b6f635b88b
Python 2.7 io.StringIO always needs unicode input.
2015-04-28 02:05:38 +02:00
Dave Halter
657920baf5
Finally able to ditch the old namespace_packages implementation.
2015-04-28 02:03:17 +02:00
Dave Halter
0d406d27fd
Different __init__ file searching.
2015-04-28 01:58:49 +02:00
Dave Halter
b8bb258677
Get rid of get_importer and clean up imports in general.
2015-04-28 01:41:01 +02:00
Dave Halter
ef4b424cda
Replace pr with tree, #566 .
2015-04-28 01:34:31 +02:00
Dave Halter
71547641ae
The recursion detector doesn't need to separate params and normal statements anymore, because now they are two completely different things.
2015-04-28 01:26:48 +02:00
Dave Halter
265e6b2c35
Change parser and api to use tree instead of pr.
2015-04-27 23:38:48 +02:00
Dave Halter
b6ebb2f8bf
Fixed issues with last positions in the tokenizer, which was messed up a little bit a few commits ago.
2015-04-27 21:42:40 +02:00
Dave Halter
0a96083fde
Fix ur'' literals.
2015-04-27 19:21:41 +02:00
Dave Halter
902482568e
The tokenize endmarker should really be the maximum position possible. Caused matplotlib to fail. Fixes davidhalter/jedi-vim#377 .
2015-04-27 19:01:45 +02:00
Dave Halter
47d468a9bc
forgot to include test_evaluate/not_in_sys_path files.
2015-04-27 17:16:43 +02:00
Dave Halter
84b774d9e1
Small refactorings.
2015-04-27 17:07:38 +02:00
Dave Halter
d7417391a7
Skip star import cache tests.
2015-04-27 14:15:39 +02:00
Dave Halter
0203461980
Disable the star import cache.
2015-04-26 00:02:47 +02:00
Dave Halter
06d134a7c1
Finished changing the import logic. The sys.path calculations within Jedi are clearer now.
2015-04-25 22:45:08 +02:00