Closed GoogleCodeExporter closed 8 years ago
auwf, thanks! I'm actually very happy you report you this, because this is
really basic code that should work.. no time unfortunately this weekend, but
I'm planning on looking into it next week.
Original comment by mark.duf...@gmail.com
on 4 Mar 2011 at 11:15
in trying to reproduce this without relying on builtin exception classes, I ran
into the following, possibly related problem:
class MyBaseException:
def __init__(self, msg=None):
self.msg = msg
class MyException(MyBaseException): pass
class MyStandardError(MyException): pass
class MyBadError(MyException):
pass
if __name__=='__main__':
MyStandardError()
MyBadError()
I guess shedskin still has some problems with deeper inheritance hierarchies..
Original comment by mark.duf...@gmail.com
on 18 Mar 2011 at 8:17
minimized the first fragment as follows. strangely copying the Exception
classes into here makes it compile.
class BadError(Exception):
pass
if __name__=='__main__':
BadError()
BadError("AOE")
Original comment by mark.duf...@gmail.com
on 18 Mar 2011 at 8:22
okay, I spent a few hours debugging this today, and I think I understand the
cause of problem 1. unfortunately the obvious fix leads to other problems, so I
will have to look a bit further.. :-)
Original comment by mark.duf...@gmail.com
on 18 Mar 2011 at 3:21
so I had another look after coffee the next morning, and committed a fix:
http://gitorious.org/shedskin/mainline/commit/d29197767ce46966567b7331b57ff2744d
b1d6ce
I just love throwing away code! :D
unfortunately I can't close this issue because of the other problem it made me
find.. so I will look into that next.
Original comment by mark.duf...@gmail.com
on 19 Mar 2011 at 10:50
btw, how's your project going..? do you have something interesting (and large?)
yet that we might add to examples/? :-)
Original comment by mark.duf...@gmail.com
on 19 Mar 2011 at 10:58
alright, the other problem is fixed now too. please confirm that I can close
this issue! :D
Original comment by mark.duf...@gmail.com
on 19 Mar 2011 at 6:37
Original comment by mark.duf...@gmail.com
on 23 Mar 2011 at 7:39
I'm too impatient, I know.. ;) please reopen the issue if you run into anything
similar.
Original comment by mark.duf...@gmail.com
on 23 Mar 2011 at 8:07
No, sorry. Shedskin's library limitations are very restrictive for me. I'll be
opening a separate ticket to discuss my solution for that.
Original comment by fahh...@gmail.com
on 19 Apr 2011 at 11:28
Original issue reported on code.google.com by
fahhem%r...@gtempaccount.com
on 3 Mar 2011 at 9:20