lang/python311: fix order of divert(4) commits
Use https://github.com/python/cpython/pull/96536 directly
PR: 267648, 298106