Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Make a unique filesystem path, without creating the file Date: Tue, 23 Feb 2016 13:53:36 +1100 Lines: 8 Message-ID: References: <85r3gf55k4.fsf@benfinney.id.au> <85mvr26dij.fsf@benfinney.id.au> <56cba1bc$0$1604$c3e8da3$5496439d@news.astraweb.com> <87si0k2mal.fsf@jester.gateway.pace.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de Yw3p7T6TVglRBc5VfRptngWhSwhlqFyRmukrwxjNrz4Q== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'received:209.85.223': 0.03; 'default.': 0.07; 'subject:file': 0.07; 'cc:addr:python- list': 0.09; 'truncate': 0.09; '2016': 0.16; '23,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'token,': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'feb': 0.23; 'header:In-Reply-To:1': 0.24; 'paul': 0.24; 'message- id:@mail.gmail.com': 0.27; 'shorter': 0.33; 'tue,': 0.34; 'that,': 0.34; 'received:google.com': 0.35; 'should': 0.36; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209': 0.38; 'subject:the': 0.39; 'enough': 0.39; 'future': 0.60; 'default': 0.61; 'receive': 0.71; 'chrisa': 0.84; 'to:none': 0.91; 'subject:Make': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=NxAyPJsTjoyjOG08uXWx9DkSiR2l+4/hJOO/N1vzotI=; b=w6zwPAdmc7xPpgRiJkV+jT0+RFTvi5upr+AY/WiogfGsAkjdriSZbMQL8EY+PsXvEJ MF7xvLDXuGToGETpYnUTWkNGjrmNyU1lQmCjwNpctfwk6S90Si+GsHHgkz/Y+b7CNDQc N26sIXBwrItq+nqiYJWbojDCm6IuW1Dg6TPwj/umIDJXP5kp5ioTj66svDpWOat01F1L lCUkxOj7UKxl7tBT4r+SU5UVBDUh6hImMduw9I/10fQGnxfudO14msvzruzEYj4TzCIh 41UXklpr7hRbm0kKVVSwoMadGIM9lvbN7Lat+F876OEZC2A8TSofv+w0zqY36zRccKRd eqzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc:content-type; bh=NxAyPJsTjoyjOG08uXWx9DkSiR2l+4/hJOO/N1vzotI=; b=ilGVN8tP4toztd1wXZYWGImImEvMV9inI3pQd0Ggk4kzmLRKus7bm/x57eXbfEHawl RIhv8UEG8fSpThOHhqhoDyOAU6WxLn8IXVrrGwyVbskzxox+5Ms5ZqyJBcM6wR6wSmJR VMuRCZPk6cmvMJuAAmeXrAbTTuzZFlxZsuo0b1JRjaTgAj/wGUq5BDgFWnZSd820toFf q5ZDI3Tg9SWR1j1tBxIzMlbJA32+na1bdxRfMVzz2FZluPDSguTrIyAjX8Gx2ztX8HQU IIrcOV4gjqQnWYkOefC7W73oNtsvtbXd/NEnSj16yqvBQtE673tmR1hAd3HNFmPwMGkw kX7A== X-Gm-Message-State: AG10YOQ4+JiDyzeaWPhTKS9QbnHEjTEv/diL9jWXkgMrUYkOCjRj/r8Kt06drcBt6W5XAM+KBsO5T5feBnKdpA== X-Received: by 10.107.158.20 with SMTP id h20mr10206751ioe.31.1456196016529; Mon, 22 Feb 2016 18:53:36 -0800 (PST) In-Reply-To: <87si0k2mal.fsf@jester.gateway.pace.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21rc2 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:103389 On Tue, Feb 23, 2016 at 1:27 PM, Paul Rubin wrote: > 3) The default token length should be long enough to not have to "change > in the future". If the user wants a shorter token, they ask for that, > or can truncate a longer one that they receive from the default. How much future are you expecting? ChrisA