When can we start calling Python 2.7 legacy code?
2009. Seriously, it’s been 10 years since Python 3 came out, Python 2.x has been supporting legacy code since then.
And let's not understate what a big deal it was to break compatibility like that. Porting a sufficiently complex project is non-trivial.