input node random expression not used Following on from Is it possible to get a random number in the node editor?

I changed my node setup from 

Object-Info -&gt; Random -&gt; Color-Ramp -&gt; Diffuse-BSDF


to

Value(*) -&gt; Color-Ramp -&gt; 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.
In the second comment to my answer to the question you refer to, I mentioned having to update dependencies for the driver. This seems to be a manual step we need to perform when adding drivers to nodes.

You can find the driver details in the graph editor in driver display mode. With the driven value selected you need to click the Update Dependencies button and you should then find the node value will be updated properly.



Also ensure that you have enabled auto-run python scripts.

While work is being done on the new dependency graph it may be a good time to report this as a bug so that the developers can look into improving this.