Dave Halter
9501b0bde0
Fixed name tokenizing issues for tamil characters, fixes davidhalter/jedi#1368
2019-07-12 21:31:49 +02:00
Benjamin Woodruff
ad57a51800
Fix line continuation characters inside f-strings
...
Line continuation characters are valid inside of strings, but weren't
handled correctly in certain cases with f-strings, due to some small
tokenizer bugs.
This pull request to address those issues, and adds tests to validate
the new logic.
2019-07-12 21:20:00 +02:00
Dave Halter
19de3eb5ca
Document that the cache uses pickle files
2019-07-10 00:17:28 -07:00
Dave Halter
7441e6b1d2
Fix changelog dates, fixes #77
2019-06-28 02:00:35 -07:00
Dave Halter
df3c494e02
Try to use collections.abc.Mapping instead of collections.Mapping
...
The latter is deprecated and will be removed in Python 3.9, fixes #76
2019-06-21 10:17:18 +02:00
Dave Halter
59df3fab43
Some small changes to the changelog
v0.5.0
2019-06-20 21:15:53 +02:00
Dave Halter
803cb5f25f
Make parso work at least somewhat with an older Jedi version
2019-06-20 20:33:14 +02:00
Dave Halter
3fa8630ba9
Use an immutable map for used names, so that it can be use for hashing
2019-06-18 09:12:33 +02:00
Dave Halter
1ca5ae4008
Bump the version number to the next release: 0.5.0
2019-06-13 17:26:08 +02:00
Dave Halter
c3c16169b5
Ignore positional only arguments slash when listing params
2019-06-09 22:55:37 +02:00
Dave Halter
ecbe2b9926
Add positional only arguments to grammar
2019-06-09 21:15:03 +02:00
Dave Halter
1929c144dc
Increate the _PICKLE_VERSION to avoid issues with the latest breaking change
2019-06-09 18:11:21 +02:00
Dave Halter
b5d50392a4
comp_for is now called sync_comp_for for all Python versions to be compatible with the Python 3.8 Grammar
2019-06-09 18:00:32 +02:00
Dave Halter
a7aa23a7f0
Parse named expressions
2019-06-02 23:34:37 +02:00
Dave Halter
5430415d44
Change a test, because it doesn't really matter
...
The test had changed behavior for Python 3.8, a syntax error of:
SyntaxError: unexpected EOF while parsing
instead of
SyntaxError: invalid syntax
2019-06-02 22:54:45 +02:00
Dave Halter
6cdd47fe2b
f-string syntax in Python 3.8 was enhanced
...
See e.g. https://twitter.com/raymondh/status/1135253771846471680
2019-06-02 22:48:47 +02:00
Dave Halter
917b4421f3
Fix fstring format spec parsing, fixes #74
2019-06-02 15:18:42 +02:00
Dave Halter
4f5fdd5a70
Add release notes for the next release 0.4.1
2019-06-02 11:28:00 +02:00
prim
93ddf5322a
parse long number notation ( #72 )
...
* parse long number notation
* parse long number notation
2019-06-02 11:14:15 +02:00
Dave Halter
a9b61149eb
Fix get_decorators for async functions
2019-05-27 01:08:42 +02:00
Dave Halter
de416b082e
Make it clear that get_last_modified should not raise an exception, but return None, if it cannot look up a file
2019-05-22 00:16:26 +02:00
Carl Meyer
4b440159b1
Fix __init__.pyi re-exports.
2019-05-10 09:12:32 +02:00
Carl Meyer
6f2d2362c9
Add type stubs.
2019-05-10 09:12:32 +02:00
Dave Halter
8a06f0da05
0.4.0 release notes
v0.4.0
2019-04-05 18:57:21 +02:00
Dave Halter
bd95989c2e
Change the default tox environments to test
...
These version will be tested before deploying
2019-04-05 18:55:23 +02:00
Miro Hrončok
57e91262cd
Add Python 3.8 to tox.ini
...
Otherwise we get:
Matching undeclared envs is deprecated.
Be sure all the envs that Tox should run are declared in the tox config.
2019-04-05 18:43:43 +02:00
Miro Hrončok
476383cca9
Test on Python 3.8
2019-04-05 18:43:43 +02:00
Dave Halter
b2ab64d8f9
Fix Python 3.8 error issues
2019-04-05 18:30:48 +02:00
Dave Halter
18cbeb1a3d
Fix an issue, because sync_comp_for exists now
2019-04-05 16:27:17 +02:00
Dave Halter
a5686d6cda
PEP 8
2019-04-05 16:25:45 +02:00
Dave Halter
dfe7fba08e
continue in finally is no longer an error
2019-04-05 16:17:30 +02:00
Dave Halter
6db7f40942
Python 2 compatibility
2019-04-03 01:24:06 +02:00
Dave Halter
d5eb96309c
Increase the pickle version. With all the changes lately, it's better this way
2019-04-03 01:07:25 +02:00
Dave Halter
4c65368056
Some minor changes to file_io
2019-03-27 01:02:27 +01:00
Dave Halter
3e2956264c
Add FileIO to make it possible to cache e.g. files from zip files
2019-03-25 00:48:59 +01:00
Dave Halter
e77a67cd36
PEP 8
2019-03-22 20:17:59 +01:00
Daniel Hahler
c4d6de2aab
tests: add coverage tox factor, use it on Travis
2019-03-22 11:01:22 +01:00
Daniel Hahler
7770e73609
ci: Travis: use dist=xenial
2019-03-22 11:01:22 +01:00
Dave Halter
acccb4f28d
0.3.4 release
v0.3.4
2019-02-13 00:19:07 +01:00
Dave Halter
3f6fc8a5ad
Fix an f-string tokenizer issue
2019-02-13 00:17:37 +01:00
Dave Halter
f1ee7614c9
Release of 0.3.3
v0.3.3
2019-02-06 09:55:18 +01:00
Dave Halter
58850f8bfa
Rename a test
2019-02-06 09:51:46 +01:00
Dave Halter
d38a60278e
Remove some unused code
2019-02-06 09:50:27 +01:00
Dave Halter
6c65aea47d
Fix working with async functions in the diff parser, fixes #56
2019-02-06 09:31:46 +01:00
Dave Halter
0d37ff865c
Fix bytes/fstring mixing when using iter_errors, fixes #57 .
2019-02-06 01:28:47 +01:00
Dave Halter
076e296497
Improve a docstring, fixes #55 .
2019-01-26 21:34:56 +01:00
Dave Halter
a2b153e3c1
Upgrade the Changelog
v0.3.2
2019-01-24 00:42:53 +01:00
Dave Halter
bb2855897b
Escape a backslash properly
2019-01-24 00:31:26 +01:00
Dave Halter
9c9e6ffede
Bump the parso version to 0.3.2
2019-01-24 00:22:30 +01:00
Dave Halter
b5d8175eaa
f-string parts are also PythonLeaf instances
2019-01-24 00:15:53 +01:00