Fixing 2.7-only bugs

I was wondering if there is any policy about fixing bugs that affect only Python 2.7? The text at https://devguide.python.org/committing and the “bedevere” bot checks seem to be written with the assumption that all new commits go to master first and then optionally may be backported. But what about commiting to the 2.7 branch only?

Concretely, I am talking about https://github.com/python/cpython/pull/12725

Bug fixes go to the highest version that has a bug and backported to lover versions. In the case of 2.7-only bugs they go directly to the 2.7 branch.

1 Like