Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Catching exceptions in embedded code no longer works on 3.7.2?
Post: RE: Catching exceptions in embedded code no longer...

I found what the issue is/was It is a clear case of not reading the manual properly :) ... In the readme.txt Quote:Static library -------------- The solution has no configuration for static librar...
FFMG General Coding Help 5 3,312 Feb-02-2019, 06:32 AM
    Thread: Catching exceptions in embedded code no longer works on 3.7.2?
Post: RE: Catching exceptions in embedded code no longer...

(Feb-01-2019, 10:54 PM)Larz60+ Wrote: exceptions are used in try/except clauses see: http://openbookproject.net/thinkcs/pytho...tions.html Thanks, but my question was about embedded python code, (in...
FFMG General Coding Help 5 3,312 Feb-02-2019, 03:26 AM
    Thread: Catching exceptions in embedded code no longer works on 3.7.2?
Post: Catching exceptions in embedded code no longer wor...

In an older project of mine I used to catch exceptions in the code by doing ... // simplified code ... PyObject * PyRes = PyRun_String( ... ) ... PyObject* ex = PyErr_Occurred(); ... if (!PyErr_Excep...
FFMG General Coding Help 5 3,312 Feb-01-2019, 08:42 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020