File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
extensions/positron-python/scripts/patches Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ We append `-Positron` to the `_VERSION_TAG` so that our cache directories don't overlap with a parso
2
+ installation in the user's environment. The vendored parso has a different import path than the user's,
3
+ so using the same cache can cause unexpected errors.
4
+
5
+ diff --git a/pythonFiles/positron/_vendor/parso/cache.py b/pythonFiles/positron/_vendor/parso/cache.py
6
+ index 5592a9fdd..98b903aaa 100644
7
+ --- a/pythonFiles/positron/_vendor/parso/cache.py
8
+ +++ b/pythonFiles/positron/_vendor/parso/cache.py
9
+ @@ -49,7 +49,7 @@ are regarded as incompatible.
10
+ - A __slot__ of a class is changed.
11
+ """
12
+
13
+ - _VERSION_TAG = '%s-%s%s-%s' % (
14
+ + _VERSION_TAG = '%s-%s%s-%s-Positron' % (
15
+ platform.python_implementation(),
16
+ sys.version_info[0],
17
+ sys.version_info[1],
You can’t perform that action at this time.
0 commit comments