[Python-Dev] Summing up
Bill Janssen
janssen at parc.com
Wed May 19 18:04:26 CEST 2010
Nick Coghlan <ncoghlan at gmail.com> wrote:
> B. some more thought should be given to incorporating the new GIL into
> 2.7. However, this requires two things:
> - an update to the patch in 7753 to either retain the old GIL for
> platforms not supported by the new GIL or else to make the new GIL a
> configure option
> - Benjamin accepting that patch (as it would likely mean adding
> another beta release to the cycle)
I think I agree with that, at least for 2.7.0. My fallback plan is to
write an extension that does the thread affinity hack, monkeypatching
threading.py, only for OS X. People like me who are really annoyed with
the continued presence of the multicore bug can just add that to site.py
or sitecustomize.py (does that still work?). I'd like to find out first
whether you can actually change the thread affinity on OS X after the
thread has been started.
> In the absence of an updated version of the 7753 patch, backporting
> the new GIL to 2.7 isn't really a serious option.
Right. At least, not for this revision level.
Bill
More information about the Python-Dev
mailing list