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 cjw296
Recipients cjw296, mariocj89, michael.foord, xtreak
Date 2018-11-13.10:01:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1542103308.92.0.788709270274.issue35226@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think the getattr(self, 'parent', None) is necessary, the attribute is always there and None == None ;-)

I reckon this will work:

if self.parent != other.parent):
    return True

...but obviously, we'd add some more tests to the suite to make sure this keeps working.

If this is the way to go, lemme know and I'll work up a PR.
History
Date User Action Args
2018-11-13 10:01:48cjw296setrecipients: + cjw296, michael.foord, mariocj89, xtreak
2018-11-13 10:01:48cjw296setmessageid: <1542103308.92.0.788709270274.issue35226@psf.upfronthosting.co.za>
2018-11-13 10:01:48cjw296linkissue35226 messages
2018-11-13 10:01:48cjw296create