Re: [Python-Dev] cpython: Issue #12469: replace assertions by explicit if+raise

2011-07-05 Thread Guido van Rossum
Exception is for catching, not raising. On Jul 4, 2011 11:57 AM, "Victor Stinner" wrote: > Le lundi 04 juillet 2011 à 18:23 +0200, Antoine Pitrou a écrit : >> On Mon, 04 Jul 2011 18:06:53 +0200 >> victor.stinner wrote: >> > http://hg.python.org/cpython/rev/7eef821ab20d >> > changeset: 71197:7eef8

Re: [Python-Dev] cpython: Issue #12469: replace assertions by explicit if+raise

2011-07-04 Thread Victor Stinner
Le lundi 04 juillet 2011 à 18:23 +0200, Antoine Pitrou a écrit : > On Mon, 04 Jul 2011 18:06:53 +0200 > victor.stinner wrote: > > http://hg.python.org/cpython/rev/7eef821ab20d > > changeset: 71197:7eef821ab20d > > user:Victor Stinner > > date:Mon Jul 04 18:06:35 2011 +0200 > > s

Re: [Python-Dev] cpython: Issue #12469: replace assertions by explicit if+raise

2011-07-04 Thread Gregory P. Smith
On Mon, Jul 4, 2011 at 9:23 AM, Antoine Pitrou wrote: > On Mon, 04 Jul 2011 18:06:53 +0200 > victor.stinner wrote: > > http://hg.python.org/cpython/rev/7eef821ab20d > > changeset: 71197:7eef821ab20d > > user:Victor Stinner > > date:Mon Jul 04 18:06:35 2011 +0200 > > summary: >

Re: [Python-Dev] cpython: Issue #12469: replace assertions by explicit if+raise

2011-07-04 Thread Georg Brandl
Am 04.07.2011 18:23, schrieb Antoine Pitrou: > On Mon, 04 Jul 2011 18:06:53 +0200 > victor.stinner wrote: >> http://hg.python.org/cpython/rev/7eef821ab20d >> changeset: 71197:7eef821ab20d >> user:Victor Stinner >> date:Mon Jul 04 18:06:35 2011 +0200 >> summary: >> Issue #12469

Re: [Python-Dev] cpython: Issue #12469: replace assertions by explicit if+raise

2011-07-04 Thread Antoine Pitrou
On Mon, 04 Jul 2011 18:06:53 +0200 victor.stinner wrote: > http://hg.python.org/cpython/rev/7eef821ab20d > changeset: 71197:7eef821ab20d > user:Victor Stinner > date:Mon Jul 04 18:06:35 2011 +0200 > summary: > Issue #12469: replace assertions by explicit if+raise Instead of g