Dave Halter
8e49d8ab5f
Fix tokenizer fstring end positions
2020-03-28 11:22:32 +01:00
Dave Halter
77b3ad5843
Small flake8 refactoring
2020-03-28 10:41:00 +01:00
Dave Halter
29e3545241
Fix adding error indents/dedents only at the right places
2020-03-27 17:05:05 +01:00
Dave Halter
3d95b65b21
Fix an issue with unfinished f string literals
2020-03-27 11:17:31 +01:00
Dave Halter
b86ea25435
Add a bit to the CHANGELOG
2020-03-24 22:38:18 +01:00
Dave Halter
4c42a82ebc
Allow multiple newlines in a suite, this makes the diff parser easier
2020-03-24 22:35:21 +01:00
Dave Halter
43651ef219
Diff parser: Make sure dedent start pos are matching
2020-03-24 22:27:04 +01:00
Dave Halter
419d9e3174
Diff parser: Fix a few more indentation issues
2020-03-24 22:03:29 +01:00
Dave Halter
2bef3cf6ff
Fix an issue where indents where repeated unnessecarily
2020-03-24 00:24:53 +01:00
Dave Halter
8e95820d78
Don't show logs in pytest, because they already appear by default
2020-03-23 23:53:23 +01:00
Dave Halter
c18c89eb6b
Diff parser: Correctly add indent issues
2020-03-23 00:16:47 +01:00
Dave Halter
afc556d809
Diff parser: Prepare for indent error leaf insertion
2020-03-22 22:57:58 +01:00
Dave Halter
cdb791fbdb
Diff parser: Add error dedents if necessary, see also davidhalter/jedi#1499
2020-03-22 21:37:25 +01:00
Dave Halter
93f1cdebbc
Try to make parsed trees more similar for incomplete dedents, see also davidhalter/jedi#1499
2020-03-22 21:15:22 +01:00
Dave Halter
d3ceafee01
Specify in tests how another dedent issue is recovered from
2020-03-22 19:34:12 +01:00
Dave Halter
237dc9e135
Diff parser: Make sure to pop nodes directly after error nodes, see also davidhalter/jedi#1499
2020-03-22 14:49:22 +01:00
Dave Halter
bd37353042
Move a bit of code
2020-03-22 13:46:13 +01:00
Dave Halter
51a044cc70
Fix diff parser: Invalid dedents meant that sometimes the wrong parents were chosen, fixes davidhalter/jedi#1499
2020-03-22 12:41:19 +01:00
Dave Halter
2cd0d6c9fc
Fix: Dedent omission was wrong, see davidhalter/jedi#1499
2020-03-22 12:41:19 +01:00
Daniel Hahler
287a86c242
ci: Travis: use Python 3.8.2
...
Ref: https://github.com/davidhalter/parso/issues/103
2020-02-28 00:51:06 +01:00
Dave Halter
0234a70e95
Python 3.8.2 was released and an error message changed, fixes #103
2020-02-28 00:31:58 +01:00
Dave Halter
7ba49a9695
Prepare the 0.6.2 release
v0.6.2
2020-02-27 02:10:06 +01:00
Dave Halter
53da7e8e6b
Fix get_next_sibling on module, fixes #102
2020-02-21 18:31:13 +01:00
Dave Halter
6dd29c8efb
Fix ExprStmt.get_rhs for annotations
2020-02-21 18:31:13 +01:00
Dave Halter
e4a9cfed86
Give parso refactoring tools
2020-02-21 18:31:13 +01:00
Joe Antonakakis
a7f4499644
Add venv to .gitignore ( #101 )
2020-02-14 14:28:07 +01:00
Dave Halter
4306e8b34b
Change the release date for 0.6.1
v0.6.1
2020-02-03 21:46:25 +01:00
Dave Halter
2ce3898690
Prepare the next release 0.6.1
2020-02-03 18:40:05 +01:00
Dave Halter
16f257356e
Make end_pos public for syntax issues
2020-02-03 18:36:47 +01:00
Dave Halter
c864ca60d1
Bump version to 0.6.0
v0.6.0
2020-01-26 20:01:38 +01:00
Dave Halter
a47b5433d4
Make sure iter_funcdefs includes async functions with decorators, fixes #98
2020-01-26 20:00:56 +01:00
Dave Halter
6982cf8321
Add a bit to the changelog
2020-01-26 19:47:46 +01:00
Dave Halter
844ca3d35a
del_stmt is now considered a name definition
2020-01-26 19:42:12 +01:00
Dave Halter
9abe5d1e55
Forgot to increase the pickle version
2020-01-20 01:28:06 +01:00
Jarry Shaw
84874aace3
Revision on fstring issues ( #100 )
...
* f-string expression part cannot include a backslash
* failing example `f"{'\n'}"` for tests
2020-01-09 21:49:34 +01:00
Jarry Shaw
55531ab65b
Revision on assignment errors ( #97 )
...
* Revision on assignment expression errors
* added rule for __debug__ (should be a keyword)
* reviewed error messages
* added new failing samples
* Adjustment upon Dave's review
* rewind several changes in assignment errors
* patched is_definition: command not found for assignment expressions
* patched Python 2 inconsistent error messages in test_python_errors.py: command not found
2020-01-08 23:07:37 +01:00
Dave Halter
31c059fc30
Add a Changelog note about dropping 2.6/3.3
2020-01-06 00:05:11 +01:00
Dave Halter
cfef1d74e7
Fix a Python 2.7 issue
2020-01-06 00:02:26 +01:00
Dave Halter
9ee7409d8a
Get rid of Python 3.3 artifacts
2020-01-05 23:59:38 +01:00
Dave Halter
4090c80401
Remove Python 2.6 grammar
2020-01-05 23:55:03 +01:00
Dave Halter
95f353a15f
Merge branch 'rm-2.6' of https://github.com/hugovk/parso
2020-01-05 23:50:20 +01:00
Dave Halter
2b0b093276
Make sure to limit the amount of cached files parso stores, fixes davidhalter/jedi#1340
2020-01-05 23:44:51 +01:00
Tim Gates
29b57d93bd
Fix simple typo: utitilies -> utilities
...
Closes #94
2019-12-17 10:00:28 +01:00
Dave Halter
fb010f2b5d
Add a release date to the Changelog
v0.5.2
2019-12-15 01:00:38 +01:00
Dave Halter
5e12ea5e04
Prepare the next release v0.5.2
2019-12-15 00:55:19 +01:00
Dave Halter
ceb1ee81fa
Merge pull request #93 from yangyangxcf/fstring_tokenize
...
fixed #86 and #87
2019-12-15 00:47:32 +01:00
Dave Halter
bc94293794
Add information about named expressions ( #90 ) to the Changelog
2019-12-15 00:29:41 +01:00
Dave Halter
1122822b7d
Use a lower pytest version so python3.4 is able to pass
2019-12-15 00:13:48 +01:00
Dave Halter
09abe42cce
Use Python 3.8 on travis for testing
2019-12-15 00:12:36 +01:00
Dave Halter
38cdcceba5
Whitespace changes
2019-12-15 00:06:37 +01:00