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


Groups > comp.lang.python > #63016

Re: About some problem

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: About some problem
Date 2014-01-03 01:14 +0000
References (2 earlier) <CAJ+Teoc0f3S2FRPwrtHuao+7aKiA=57Nn1UVpoH0-3WRTNQbgg@mail.gmail.com> <la483g$19i$1@ger.gmane.org> <CAJ+TeocR3HOrs-Unq7LDaPnbrVRFLVyGn7TPPy=gMmh0diB3OQ@mail.gmail.com> <mailman.4806.1388690867.18130.python-list@python.org> <52c5fb00$0$29981$c3e8da3$5496439d@news.astraweb.com>
Newsgroups comp.lang.python
Message-ID <mailman.4818.1388711657.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 02/01/2014 23:49, Steven D'Aprano wrote:
> Mark Lawrence wrote:
>
>> raise "Not Valid DB Type"
>>
>> is perfectly valid in Python 2.
>
> Actually, no it isn't. It's only valid up to Python 2.4. In Python 2.5,
> string exceptions display a warning but continue to work, and in Python 2.6
> they generate a compile-time SyntaxError.
>

Thaanks for the correction.

> You know how the world ended when Python 2.6 broke backwards compatibility
> and split the Python community into two? No, me neither.
>

I'm 100% certain that you're wrong on this one, the split was simply 
never noticed by anybody :)

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

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


Thread

Re: About some problem Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-02 19:27 +0000
  Re: About some problem Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-03 10:49 +1100
    Re: About some problem Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-03 01:14 +0000
    Re: About some problem Ethan Furman <ethan@stoneleaf.us> - 2014-01-02 20:18 -0800
    Re: About some problem Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-03 04:46 +0000
    Re: About some problem André Malo <ndparker@gmail.com> - 2014-01-03 21:28 +0100
      Re: About some problem Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-04 07:55 +1100
        Re: About some problem Ethan Furman <ethan@stoneleaf.us> - 2014-01-03 13:17 -0800

csiph-web