David Halter
6204cb740b
merge with dev branch
2013-05-03 01:28:50 +04:30
David Halter
302d06de85
fix end_pos stuff in parser (no (None, None) end_pos anymore
2013-05-03 01:14:41 +04:30
David Halter
4bb4176296
fixed a position problem
2013-05-02 18:56:22 +04:30
David Halter
b820d1ee27
set user_scope right in fast_parser
2013-05-02 17:58:06 +04:30
David Halter
aebfb3d162
fix pass indentation in functions
2013-05-02 11:33:14 +04:30
David Halter
f5aaeaa428
fast parser splitting is now working better
2013-05-01 14:31:41 +04:30
David Halter
fa32c0a765
fix a set_parent problem
2013-04-30 22:06:46 +04:30
David Halter
6bf64b2ed7
fixed speed problems
2013-04-30 21:41:46 +04:30
David Halter
f535267a9b
fixed a memory leak
2013-04-30 21:24:44 +04:30
David Halter
0f3454f897
fix test problems, thx @tkf
2013-04-29 15:14:17 +04:30
David Halter
3eeecff1a1
fixed some position issues
2013-04-28 22:12:32 +04:30
David Halter
7ad156bde7
fixed a problem with 'None' returns
2013-04-28 21:19:05 +04:30
David Halter
4b36fb2f6f
corrected some doctest problems
2013-04-28 21:10:29 +04:30
David Halter
9988c49097
fix pushback problem with tokenizer
2013-04-28 00:24:52 +04:30
David Halter
c675706877
clean up a little bit
2013-04-27 23:47:18 +04:30
David Halter
3feac63468
fix global_vars
2013-04-27 23:45:48 +04:30
David Halter
aab3b1c627
also remove old start_pos stuff
2013-04-27 22:49:45 +04:30
David Halter
26ce32ec6b
fix some end_pos problems
2013-04-27 22:47:26 +04:30
David Halter
792808d835
fix another IndexError, due to empty files (e.g. __init__.py)
2013-04-27 21:47:54 +04:30
David Halter
3627263cbe
fixed an IndexError
2013-04-27 21:36:57 +04:30
David Halter
4839f3d80e
fix a scope problem with the new fast parser
2013-04-27 21:25:42 +04:30
David Halter
199d80fa02
fix most rename tests
2013-04-27 20:22:28 +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
45f29bfa31
fixed a problem with non used decorators when splitting parts
2013-04-24 12:52:45 +04:30
David Halter
ddc5b248f1
use correct parents
2013-04-21 23:32:31 +04:30
David Halter
80cbed2f9f
fixed some decorator stuff.
2013-04-21 23:06:39 +04:30
David Halter
cf49bdc9ab
merge of tokenizer/dev branch
2013-04-20 19:23:15 +04:30
David Halter
8c56fba1e9
fix a problem with statements without parents
2013-04-20 14:12:15 +04:30
David Halter
a7308fa51d
removed more unused code
2013-04-20 14:11:46 +04:30
David Halter
d4428c497a
use tokenizer instead of tokenize in all modules
2013-04-20 09:52:54 +04:30
David Halter
e2a6562384
tokenizer: removed raised errors
2013-04-20 09:51:52 +04:30
David Halter
0d385563a5
tokenizer: removed encoding
2013-04-20 09:28:32 +04:30
David Halter
6b2619a844
tokenizer removed unused functions
2013-04-20 09:23:27 +04:30
David Halter
06da7ddeec
tokenizer py27 support
2013-04-20 09:21:22 +04:30
David Halter
fa53579950
Merge branch 'dev' into tokenizer
2013-04-20 08:55:02 +04:30
David Halter
3b0f4b87cf
removed unnecessary stuff for the jedi tokenizer
2013-04-19 23:59:33 +04:30
David Halter
a28bc7195f
added tokenizer of the standard library to jedi, because in the future it shall replace tokenize
2013-04-19 23:50:28 +04:30
Danilo Bargen
f98b0d7b6f
New "with ignored(*exceptions)" context manager
2013-04-17 23:28:37 +02:00
David Halter
4e27e7d335
fixed a positioning bug in the own tokenizer
2013-04-17 23:37:21 +04:30
David Halter
d82f315ea6
don't use SubModule's in the scope list if it has a parent
2013-04-17 13:39:02 +04:30
David Halter
9181410c47
fixed a problem with functions in the beginning of a module
2013-04-17 10:07:15 +04:30
David Halter
188ed33c4f
fixed parser change problems
2013-04-15 11:50:05 +04:30
David Halter
b08390c136
some parser end positions changed
2013-04-15 10:22:27 +04:30
David Halter
bafb17001b
fix encoding problems with terminal
2013-04-13 15:57:28 +04:30
David Halter
eeb8e0e21d
first test working again with new fast_parser
2013-04-13 13:50:50 +04:30
David Halter
967d01d490
fast parser produces now trees that are correct
2013-04-10 23:50:39 +04:30
David Halter
5dd05eff1a
a basic approach to the new fast parser
2013-04-10 22:33:49 +04:30
Aldo Stracquadanio
124595de6e
Making it nicer
...
Fixed typo in docstring and added some comments in find_module_py33
Removed a test that is not compatible with python 3.3
Better variable names in find_module implementation(s)
Removed variable assignation in favor of direct return statement
2013-03-27 10:49:43 +00:00
Aldo Stracquadanio
0b67a08e48
Using PathFinder rather than find_loader to correctly handle paths
...
Using PathFinder rather than find_loader to correctly handle from ... import ...
Moved away from find_loader in favour of PathFinder also when using sys.path
2013-03-27 10:49:21 +00:00