Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:error': 0.03; 'subject:not': 0.03; 'git': 0.09; 'models.': 0.09; 'cc:addr :python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:key': 0.16; 'subject:when': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'push': 0.26; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'could': 0.34; 'received:google.com': 0.35; 'version': 0.36; 'doing': 0.36; 'pm,': 0.38; 'sure': 0.39; 'how': 0.40; 'great': 0.65; "else's": 0.84; 'malicious': 0.84; 'to:none': 0.92 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=i92QVyw8klA4dLmGTZD7Z93nuoYfHcX2klcZU5ISyYE=; b=gWwwmL7eVQY9y/37yT4UkPIJs64uIHIlzQfT9mUYskNz/63SJij+A+SZnxMrc4GyBY y5rGf/X5UIW3fOAMlOeEgL8Sk4FPPRmPYdDp4c5MNad6Sc3GckDfDR40MwnVMI7AWTMW ygVMrE+AHvk1wktDI0almVRBWmYejYFWnMHGBDIfNpJkiUE4Sb0/1qqLnlsRchNSVjMl stUlfr9OTZWp55YZZeZPi4Wvu4oh8/hSpk9zSPBd1Pezcs0WQD4PC2/qypEExhmWx92y lMl435DlZxwE0V/mJhtTYOp12mQ+pzIu3xYvJTgP3rhsPfRz9rqpkS3qPKn1FL7WITK+ xNug== MIME-Version: 1.0 X-Received: by 10.42.15.19 with SMTP id j19mr14392951ica.59.1406977124121; Sat, 02 Aug 2014 03:58:44 -0700 (PDT) In-Reply-To: <87zjfnmlzr.fsf@elektro.pacujo.net> References: <53db11c1$0$29986$c3e8da3$5496439d@news.astraweb.com> <53db96bc$0$29986$c3e8da3$5496439d@news.astraweb.com> <87vbqcnrrh.fsf@elektro.pacujo.net> <87zjfnmlzr.fsf@elektro.pacujo.net> Date: Sat, 2 Aug 2014 20:58:44 +1000 Subject: Re: Dict when defining not returning multi value key error From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1406977127 news.xs4all.nl 2901 [2001:888:2000:d::a6]:38193 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:75528 On Sat, Aug 2, 2014 at 4:41 PM, Marko Rauhamaa wrote: > I don't know why you way hg and git have no threat models. A great deal > of damage could be inflicted if you could sneak malicious edits into > version control systems without altering the hash. You would have to somehow push that change into someone else's repository. I'm not sure how you'd go about doing that without actually having a commit, which will be kinda visible. ChrisA