Author a-j-buxton
Recipients a-j-buxton, rhettinger, ronaldoussoren, serhiy.storchaka, terry.reedy, vstinner
Date 2018-06-26.16:55:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1530032100.79.0.56676864532.issue33930@psf.upfronthosting.co.za>
In-reply-to
Content
I found this while chatting on IRC about the implementation details of objects - specifically, since objects have a dict of attributes, and dict subclasses object, it seems like every dict will have another dict inside it. (Eventually someone explained that base object() doesn't have any state at all, as a result dict doesn't have a dict of attributes, and there is no cycle.)

Anyway, as I was trying to explain my question to the other users, I had intended to post this snippet and ask "why doesn't this crash python?" Ironically it turned out that it does crash python.
History
Date User Action Args
2018-06-26 16:55:00a-j-buxtonsetrecipients: + a-j-buxton, rhettinger, terry.reedy, ronaldoussoren, vstinner, serhiy.storchaka
2018-06-26 16:55:00a-j-buxtonsetmessageid: <1530032100.79.0.56676864532.issue33930@psf.upfronthosting.co.za>
2018-06-26 16:55:00a-j-buxtonlinkissue33930 messages
2018-06-26 16:55:00a-j-buxtoncreate