Comment by orbisvicis
3 days ago
I've given up on matching as I'm tired of running into its limitations.
That said, I don't think OP's antics are a crime. That SyntaxError though, that might be a crime.
And a class-generating callable class would get around Python caching the results of __subclasshook__.
Now I'm mad I didn't remember the word "antics". It's so much more evocative than "crimes"!