From my interaction with others, I'm not sure the documentation around default_factory is anywhere near as clear as it needs to be. It might be worthwhile making it more obvious and allowing it to be configured as an argument when creating the context/pool.