Message6269

Author pjenvey
Recipients michael.foord, pjenvey, zyasoft
Date 2010-12-07.01:04:21
SpamBayes Score 6.5289777e-07
Marked as misclassified No
Message-id <1291683862.11.0.0477689964621.issue1682@psf.upfronthosting.co.za>
In-reply-to
Content
Hey Jim, this is a regression from 2.5.1, looks like it's due to r7161. The fix will probably be something along the lines of this (this needs testing)

{{{
Index: src/org/python/util/jython.java
===================================================================
--- src/org/python/util/jython.java	(revision 7172)
+++ src/org/python/util/jython.java	(working copy)
@@ -263,10 +263,8 @@
                         return;
                     } else {
                         Py.printException(t);
-                        if (!opts.interactive) {
-                            interp.cleanup();
-                            System.exit(-1);
-                        }
+                        interp.cleanup();
+                        System.exit(-1);
                     }
                 }
             }

}}}
History
Date User Action Args
2010-12-07 01:04:22pjenveysetmessageid: <1291683862.11.0.0477689964621.issue1682@psf.upfronthosting.co.za>
2010-12-07 01:04:22pjenveysetrecipients: + pjenvey, zyasoft, michael.foord
2010-12-07 01:04:22pjenveylinkissue1682 messages
2010-12-07 01:04:21pjenveycreate