1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 """The module containing the Memo classes."""
25
26
28 """The multi-processor base class Memo of objects and data.
29
30 This object is used by the slave processor (via a Slave_command) to transfer the calculation results back to the master processor. This is to be subclassed by the user.
31 """
32
34 """Get the unique ID for the memo.
35
36 Currently this is the objects unique python ID (note these ids can be recycled once the memo
37 has been garbage collected it cannot be used as a unique longterm hash).
38
39 @return: A unique ID for this memo.
40 @rtype: int
41 """
42
43 return id(self)
44