Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44932

Re: Making safe file names

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <bahamutzero8825@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.087
X-Spam-Evidence '*H*': 0.84; '*S*': 0.02; 'cpython': 0.05; 'remind': 0.05; 'subject:file': 0.07; 'tom': 0.07; 'differing': 0.09; 'windows': 0.15; 'wrote:': 0.18; 'differ': 0.19; 'header:User- Agent:1': 0.23; 'artist': 0.24; 'case.': 0.24; 'header:In-Reply- To:1': 0.27; 'though.': 0.31; 'file': 0.32; "we're": 0.32; 'becomes': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'example,': 0.37; 'two': 0.37; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'dave': 0.60; 'most': 0.60; 'name': 0.63; 'sam': 0.68; '3.3.1': 0.84; '9.1': 0.84; 'freebsd': 0.84; 'subject:Making': 0.84; 'unclear': 0.84; 'angel': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=g0LAry1kPO3RygqyUM1ugzjbewrgN8kHPM7q6cKacms=; b=sU4hyXw4llItCaSXVlbX3F7yZuaR0Aklu0jwYr5/4skjHVVAtRTVtJaHnNc6c3kcpf W0mSRuAluJ4JsYpcT41x7EJxWORMQWUuWNrZekIzu2Ol2UDWUY+lvihzYlZFMYDaANt5 6WcQGBcP8LPdB5qmWf59O1aPZ4EMCtApZLUQuHeVLwQ8Fv0ExLKNzjlsCEiQy8SKFBfk LnaUNFczN2ztmUfxO7j5ei0WR620RbeSMMOuInYioDadl6dR35CXBVmZ3Z3OYjq0VjIQ VN5AqfgPFXiRZKzM+gNnvY9HsCHRNfu2K2DUClX4JdKzzTwc4Np8+Qmz1sIcJkpJA8XY pYfw==
X-Received by 10.236.68.232 with SMTP id l68mr4620459yhd.24.1367979615487; Tue, 07 May 2013 19:20:15 -0700 (PDT)
Date Tue, 07 May 2013 21:20:13 -0500
From Andrew Berg <bahamutzero8825@gmail.com>
User-Agent Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version 1.0
To "comp.lang.python" <python-list@python.org>
Subject Re: Making safe file names
References <51895D03.4000300@gmail.com> <518998FE.6030805@davea.name> <mailman.1430.1367974288.3114.python-list@python.org> <Lvydneajg7LXNhTMnZ2dnUVZ_rKdnZ2d@westnet.com.au> <5189AE24.7060002@davea.name>
In-Reply-To <5189AE24.7060002@davea.name>
X-Enigmail-Version 1.5.1
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1437.1367979624.3114.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1367979624 news.xs4all.nl 15949 [2001:888:2000:d::a6]:37308
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44932

Show key headers only | View raw


On 2013.05.07 20:45, Dave Angel wrote:
> While we're looking for trouble, there's also case insensitivity. 
> Unclear if the user cares, but tom and TOM are the same file in most 
> configurations of NT.
Artist names on Last.fm cannot differ only in case. This does remind me to make sure to update the case of the artist name as necessary,
though. For example, if Sam becomes SAM again (I have seen Last.fm change the case for artist names), I need to make sure that I don't end
up with two file names differing only in case.

-- 
CPython 3.3.1 | Windows NT 6.2.9200 / FreeBSD 9.1

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Making safe file names Andrew Berg <bahamutzero8825@gmail.com> - 2013-05-07 19:51 -0500
  Re: Making safe file names Neil Hodgson <nhodgson@iinet.net.au> - 2013-05-08 11:28 +1000
    Re: Making safe file names Dave Angel <davea@davea.name> - 2013-05-07 21:45 -0400
      Re: Making safe file names Roy Smith <roy@panix.com> - 2013-05-07 22:21 -0400
    Re: Making safe file names Andrew Berg <bahamutzero8825@gmail.com> - 2013-05-07 21:20 -0500
    Re: Making safe file names Andrew Berg <bahamutzero8825@gmail.com> - 2013-05-07 21:06 -0500
    Re: Making safe file names Dave Angel <davea@davea.name> - 2013-05-08 00:10 -0400
    Re: Making safe file names albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-05-28 13:44 +0000
      Re: Making safe file names Chris Angelico <rosuav@gmail.com> - 2013-05-28 23:53 +1000
      Re: Making safe file names Grant Edwards <invalid@invalid.invalid> - 2013-05-28 16:03 +0000
  Re: Making safe file names Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-08 03:40 +0000
    Re: Making safe file names Dave Angel <davea@davea.name> - 2013-05-08 00:13 -0400
      Re: Making safe file names Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-08 04:47 +0000
    Re: Making safe file names Andrew Berg <bahamutzero8825@gmail.com> - 2013-05-07 23:49 -0500

csiph-web