please, help with python 3.1

2010-08-03 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,

Re: please, help with python 3.1

2010-08-03 Thread Chris Rebert
On Mon, Aug 2, 2010 at 11:35 PM, Alan alanwil...@gmail.com 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

Re: please, help with python 3.1

2010-08-03 Thread rantingrick
On Aug 3, 2:11 am, Chris Rebert c...@rebertia.com wrote: On Mon, Aug 2, 2010 at 11:35 PM, Alan alanwil...@gmail.com 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

Re: please, help with python 3.1

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

Re: please, help with python 3.1

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

Re: please, help with python 3.1

2010-08-03 Thread Steven D'Aprano
:28:04 -0700, Chris Rebert wrote: -- Forwarded message -- From: Alan alanwil...@gmail.com Date: Tue, Aug 3, 2010 at 12:25 AM Subject: Re: please, help with python 3.1 To: Chris Rebert c...@rebertia.com Sorry, I will explain. I am using for a task 'find /' expecting

Re: please, help with python 3.1

2010-08-03 Thread Alan Wilter Sousa da Silva
: Alan alanwil...@gmail.com Date: Tue, Aug 3, 2010 at 12:25 AM Subject: Re: please, help with python 3.1 To: Chris Rebert c...@rebertia.com Sorry, I will explain. Well it looks like he forgot to post the traceback! -- http://mail.python.org/mailman/listinfo/python-list -- Alan

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 awil...@ebi.ac.uk 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):