I'm afraid neither of the suggestions above made any difference and I'm also slightly confused about the reply.
Firstly, I understand the above to say that I have not correctly given access to the method and the fact that it worked in 2.10 was a fault that has now been fixed. However, that would imply that none of my three cases would work whereas the only failure on 2.12 is when I store the instance in a list.
Also, I had read the page referred to and although the description of allow_class is minimal my understanding was that it is a shorthand that gives full access as it says "the utility function “allow_class” and “allow_module” have been created to help you declare the entire contents of a class or module as public".
I'm afraid neither of the suggestions above made any difference and I'm also slightly confused about the reply.
Firstly, I understand the above to say that I have not correctly given access to the method and the fact that it worked in 2.10 was a fault that has now been fixed. However, that would imply that none of my three cases would work whereas the only failure on 2.12 is when I store the instance in a list.
Also, I had read the page referred to and although the description of allow_class is minimal my understanding was that it is a shorthand that gives full access as it says "the utility function “allow_class” and “allow_module” have been created to help you declare the entire contents of a class or module as public".