Dave Halter
dd50001ed1
update pickling version, because we have changed some things about the KeywordStatement a while ago
2014-05-19 13:49:52 +02:00
Dave Halter
6bec7ce847
speed up Builtin lookups
2014-04-25 14:12:28 +02:00
Dave Halter
f0e7b5583d
update parser pickling version again, because we've changed a lot in the last few commits
2014-04-18 14:41:29 +02:00
Dave Halter
d8d6b20a17
fix line split issues in cache
2014-04-09 13:16:28 +02:00
Dave Halter
46277eb9c9
call_signatures caching should be much more precise, now. fixes #390
2014-04-09 12:27:23 +02:00
Dave Halter
162d794081
underscore_decorators now automatically convert generators to lists
2014-01-23 15:21:52 +01:00
Dave Halter
b30a186f8f
remove user_stmt and user_scope stuff - yes!
2014-01-17 02:34:09 +01:00
Dave Halter
059b1e1353
underscore_memoization is now even easier in fast parser
2014-01-15 15:57:43 +01:00
Dave Halter
d71cdded6e
some easier memoization for fast parser
2014-01-15 15:48:16 +01:00
Dave Halter
b2507ad94a
increase the pickling version.
2014-01-13 23:00:01 +01:00
Dave Halter
682e1c2708
debug.dbg and debug.warning now take a string and format args parameters to make debugging a little bit cleaner
2014-01-13 16:16:07 +01:00
Dave Halter
1a3541e3aa
removed from 'from __future__ import with_statement' imports, they are not needed anymore (python 2.5 is no longer supported)
2014-01-07 17:46:22 +01:00
Dave Halter
471cf742dc
add an cache.underscore_memoization decorator to make some recurring patterns easier to read
2014-01-05 10:37:28 +01:00
Dave Halter
4fdfbcd7e4
make the invalidate_star_import stuff easier
2014-01-05 10:18:04 +01:00
Dave Halter
29e661ea74
remove a lot of modules crap and replace it with a simple method called load_module
2014-01-04 14:35:11 +01:00
Dave Halter
4af92b166a
use expression_list instead of commands or call_list
2013-12-27 14:24:14 +01:00
Dave Halter
c290afbb1a
increase pickling version and change mixin path for builtins
2013-12-27 01:34:23 +01:00
Dave Halter
dd7d7ceb7e
make some parser caches private
2013-12-26 12:20:29 +01:00
Dave Halter
4cf5d56b64
fix more issues and renamings
2013-12-25 03:24:12 +01:00
Dave Halter
ab2c6bf45d
integrate memoize caches into evaluator
2013-12-24 18:46:51 +01:00
Dave Halter
066056fb2b
memoize_default should always take a first argument
2013-12-24 18:06:15 +01:00
Jean-Louis Fuchs
099a6c2697
* added token.py
2013-12-05 23:59:48 +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
Steven Silvester
9cac894273
Disabling gc while loading pickles for a 20% speed boost on larger libs
2013-10-06 06:26:36 -05:00
David Halter
c3ba7d2ae8
remove except only clauses
2013-09-06 00:02:32 +04:30
David Halter
ad16f34cda
generate set_vars now
2013-09-02 16:02:18 +04:30
David Halter
2e8432de21
don't use function_definition as a name anymore, also not in helper functions
2013-08-21 13:38:13 +04:30
David Halter
ed99e380d7
catch ValueError when the cache json.load method fails, fixes #245
2013-07-19 10:55:07 +02:00
David Halter
902e197c4e
bump _ModulePickling number
2013-05-03 13:26:25 +04:30
Danilo Bargen
b3d9b6ce69
Removed py25 related code ( fixes #206 )
2013-04-27 16:47:40 +02:00
Danilo Bargen
f98b0d7b6f
New "with ignored(*exceptions)" context manager
2013-04-17 23:28:37 +02:00
Aldo Stracquadanio
07ec134bc9
Adding python 3.3 to test environment, mani fixes
...
Added python 3.3 to test-suite
Removed unused import
Removed unused import
Migrated to EAFP for attribute checking
Bumped version of ModulePickling for migration to hashlib
Added py33 environment to tox
Fixed issue with package importing on python 3.3
2013-03-27 10:48:56 +00:00
Aldo Stracquadanio
be8ef33b69
Fixed caching issues
...
Fixed exception raised during cache reading
Switched cache hashing to hashlib
In python 3.3 the hash function is returning different hashes during
different executions of the application.
2013-03-27 10:48:13 +00:00
Takafumi Arakaki
aca1cbfa4b
Use "jedi/cpython-27" instead of "jedi/2.7" for FS cache
2013-03-20 16:46:55 +01:00
Takafumi Arakaki
27d007adba
Compare version using "!="
...
Cache is not forward compatible.
2013-03-20 12:21:22 +01:00
Takafumi Arakaki
942b66ba5b
Separate directory for each Python version
2013-03-20 12:21:22 +01:00
Takafumi Arakaki
f8d3339f2f
Remove old version of FS cache automatically
2013-03-20 12:21:22 +01:00
David Halter
960dd38e2c
Merge pull request #185 from tkf/cPickle
...
Use cPickle if available
2013-03-19 21:32:22 -07:00
Takafumi Arakaki
8734e0efe2
Use cPickle if available
2013-03-19 20:33:15 +01:00
David Halter
9ad9c806bb
rename non-cycling imports to 'from jedi import ..'
2013-03-15 15:02:33 +04:30
Takafumi Arakaki
edc7148320
Fix test_modulepickling_change_cache_dir failure
2013-03-14 22:15:34 +01:00
David Halter
f8e0c78f77
Script.get_in_function_call -> Script.function_definition
2013-02-21 22:05:39 +04:30
David Halter
7cb5411414
cache docstring
2013-02-05 23:55:42 +01:00
David Halter
ce1653df46
python 2.5 with_statement
2013-01-12 15:18:30 +01:00
David Halter
96e4f301e3
changed pickling files to byte for py3k
2013-01-12 15:03:15 +01:00
David Halter
dd58afe8b2
fix cache problem with unsaved files
2013-01-12 11:57:25 +01:00
David Halter
9d9e40a66f
fix path problems for path=''
2013-01-12 01:13:30 +01:00
David Halter
2efb93273a
merged module_cache into parser_cache
2013-01-11 23:19:22 +01:00
David Halter
1017db903c
basic pickle implementation #102
2013-01-11 22:00:03 +01:00
David Halter
133fbcd57a
move module caching from builtin to cache
2013-01-10 11:04:26 +01:00