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


Groups > comp.lang.python > #38909

Re: Awsome Python - chained exceptions

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rantingrickjohnson@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'argument': 0.04; 'subject:Python': 0.05; '"""': 0.05; '(especially': 0.07; 'expressions': 0.07; 'notice,': 0.07; "ain't": 0.09; 'exceptions,': 0.09; 'friday,': 0.09; 'given,': 0.09; 'imply': 0.09; 'part,': 0.09; 'sake': 0.09; 'sentence': 0.09; 'sure,': 0.09; 'throws': 0.09; 'to:addr:comp.lang.python': 0.09; 'toss': 0.09; 'cc:addr:python-list': 0.10; 'accordingly.': 0.13; '"are': 0.16; '"good': 0.16; '"try"': 0.16; 'effect,': 0.16; 'expressions,': 0.16; 'merely': 0.16; 'negates': 0.16; 'negation': 0.16; 'later': 0.16; 'wrote:': 0.17; '(in': 0.18; 'suggested': 0.20; '(by': 0.22; 'either.': 0.22; 'cc:2**0': 0.23; 'example': 0.23; '15,': 0.23; 'statement': 0.23; 'this:': 0.23; 'cc:no real name:2**0': 0.24; 'second': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'language.': 0.27; 'question': 0.27; 'chris': 0.28; 'words': 0.29; "i'm": 0.29; 'error': 0.30; 'code': 0.31; 'anybody': 0.32; 'suggestion': 0.32; 'could': 0.32; 'certain': 0.33; 'word.': 0.33; 'me?': 0.33; 'another': 0.33; 'received:google.com': 0.34; 'acceptable': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'possible': 0.37; 'does': 0.37; 'two': 0.37; 'moment': 0.37; 'quite': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'fact': 0.38; 'nothing': 0.38; 'shows': 0.38; 'your': 0.60; 'claim': 0.60; 'relationship': 0.60; 'company': 0.60; 'first': 0.61; 'hearing': 0.61; 'is.': 0.62; 'between': 0.63; 'necessarily': 0.63; 'perfect': 0.63; 'ever': 0.63; 'more': 0.63; 'offer': 0.65; 'frequently': 0.65; 'day': 0.73; 'attention': 0.75; "'try'": 0.84; '2013': 0.84; 'societal': 0.84; 'tangible': 0.84; 'try,': 0.84; '"how': 0.91; 'curse': 0.91; 'emotional': 0.91; 'feelings': 0.91; 'received:209.85.220.184': 0.91; 'was:': 0.91; 'angry': 0.93; 'besides,': 0.93; 'friend!': 0.93; 'employ': 0.95
X-Received by 10.49.38.194 with SMTP id i2mr46599qek.30.1360914695414; Thu, 14 Feb 2013 23:51:35 -0800 (PST)
Newsgroups comp.lang.python
Date Thu, 14 Feb 2013 23:51:35 -0800 (PST)
In-Reply-To <mailman.1797.1360909100.2939.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=70.196.65.73; posting-account=h3aEwQoAAACiuqX-oR3gvCVFm8lLHoWj
References <5119de00$0$11096$c3e8da3@news.astraweb.com> <1bc6cf63-9219-4798-ae01-dfe9643d96b4@googlegroups.com> <mailman.1740.1360738735.2939.python-list@python.org> <24e6e890-6f8a-43d1-a622-63bcb407f722@googlegroups.com> <fa0vu9-1co.ln1@satorlaser.homedns.org> <f7d246dd-809e-4524-ac7c-ff9b3890d6f2@googlegroups.com> <mailman.1797.1360909100.2939.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 70.196.65.73
MIME-Version 1.0
Subject Re: Awsome Python - chained exceptions
From Rick Johnson <rantingrickjohnson@gmail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
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 <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>
Message-ID <mailman.1799.1360914704.2939.python-list@python.org> (permalink)
Lines 68
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1360914704 news.xs4all.nl 6887 [2001:888:2000:d::a6]:43451
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:38909

Show key headers only | View raw


On Friday, February 15, 2013 12:18:17 AM UTC-6, Chris Angelico wrote:
> And yet it is still a perfect example of how a line of
> code inside a 'try' block can indeed be offensive.

Oh nice try, but we are not fooled by your straw-man. My exact statement that provoked this whole thing was:

"""
Q1: How could a line in the "try" block ever be considered offensive? Because it throws an error? Are you serious?
""" 

If you notice, the first sentence is rhetorical. 

 "How could a line in the "try" block ever be considered offensive?"
 
My suggestion of "offensive" does not imply ignorance on /my/ part, but it does not necessarily imply ignorance on your part either. Then, in the second sentence, I offer a possible answer to the first question in the form of another question (asked on your behalf): 

 "Because it throws and error?"
 
Then in my last sentence, i ask another question (in a sarcastic manner) that negates the answer you might have given, 

 "Are you serious?"
 
This negation means that /i/ do not find ANY line in a try block to be "offensive". In effect, you could reduce the paragraph to this:

 "A line of code in the try block that throws an error is NOT offensive (to me)."
 
As you can see from this break-down, /i/ never suggested that ANY line in ANY block was "offensive", it was /you/ (by proxy) who suggested it. Now ain't that just a pickle! ;-).

> This has nothing to do with exceptions, and everything to
> do with societal practices and acceptable language.

But "offensive" is very subjective my friend! 

I curse quite frequently (especially when i am frustrated). To me, words are merely expressions, and when i'm angry i will express myself accordingly. However, there are many people who cannot deal with the feelings and images that they experience when hearing certain words. And a good argument could be made for "limiting strong emotional expressions in the company of strangers" -- even /if/ for nothing more than "good manners".

It was for the later reason that i edited this word. And besides, i could toss out curse words all day if my only intent was to sensationalize the moment for the sake of a few rubber-neckers. Anybody can employ the curse for quick attention of fellow fools, however, /real/ intelligence is required to draw a witty abstract relationship between two superficially unrelated entities or ideas (especially when one entity is tangible and the other is intangible).

> The fact that you edited it out of your quote shows just
> how offensive the expression is. :)

So you present "a curse word that i edited" versus "a rhetorical question i made on your behalf", and you claim to have defeated me? Ha, classic straw-man!

> May I ring your schoolbell?

Sure, but only if you use your head as the hammer.

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


Thread

Awsome Python - chained exceptions Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-02-12 06:15 +0000
  Re: Awsome Python - chained exceptions Terry Reedy <tjreedy@udel.edu> - 2013-02-12 10:13 -0500
  Re: Awsome Python - chained exceptions Zero Piraeus <schesis@gmail.com> - 2013-02-12 14:01 -0400
    Re: Awsome Python - chained exceptions Rick Johnson <rantingrickjohnson@gmail.com> - 2013-02-12 19:01 -0800
      Re: Awsome Python - chained exceptions Ian Kelly <ian.g.kelly@gmail.com> - 2013-02-14 00:00 -0700
        Re: Awsome Python - chained exceptions alex23 <wuwei23@gmail.com> - 2013-02-14 16:10 -0800
    Re: Awsome Python - chained exceptions Rick Johnson <rantingrickjohnson@gmail.com> - 2013-02-12 19:01 -0800
  Re: Awsome Python - chained exceptions Ethan Furman <ethan@stoneleaf.us> - 2013-02-12 10:15 -0800
  Re: Awsome Python - chained exceptions Rick Johnson <rantingrickjohnson@gmail.com> - 2013-02-12 18:47 -0800
    Re: Awsome Python - chained exceptions Michael Torrie <torriem@gmail.com> - 2013-02-12 21:18 -0700
    Re: Awsome Python - chained exceptions Chris Angelico <rosuav@gmail.com> - 2013-02-13 17:58 +1100
      Re: Awsome Python - chained exceptions Rick Johnson <rantingrickjohnson@gmail.com> - 2013-02-13 08:14 -0800
        Re: Awsome Python - chained exceptions Rick Johnson <rantingrickjohnson@gmail.com> - 2013-02-13 08:19 -0800
        Re: Awsome Python - chained exceptions Rick Johnson <rantingrickjohnson@gmail.com> - 2013-02-13 08:19 -0800
        Re: Awsome Python - chained exceptions Chris Angelico <rosuav@gmail.com> - 2013-02-14 09:10 +1100
          Re: Awsome Python - chained exceptions Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-02-14 06:39 +0000
            Re: Awsome Python - chained exceptions Serhiy Storchaka <storchaka@gmail.com> - 2013-02-15 20:51 +0200
        Re: Awsome Python - chained exceptions Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2013-02-14 13:01 +0100
          Re: Awsome Python - chained exceptions Rick Johnson <rantingrickjohnson@gmail.com> - 2013-02-14 18:56 -0800
            Re: Awsome Python - chained exceptions Chris Angelico <rosuav@gmail.com> - 2013-02-15 17:18 +1100
              Re: Awsome Python - chained exceptions Rick Johnson <rantingrickjohnson@gmail.com> - 2013-02-14 23:51 -0800
                Re: Awsome Python - chained exceptions Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2013-02-15 10:00 +0100
              Re: Awsome Python - chained exceptions Rick Johnson <rantingrickjohnson@gmail.com> - 2013-02-14 23:51 -0800
                Re: Awsome Python - chained exceptions alex23 <wuwei23@gmail.com> - 2013-02-17 17:35 -0800
                Re: Awsome Python - chained exceptions Dave Angel <davea@davea.name> - 2013-02-17 20:48 -0500
                Re: Awsome Python - chained exceptions Rick Johnson <rantingrickjohnson@gmail.com> - 2013-02-17 21:51 -0800
                news.gmane.org (was Re: Awsome Python - chained exceptions Terry Reedy <tjreedy@udel.edu> - 2013-02-18 01:10 -0500
                Re: news.gmane.org (was Re: Awsome Python - chained exceptions rurpy@yahoo.com - 2013-02-18 09:12 -0800
                Re: news.gmane.org (was Re: Awsome Python - chained exceptions Rick Johnson <rantingrickjohnson@gmail.com> - 2013-02-18 18:32 +0000
                Re: news.gmane.org (was Re: Awsome Python - chained exceptions Terry Reedy <tjreedy@udel.edu> - 2013-02-18 17:45 -0500
                Re: news.gmane.org (was Re: Awsome Python - chained exceptions Rick Johnson <rantingrickjohnson@gmail.com> - 2013-02-18 06:30 +0000
                Re: news.gmane.org (was Re: Awsome Python - chained exceptions Kwpolska <kwpolska@gmail.com> - 2013-02-18 16:27 +0100
                Re: Awsome Python - chained exceptions alex23 <wuwei23@gmail.com> - 2013-02-18 18:18 -0800
                Re: Awsome Python - chained exceptions rurpy@yahoo.com - 2013-02-19 07:52 -0800
                Re: Awsome Python - chained exceptions rusi <rustompmody@gmail.com> - 2013-02-19 09:14 -0800
                Re: Awsome Python - chained exceptions alex23 <wuwei23@gmail.com> - 2013-02-19 22:57 -0800
                Re: Awsome Python - chained exceptions Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-02-20 22:50 +1100
                Re: Awsome Python - chained exceptions Rotwang <sg552@hotmail.co.uk> - 2013-02-20 16:00 +0000
                RE: Awsome Python - chained exceptions "J. Marc Edwards" <marc.edwards@nimbisservices.com> - 2013-02-20 11:08 -0500
                Re: Awsome Python - chained exceptions rurpy@yahoo.com - 2013-02-20 08:13 -0800
                Re: Awsome Python - chained exceptions Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-02-20 18:49 -0500
                Re: Awsome Python - chained exceptions Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-02-20 18:47 -0500
      Re: Awsome Python - chained exceptions Rick Johnson <rantingrickjohnson@gmail.com> - 2013-02-13 08:14 -0800
    Re: Awsome Python - chained exceptions Michael Torrie <torriem@gmail.com> - 2013-02-13 00:22 -0700

csiph-web