Big speed boost in os.walk in Python 2.5

"Martin v. Löwis" martin at
Sat Oct 14 00:35:19 CEST 2006

looping schrieb:
> Maybe this improvement could be backported in Python 2.4 branch for the
> next release ?

As Fredrik explains, this is probably the side-effect of a from-scratch
rewrite of the relevant functions. Another (undesirable) side-effect is
that the resulting binary won't work on Windows 95 anymore. So
backporting it as-is is out of the question.

However, even if the patch was improved to still work on W9x, and to not
introduce the other behavioral changes that came with the rewrite, it
still couldn't go into 2.4.x. Likely, 2.4.4 is the final 2.4 release,
and the release candidate for that was already produced.


More information about the Python-list mailing list