1
0
python-matplotlib/pyparsing-workaround-setName.patch
Matej Cepl b6eb1322b6 Accepting request 1098098 from home:mcalabkova:branches:devel:languages:python:numeric
- add pyparsing-workaround-setName.patch as a part of a workaround
  for boo#1213007
  * it changes the behaviour for the debugging purposes, the laic
    end user shouldn't notice

Should go together with pyparsing

OBS-URL: https://build.opensuse.org/request/show/1098098
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=77
2023-07-12 09:33:06 +00:00

14 lines
646 B
Diff

Index: matplotlib-3.6.3/lib/matplotlib/_mathtext.py
===================================================================
--- matplotlib-3.6.3.orig/lib/matplotlib/_mathtext.py
+++ matplotlib-3.6.3/lib/matplotlib/_mathtext.py
@@ -1794,7 +1794,7 @@ class Parser:
for key, val in vars(p).items():
if not key.startswith('_'):
# Set names on everything -- very useful for debugging
- val.setName(key)
+ #val.setName(key)
# Set actions
if hasattr(self, key):
val.setParseAction(getattr(self, key))