This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:58adminlinkissue1267884 messages
2007-08-23 14:33:58admincreate