Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Pythonic Refactoring - Protecting Your Users From Change

EuroPython Conference via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore techniques for maintaining and evolving Python libraries without breaking user code in this 30-minute EuroPython Conference talk. Learn to identify and protect public interfaces, structure tests effectively, and leverage Python's language features for seamless updates. Discover strategies for managing backwards compatibility, communicating changes to users, and implementing Pythonic refactoring practices. Gain insights into topics such as function decorators, magic methods, and project management approaches that balance innovation with stability in library development.

Syllabus

Introduction
About Mark
Why stable interfaces
What are interfaces
Strict interfaces
Public modules
Documentation
Versioning
Keeper Changelog
Breaking Code
Deprecation
Good Engineering Practices
Dynamically Generated Values
Class Instantiation
Replace constructor with factory method
Fix global state in module
Replace module with object instance
Be aware
Exceptions
Assumptions
Monkeypatch

Taught by

EuroPython Conference

Reviews

Start your review of Pythonic Refactoring - Protecting Your Users From Change

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.