I would suggest importing traceback.
import traceback
try :
mystuff
except :
print str(traceback.format_exc())
But in the case of a SegFault or core dump, it might not help you at all.
Can you post part of the function ?
On Fri, Jul 18, 2008 at 9:25 AM, <[EMAIL PROTECTED]> wrote:
> Hi -
Good Day python users,
I have a question regarding os.write and the write method of a file
descriptor object. My python was written on linux, under python 2.4 and I've
recently migrated to python 2.5.
My problem came from a pipe I used to to open and write to using :
fd = os.open("myfifo","w+")
o