global threading.Lock not locking correctly?

Peter Hansen peter at
Tue Feb 4 19:06:42 CET 2003

Afanasiy wrote:
> On Tue, 04 Feb 2003 10:16:48 -0500, Tim Peters < at>
> wrote:
> >[Afanasiy]
> >> # My logic tells me this should never print 'OOPS', yet it does.
> >> # Can someone tell me why? (P.S. this is simplified example code)
> >
> >But is this the actual code you ran?
> Yes.
> I am replying to this just to answer your question. My question was
> already answered. However, I am now curious what I should have said
> instead of "P.S. this is simplified example code". I am finding it
> difficult to communicate here and I consider my English excellent.

"Example" implies it was not run.  No, it isn't explicit about that,
but it implies it (at least to me). 

Saying "this is simplified code but it reproduces the symptoms" would
have been quite clear.


More information about the Python-list mailing list