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
David Halter
4a6aabaaba
avoid syntaxwarning
2013-01-08 13:02:06 +01:00
David Halter
67f7e66cc6
move module cache to cache.py - centralize all caches there
2013-01-08 12:47:44 +01:00
David Halter
be3d7f35cd
move parser cache to cache.py - centralize all caches there
2013-01-08 12:44:32 +01:00
David Halter
da34fc2358
add delete option to cache deleter
2013-01-08 12:41:08 +01:00
David Halter
0d6d84402d
move star_import_cache to cache.py
2012-12-22 01:39:22 +01:00
David Halter
2610c180c0
check for expired time caches in every interaction
2012-12-22 01:36:03 +01:00
David Halter
0617909e84
add get_in_function_call caching (3s for now)
2012-12-22 01:28:24 +01:00
David Halter
303672f037
memoize_default is now able to use different caches.
2012-12-13 12:39:51 +01:00
David Halter
7969e19a5b
cleanup/pep8
2012-12-12 21:34:04 +01:00
David Halter
9b45ddcb7c
removed faked_scopes, was only necessary because of weakrefs.
2012-12-12 21:31:41 +01:00
David Halter
e8ddc35a1b
caches have their own module now.
2012-12-12 21:28:19 +01:00