Re: Core Dump - Segmentation Fault -Newbie

2008-07-18 Thread Terry Reedy
[EMAIL PROTECTED] wrote: Hi - I am very new to python. I get this random core dump and am looking for a good way to catch the error. I know the function my core dump occurs. Is there any error catching/handling that I could use in python? When posting such questions, please supply Python vers

Re: Core Dump - Segmentation Fault -Newbie

2008-07-18 Thread Stefan Behnel
Doug Morse wrote: > Well, I must be missing something re: why Stefan states that you are using > Windows. I don't see that stated in your original post It's stated in the mail headers of his post, though. That's the problem with newbies - you never know where that stops being right. Stefan -- ht

Re: Core Dump - Segmentation Fault -Newbie

2008-07-18 Thread Doug Morse
On Fri, 18 Jul 2008 15:56:10 +0200, Stefan Behnel <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hi - I am very new to python. I get this random core dump and am > > looking for a good way to catch the error. I know the function my core > > dump occurs. Is there any error catching/handl

Re: Core Dump - Segmentation Fault -Newbie

2008-07-18 Thread johnericaturnbull
On Jul 18, 9:56 am, Stefan Behnel <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hi - I am very new to python. I get this random core dump and am > > looking for a good way to catch the error. I know the function my core > > dump occurs. Is there any error catching/handling that I could

Re: Core Dump - Segmentation Fault -Newbie

2008-07-18 Thread Stefan Behnel
[EMAIL PROTECTED] wrote: > Hi - I am very new to python. I get this random core dump and am > looking for a good way to catch the error. I know the function my core > dump occurs. Is there any error catching/handling that I could use in > python? Since you are using Windows, this is somewhat non-t

Re: Core Dump - Segmentation Fault -Newbie

2008-07-18 Thread phil lemelin
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 -

Core Dump - Segmentation Fault -Newbie

2008-07-18 Thread johnericaturnbull
Hi - I am very new to python. I get this random core dump and am looking for a good way to catch the error. I know the function my core dump occurs. Is there any error catching/handling that I could use in python? -- http://mail.python.org/mailman/listinfo/python-list