Dave Halter
|
d1d866f6c6
|
Use the right diff order in debug output
|
2019-01-05 18:36:48 +01:00 |
|
Dave Halter
|
a8ec75fedd
|
Fix diff parser: The prefix was wrong in some copy cases
|
2019-01-05 18:33:38 +01:00 |
|
Dave Halter
|
deaf1f310b
|
Make fuzz parser compatible with Python 2
|
2019-01-05 14:57:58 +01:00 |
|
Dave Halter
|
2a881bf875
|
Make it possible to print all diffs in fuzzer
|
2019-01-05 14:50:59 +01:00 |
|
Dave Halter
|
4d713f56e9
|
Introduce a redo flag 'only_last' to narrow down issues
|
2019-01-05 14:20:30 +01:00 |
|
Dave Halter
|
d202fdea49
|
Add docopt to testing dependencies
|
2019-01-05 14:09:14 +01:00 |
|
Dave Halter
|
5e6d5dec59
|
Rewrite the fuzz diff parser to cache errors (so we can re-run those)
|
2019-01-05 14:05:19 +01:00 |
|
Dave Halter
|
c1846dd082
|
Fix diff parser: Decorators were sometimes parsed without their functions
|
2019-01-05 09:29:00 +01:00 |
|
Dave Halter
|
5da51720cd
|
Fix tokenizer: Dedents should only happen after newlines
|
2019-01-03 11:44:17 +01:00 |
|
Dave Halter
|
fde64d0eae
|
Usability for diff parser fuzzing
|
2019-01-02 17:31:07 +01:00 |
|
Dave Halter
|
430f13af5e
|
Fix for diff parser: Rewrite prefix logic and don't mutate prematurely
|
2019-01-02 17:28:01 +01:00 |
|
Dave Halter
|
96ae6a078b
|
Fix diff parser: positioning of functions if decorators were removed
|
2019-01-02 13:16:22 +01:00 |
|
Dave Halter
|
a9f58b7c45
|
Ignore ERROR_DEDENT in graph validation
|
2019-01-02 12:15:05 +01:00 |
|
Dave Halter
|
e0d0e57bd0
|
Add a small diff parser fuzzer
It should help us find the rest of the issues that the diff parser has
|
2019-01-02 11:26:31 +01:00 |
|
Dave Halter
|
d2542983e9
|
Fix diff parser: get_last_line was sometimes wrong
Now the calculation is way simpler. Still annoying that it even happened.
|
2019-01-02 01:39:53 +01:00 |
|
Dave Halter
|
64cf24d9da
|
Fix error reporting order for diff issues
|
2019-01-02 00:33:43 +01:00 |
|
Dave Halter
|
02f48a68f2
|
Clean up the test diff parser file
|
2019-01-01 23:37:31 +01:00 |
|
Dave Halter
|
c7c464e5e9
|
Avoid nasty side effects in creation of Node
This issue led to bugs in Jedi, because Jedi used the nodes in a wrong way.
|
2019-01-01 23:35:20 +01:00 |
|
Dave Halter
|
29325d3052
|
Make parso errors even more informative
|
2018-12-31 11:47:02 +01:00 |
|
Dave Halter
|
750b8af37b
|
Fix diff parser get_last_line calculation
|
2018-12-31 01:25:11 +01:00 |
|
Dave Halter
|
0126a38bd1
|
Fix graph asserting for error indents
|
2018-12-30 18:20:55 +01:00 |
|
Dave Halter
|
c2985c111e
|
Better checks for checking valid graphs
|
2018-12-30 16:34:11 +01:00 |
|
Dave Halter
|
45f9d4b204
|
Create better ways for debugging the diff parser
|
2018-12-30 16:03:54 +01:00 |
|
Dave Halter
|
f99fe6ad21
|
Fix diff-parser: Copying parts of if else should not lead to the whole thing being copied
|
2018-12-30 15:25:17 +01:00 |
|
Dave Halter
|
a64c32bb2a
|
Reenable diff parser parser counting in all tests
|
2018-12-30 02:46:44 +01:00 |
|
Dave Halter
|
e5fb1927bb
|
Fix: Make the NodesStack to a NodesTree
This fixes an issue with positions that were doubled if the stack was closed too early.
|
2018-12-30 01:27:37 +01:00 |
|
Dave Halter
|
0ef4809377
|
Fix for diff parser : Make sure that start_pos are growing always
The problem was that functions/classes were sometimes not well positioned. Now
all diff tests are ensuring that leaves always grow.
|
2018-12-28 21:49:49 +01:00 |
|
Dave Halter
|
29456a6c0a
|
Add a check to see if leaves have the right start positions
|
2018-12-28 02:24:22 +01:00 |
|
Dave Halter
|
ada84ed063
|
Add parso version to an exception
|
2018-12-27 13:33:10 +01:00 |
|
Thomas A Caswell
|
1c7b078db0
|
MNT: add grammar for python 3.8
Coppied from cpython commit 1dd035954bb03c41b954ebbd63969b4bcb0e106e
|
2018-12-22 12:39:08 +01:00 |
|
Hugo
|
930ec08ab0
|
Use SVG badges
And update some links to HTTPS.
|
2018-09-28 18:51:36 +02:00 |
|
Daniel Hahler
|
a90622040d
|
tox.ini: simplify deps
|
2018-09-22 10:02:38 +02:00 |
|
Daniel Hahler
|
98c02f7d79
|
tox: add pypy to envlist for tox-travis
Fixes deprecation warning
(https://travis-ci.org/davidhalter/parso/jobs/431468986).
|
2018-09-22 10:02:38 +02:00 |
|
Daniel Hahler
|
d6d6c5038f
|
setup.py: add "testing" extras_require
Ref: https://github.com/davidhalter/parso/issues/15#issuecomment-339964845
|
2018-09-22 10:02:38 +02:00 |
|
Michael Käufl
|
3be8ac7786
|
Add Python 3.7 stable to test matrix and update classifiers
|
2018-09-13 00:28:27 +02:00 |
|
Anders Hovmöller
|
96f1582b6e
|
Update usage.rst
|
2018-08-02 22:17:14 +02:00 |
|
Dave Halter
|
7064ecf3fb
|
Don't use invalid escape sequences in regex, see https://github.com/davidhalter/jedi-vim/issues/843
|
2018-07-12 08:53:48 +02:00 |
|
Dave Halter
|
e6bc924fba
|
Use a setuptools that still supports py33
v0.3.1
|
2018-07-09 20:53:06 +02:00 |
|
Dave Halter
|
59605438e9
|
3.1 release notes
|
2018-07-09 20:27:10 +02:00 |
|
Dave Halter
|
e7f71a3eba
|
Use one simple functions to check for funcdefs in diff parser
|
2018-07-08 20:30:31 +02:00 |
|
Dave Halter
|
3f7aad84f9
|
Make sure to treat async funcdefs the same way as normal funcdefs
|
2018-07-08 20:18:15 +02:00 |
|
Dave Halter
|
52e3db4834
|
Fix an issue in the diff parser
Forgot to check for functions/classes that were part of a decorator/async func.
Fixes https://github.com/davidhalter/jedi/issues/1132
|
2018-07-06 01:25:06 +02:00 |
|
Dave Halter
|
0daf4d9068
|
Asterisks in function definitions may be at the end of a func without a comma, fixes #44
|
2018-07-04 09:51:34 +02:00 |
|
Dave Halter
|
29b6232541
|
Remove some TODOs that were fixed
|
2018-07-03 19:28:05 +02:00 |
|
Dave Halter
|
e05d7fd59f
|
Error recovery should not match the whole line in case of an invalid token, fixes #40
|
2018-07-03 01:31:32 +02:00 |
|
Daniel Hahler
|
7f964c26f2
|
docs: enable searchbox
|
2018-07-02 00:51:36 +02:00 |
|
Dave Halter
|
ff67de248f
|
Merge branch 'pgen'
v0.3.0
|
2018-06-29 18:14:03 +02:00 |
|
Dave Halter
|
1af5d9d46b
|
Add a changelog for 0.3.0
|
2018-06-29 18:13:53 +02:00 |
|
Dave Halter
|
fce3ead829
|
Bump version to 0.3.0
|
2018-06-29 18:04:55 +02:00 |
|
Dave Halter
|
55d5d39c53
|
Add a private API for jedi to work with the parser stack
|
2018-06-29 10:04:54 +02:00 |
|