[Checkins] SVN: z3c.autoinclude/trunk/src/z3c/autoinclude/utils.py let `subpackageDottedNames` always return a sorted list of package names as `os.listdir` doesn't on some platforms. while this mainly fixes test failures as seen on linux (e.g. http://lists.plone.org/pipermail/testbot/2009-December/015364.html), returning the names in a predictable manner should also make sense in general...

Andreas Zeidler az at zitc.de
Fri Dec 11 03:37:05 EST 2009


On Dec 10, 2009, at 9:25 AM, Wichert Akkerman wrote:
> os.listdir does not return a sorted list on any platform. It uses the ordering as returned by the OS, and no OS makes any guarantee about ordering.

kinda what i was expecting, but i was too lazy to check at the time.  thanks! :)


andi

--
zeidler it consulting - http://zitc.de/ - info at zitc.de
friedelstraße 31 - 12047 berlin - telefon +49 30 25563779
pgp key at http://zitc.de/pgp - http://wwwkeys.de.pgp.net/
plone 4.0a2 released! -- http://plone.org/products/plone/



More information about the checkins mailing list