This is a static archive of the Python wiki, which was retired in February 2026 due to lack of usage and the resources necessary to serve it — predominately to bots, crawlers, and LLM companies.
Pages are preserved as they were at the time of archival. For current information, please visit python.org.
If a change to this archive is absolutely needed, requests can be made via the infrastructure@python.org mailing list.

Patterns along the lines of GangOfFour


I've removed "Inversion of Control in Python" from the side of DependencyInjectionPattern. "Inversion of Control" is a larger concept than Dependency injection. Dependency injection is a particular mechanism that is frequently used in systems that exhibits IoC type thinking. Even combined with the idea of service location (as opposed to dependency injection,) we still are a smaller idea than "Inversion of Control." Martin Fowler himself has said this many times.

Even "Inversion of Control" may even be poorly named; I would want to call it "Network of Control." But that is neither here nor there, for the purposes of this page.

-- LionKimbro 2005-05-05 18:00:02


2026-02-14 16:11