Issue16

Title Share should accept a field or a value
Type wish Status chatting
Importance 10.0
Superseder Nosy List mg
Assigned To Keywords

Created on 2008-03-17.22:08:17 by mg, last changed 2008-09-23.17:57:23 by mg.

Messages
msg36 (view) Author: mg Date: 2008-03-22.14:50:08
But if Share begin to enforce this, then code like

  d = Share(self, share.field, (share.field(id), share))

will break. Here we actually do want Share to temporarily hold a value which is
not in the field. This is because a list of these shares are passed to
Runtime._recombine -- the problem might very well be that _recombine should not
expect such a list.
msg25 (view) Author: mg Date: 2008-03-17.22:08:17
The Share constructor should accept either a field *or* a value, not both. When
a value is given the field is redundant and it leads to code like this:

  a = Share(runtime, Zp, Zp(a_value))

which looks strange.
History
Date User Action Args
2008-09-23 17:57:23mgsetimportance: 10.0
type: bug -> wish
2008-09-23 16:12:19tpjsettype: bug
2008-03-22 14:50:09mgsetstatus: unread -> chatting
messages: + msg36
2008-03-17 22:08:17mgcreate