[Python-Dev] should i put this on the bug tracker ?

Bart Thate bart at r8.cg.nu
Tue Aug 8 17:00:52 CEST 2006



On Tue, 8 Aug 2006, Hye-Shik Chang wrote:

sorry i should reply a little better ;]

> On 8/8/06, Bart Thate <bart at r8.cg.nu> wrote:
> > hello python-dev,
> >
> > the following code hangs on FreeBSD 6.1-STABLE,
> > Python 2.5b3 (r25b3:51041, Aug 5 2006, 20:46:57)
> >
>
> Python 2.5 now uses system scope threads in FreeBSD just like
> in other platforms.  So python may behave different for corner cases.
>

is there a way i can compile python with the old settings ?

> [snip]
> >
> > works fine on python2.4
> >
> > is this a bug or is it something i "should not do" ?
>
> In my machine (FreeBSD 6.1), 2.4 and 2.5 work same.
> What was the problem on your running?  Did you install
> it from the port?

in python2.5 i cannot start threads after the os.execl,
python2.4 lets me reboot my app and has no problem with
starting threads after that.


> BTW, os.exec() from a sub-thread looks not so safe.

i know it has problems but since it was working fine
i thought it was ok.

>
>
> Hye-Shik

Bart


More information about the Python-Dev mailing list