Dave Halter
be5429c02c
Remove utf8_repr from _compatibility.py
2020-07-24 01:26:36 +02:00
Dave Halter
736f616787
Remove FileNotFoundError and PermissionError from _compatibility.py
2020-07-24 01:24:59 +02:00
Dave Halter
b601ade90b
Drop Python 2.7, 3.4 and 3.5
2020-07-24 01:21:44 +02:00
Dave Halter
3b263f0a0d
Fix a failing test
v0.7.1
2020-07-24 01:01:23 +02:00
Dave Halter
f52103f236
Prepare 0.7.1 release
2020-07-24 00:54:07 +02:00
Dave Halter
c53321a440
Comprehensions are not valid as class params, fixes #122
2020-07-24 00:32:24 +02:00
Dave Halter
d8a70abf19
Merge pull request #145 from PeterJCLaw/expose-type-stubs
...
Let consumers know that we have type annotations
2020-07-21 23:42:01 +02:00
Peter Law
c19d7c4e6d
Let consumers know that we have type annotations
...
As well as the type stubs, this includes both the py.typed flag
file (for tools) and the classifier (for people).
2020-07-21 22:33:39 +01:00
Batuhan Taskaya
d42c0f1b3b
Merge pull request #143 from Carreau/parse-alpha
...
Parse alpha, beta and rc versions strings.
2020-07-01 11:14:40 +03:00
Matthias Bussonnier
40e78ff7e0
Parse alpha, beta and rc versions strings.
...
fixes #142
2020-06-30 13:28:09 -07:00
Batuhan Taskaya
c88a2675b0
Merge pull request #140 from Kazy/fix-139-async-for-newline
...
Fix #139 : newlines in async for comprehension
2020-06-29 20:01:53 +03:00
Jocelyn Boullier
88874a5a9f
Fix #139 : newlines in async for comprehension
2020-06-29 18:40:55 +02:00
Dave Halter
1e4076f9d9
Merge pull request #141 from isidentical/f-string-errors
...
Handle 3.9>= f-string errors
2020-06-29 00:03:57 +02:00
Batuhan Taskaya
73796f309d
Just raise the f-string error, pass the other
2020-06-28 19:53:57 +03:00
Batuhan Taskaya
1cacdf366e
Raise custom errors after break tokens
2020-06-28 19:48:11 +03:00
Batuhan Taskaya
d352bede13
Cover errors that raised by ErrorFinder
2020-06-28 19:37:22 +03:00
Batuhan Taskaya
572be783f3
Cover invalid syntaxes
2020-06-28 18:41:18 +03:00
Batuhan Taskaya
31171d7ae6
Handle 3.9>= f-string errors
2020-06-28 18:04:42 +03:00
Dave Halter
7e0586b0b9
Add a PyPI downloads badge
2020-06-27 15:18:27 +02:00
Dave Halter
cc347b1d3b
Merge pull request #137 from isidentical/cannot-delete-starred
...
Update starred deletion messages for 3.9+
2020-06-22 00:15:01 +02:00
Batuhan Taskaya
841a5d96b3
Update starred deletion messages for 3.9+
2020-06-21 19:47:18 +03:00
Dave Halter
d68b4e0cab
Use Python 3 in deployment script
2020-06-20 01:21:35 +02:00
Dave Halter
d55b4f08dc
Merge pull request #136 from davidhalter/permission_errors
...
Ignore permission errors when saving to cache
2020-06-19 20:27:59 +02:00
Dave Halter
58790c119e
Fix issues of #136
2020-06-19 20:20:00 +02:00
Dave Halter
3923ecf12f
Ignore permission errors when saving to cache
...
This might happen when a user doesn't have full access to his home directory.
Fixes davidhalter/jedi#1615
2020-06-19 12:06:46 +02:00
Dave Halter
bd33e4ef7e
Merge pull request #135 from isidentical/starred-expr
...
Improve handling of starred expression on different contexts
2020-06-05 12:58:14 +02:00
Batuhan Taskaya
891bfdaa04
Test only python3+
2020-06-04 22:09:04 +03:00
Batuhan Taskaya
5e1828b3f0
Check full error message
2020-06-04 22:02:12 +03:00
Batuhan Taskaya
6daf91880b
Add a special case against augassign
2020-06-04 21:47:28 +03:00
Batuhan Taskaya
44cf64a5f7
Improve handling of starred expression on different contexts (load/store)
2020-06-04 21:35:48 +03:00
Batuhan Taskaya
fe24f0dc1b
Implement garbage collections for inactive cache files ( #121 )
...
Cache files that weren't accessed in the last 30 days will be automatically
garbage collected. This collection happens when the `save_module` is called
via a lock system that would make it happen only one time per day.
2020-06-02 12:36:05 +03:00
Dave Halter
450e9d0a19
Merge pull request #130 from yuan-xy/patch-1
...
fix dump_nfa
2020-05-30 12:11:08 +02:00
yuan
93b5e6dffc
Fix a one-word typo
2020-05-29 10:30:08 +03:00
yuan
4403b5cac5
Update generator.py
2020-05-29 08:56:38 +08:00
Batuhan Taskaya
6f29c551fd
Adjust invalid aug assign target for 3.9+
2020-05-27 00:55:31 +02:00
Dave Halter
d6b1d19d87
Merge pull request #129 from isidentical/extended-rhs-for-annassign
...
Extend annotated assignment rule's RHS
2020-05-26 00:13:46 +02:00
Batuhan Taskaya
e0dc415bbc
Extend annotated assignment rule's RHS
2020-05-26 01:10:04 +03:00
Batuhan Taskaya
4c2c0ad077
Add python3.10 grammar ( #125 )
2020-05-26 00:58:09 +03:00
Batuhan Taskaya
5daa8b1db6
Merge pull request #124 from isidentical/nightly-builds
2020-05-25 00:18:29 +03:00
Batuhan Taskaya
c05e14c24e
Test parso on nightly builds
2020-05-25 00:11:46 +03:00
Dave Halter
846513584e
Merge pull request #119 from isidentical/check-all-args
...
Check all arguments for unparenthesized generator expressions
2020-05-23 23:18:00 +02:00
Batuhan Taskaya
6b0e01c220
Revert trailing comma for 3.6<
2020-05-23 21:17:08 +03:00
Batuhan Taskaya
92396a9a16
allow trailing comma <3.6, test both postive/negative cases
2020-05-23 17:45:20 +03:00
Batuhan Taskaya
fe54800cdd
Check all arguments for unparenthesized generator expressions
...
Previously only the first argument on the argument list checked
against the generator expressions, now all argumnets are controlled.
2020-05-23 16:57:34 +03:00
Dave Halter
6ecd975516
Merge pull request #117 from isidentical/repeated-kwarg-39
...
Show which keyword argument is repeated on 3.9+
2020-05-23 15:15:14 +02:00
Batuhan Taskaya
27a7c16803
assert full message
2020-05-23 15:51:00 +03:00
Batuhan Taskaya
a06521d912
Don't give syntax errors for parenthesised kwargs <3.8
2020-05-23 14:43:43 +02:00
Batuhan Taskaya
216a77dce5
Show which keyword argument is repeated on 3.9+
2020-05-23 14:06:24 +03:00
Dave Halter
8bb211fafb
Merge pull request #116 from isidentical/forbidden-name
...
Raise violation on starred expressions where the child is a boolean/none
2020-05-23 11:51:08 +02:00
Batuhan Taskaya
342e308f57
Move checking to the _CheckAssignmentRule
2020-05-23 01:18:23 +03:00