Dave Halter
|
deb028c3fb
|
Move get_statement_of_position out of the parser tree.
|
2017-04-15 02:23:08 +02:00 |
|
Dave Halter
|
1cfe5c2945
|
Python3Method is not needed anymore in the parser.
|
2017-04-15 01:53:58 +02:00 |
|
Dave Halter
|
4bd3c91622
|
Fix Python 2 tests.
|
2017-04-15 01:49:20 +02:00 |
|
Dave Halter
|
c4e51f9969
|
Use object for Python 2 classes.
|
2017-04-15 01:47:48 +02:00 |
|
Dave Halter
|
d6d25db9a2
|
Remove __str__ from name.
|
2017-04-12 23:06:11 +02:00 |
|
Dave Halter
|
73a38267cf
|
Simplify the Operator/Keyword string comparison.
|
2017-04-12 19:11:14 +02:00 |
|
Dave Halter
|
a0b65b52c6
|
used_names -> get_used_names().
|
2017-04-12 08:56:11 +02:00 |
|
Dave Halter
|
b0ac07228b
|
Restructure/Refactor has_absolute_import a bit.
|
2017-04-12 08:47:30 +02:00 |
|
Dave Halter
|
c056105502
|
get_except_clauses -> get_except_clause_tests
|
2017-04-12 08:40:27 +02:00 |
|
Dave Halter
|
7e560bffe8
|
Move in_which_test_node -> get_corresponding_test_node.
|
2017-04-12 08:35:48 +02:00 |
|
Dave Halter
|
6190a65f23
|
The Lambda type should be lambdef, not lambda. Use the grammar types.
|
2017-04-11 18:28:25 +02:00 |
|
Dave Halter
|
685e630c03
|
Simple refactoring.
|
2017-04-11 18:20:44 +02:00 |
|
Dave Halter
|
afa6427861
|
Fix the remaining lambda issue.
|
2017-04-11 18:18:31 +02:00 |
|
Dave Halter
|
5cd26615e8
|
Removed the name attribute from lambda. It doesn't exist so don't fake it.
|
2017-04-11 18:10:35 +02:00 |
|
Dave Halter
|
e675715357
|
Rename a few IfStmt methods.
|
2017-04-10 22:46:06 +02:00 |
|
Dave Halter
|
797953df39
|
More Flow cleanups.
|
2017-04-10 10:05:21 +02:00 |
|
Dave Halter
|
218e715553
|
Make the some names more concise in the parser tree.
|
2017-04-10 09:44:08 +02:00 |
|
Dave Halter
|
769cc80d6b
|
Cleanup with_stmt.
|
2017-04-09 21:20:33 +02:00 |
|
Dave Halter
|
f855c2bb70
|
More parser tree simplifications.
|
2017-04-09 13:24:17 +02:00 |
|
Dave Halter
|
ff82763e6b
|
get_annotation -> annotation (property).
|
2017-04-08 15:29:29 +02:00 |
|
Dave Halter
|
545cb26f78
|
stars -> star_count.
|
2017-04-08 15:26:57 +02:00 |
|
Dave Halter
|
1625834f81
|
Move get_comp_fors out of the parser.
|
2017-04-08 14:16:00 +02:00 |
|
Dave Halter
|
4cd7f40e3b
|
Simplify get_executable_nodes.
|
2017-04-08 14:05:18 +02:00 |
|
Dave Halter
|
65a6c61dc6
|
Remove nodes_to_execute in favor of a function in parser_utils.
|
2017-04-08 12:59:49 +02:00 |
|
Dave Halter
|
8542047e5c
|
Adding a tag should be part of the deployment script.
|
2017-04-06 18:21:20 +02:00 |
|
Dave Halter
|
053020c449
|
Bump version to 0.10.3.
|
2017-04-06 18:13:06 +02:00 |
|
Dave Halter
|
8bdf7e32ef
|
Remove the dist folder before deploying.
|
2017-04-05 20:54:22 +02:00 |
|
Dave Halter
|
5427b02712
|
Merge branch 'dev'
|
2017-04-05 20:00:16 +02:00 |
|
Dave Halter
|
3cc97f4b73
|
Changelog for 0.10.2.
|
2017-04-05 18:04:41 +02:00 |
|
Dave Halter
|
536ad4c5f1
|
Added the forgotten changelog for 0.10.1.
|
2017-04-05 18:03:45 +02:00 |
|
Dave Halter
|
54242049d2
|
Bump version to 0.10.2.
|
2017-04-05 01:42:02 +02:00 |
|
Dave Halter
|
eb37f82411
|
Add memoization where it needs to be. Fixes #894.
|
2017-04-05 01:06:48 +02:00 |
|
Dave Halter
|
4b841370e4
|
Test full name for os.path imports. Fixes #873.
|
2017-04-05 01:00:20 +02:00 |
|
Dave Halter
|
fe5eaaf56c
|
Add a better debugging message for import fails.
|
2017-04-04 23:27:45 +02:00 |
|
Dave Halter
|
fb8ed61b87
|
Add a way to cwd into a tmpdir.
|
2017-04-04 21:03:45 +02:00 |
|
Dave Halter
|
0117f83809
|
Forgot to include a test for #844.
|
2017-04-04 20:35:32 +02:00 |
|
Dave Halter
|
e660a5a703
|
Forgot to include the test for #884.
|
2017-04-04 20:31:27 +02:00 |
|
Dave Halter
|
947d91f792
|
Refactor the ClassName to allow inheritance in different modules. Fixes #884.
|
2017-04-04 20:11:07 +02:00 |
|
Dave Halter
|
d41e036427
|
Keyword-only arguments were not usable. Fixes #883 and #856.
|
2017-04-03 18:18:21 +02:00 |
|
Dave Halter
|
632072000e
|
Fix the builtin docstring issue that we've had. Fixes #859.
|
2017-04-03 00:27:31 +02:00 |
|
Dave Halter
|
47c1b8fa07
|
Fix bug #844.
|
2017-04-02 22:21:57 +02:00 |
|
Dave Halter
|
9f1dda04c0
|
Remove print statements that are not needed.
|
2017-04-02 21:43:30 +02:00 |
|
Dave Halter
|
7ecaf19b59
|
Fix _remove_last_newline. Fixes #863.
|
2017-04-02 21:29:48 +02:00 |
|
Dave Halter
|
3a6d815e9e
|
Another conversion.
|
2017-04-01 18:12:53 +02:00 |
|
Dave Halter
|
ed8370fa68
|
isinstance to type conversions.
|
2017-04-01 18:08:59 +02:00 |
|
Dave Halter
|
bd779655ae
|
Merge branch 'dev' of github.com:davidhalter/jedi into dev
|
2017-04-01 17:51:36 +02:00 |
|
Dave Halter
|
d6d1a39bf2
|
Remove some print statements.
|
2017-04-01 17:50:47 +02:00 |
|
Dave Halter
|
4cc467123c
|
Use PythonNode and not Node in the evaluator.
|
2017-04-01 17:39:52 +02:00 |
|
Dave Halter
|
281d6a87a0
|
Remove a few print statements.
|
2017-04-01 12:43:57 +02:00 |
|
Dave Halter
|
1fd10d978d
|
Replace a few isinstance calls with the type.
|
2017-04-01 00:26:22 +02:00 |
|
Dave Halter
|
a6829ca546
|
Use the cache variables in more straight forward fashion.
|
2017-03-31 23:10:39 +02:00 |
|
Dave Halter
|
b708b7f07d
|
Remove other crap code in the diff parser.
|
2017-03-31 21:48:30 +02:00 |
|
Dave Halter
|
b15aa197fd
|
Remove CachedFastPaser, not needed anymore.
|
2017-03-31 21:46:57 +02:00 |
|
Dave Halter
|
1bb0c89f46
|
Remove source parameter from parser.
|
2017-03-31 21:44:43 +02:00 |
|
Dave Halter
|
a687910368
|
Also remove _parsed from all parsers.
|
2017-03-31 21:42:11 +02:00 |
|
Dave Halter
|
d2d165267d
|
Remove unused get_root_node on the parser.
|
2017-03-31 21:41:36 +02:00 |
|
Dave Halter
|
7a51dbea08
|
Fix an issue in Python 2.
|
2017-03-31 21:03:15 +02:00 |
|
Dave Halter
|
f6f2765ab9
|
Rename the profile script to profile_output to avoid name clashes with the stdlibs profile.py.
|
2017-03-31 17:27:16 +02:00 |
|
Dave Halter
|
36b2fce030
|
The profile scripts default had to be changed.
|
2017-03-31 17:26:24 +02:00 |
|
Dave Halter
|
7e45ee3096
|
Refactor our parser caching a bit more.
|
2017-03-30 18:41:51 +02:00 |
|
Dave Halter
|
35fd1c70bd
|
Rename parser.utils to parser.cache.
|
2017-03-30 01:57:48 +02:00 |
|
Dave Halter
|
db364bc44d
|
Move underscore memoization.
|
2017-03-30 01:53:18 +02:00 |
|
Dave Halter
|
54d69fb9f4
|
Remove the ParserPickling class.
|
2017-03-30 01:50:50 +02:00 |
|
Dave Halter
|
8059c3c2c8
|
Save a module instead of a parser when pickling.
|
2017-03-30 00:55:04 +02:00 |
|
Dave Halter
|
932703f04a
|
Remove an import that is not needed anymore.
|
2017-03-28 02:09:38 +02:00 |
|
Dave Halter
|
ee47be0140
|
Merge Parser and ParserWithRecovery.
|
2017-03-28 02:08:16 +02:00 |
|
Dave Halter
|
1d0796ac07
|
Remove a usage of the old module path.
|
2017-03-28 01:43:40 +02:00 |
|
Dave Halter
|
6a9c2f8795
|
Start using ContextualizedNode for py__iter__.
|
2017-03-28 01:34:07 +02:00 |
|
Dave Halter
|
bb9ea54402
|
Remove ImplicitTuple.
|
2017-03-27 23:18:06 +02:00 |
|
Dave Halter
|
8a35a04439
|
Remove the module path from the parser tree.
Some static analysis tests are still failing.
|
2017-03-27 18:13:32 +02:00 |
|
Dave Halter
|
b60ec024fa
|
Remove start_parsing completely from the Parsers.
|
2017-03-26 12:52:37 +02:00 |
|
Dave Halter
|
63cafeaa87
|
Remove all usages of start_parsing=True in the fast parser.
|
2017-03-26 12:49:40 +02:00 |
|
Dave Halter
|
3d27d06781
|
Use the new parse method instead of a Parser.
|
2017-03-26 11:49:17 +02:00 |
|
Dave Halter
|
5c54650216
|
Code to source.
|
2017-03-26 01:50:19 +01:00 |
|
Dave Halter
|
aff0cbd68c
|
Remove the last usage of save/load_parser in jedi.
|
2017-03-26 01:48:45 +01:00 |
|
Dave Halter
|
fb8ffde32e
|
Fix an issue in the parse call.
|
2017-03-26 01:26:01 +01:00 |
|
Dave Halter
|
7874026ee5
|
A lot of work toward a better diff parser API.
|
2017-03-25 01:51:03 +01:00 |
|
Dave Halter
|
ac0d0869c9
|
Start using the parse function for caching as well.
|
2017-03-24 01:52:55 +01:00 |
|
Dave Halter
|
fb4cff8ef9
|
A small buildout script refactoring.
|
2017-03-23 14:22:27 -07:00 |
|
Dave Halter
|
5aa379945e
|
Merge the FileNotFoundError cache.
|
2017-03-23 14:22:19 -07:00 |
|
Dave Halter
|
6fef385774
|
Clean the path in pickling.
|
2017-03-23 08:52:25 +01:00 |
|
Dave Halter
|
26cce4d078
|
Add the grammar as an argument to saving the parser.
This makes collisions of different grammars when loading from the cache impossible.
|
2017-03-22 18:32:49 +01:00 |
|
Dave Halter
|
c41bee4253
|
Trying to ideas to reshape the diff parser APIs.
|
2017-03-22 09:38:06 +01:00 |
|
Dave Halter
|
2cb565561d
|
Replace the diff parser imports with the modified path.
|
2017-03-21 22:10:01 +01:00 |
|
Dave Halter
|
3a2811fbe8
|
Move the diff parser.
|
2017-03-21 22:03:58 +01:00 |
|
Dave Halter
|
6f01264ed3
|
Restructure import's module loading.
|
2017-03-21 17:20:10 +01:00 |
|
Dave Halter
|
ff90beca6b
|
Remove some documentation that was not necessary.
|
2017-03-20 21:10:49 +01:00 |
|
Dave Halter
|
d218acee6b
|
Create a default implementation of leafs.
|
2017-03-20 19:34:48 +01:00 |
|
Dave Halter
|
c6811675b6
|
Rename ast_mapping to node_map.
|
2017-03-20 08:55:18 +01:00 |
|
Dave Halter
|
2d7fd30111
|
Remove _remove_last_newline from the parser.
|
2017-03-20 08:49:30 +01:00 |
|
Dave Halter
|
9dedb9ff68
|
Don't start parsing in our own API.
|
2017-03-20 08:44:52 +01:00 |
|
Dave Halter
|
53b4e78a9b
|
Make some stuff private in the pgen parser API.
|
2017-03-20 08:36:11 +01:00 |
|
Dave Halter
|
689af9fc4e
|
Remove tokens initialization parameter from the parser api.
|
2017-03-20 08:34:07 +01:00 |
|
Dave Halter
|
42e8861798
|
Simplify the parse method.
|
2017-03-19 22:15:01 +01:00 |
|
Dave Halter
|
b4af42ddb3
|
Some minor parser changes to get ready for bigger stuff.
|
2017-03-19 21:30:41 +01:00 |
|
Dave Halter
|
3163f4d821
|
Trying to start moving more stuff to the BaseParser.
|
2017-03-19 21:06:51 +01:00 |
|
Dave Halter
|
dad40597c5
|
Start moving stuff to the parser.
|
2017-03-18 15:01:34 +01:00 |
|
Dave Halter
|
52d855118a
|
Remove get_parsed_node from the parser as well.
|
2017-03-18 03:55:23 +01:00 |
|
Dave Halter
|
0f66a3c7a8
|
Remove the module attribute from the parser.
|
2017-03-18 03:53:34 +01:00 |
|
Dave Halter
|
d0b6d41e99
|
Remove the old star import cache, because it's not even used.
|
2017-03-18 03:30:23 +01:00 |
|