Hacker News new | ask | show | jobs
Python Ellipses Considered Harmful (wellformedness.com)
2 points by kylebgorman 590 days ago
2 comments

Author links to the PEP-3119 containing the new, correct way to do things. And then explains how to do it the old way?

The right way to do this is with @abc.abstractmethod decorator. https://docs.python.org/3/library/abc.html#abc.abstractmetho...

This is trivially caught by type checking.