Following on from Is it possible to get a random number in the node editor?
I changed my node setup from
Object-Info -> Random -> Color-Ramp -> Diffuse-BSDF
Value(*) -> Color-Ramp -> Diffuse-BSDF
(*) When I entered the value as the Python expression "#noise.random()" the input field went pink but retained the value 0.500 and the colour generated reflected the middle colour in the colour ramp.
Hovering over the input field for the value node shows the python expression.
Rendering or saving first makes no difference, it always acts as if the factor to the colour ramp is a static value of 0.500
Also tried the expression as just "noise.random()" with the same result.
What I find really strange is I can use the arrows on the input field of the value node and change the visible value of 0.500 up and down and it affects value accordingly as if the python expression is being completely ignored.