On Tue, 9 Nov 2010 04:43:58 +0100 (CET) raymond.hettinger <python-check...@python.org> wrote: > Author: raymond.hettinger > Date: Tue Nov 9 04:43:58 2010 > New Revision: 86351 > > Log: > Simplify code > > Modified: > python/branches/py3k/Lib/tempfile.py > > Modified: python/branches/py3k/Lib/tempfile.py > ============================================================================== > --- python/branches/py3k/Lib/tempfile.py (original) > +++ python/branches/py3k/Lib/tempfile.py Tue Nov 9 04:43:58 2010 > @@ -108,30 +108,19 @@ > > _RandomNameSequence is an iterator.""" > > - characters = ("abcdefghijklmnopqrstuvwxyz" + > - "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + > - "0123456789_") > + characters = "abcdefghijklmnopqrstuvwxyz0123456789_"
Aren't you reducing entropy here? _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com