Kyle wrote: > def do_call(x,y): > print "Hello World", x, y, os.getpid() > > if __name__ == '__pipper_main__': > a_range = range( int(sys.argv[1]) ) > #pragma pipper_start > for a in a_range : > for b in a_range : > do_call(a,b) > #pragma pipper_end
I'm not a big fan of comments that change semantics. Wouldn't a modified 'with' statement look better? We have a couple of other syntax proposals in the Cython Wiki. http://wiki.cython.org/enhancements/parallel Stefan -- http://mail.python.org/mailman/listinfo/python-list