Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.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.024 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'subject:not': 0.03; 'default.': 0.09; 'cc:addr:python-list': 0.11; 'finney': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:run': 0.16; 'unsafe': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'import': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'writes:': 0.31; 'know.': 0.32; 'received:google.com': 0.35; 'there': 0.35; 'ben': 0.38; 'pm,': 0.38; 'mar': 0.68; 'subject:this': 0.83; '2015': 0.84; 'calls,': 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:content-transfer-encoding; bh=zvy7WPTW2w5cPeeTHxt3SN7KTrODXYnra1DebY9WyTI=; b=NFqCZCUu1Trh/haX3kHST794wIrTkR8X7Mx1xXhIoP/pvkc70XHmwsfo9yF0cZBr+T hiyo9B9tDQbH6McvSqIQV+8rhEee2Kst2dueEsTYYGluL1D04qLbkkb8eqJYr8oQzntw QAPOJVtpHY5E/JbZKZfT8R9pErWWy1HtZ/C1aPxu1JkHjylPlc6ZUOEDFZNAMdGzUPh8 rIvua7KCPayJB+m4bJKlqPxT6VJ8egEXlIghYj+tyf1V28AdwHTWPjBHfh+M6YjRBePI qZzJTAgC/SIUV9SAWJDxhd3100rmPyCYOZAAKqz0bQ9YbWd19YYcve8SOZ9L3r/3jIa7 LktA== MIME-Version: 1.0 X-Received: by 10.107.128.219 with SMTP id k88mr17959327ioi.27.1425542241388; Wed, 04 Mar 2015 23:57:21 -0800 (PST) In-Reply-To: <854mq00wq9.fsf@benfinney.id.au> References: <854mq00wq9.fsf@benfinney.id.au> Date: Thu, 5 Mar 2015 18:57:21 +1100 Subject: Re: Do not run this code. From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1425542249 news.xs4all.nl 2924 [2001:888:2000:d::a6]:49115 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:86936 On Thu, Mar 5, 2015 at 5:44 PM, Ben Finney wro= te: > Chris Angelico writes: > >> import base64; exec(=E2=80=A6) > > That's all I need to know. Code with =E2=80=98exec()=E2=80=99 calls, I co= nsider unsafe > by default. Well yes, there is that :) ChrisA