[Python-Dev] Slides from today's parallel/async Python talk

Trent Nelson trent at snakebite.org
Thu Mar 14 22:49:02 CET 2013


On Thu, Mar 14, 2013 at 02:30:14PM -0700, Trent Nelson wrote:
>     Then it dawned on me to just add the snapshot/rollback stuff to
>     normal Context objects.  In retrospect, it's silly I didn't think of
>     this in the first place -- the biggest advantage of the Context
>     abstraction is that it's thread-local, but not bindingly so (as in,
>     it'll only ever run on one thread at a time, but it doesn't matter
>     which one, which is essential, because the ).
> 
>     Once I switched ...

    $10 if you can guess when I took a break for lunch.

    "....but it doesn't matter which one, which is essential, because
    there are no guarantees with regards to which thread runs which
    context."

    Is along the lines of what I was going to say.

        Trent.


More information about the Python-Dev mailing list