1.1 --- a/templates/progops.c Thu Mar 23 16:40:57 2017 +0100
1.2 +++ b/templates/progops.c Thu Mar 23 23:36:32 2017 +0100
1.3 @@ -73,7 +73,7 @@
1.4
1.5 /* Store a reference to the data in the object's __data__ attribute. */
1.6
1.7 - __store_via_object(args[0].value, __data__, attr);
1.8 + __store_via_object(__VALUE(args[0]), __data__, attr);
1.9 }
1.10
1.11 #ifdef __HAVE___builtins___dict_dict
1.12 @@ -221,7 +221,7 @@
1.13 /* Erase the remaining arguments. */
1.14
1.15 for (pos = nargs; pos < max; pos++)
1.16 - allargs[pos].value = 0;
1.17 + __SETNULL(allargs[pos]);
1.18
1.19 /* Fill keyword arguments. */
1.20
1.21 @@ -246,7 +246,7 @@
1.22
1.23 for (pos = nargs; pos < max; pos++)
1.24 {
1.25 - if (allargs[pos].value == 0)
1.26 + if (__ISNULL(allargs[pos]))
1.27 allargs[pos] = __GETDEFAULT(__VALUE(target), pos - min);
1.28 }
1.29 }