Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.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.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.05; 'feature.': 0.07; '__future__': 0.09; 'throw': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'wrote:': 0.17; 'import': 0.21; 'wednesday,': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'function': 0.30; 'compatible': 0.30; 'johnson': 0.32; 'print': 0.32; 'received:google.com': 0.34; 'received:209.85': 0.35; 'method': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'forward': 0.66; '2013': 0.84; 'rick': 0.91 X-Received: by 10.49.34.135 with SMTP id z7mr1433115qei.1.1360772391727; Wed, 13 Feb 2013 08:19:51 -0800 (PST) Newsgroups: comp.lang.python Date: Wed, 13 Feb 2013 08:19:51 -0800 (PST) In-Reply-To: <24e6e890-6f8a-43d1-a622-63bcb407f722@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.196.64.98; posting-account=h3aEwQoAAACiuqX-oR3gvCVFm8lLHoWj References: <5119de00$0$11096$c3e8da3@news.astraweb.com> <1bc6cf63-9219-4798-ae01-dfe9643d96b4@googlegroups.com> <24e6e890-6f8a-43d1-a622-63bcb407f722@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 70.196.64.98 MIME-Version: 1.0 Subject: Re: Awsome Python - chained exceptions From: Rick Johnson To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org 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: , Message-ID: Lines: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1360772399 news.xs4all.nl 6885 [2001:888:2000:d::a6]:49661 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38821 On Wednesday, February 13, 2013 10:14:34 AM UTC-6, Rick Johnson wrote: > The proper method of using a forward compatible print > function is by /importing/ the feature. > > from future import print_function Urm... of course the proper /PROPER/ way would be to NOT throw an import error! from __future__ import print_function O:-)