Skip to content

Commit 8fa489d

Browse files
committed
never leak NO_VALUE into Python space
1 parent 66803df commit 8fa489d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/queue/SimpleQueueBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Object doNoTimeout(PSimpleQueue self, boolean block, @SuppressWarnings("unused")
165165
} catch (InterruptedException e) {
166166
CompilerDirectives.transferToInterpreter();
167167
Thread.currentThread().interrupt();
168-
return PNone.NO_VALUE;
168+
return PNone.NONE;
169169
} finally {
170170
ensureGil().acquire();
171171
}

0 commit comments

Comments
 (0)