Message26111
| Author |
rodrigo_rc |
| Recipients |
| Date |
2005年08月24日.10:22:04 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
The following code eats all stack space and crashes,
both in Windows and Linux:
------------8<-------------
class C:
def __getattr__(self, a):
return object.__getattribute__(self, a)
c = C()
str(c)
------------8<-------------
It shoud probably raise "RuntimeError: maximum
recursion depth exceeded" or similar instead.
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:33:58 | admin | link | issue1267884 messages |
| 2007年08月23日 14:33:58 | admin | create |
|