Re: [Python-Dev] Sharing between multiple interpreters and restricted mode

2006-01-10 Thread Jeremy Maxfield
Hi Gabriel, Apart from the problem of sharing code between interpreters (sounds pretty dangerous to me) there's a bug in 2.4.1 (and 2.3.5 for that matter) that causes problems with multiple interpreters in certain siutations (esp. threads) which results in this 'restricted mode' message - I encoun

Re: [Python-Dev] Pythonic concurrency

2005-09-30 Thread Jeremy Maxfield
Support for multiple interpreters already exists from the C API (mod_python, Java Embedded Python a few other add-ons use them) But: - it's not possible to create new interpreter instances from within Python. - there's no mechanism for passing information between interpreters. - interaction wit

Re: [Python-Dev] IMPORTANT: release24-maint branch is FROZEN from 2005-09-21 00:00 UTC for 2.4.2

2005-09-23 Thread Jeremy Maxfield
That's great - thanks alot. Cheers, Max   On 9/23/05, Michael Hudson <[EMAIL PROTECTED]> wrote: Michael Hudson <[EMAIL PROTECTED]> writes:> Jeremy Maxfield < [EMAIL PROTECTED]> writes:>>> Sorry I think you're 'much mistaken'...>>>>

Re: [Python-Dev] IMPORTANT: release24-maint branch is FROZEN from 2005-09-21 00:00 UTC for 2.4.2

2005-09-22 Thread Jeremy Maxfield
]> writes: > On Thursday 22 September 2005 23:36, Jeremy Maxfield wrote:>> Can the fix for [ 1163563 ] Sub threads execute in restricted mode>> (>> http://sourceforge.net/tracker/index.php?func=detail&aid=1163563&gr>>oup_id=5470&atid=105470 )>> go in

Re: [Python-Dev] IMPORTANT: release24-maint branch is FROZEN from 2005-09-21 00:00 UTC for 2.4.2

2005-09-22 Thread Jeremy Maxfield
s bug was backported to 2.3.5).   Max  On 9/22/05, Anthony Baxter <[EMAIL PROTECTED]> wrote: On Thursday 22 September 2005 23:36, Jeremy Maxfield wrote:> Can the fix for [ 1163563 ] Sub threads execute in restricted mode > (> http://sourceforge.net/tracker/index.php?func=detail&

Re: [Python-Dev] IMPORTANT: release24-maint branch is FROZEN from 2005-09-21 00:00 UTC for 2.4.2

2005-09-22 Thread Jeremy Maxfield
Can the fix for [ 1163563 ] Sub threads execute in restricted mode (http://sourceforge.net/tracker/index.php?func=detail&aid=1163563&group_id=5470&atid=105470 ) go in before 2.4.2 final? This is a real show stopper for us - we can't move to 2.4 without it. Cheers, Max  On 9/22/05, Michael Hudson <

Re: [Python-Dev] Vestigial code in threadmodule?

2005-06-02 Thread Jeremy Maxfield
If you're digging into the threadmodule.c could you take a look at bug #1163563 (http://sourceforge.net/tracker/index.php?func=detail&aid=1163563&group_id=5470&atid=105470) I've posted a patch (http://sourceforge.net/tracker/index.php? func=detail&aid=1203393&group_id=5470&atid=305470) Regards,

[Python-Dev] Multiple interpreters not compatible with current thread module

2005-05-17 Thread Jeremy Maxfield
The current threadmodule.c does not seem to correctly support multiple (sub) interpreters. This became apparent when using jep - (a Java/Python bridge) and also seems to cause problems with mod_python. The incompatibility began in Python version 2.3.5 and has been traced to changes to the 2.4 thr