Because of this, PHP developers strive to avoid this kind of large breakage. Instead it's a smooth stream of deprecation and removals/changes and really large changes (like native unicode strings) have been non-starters.
Not that it shouldn't have (register_globals) but it was obvious they were learning on the job.
You can't run most PHP3 code nowadays without work.
Given that, I think the PHP community handled the split much better, with the FIG pushing hard for PHP 5.
I think the difference is that most of PHP install base was managed by third parties (hosting providers) and once you lobbied those you basically forced everyone to upgrade. With python most of the install base is proprietary, and thus more fragmented, which makes it much more complicated to lobby for an upgrade.