emitnative: Disable warning in delete_fast for now (breaks test).

This commit is contained in:
Paul Sokolovsky 2015-01-01 09:43:42 +02:00
parent 8a8c1fc82f
commit db1ac360c3
1 changed files with 3 additions and 1 deletions

View File

@ -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) {