Python deprecation patterns and strategies
