From 2067845cef6e2b0f1d649fc31755d2221e0b1a9e Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Mon, 4 Sep 2017 22:03:12 +0200 Subject: [PATCH] Try to recommend using parso without diff_cache. --- parso/grammar.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/parso/grammar.py b/parso/grammar.py index 317cbb6..a886b67 100644 --- a/parso/grammar.py +++ b/parso/grammar.py @@ -61,8 +61,10 @@ class Grammar(object): :param bool diff_cache: Diffs the cached python module against the new code and tries to parse only the parts that have changed. Returns the same (changed) module that is found in cache. Using this option - requires you to not do anything anymore with the old cached module, - because the contents of it might have changed. + requires you to not do anything anymore with the cached modules + under that path, because the contents of it might change. This + option is still somewhat experimental. If you want stability, + please don't use it. :param bool cache_path: If given saves the parso cache in this directory. If not given, defaults to the default cache places on each platform.