From b735088cee375d500e782abb4971df46a1bdc0df Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 15 Mar 2020 10:27:36 +0100 Subject: [PATCH] bpo-39967: do not call linecache.checkcache in Bdb.reset --- Lib/bdb.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Lib/bdb.py b/Lib/bdb.py index b18a0612d8c..83b736ee5e2 100644 --- a/Lib/bdb.py +++ b/Lib/bdb.py @@ -53,8 +53,6 @@ class Bdb: def reset(self): """Set values of attributes as ready to start debugging.""" - import linecache - linecache.checkcache() self.botframe = None self._set_stopinfo(None, None)