Did you test it? Lars, please, if you can test something with code, you'll find out the answer faster than asking on the mailing list.
On 8/18/14, lars van Gemerden <[email protected]> wrote: > Hi, > > I have a short question: does the ability for stackless to pickle tasklets > also mean that it can pickle functions and lambda's? > > as in: > > import cPickle as pickle > > if __name__ == "__main__": > s = pickle.dumps(lambda x, y: x+y) > f = pickle.loads(s) > assert f(3,4) == 7 > > Cheers, Lars > -- > ==================================== > Lars van Gemerden > [email protected] > +31 6 26 88 55 39 > ==================================== > _______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless
