We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62306b6 commit 376f093Copy full SHA for 376f093
mypyc/primitives/weakref_ops.py
@@ -24,6 +24,7 @@
24
new_proxy_op = function_op(
25
name="_weakref.proxy",
26
arg_types=[object_rprimitive],
27
+ steals=[True],
28
return_type=object_rprimitive,
29
c_function_name="PyWeakref_NewProxy",
30
extra_int_constants=[(0, pointer_rprimitive)],
@@ -33,6 +34,7 @@
33
34
new_proxy_with_callback_op = function_op(
35
36
arg_types=[object_rprimitive, object_rprimitive],
37
+ steals=[True, False],
38
39
40
error_kind=ERR_MAGIC,
0 commit comments