Bugs item #1195984, was opened at 2005-05-05 11:38 Message generated for change (Comment added) made by nbajpai You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1195984&group_id=5470
Category: Python Interpreter Core Group: Python 2.4 >Status: Closed Resolution: None Priority: 5 Submitted By: Niraj Bajpai (nbajpai) Assigned to: Nobody/Anonymous (nobody) Summary: SystemError: error return without exception set Initial Comment: I am getting following error with Python 2.4.1 relase: "SystemError: error return without exception set" my code works fine with earlier release (python 2.4). Its a C code build in python so does not leave much traces to describe problem more. Important Notes: Release name: 2.4.1(final) Platform: Solaris 2.8 Error: "SystemError: error return without exception set" ---------------------------------------------------------------------- >Comment By: Niraj Bajpai (nbajpai) Date: 2005-05-12 10:34 Message: Logged In: YES user_id=1165734 Agree with the comments made. ---------------------------------------------------------------------- Comment By: Terry J. Reedy (tjreedy) Date: 2005-05-11 19:07 Message: Logged In: YES user_id=593130 When people mix their own C code with CPython and get a SystemError like this, the probability that the error is in the added code and not the core code is perhaps greater than .95. Please consider closing this report as invalid unless and until you have evidence that the problem is indeed in the core code. To get help reviewing your added code, you can post to comp.lang.python, the general Python mailing list (python.org), or gmane.comp.python.general (gmane.org). To me, the Python error message seems meaningful enough. It seems to claim that you made an error return without setting an exception according to the rules of the C API. ---------------------------------------------------------------------- Comment By: Michael Hudson (mwh) Date: 2005-05-10 09:52 Message: Logged In: YES user_id=6656 Are you writing your own C code? If so, why do you suspect a bug in Python itself? (Also, a debug build of python can be useful for this sort of thing). ---------------------------------------------------------------------- Comment By: Niraj Bajpai (nbajpai) Date: 2005-05-10 09:50 Message: Logged In: YES user_id=1165734 Actually the same error happens in both 2.4 and 2.4.1. I call in python code to receive events from C code embedded in python interpreter. There are two meaningful events and idle event. I commented idle event in the code (C-code) and start seeing this error. from python code: x.receive(A) <<<<<<-------- Error happens here where A can be , receive "X" or receive "Y" or receive "NOTHING" In C code when I comment "NOTHING" event generator, I get the error. Some meaningful exception in python would have been better. ---------------------------------------------------------------------- Comment By: Michael Hudson (mwh) Date: 2005-05-06 07:45 Message: Logged In: YES user_id=6656 Uh, there's not a lot to go on here. Can you post some code? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1195984&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com