[Python-Dev] r86351 - python/branches/py3k/Lib/tempfile.py (original) (raw)

Nick Coghlan ncoghlan at gmail.com
Tue Nov 9 13:26:22 CET 2010


On Tue, Nov 9, 2010 at 10:00 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:

-    characters = ("abcdefghijklmnopqrstuvwxyz" + -                  "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + -                  "0123456789") +    characters = "abcdefghijklmnopqrstuvwxyz0123456789" Aren't you reducing entropy here?

Perhaps in some cases, but it also makes the behaviour consistent across all platforms.

Cheers, Nick.

-- Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia



More information about the Python-Dev mailing list