By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,908 Members | 1,892 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,908 IT Pros & Developers. It's quick & easy.

Floating Exception

P: n/a
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
Nov 28 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Jeremy wrote:
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

Nov 29 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.