Preload the string-escape code in noded
authorIustin Pop <iustin@google.com>
Thu, 12 May 2011 11:17:47 +0000 (13:17 +0200)
committerIustin Pop <iustin@google.com>
Thu, 12 May 2011 12:40:10 +0000 (14:40 +0200)
commitf01738fc51fdbad15e23461ceb68d7eafaa3fdf0
treec9d0409f76a1d6f8b86f3ce7b11721e1b4b189bf
parentf8afb7e69f109d4513f0e52b822dfce5a2498615
Preload the string-escape code in noded

This encoding, part of the standard Python installation, is used by
the pickle module (in turn used by subprocess when handling
failures in program execution). Preloading it means that Python will
cache it in memory so that even if the disk goes away or just the
module, we're not going to fail in reporting errors.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: RenĂ© Nussbaumer <rn@google.com>
NEWS
lib/server/noded.py