Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, 2026, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# The Universal Permissive License (UPL), Version 1.0
Expand Down Expand Up @@ -92,7 +92,7 @@ def do_hash(item):

# try hard to collect the two objects but avoid infinite loop
i = 0
while not (r1() is None and r3() is None) and i < 10000:
while not (r1() is None and r3() is None) and i < 100:
gc.collect()
i += 1

Expand Down Expand Up @@ -293,4 +293,4 @@ def __call__(self):
a = A(42)
proxy = weakref.proxy(a)
assert callable(proxy) is True
assert proxy() == 42
assert proxy() == 42
Loading