summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-03-22 23:48:05 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-03-22 23:48:05 +0900
commit339717d8775d8d46b73628362d582a6e2849ca73 (patch)
tree87ca0fdf155ff9290a4d3f8f8bba614ce085a361
parent419cd210f84c02ae62c4cf2b5b19faf85684449f (diff)
parentc4b718997812524343b8fe65d4704709457afde0 (diff)
downloadsphinx-git-339717d8775d8d46b73628362d582a6e2849ca73.tar.gz
Merge branch '2.4.x' into 2.x
-rw-r--r--CHANGES2
-rw-r--r--sphinx/util/docutils.py4
2 files changed, 2 insertions, 4 deletions
diff --git a/CHANGES b/CHANGES
index 10a02767d..6778d000a 100644
--- a/CHANGES
+++ b/CHANGES
@@ -16,6 +16,8 @@ Features added
Bugs fixed
----------
+* #7343: Sphinx builds has been slower since 2.4.0 on debug mode
+
Testing
--------
diff --git a/sphinx/util/docutils.py b/sphinx/util/docutils.py
index 3fbd8a420..ed93939a7 100644
--- a/sphinx/util/docutils.py
+++ b/sphinx/util/docutils.py
@@ -479,8 +479,6 @@ class SphinxTranslator(nodes.NodeVisitor):
for node_class in node.__class__.__mro__:
method = getattr(self, 'visit_%s' % (node_class.__name__), None)
if method:
- logger.debug('SphinxTranslator.dispatch_visit calling %s for %s',
- method.__name__, node)
return method(node)
else:
super().dispatch_visit(node)
@@ -497,8 +495,6 @@ class SphinxTranslator(nodes.NodeVisitor):
for node_class in node.__class__.__mro__:
method = getattr(self, 'depart_%s' % (node_class.__name__), None)
if method:
- logger.debug('SphinxTranslator.dispatch_departure calling %s for %s',
- method.__name__, node)
return method(node)
else:
super().dispatch_departure(node)