[Python-ideas] A concurrency survey of sorts

Mike Meyer mwm at mired.org
Sun Nov 6 06:03:26 CET 2011


On Sat, 5 Nov 2011 16:34:06 +1000
Nick Coghlan <ncoghlan at gmail.com> wrote:
> On Sat, Nov 5, 2011 at 5:20 AM, Mike Meyer <mwm at mired.org> wrote:
> > That's one of the ideas. The goal is to get the Python processor to
> > help locate concurrency bugs. Since the threading module
> > communications model is "everything is shared by default", I'm pretty
> > sure it's going to break code that depends on it. But that's why it's
> > a proposal for Python 4 or something even further away.
> I'd suggest it's actually a proposal for a language that *isn't
> Python*. There's no way an idea like this would ever be accepted into
> Python itself without real world experimentation in another context.
> It's going to be hard to get anyone interested enough to seriously try
> it out, but I'd suggest going the "Python-based language" route (ala
> Boo and Cython) rather than claiming the idea is Python as such.

That's been obvious from the start. But this does raise an interesting
question: assuming that this change could be made in a way that
the affect on most single-threaded code is minor (which is assuming a
*lot*), is the fact that it will break almost all concurrent code
enough to mean that it's really for a language other than Python?

     Thanks,
     <mike
-- 
Mike Meyer <mwm at mired.org>		http://www.mired.org/
Independent Software developer/SCM consultant, email for more information.

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org



More information about the Python-ideas mailing list