This question of mine was unilaterally marked as a duplicate of this question by a python gold badge holder almost immediately after I asked it. However, all of the answers in the question that it was marked a duplicate of involved using a metaclass to apply magic methods to the class itself, which I specifically said didn't work in my case (using metaclasses would involve inheriting from type
and Exception
, which raises a TypeError).
I had already read that question and its answers before I asked, and I had made a point of mentioning how it didn't work.
Edit: Someone suggested that this is a possible duplicate of "This question may already have an answer here" - but it does not - however, that question is asking why there is a possible duplicate header; I am asking why my question was completely marked as a duplicate.
Why was my question marked as a duplicate?