Re: please, help with python 3.1

2010-08-03 Thread Antoine Pitrou
On Tue, 3 Aug 2010 10:28:49 +0100 Alan Wilter Sousa da Silva wrote: > Now with python3.1: > > > time python3.1 timout.py > PID: 27687 > Timed out! Process 27687 killed, max exec time (5s) exceeded > Traceback (most recent call last): > File "

Re: please, help with python 3.1

2010-08-03 Thread Alan Wilter Sousa da Silva
t 08:42, rantingrick wrote: > On Aug 3, 2:28 am, Chris Rebert wrote: > > -- Forwarded message -- > > From: Alan > > Date: Tue, Aug 3, 2010 at 12:25 AM > > Subject: Re: please, help with python 3.1 > > To: Chris Rebert > > > > Sorry,

Re: please, help with python 3.1

2010-08-03 Thread Steven D'Aprano
sample data, in order to have any hope of helping you. Regards, Steven. On Tue, 03 Aug 2010 00:28:04 -0700, Chris Rebert wrote: > -- Forwarded message ---------- From: Alan > > Date: Tue, Aug 3, 2010 at 12:25 AM > Subject: Re: please, help with python 3.1 To: Chris Rebe

Re: please, help with python 3.1

2010-08-03 Thread rantingrick
On Aug 3, 2:28 am, Chris Rebert wrote: > -- Forwarded message -- > From: Alan > Date: Tue, Aug 3, 2010 at 12:25 AM > Subject: Re: please, help with python 3.1 > To: Chris Rebert > > Sorry, > I will explain. Well it looks like he forgot to post

Re: please, help with python 3.1

2010-08-03 Thread Chris Rebert
-- Forwarded message -- From: Alan Date: Tue, Aug 3, 2010 at 12:25 AM Subject: Re: please, help with python 3.1 To: Chris Rebert Sorry, I will explain. I am using for a task 'find /' expecting this to last longer, usually much longer than 5 sec. If you run the code

Re: please, help with python 3.1

2010-08-03 Thread rantingrick
On Aug 3, 2:11 am, Chris Rebert wrote: > On Mon, Aug 2, 2010 at 11:35 PM, Alan wrote: > > Hello List, > > Please, can someone at least try this code below in python 3 and report me > > back whether it works or not? Because for me this code works in python 2.6 > > but not with python 3.1. Thanks!

Re: please, help with python 3.1

2010-08-03 Thread Chris Rebert
On Mon, Aug 2, 2010 at 11:35 PM, Alan wrote: > Hello List, > Please, can someone at least try this code below in python 3 and report me > back whether it works or not? Because for me this code works in python 2.6 > but not with python 3.1. Thanks! Please specify *in exactly what way* the code is

please, help with python 3.1

2010-08-02 Thread Alan
Hello List, Please, can someone at least try this code below in python 3 and report me back whether it works or not? Because for me this code works in python 2.6 but not with python 3.1. Thanks! from __future__ import print_function import os, subprocess, signal def signal_handler( signum, fram