Issue1771534

classification
Title: patch for :[ 1768982 ] sys.exc_clear is missing
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: cgroves, ukeshav
Priority: normal Keywords: patch

Created on 2007-08-10.10:41:00 by ukeshav, last changed 2007-09-25.04:38:09 by cgroves.

Files
File name Uploaded Description Edit Remove
bug_1768982.diff ukeshav, 2007-08-13.12:22:06 patch file
Messages
msg2777 (view) Author: keshav upadhyaya (ukeshav) Date: 2007-08-10.10:41:00
i have written a exc_clear() function in sys module 
here i am making Exception to null 
Please improve the code if some thing is missing  i have tried with test cases it works fine.
msg2778 (view) Author: keshav upadhyaya (ukeshav) Date: 2007-08-13.11:43:27
File Added: bug_1768982.diff
msg2779 (view) Author: keshav upadhyaya (ukeshav) Date: 2007-08-13.12:22:09
File Added: bug_1768982.diff
msg2780 (view) Author: Charlie Groves (cgroves) Date: 2007-09-22.23:25:22
Deleting one of the files since they're identical
msg2781 (view) Author: Charlie Groves (cgroves) Date: 2007-09-25.04:38:09
Looks good!  Committed to trunk in r3541.  

For future reference, there's no need to return Py.None from a function in Java if that's all it's going to return.  You can just make the function's return type void and Jython will take care of the rest.  I fixed that in the code I committed.
History
Date User Action Args
2007-08-10 10:41:00ukeshavcreate