Reader Question: Adding Methods to Python Lists
Reddit user /u/erkelep asks the question, "is there a way to add new methods to the Python list class?"
Specifically, can you add methods to lists in a way that makes those methods available to all list objects in python without subclassing them? While this is something you might not actually ever want to do, it is an interesting exercise to determine whether or not we can do it.