From: SourceForge.net <no...@so...> - 2006-11-29 04:50:35
|
Bugs item #1605009, was opened at 2006-11-28 23:50 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1605009&group_id=12867 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Charles Groves (cgroves) Assigned to: Nobody/Anonymous (nobody) Summary: str subclasses can be used in raise Initial Comment: A subclass of string can be used as an exception in a raise statement. Only true str instances should be allowed. This causes string_exceptions in test_descr to fail. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1605009&group_id=12867 |
From: SourceForge.net <no...@so...> - 2006-12-20 17:59:40
|
Bugs item #1605009, was opened at 2006-11-29 04:50 Message generated for change (Comment added) made by leouserz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1605009&group_id=12867 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Charles Groves (cgroves) Assigned to: Nobody/Anonymous (nobody) Summary: str subclasses can be used in raise Initial Comment: A subclass of string can be used as an exception in a raise statement. Only true str instances should be allowed. This causes string_exceptions in test_descr to fail. ---------------------------------------------------------------------- Comment By: leouser (leouserz) Date: 2006-12-20 17:59 Message: Logged In: YES user_id=1277399 Originator: NO this bug is worse than that, it appears raise in jython accepts many things raise {} class z: pass x = z() raise z these work fine, but bombs in python. leouser ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1605009&group_id=12867 |