On Tue, 9 Nov 2010 04:43:58 +0100 (CET) raymond.hettinger <python-checkins at 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?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4