This page tries to explain which Python 2 only packages were removed between Debian buster and Debian bullseye.
While one of the goals of the bullseye release was to remove Python 2 completely, that goal wasn't completely accomplished. It is also not well known or even formally set as a goal for that matter, which leads people to believe that Debian bullseye ships with full Python 2 support, which is kind of true, but only in so far as it supports the packages that were actually shipped
It turns out that a *lot* of Python 2 modules were removed from Debian before the bullseye release. Out of the 2699 `python-*` packages (excluding doc and dbg packages) in Debian buster, 2616 were removed, and only therefore 90 left. That is 97% of the packages gone.
Each filename should be fairly self-explanatory, but the main file
is python2-removed-bullseye.txt
which has the list of
removed packages.