David Halter
e442dbbc4f
move also used_vars to a property, to show that it's not being written to
2013-09-02 21:52:42 +04:30
David Halter
37ecf943af
finally able to remove stmt.set_vars property
2013-09-02 21:43:23 +04:30
David Halter
9367b54a3d
get rid of set_vars class var in statement and define a wrapper for it, because it's still used
2013-09-02 17:23:08 +04:30
David Halter
a8510e51f1
use as_names as a way to inject 'set_vars' to statements
2013-09-02 16:23:13 +04:30
David Halter
ad16f34cda
generate set_vars now
2013-09-02 16:02:18 +04:30
David Halter
a253f07827
get rid of set_vars parent setting (use token_list instead).
2013-09-02 15:21:28 +04:30
David Halter
05b37e61cb
preparation to get rid of set_vars
2013-09-02 15:14:15 +04:30
David Halter
9c6dae1df8
temporarily disable old tests to refactor set_vars
2013-09-01 23:54:15 +04:30
David Halter
2e97986545
assignment details description
2013-09-01 22:22:20 +04:30
David Halter
3d3157eff8
remove unused set_vars, but there are still set_vars that shouldn't be in defined_names, #205
2013-08-31 23:52:12 +04:30
David Halter
5cec226d7e
remove unused Statement.get_command function
2013-08-18 00:07:46 +04:30
David Halter
6d9d07f873
remove useless is_empty function
2013-08-18 00:06:54 +04:30
David Halter
a6b6b6cbe8
parsing representation get_code tests
2013-08-18 00:06:08 +04:30
David Halter
2612963f58
fix many position problems
2013-08-17 00:34:20 +04:30
David Halter
7485802149
tests for class/func name positions
2013-08-16 22:38:56 +04:30
David Halter
51468b1e09
module name should have 0, 0 start/end_pos
2013-08-16 22:21:52 +04:30
David Halter
d4ff98aee2
Call should always have an end_pos
2013-08-16 22:15:02 +04:30
David Halter
2dd9ad7864
fix goto_definition on lambda problem, fixes #274
2013-08-09 13:51:45 +04:30
David Halter
284f2f1671
add __iter__method to InstanceElement, because it's needed for arrays
2013-07-24 17:21:49 +02:00
David Halter
db17c27bb8
removed old very strange string casts, that didn't really make sense and even though it mentioned a test, it wouldn't break after deleting it
2013-07-23 13:33:00 +02:00
David Halter
075c60de29
fix a problem related to #246 : comments were used as normal strings
2013-07-18 12:18:07 +02:00
Laurens Van Houtven
73662fe893
More PEP8 indentation fixes
2013-07-11 15:26:07 +02:00
Laurens Van Houtven
cdc41128b4
(Mostly) whitespace fixes
2013-07-10 14:45:47 +02:00
Laurens Van Houtven
96477cbb13
Inline absolute import detection function
2013-07-10 12:24:19 +02:00
Laurens Van Houtven
402bc092e3
Remove has_explicit_absolute_import caching
2013-07-10 12:18:41 +02:00
Laurens Van Houtven
4068f5f058
Move has_absolute_import to SubModule class
2013-07-10 12:17:48 +02:00
Laurens Van Houtven
b5ee375fe1
Rename explicit_absolute_import to has_explicit_absolute_import
2013-07-10 12:12:33 +02:00
Laurens Van Houtven
e39f8a246e
Merge branch 'dev' of git://github.com/davidhalter/jedi
2013-06-23 22:50:00 +02:00
Laurens Van Houtven
368c7fd5b5
Only deal with explicit absolute_import
2013-06-23 22:30:53 +02:00
Laurens Van Houtven
58b165e4b6
Don't assume either namespace is not-None
2013-06-23 22:02:37 +02:00
Laurens Van Houtven
e82e3eaa0d
Don't assume every module has a namespace
2013-06-23 21:59:58 +02:00
Laurens Van Houtven
cb4acccfe5
More PEP8, minor cleanup
2013-06-22 09:54:18 +02:00
Laurens Van Houtven
5701ac1a10
Add absolute import detection
2013-06-21 17:02:17 +02:00
David Halter
c5169b2d66
parsing.Parser.scope -> parsing.Parser._scope, fixes #224
2013-05-19 10:25:00 +04:30
David Halter
f4e8972157
end_pos issues, fixes #150
2013-05-07 23:55:58 +04:30
David Halter
7c8fee1257
removed a lot of the goto usages, used goto_assignments instead. Did the same also for a lot of definition uses
2013-05-03 21:26:29 +04:30
David Halter
c37515f938
included test from #162 (seems to be working), fixes #162
2013-05-03 15:01:30 +04:30
David Halter
300d43de19
PEP 3148 module formatting, fixes #207
2013-05-03 14:17:48 +04:30
David Halter
6204cb740b
merge with dev branch
2013-05-03 01:28:50 +04:30
David Halter
aebfb3d162
fix pass indentation in functions
2013-05-02 11:33:14 +04:30
David Halter
4b36fb2f6f
corrected some doctest problems
2013-04-28 21:10:29 +04:30
Danilo Bargen
b3d9b6ce69
Removed py25 related code ( fixes #206 )
2013-04-27 16:47:40 +02:00
Danilo Bargen
86d775324b
Fix most flake8 issues ( fixes #205 )
2013-04-27 15:40:36 +02:00
David Halter
cf49bdc9ab
merge of tokenizer/dev branch
2013-04-20 19:23:15 +04:30
David Halter
d4428c497a
use tokenizer instead of tokenize in all modules
2013-04-20 09:52:54 +04:30
Danilo Bargen
f98b0d7b6f
New "with ignored(*exceptions)" context manager
2013-04-17 23:28:37 +02:00
David Halter
b08390c136
some parser end positions changed
2013-04-15 10:22:27 +04:30
David Halter
5dd05eff1a
a basic approach to the new fast parser
2013-04-10 22:33:49 +04:30
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