[Python-Dev] New PEP: 319
Michel Pelletier
michel@dialnetwork.com
Sun, 15 Jun 2003 14:40:33 -0500 (CDT)
> Greetings,
>
> After doing a whole heck of a lot of Java and Jython programming over the
> last year I decided to work an idea of mine into a PEP after being
> impressed with Java thread syncronization and frustrated with Python (it's
> almost always the other way around...)
>
> http://www.python.org/peps/pep-0319.html
Oops I found an error. In the 'asynchronize' keyword section the last
block of code should be:
synchronize:
while in_loop():
change_shared_data()
asynchronize:
do_blocking_io()
change_shared_data2()
not:
while in_loop():
synchronize:
change_shared_data()
asynchronize:
do_blocking_io()
change_shared_data2()
I've sent in a new revision.
-Michel