On Sat, 20 Jun 2009 00:07:27 GMT, Lie Ryan <lie.1...@gmail.com> wrote:
[snip]

Perhaps we should have more built-in/stdlib operations that can release
GIL safely to release GIL by default? And perhaps some builtin/stdlib
should receive an optional argument that instruct them to release GIL
and by passing this argument, you're making a contract that you wouldn't
do certain things that would disturb the builtin/stdlib's operations;
the specifics of what operations are prohibited would be noted on their
docs.

There would be a lot less useless discussion if people would do a minimal
amount of checking to see if the ideas they're suggesting are at all
feasible.

Why don't you take a look at the CPython source and see if this is actually
possible?  If you're not comfortable diving into a C program, then maybe you
could try to become so first, or refrain from making suggestions that rely
on technical details you know nothing about?

Jean-Paul
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to