From 7d58a197cffa7c0dd3686402d2e381812bb8ddeb Mon Sep 17 00:00:00 2001 From: Josh Lloyd Date: Wed, 25 Sep 2019 17:53:30 +1200 Subject: py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions. Fixes #5140. --- tools/mpy-tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/mpy-tool.py b/tools/mpy-tool.py index 557ee98ff..c6f90e4f8 100755 --- a/tools/mpy-tool.py +++ b/tools/mpy-tool.py @@ -70,7 +70,7 @@ class QStrType: self.qstr_id = 'MP_QSTR_' + self.qstr_esc # Initialise global list of qstrs with static qstrs -global_qstrs = [None] # MP_QSTR_NULL should never be referenced +global_qstrs = [None] # MP_QSTRnull should never be referenced for n in qstrutil.static_qstr_list: global_qstrs.append(QStrType(n)) -- cgit v1.2.3