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


Groups > comp.lang.python > #42434

Re: Sudoku

Path csiph.com!usenet.pasdenom.info!aioe.org!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 <arnodel@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.120
X-Spam-Level *
X-Spam-Evidence '*H*': 0.77; '*S*': 0.01; 'string': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'documented': 0.24; 'string,': 0.24; 'cc:2**0': 0.24; 'pass': 0.26; 'header:In-Reply-To:1': 0.27; 'received:209.85.217': 0.29; 'message-id:@mail.gmail.com': 0.30; 'prints': 0.31; 'url:python': 0.33; 'received:209.85': 0.35; 'something': 0.35; 'received:google.com': 0.35; 'url:org': 0.36; 'received:209': 0.37; 'being': 0.38; 'url:library': 0.38; 'expect': 0.39; 'either': 0.39; 'dave': 0.60; 'march': 0.61; 'took': 0.61; 'here:': 0.62; 'angel': 0.91; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=vNJh0DuEiqvQUOPNgGlKPrHZ66nlfhm1lPAuq7+Ipt0=; b=MfIxIqC6/BdJCEnt+yUDBLzuLOIe0QpNiXlU3HyZ0PYnIG5KnQ7H2+KtYzyYaLAqTF hwbl0VachoNXJiWGvyCUlBvnseozdMocNTVqM+Nf508wynn0SJiJt+YlF4BuQnFi15bb rtrL9TQIIigxQaej0q4/3big3qvVwIGLQtwFxywlJkBOrKscGVulswbKK7cmRFqra9Fc 2RvGRhPuRSJ2Lag3tPGYqL/PlDaDOJEUIEz0jy1l0u1XU6BNFyXr7fNwno6aO6IVLyJ2 uD4Ha2QbaHQ6CZtKGdbfCIficMDoR7zduE13p1olcNX1v3atjhzZ7cthuJcoKggoqpYg UN1g==
MIME-Version 1.0
X-Received by 10.112.103.67 with SMTP id fu3mr4811427lbb.46.1364770779106; Sun, 31 Mar 2013 15:59:39 -0700 (PDT)
In-Reply-To <5158B9EB.3050307@davea.name>
References <e45b8b75-ff89-4ee1-9ada-bfda3d06d05d@googlegroups.com> <9dla2a-kql.ln1@satorlaser.homedns.org> <5ce10a13-be58-4548-85df-e1d865d3304e@googlegroups.com> <mailman.3857.1364445382.2939.python-list@python.org> <f160e316-e2f6-4314-827e-9d48007f7f70@googlegroups.com> <mailman.3946.1364556269.2939.python-list@python.org> <17da5afc-7a9b-40ea-a544-6012dfeef3ce@googlegroups.com> <mailman.3970.1364595086.2939.python-list@python.org> <95807259-513b-430a-80d1-2db853426159@googlegroups.com> <mailman.4007.1364685357.2939.python-list@python.org> <c20cf758-f1a0-4f01-9cdd-a0aa49d342a2@googlegroups.com> <5158B9EB.3050307@davea.name>
Date Sun, 31 Mar 2013 23:59:38 +0100
Subject Re: Sudoku
From Arnaud Delobelle <arnodel@gmail.com>
To Dave Angel <davea@davea.name>
Content-Type text/plain; charset=UTF-8
Cc Python <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>
Newsgroups comp.lang.python
Message-ID <mailman.4043.1364770787.2939.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1364770787 news.xs4all.nl 6909 [2001:888:2000:d::a6]:54207
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:42434

Show key headers only | View raw


On 31 March 2013 23:34, Dave Angel <davea@davea.name> wrote:
>[...]  With my Python
> 2.7.2, exit(something) with something being a string prints the string and
> then exits.  Nowhere have I seen that documented, and I thought it either
> took an int or nothing.

It is documented, just not exactly where you'd expect it (exit is a
constant, not a function):

    http://docs.python.org/2/library/constants.html#constants-added-by-the-site-module

As for the behaviour when you pass a string, it's documented here:

    http://docs.python.org/2/library/exceptions.html#exceptions.SystemExit

-- 
Arnaud

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


Thread

Sudoku Eric Parry <joan4eric@gmail.com> - 2013-03-26 22:44 -0700
  Re: Sudoku Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2013-03-27 08:58 +0100
    Re: Sudoku Eric Parry <joan4eric@gmail.com> - 2013-03-27 20:00 -0700
      Re: Sudoku Dave Angel <davea@davea.name> - 2013-03-28 00:36 -0400
        Re: Sudoku Eric Parry <joan4eric@gmail.com> - 2013-03-28 15:11 -0700
          Re: Sudoku Dave Angel <davea@davea.name> - 2013-03-28 19:28 -0400
            Re: Sudoku Eric Parry <joan4eric@gmail.com> - 2013-03-28 22:07 -0700
            Re: Sudoku Eric Parry <joan4eric@gmail.com> - 2013-03-28 22:07 -0700
          Re: Sudoku Chris Angelico <rosuav@gmail.com> - 2013-03-29 09:45 +1100
            Re: Sudoku Eric Parry <joan4eric@gmail.com> - 2013-03-29 14:47 -0700
              Re: Sudoku Dave Angel <davea@davea.name> - 2013-03-29 18:11 -0400
                Re: Sudoku Eric Parry <joan4eric@gmail.com> - 2013-03-30 15:06 -0700
                Re: Sudoku Dave Angel <davea@davea.name> - 2013-03-30 19:15 -0400
                Re: Sudoku Eric Parry <joan4eric@gmail.com> - 2013-03-31 15:03 -0700
                Re: Sudoku Dave Angel <davea@davea.name> - 2013-03-31 18:34 -0400
                Re: Sudoku Arnaud Delobelle <arnodel@gmail.com> - 2013-03-31 23:59 +0100
                Re: Sudoku Eric Parry <joan4eric@gmail.com> - 2013-03-31 15:03 -0700
                Re: Sudoku Eric Parry <joan4eric@gmail.com> - 2013-03-31 15:27 -0700
                Re: Sudoku Chris Angelico <rosuav@gmail.com> - 2013-04-01 09:35 +1100
                Re: Sudoku Eric Parry <joan4eric@gmail.com> - 2013-03-31 20:58 -0700
                Re: Sudoku Eric Parry <joan4eric@gmail.com> - 2013-03-31 15:27 -0700
                Re: Sudoku Eric Parry <joan4eric@gmail.com> - 2013-03-30 15:06 -0700
            Re: Sudoku Eric Parry <joan4eric@gmail.com> - 2013-03-29 14:47 -0700
        Re: Sudoku Eric Parry <joan4eric@gmail.com> - 2013-03-28 15:11 -0700
  Re: Sudoku Damien Wyart <damien.wyart@free.fr> - 2013-03-27 09:49 +0100
  Re: Sudoku Dave Angel <davea@davea.name> - 2013-03-27 05:38 -0400
  Re: Sudoku Eric Parry <joan4eric@gmail.com> - 2013-03-27 19:49 -0700

csiph-web