raise takes 3 arguments:
http://www.python.org/doc/current/ref/raise.html#raise
On Feb 17, 2005, at 5:46 PM, Andi Vajda wrote:
The reason I changed this is because it was incorrect python before.
The raise statement takes only two arguments, an exception class and
one value or tuple of values.
http://www.python.org/doc/current/lib/module-exceptions.html#l2h-280
Andi..
On Thu, 17 Feb 2005, John Anderson wrote:
Hi Morgen:
I just ran into the same problem you did, where a syntax error in
parcel loading didn't send me off the the right place when debugging
under Wing.
I'm not sure I completely understand it yet, however, it looks like
Andi's recent change in ClassLoader.py
raise ImportError, sys.exc_value, sys.exc_traceback
to
raise ImportError, (sys.exc_value, sys.exc_traceback)
is the cause.
John
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev