summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-01-01 09:43:42 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-01-01 22:09:18 +0200
commitdb1ac360c39aeedd28b6ef5d653faaa14c3ce01e (patch)
tree02605c72ecd559f1b068d86b07c6a3b98c710d68 /py
parent8a8c1fc82f5b1f7e5f7d82970e39d6064f2fd0b4 (diff)
downloadmicropython-db1ac360c39aeedd28b6ef5d653faaa14c3ce01e.tar.gz
micropython-db1ac360c39aeedd28b6ef5d653faaa14c3ce01e.zip
emitnative: Disable warning in delete_fast for now (breaks test).
Diffstat (limited to 'py')
-rw-r--r--py/emitnative.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/py/emitnative.c b/py/emitnative.c
index 556a977a06..c8f8cd8f24 100644
--- a/py/emitnative.c
+++ b/py/emitnative.c
@@ -1636,7 +1636,9 @@ STATIC void emit_native_store_subscr(emit_t *emit) {
STATIC void emit_native_delete_fast(emit_t *emit, qstr qst, mp_uint_t local_num) {
// TODO implement me!
// could support for Python types, just set to None (so GC can reclaim it)
- mp_emitter_warning(emit->pass, "Native codegeneration doesn't support deleting local");
+ // local is automatically deleted for exception block "as" var, and the message
+ // breaks tests.
+ //mp_emitter_warning(emit->pass, "Native codegeneration doesn't support deleting local");
}
STATIC void emit_native_delete_deref(emit_t *emit, qstr qst, mp_uint_t local_num) {