There is following simple code:
from multiprocessing import Process, freeze_support def foo(): print \'hello\' if __name__ == \'__main__\': freeze_
This is a known bug:
http://bugs.python.org/issue10845
Not sure if this will ever get ported to 2.7.X.