Floating Exception

J

Jeremy

Hi,

I just changed some previously-working Python program to add a C++
extension.

Now, when I call __init__() in a Python class I did not change and with the
same arguments passed, I get the screen message 'Floating exception' and the
program seems to stop. The exact point of the crash in __init__() seems to
depend on from which directory I run the Python program.

What is wrong? And what is a floating exception?

Thanks,
Jeremy
 
J

John Machin

Jeremy said:
Hi,

I just changed some previously-working Python program to add a C++
extension.

Now, when I call __init__() in a Python class I did not change and with the
same arguments passed, I get the screen message 'Floating exception' and the
program seems to stop. The exact point of the crash in __init__() seems to
depend on from which directory I run the Python program.

What is wrong?

Could it possible be your C++ extension, do you think?
And what is a floating exception?

Do you know how to use Google? Search for "floating exception".

Fix your extension, and it'll go away.

HTH,
John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top